I want to find all real $x$ that satisfy
$$ \textrm{det } X= \begin{vmatrix} x &2 &2 &2\\ 2 &x &2 &2\\ 2 &2 &x &2\\ 2 &2 &2 &x \end{vmatrix}\\ $$
My teacher does this by adding the three bottom rows to the top row
$$ \textrm{det } X= \begin{vmatrix} x+6 &x+6 &x+6 &x+6\\ 2 &x &2 &2\\ 2 &2 &x &2\\ 2 &2 &2 &x \end{vmatrix}\\ $$
and then subtracting a row of $2$'s from the bottom three rows
$$ \textrm{det } X= (x+6) \begin{vmatrix} 1 &1 &1 &1\\ 0 &x-2 &0 &0\\ 0 &0 &x-2 &0\\ 0 &0 &0 &x-2 \end{vmatrix}. $$
The answer is
$$ x\in \{-6,2\}. $$
I think I understand the operations (although subtracting an arbitrary row of numbers from a matrix/determinant row is something I've never seen before, but I don't see why that wouldn't be allowed. Just like you can subtract arbitrary coefficients on both sides of an equation, right?), my main issue is why they are performed.
- Why can't I just in the same way subtract a row of $2$'s from the three bottom rows in the first determinant? If I do that I get a different answer.
- I know I want a column of all zeroes except one column-element, but why do I need to perform the first operation beforehand? Is it somehow necessary that all the top row elements to be the same, $(x+6)$?
then subtracting a row of 2's from the bottom three rows
That's misstated. What actually happens is that you pull out the factor $(x+6)$, first, then subtract the first row (which is all $1$s now) multiplied by $2$ from the other rows. – dxiv Jul 24 '18 at 17:36Edit: Saw your edit about the factorization. Ok, I'll have to think about that for a bit.
– Chisq Jul 24 '18 at 17:38