x−2y+kz=1 .........(1)
2x+y+z=2 .........(2)
3x−y−kz=3 ........(3)
Hence,
[123−21−1k1−k][xyz]=[123]
For infinite solution,
∣123−21−1k1−k∣=0
⇒(−k+1)+2(−2k−3)+k(−2−3)=0
⇒k=−21
Put this value in the equation (1), we get
2x−4y−z=2....(4)
Adding the equation (4)&(2), we get
4x−3y=4
Hence, the equation of straight line is 4x−3y−4=0