I need to calculate determinant of a 2*2 matrix such as
$\begin{bmatrix} 2 &2 \\ 4& 9 \end{bmatrix}$
I proceeded by making it a upper triangular matrix and then using the negetives of the multipliers to get the lower triangular matrix.
U was obtained by doing R2->-2R2+R1 which is equal to $\begin{bmatrix} 2 &2 \\ 0& 5 \end{bmatrix}$
When I used to negative of the multiplier ,i.e. 2 to get the lower triangular matrix, $\begin{bmatrix} 1 &0 \\ 2& 1 \end{bmatrix}$.
But the product of L and U is not coming out to be equal to the orig matrix. What am I doing wrong ?