已知直线l1:2x+y-4=0,l2:kx-y+k+2=0,若l1和l2的交点在y轴上,求直线l2的方程

问题描述:

已知直线l1:2x+y-4=0,l2:kx-y+k+2=0,若l1和l2的交点在y轴上,求直线l2的方程

l1:2x+y-4=0,l2:kx-y+k+2=0
-2x+4=kx+k+2 交点在Y则X=0
4=k+2
k=2
l2:2x-y+4=0