Find the rank of the following matrix. $$A_\lambda = \begin{pmatrix} 2\lambda &-1&2\\ -2&1+\lambda&2-3\lambda\\ -3&-1&5
\end{pmatrix}$$
When finding the rank of matrix, I am allowed to use elementary row and column operations. But I am not sure if I can multiply by $\lambda$. I want to reduce this to an upper triangular matrix, but I always fail. Can you help me with the thinking process when solving this kind of problems?
After reducing it to triangular, the number of non-zero elements is the rank of the matrix.
Best Answer
Using SymPy:
Computing the determinant as a function of $t$:
Finding for which values of $t$ the determinant vanishes:
For $t=-2$ we obtain a rank-$2$ matrix:
For $t=-\frac 34$ we obtain another rank-$2$ matrix:
For other values of $t$, the rank is $3$, of course.