Matrix Trace Calculator
Compute trace, determinant, eigenvalues, and inverse of a 2x2 matrix.
Enter the four elements for full analysis with classification and invertibility.
For a 2x2 matrix [[a, b], [c, d]], four key quantities summarize almost everything about the matrix’s behavior:
Trace = a + d: the sum of diagonal elements. The trace equals the sum of eigenvalues — a fast sanity check on any eigenvalue calculation. For differential equations and control theory, the trace of the system matrix tells you about the stability of fixed points.
Determinant = ad - bc: the signed area scaling factor. If you apply the matrix as a linear transformation to the unit square, the determinant is how much the area changes. Positive determinant: orientation preserved. Negative: flipped. Zero: the transformation collapses space — the matrix is singular and cannot be inverted.
Eigenvalues: the scalars λ for which Ax = λx has a nonzero solution. For a 2x2 matrix, they come from the characteristic equation λ² - (trace)λ + det = 0. The discriminant is trace² - 4·det. If positive: two distinct real eigenvalues. If zero: a repeated eigenvalue. If negative: a conjugate pair of complex eigenvalues (common in rotating systems).
Inverse (when det ≠ 0): (1/det) · [[d, -b], [-c, a]]. The inverse swaps the diagonal elements and negates the off-diagonal elements, then scales by 1/det. Verifying that A·A⁻¹ = I is a quick check.
The trace is preserved under similarity transformations — diagonalizing a matrix does not change its trace. This makes it an intrinsic property of the linear map, not just of the particular matrix representation.
How we build and check this calculator
This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.
SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.