I am stuck on a particular point about using row operations to simplify calculating the determinant of a matrix. In particular, that adding some scalar multiple of the other rows to a particualr row leaves the determinant unchanged, and multiplying any row by some scalar multiplied the determinant by that same scalar.
This seems to lead me to a bit of a problem. Consider the matrix below (apologies that this is actually determinant with the straight lines. I am struggling with matrices in LaTeX):
$$ \begin{vmatrix} a_{11}&a_{12}&a_{13}\\ a_{21}&a_{22}&a_{23}\\ a_{31}&a_{32}&a_{33}\\ \end{vmatrix} $$
Using row operations we can say
$ \begin{vmatrix} a_{11}&a_{12}&a_{13}\\ a_{21}&a_{22}&a_{23}\\ a_{31}&a_{32}&a_{33}\\ \end{vmatrix} \equiv \begin{vmatrix} a_{11}+a_{21}&a_{12}+a_{22}&a_{13}+a_{33}\\ a_{21}&a_{22}&a_{23}\\ a_{31}&a_{32}&a_{33}\\ \end{vmatrix}$
But then considering the second matrix as a completely new case, and ignoring the fact that it was derived from the first matrix, I cannot see anything wrong with now subtracting twice the first row from the second
$\begin{vmatrix} a_{11}+a_{21}&a_{12}+a_{22}&a_{13}+a_{33}\\ a_{21}&a_{22}&a_{23}\\ a_{31}&a_{32}&a_{33}\\ \end{vmatrix} \equiv \begin{vmatrix} a_{11}+a_{21}&a_{12}+a_{22}&a_{13}+a_{33}\\ -2a_{11}-a_{21}&-2a_{12}-a_{22}&-2a_{13}-a_{33}\\ a_{31}&a_{32}&a_{33}\\ \end{vmatrix}$
Except now comparing this to the first matrix, we have multiplied the second row by a scalar (-1) which should change the determinant as well as adding just a scalar multiple of row 1 to row 2, but then we also added a scalar multiple of row 2 to row 1? So i'm not sure if the effect cancels out somewhere...
Would appreciate a pointer as to why the above is ok (or not!)
Your calculation is correct, but you have a small misunderstanding about the effect of a general row operation.
Call the original matrix $A$. Then its determinant is $det(A)$
Multiplying a row by $k$ makes the determinant $k*det(A)$. Switching adjacent rows makes it $-det(A)$. The determinant of the identity matrix is $1$. These three rules completely determine the function that maps $n \times n$ matrices into the real numbers. We call that function the determinant.
You can use these three properties to show that adding two rows does not change the determinant. But doubling the first row and adding in to the second row doubles the determinant.
Bottom line: adding rows does nothing to the determinant. But general row operations do change the determinant.