Determinant
Find the determinant of a matrix up to 6×6 by Gaussian elimination or cofactor expansion, with the rule of Sarrus for 3×3 and a detailed solution.
The determinant calculator finds the determinant of a square matrix up to 6×6 by Gaussian elimination (reduction to triangular form) or by cofactor expansion along the first row (up to 4×4). For 2×2 and 3×3 matrices the formulas are shown. The calculation is exact, in fractions.
Formulas for small matrices
|a b; c d| = ad − bc
A 3×3 determinant by the rule of Sarrus: three products along the main diagonal and its parallels with a plus sign, three along the other diagonal with a minus sign.
Gaussian elimination
- Use row operations to make the entries below the main diagonal zero.
- Adding a multiple of one row to another does not change the determinant; swapping two rows changes its sign.
- The determinant of a triangular matrix is the product of its diagonal entries.
Cofactor expansion
det A = a11M11 − a12M12 + a13M13 − …
M1j is a minor: the determinant of the matrix without the first row and the j-th column.
Properties
- det AT = det A, det(AB) = det A · det B.
- If the rows are linearly dependent (for example, two rows are proportional), the determinant is zero.
- det A ≠ 0 if and only if the matrix is invertible.
Comments
No comments yet.