Skip to main content
Calculate Determinant
Tick mark Image
Evaluate
Tick mark Image

Share

det(\left(\begin{matrix}a&b&b\\b&a&b\\b&b&a\end{matrix}\right))
Find the determinant of the matrix using the method of diagonals.
\left(\begin{matrix}a&b&b&a&b\\b&a&b&b&a\\b&b&a&b&b\end{matrix}\right)
Extend the original matrix by repeating the first two columns as the fourth and fifth columns.
aaa+bbb+bbb=a^{3}+2b^{3}
Starting at the upper left entry, multiply down along the diagonals, and add the resulting products.
bab+bba+abb=3ab^{2}
Starting at the lower left entry, multiply up along the diagonals, and add the resulting products.
a^{3}+2b^{3}-3ab^{2}
Subtract the sum of the upward diagonal products from the sum of the downward diagonal products.
\left(a+2b\right)\left(a-b\right)^{2}
Subtract 3ab^{2} from 2b^{3}+a^{3}.
det(\left(\begin{matrix}a&b&b\\b&a&b\\b&b&a\end{matrix}\right))
Find the determinant of the matrix using the method of expansion by minors (also known as expansion by cofactors).
adet(\left(\begin{matrix}a&b\\b&a\end{matrix}\right))-bdet(\left(\begin{matrix}b&b\\b&a\end{matrix}\right))+bdet(\left(\begin{matrix}b&a\\b&b\end{matrix}\right))
To expand by minors, multiply each element of the first row by its minor, which is the determinant of the 2\times 2 matrix created by deleting the row and column containing that element, then multiply by the element's position sign.
a\left(aa-bb\right)-b\left(ba-bb\right)+b\left(bb-ba\right)
For the 2\times 2 matrix \left(\begin{matrix}a&b\\c&d\end{matrix}\right), the determinant is ad-bc.
a\left(a-b\right)\left(a+b\right)-bb\left(a-b\right)+bb\left(b-a\right)
Simplify.
\left(a+2b\right)\left(a-b\right)^{2}
Add the terms to obtain the final result.