For infinitely many solutions,
D=0 where
D is the determinant of the coefficient matrix.
Thus,
D=316−1254−3k
Expanding along the first row,
D=325−3k−(−1)16−3k+41625
=3(2k+15)+(k+18)+4(5−12)
=6k+45+k+18−28
=7k+35
For infinitely many solutions,
7k+35=0
7k=−35
k=−5
Now verify consistency.
Let
R3=αR1+βR2
Comparing coefficients,
3α+β=6
−α+2β=5
Solving,
β=3,α=1
Now check constants:
1(3)+3(−2)=−3 and 1(4)+3(−3)=−5
Hence third equation is exactly R1+3R2
Therefore system is dependent and consistent, so it has infinitely many solutions.
Hence, the required value is −5