Matrix Calculator
Determinant and inverse of a 2×2 matrix, the size that shows up constantly in early linear algebra and in quick geometric transformations, without setting up a full computer algebra system for four numbers.
Inputs
Result
det = 10
Inverse = 1/10 × [6, -7; -2, 4]
How the matrix calculator works
For a matrix [[a, b], [c, d]], the determinant is ad − bc.
A matrix has an inverse only when its determinant is non-zero. When it is zero, the matrix is 'singular' and no inverse exists — this isn't a computation error, it's a real property of that matrix.
When invertible, the inverse is (1/det) × [[d, −b], [−c, a]] — the diagonal entries swap places and the off-diagonal entries flip sign.
Worked example: [[4, 7], [2, 6]]
- det = 4×6 − 7×2 = 24 − 14 = 10.
- Since det ≠ 0, the inverse exists: (1/10) × [[6, −7], [−2, 4]].
- That is [[0.6, −0.7], [−0.2, 0.4]] once the fraction is distributed through each entry.
Common mistakes to avoid
Assuming every matrix has an inverse
A determinant of exactly zero means no inverse exists, full stop — it isn't a rounding issue to work around, it's a defining property of that particular matrix.
Entering rows and columns swapped
a12 is row 1, column 2, and a21 is row 2, column 1 — swapping them changes the determinant unless the matrix happens to be symmetric.
Frequently asked questions
What does it mean for a matrix to be singular?
Its determinant is zero, so it cannot be inverted — geometrically, the transformation it represents collapses the plane onto a line or a point.
Can this handle matrices larger than 2×2?
No, this tool is specifically for the 2×2 case; larger matrices need row-reduction methods a simple four-field calculator can't represent well.
Why is the determinant useful beyond checking for an inverse?
Its absolute value is the area-scaling factor of the linear transformation the matrix represents, and its sign indicates whether orientation is flipped.
How do I verify an inverse is correct?
Multiply the original matrix by its computed inverse — the result should be the identity matrix [[1, 0], [0, 1]].
Related calculators
Algebra Solver
Solve linear equations of the form ax + b = c.
Equation Solver
Solve simultaneous linear equations in two variables.
Quadratic Equation Solver
Roots of ax² + bx + c = 0 with discriminant analysis.
Polynomial Calculator
Evaluate a cubic polynomial at any value of x.
Geometry Calculator
Area and perimeter of common 2D shapes.