Finding the determinant using row operations. So I have to find the determinant of $\begin{bmatrix}3&2&2\\2&2&1\\1&1&1\end{bmatrix}$ using row operations. From what I've learned, the row operations that change the determinate are things like swaping rows makes the determinant negative and dividing a row by a value means you have to multiply it by that value. Once you have an upper triangular matrix then you just multiply the diagonal and you should have the determinant. So how come I can't get the right answer? Here's what I did. I start by dividing the first row by 3. $3\begin{bmatrix}1&2/3&2/3\\2&2&1\\1&1&1\end{bmatrix}$. Then I subtract the second row by 2 times the first row $3\begin{bmatrix}1&2/3&2/3\\0&2/3&-1/3\\1&1&1\end{bmatrix}$. Then I subtract the third and first row. $3\begin{bmatrix}1&2/3&2/3\\0&2/3&-1/3\\0&1/3&1/3\end{bmatrix}$. Then I multiply the third row by 2 and subtract it from the second row. $3\begin{bmatrix}1&2/3&2/3\\0&2/3&-1/3\\0&0&1\end{bmatrix}$. So now I have an upper triangular matrix so now I just do $(3)(1)(2/3)(1)$ and I get 2. The answer to this question however is not 2 but 1. So where did I go wrong? If the things I read were true then I should've got the right answer but I didn't which tells me that there's another row operation rule that no one told me about. 

I find it a bit easier to avoid fractions, therefore I would avoid dividing by 3 first.  Instead, let's take 2R3-R2=R2 to obtain:
$\begin{bmatrix}3 & 2 & 2\\0 & 0 & 1\\1 & 1 & 1\end{bmatrix}$
Now, take R1-3R3=R3 to obtain
$\begin{bmatrix}3 & 2 & 2\\0 & 0 & 1\\0 & -1 & -1\end{bmatrix}$
Because we took 3R3, this will change the value of the determinant.  We need to compensate by multiplying by 1/3. Leaving us with:
1/3$\begin{bmatrix}3 & 2 & 2\\0 & 0 & 1\\0 & -1 & -1\end{bmatrix}$
Now, interchange R2 and R3 to obtain
1/3$\begin{bmatrix}3 & 2 & 2\\0 & -1 & -1\\0 & 0 & 1\end{bmatrix}$
This will change the value of the determinant.  We need to add a negative sign to compensate for the interchange.  Leaving us with:
-1/3$\begin{bmatrix}3 & 2 & 2\\0 & -1 & -1\\0 & 0 & 1\end{bmatrix}$
Now, multiply the diagonal and then multiply by -1/3 leaving you with 1.
