A matrix's determinant is a single number that reveals key properties: if it's zero, the matrix has no inverse and the corresponding system of equations has no unique solution. For a 2×2 matrix [a,b;c,d], det=ad−bc. The inverse of a matrix, when it exists, is the matrix that "undoes" it (A×A−1=identity), used to solve systems of linear equations directly: if Ax=v, then x=A−1v.
Cramer's Rule is a direct formula for solving a 2-variable (or larger) system of linear equations without explicitly computing a matrix inverse — each variable is found as a ratio of two determinants, making it fast for small systems.
| Quantity | Formula (2×2) |
|---|---|
| Determinant | det(A) = ad−bc |
| Inverse | A−1 = (1/det)×[d,−b;−c,a] |
| Matrix multiplication (A×B) | Row×column dot products |
| System solution (Cramer's rule) | x=(ed−bf)/det, y=(af−ec)/det |
For matrix [a,b;c,d], det = a×d - b×c. For example, [4,7;2,6] has det = 4×6-7×2 = 10.
A⁻¹ = (1/det(A))×[d,-b;-c,a] — swap the diagonal elements, negate the off-diagonal elements, and divide everything by the determinant. This only works if det(A)≠0.
The matrix has no inverse (it is "singular"), and the corresponding system of linear equations either has no solution or infinitely many solutions rather than one unique solution.
Each element of the result is the dot product of the corresponding row of the first matrix and column of the second matrix. Matrix multiplication is not commutative — A×B usually does not equal B×A.
A direct method for solving a system of linear equations using determinants: each variable equals a ratio of two determinants, without needing to explicitly compute a matrix inverse — efficient for small systems (2 or 3 variables).
Use cofactor expansion along the first row: det = a(ei-fh) - b(di-fg) + c(dh-eg), where the letters correspond to the matrix [a,b,c;d,e,f;g,h,i].
Mesh and nodal analysis produce a system of simultaneous linear equations (one per mesh/node), which can be written and solved compactly in matrix form — this is exactly how the Mesh Analysis calculator on this site solves multi-loop circuits.
The system either has no unique solution (the two equations represent parallel lines that never intersect) or infinitely many solutions (the two equations represent the same line) — the calculator will flag this case rather than dividing by zero.
This calculator directly solves 2x2 systems using Cramer's Rule and computes 3x3 determinants; a full 3x3 system solve would extend Cramer's Rule using three 3x3 determinants (one for each variable) following the same principle.
State-space control system models represent system dynamics as matrix equations, and computing matrix inverses (or solving related linear systems) is a core step in analyzing stability, designing controllers, and simulating system response.
Mesh Analysis Calculator • KVL and KCL Calculator • Complex Number Calculator • All Calculators