Find the value of $k$ for which the system of equations
$x-3y-z=0 $
$3x-5y-z=0$
$-x+ky+2z=k^2-4$
has:
(i) no real solutions
(ii) infinitely many solutions
(iii) a unique solution
I rewritten the system of equations in the augmented matrix form and simplified to $z= \frac{k^2-4}{-k+5}$. Now I think that the answers are as follows:
(i) $k=5$, because the denominator will be zero
(ii) I believe there is no such a possibility because for infinitely many solutions it should be rewritten as $ az=b $ and both $a$ and $b$ would have to be zero - but it's not possible if written as $z(-k+5)=k^2-4$.
(iii) Any $k \ne 5 $.
Please correct me if I'm wrong in any of the parts of the exercise, I am especially not sure about (ii).
Let's work on the first and second equations:
$$\begin{cases} x-3y-z & = 0\\ 3x-5y-z & = 0 \end{cases} \Rightarrow \begin{cases} x = & y\\ z = & -2y \end{cases}. $$
Substitute this solution in the third equation:
$$-y+ky+2(-2y)=k^2-4 \Rightarrow y(k-5) = k^2-4.$$
If $k \neq 5$, then you have a unique solution:
$$\begin{cases} x = & \frac{k^2-4}{k-5} \\ y = & \frac{k^2-4}{k-5} \\ z = & -2 \frac{k^2-4}{k-5} \end{cases} $$
On the other hand, if $k = 5$, then the equation $y(k-5) = k^2-4$ becomes:
$$y(5-5) = 5^2-4 \Rightarrow 0 = 21,$$
which, obviously, is impossible, and hence the whole system is impossible.
Summarizing: