math

Matrix Calculator

Perform 2×2 matrix operations: determinant, trace, inverse.

retro matrix layoutHOLA-SERIES // ANALYZER
LCD OUTPUT STATUS // DEG MATH
Matrix[2, 3; 1, 4]
Determinant:5
Trace:6
Inverse:[0.800, -0.600; -0.200, 0.400]
Eigenvalues:λ₁=5.0000, λ₂=1.0000

Recent Calculations

No calculations yet — results will appear here automatically.

About the Matrix Calculator

A matrix calculator computes the determinant, trace, and inverse of a 2×2 matrix. Matrices represent linear transformations and systems of equations, and these three quantities describe the essential behaviour of a transformation in a few numbers.

The formula

det = ad − bc, A⁻¹ = (1/det) · [[d, −b], [−c, a]]

For the matrix [[a, b], [c, d]], the determinant is ad − bc, the trace is a + d, and the inverse exists only when the determinant is non-zero.

How to use this calculator

  1. 1Enter your Matrix A [0,0]. The field starts at 2, which you can overwrite.
  2. 2Enter your Matrix A [0,1]. The field starts at 3, which you can overwrite.
  3. 3Enter your Matrix A [1,0]. The field starts at 1, which you can overwrite.
  4. 4Enter your Matrix A [1,1]. The field starts at 4, which you can overwrite.
  5. 5Read the result straight away — it recalculates as you type, so there is no button to press. Use Share to copy a link that reopens the page with your exact numbers filled in.

Worked example

Example inputs and the resulting output for the Matrix Calculator
InputValue
Matrix A [0,0]2
Matrix A [0,1]3
Matrix A [1,0]1
Matrix A [1,1]4

Result

Matrix: [2, 3; 1, 4]

Determinant: 5

Trace: 6

Inverse: [0.800, -0.600; -0.200, 0.400]

Eigenvalues: λ₁=5.0000, λ₂=1.0000

Those are the values the page loads with, so you can reproduce this result yourself and then change one field at a time to see what drives the outcome.

Understanding your result

The determinant has a direct geometric meaning: it is the factor by which the transformation scales area. A determinant of 3 triples areas, a determinant of −1 preserves area but flips orientation, and a determinant of 0 collapses the plane onto a line, destroying information. That collapse is exactly why a zero determinant means no inverse exists.

The inverse undoes the transformation, which is what makes it the tool for solving linear systems: if Ax = b then x = A⁻¹b. A singular matrix — determinant zero — corresponds to a system with either no solution or infinitely many, because the transformation cannot be reversed.

Things worth knowing

  • A matrix with determinant zero is singular and has no inverse.
  • Matrix multiplication is not commutative: AB and BA are generally different.
  • The trace equals the sum of the eigenvalues, and the determinant equals their product.
  • Determinants near zero indicate an ill-conditioned matrix, where small input changes produce large output changes.
  • The identity matrix leaves vectors unchanged and satisfies A · A⁻¹ = I.

Frequently asked questions

What does the determinant tell me?+

How the matrix scales area, and whether it is invertible. A determinant of 2 doubles areas; a negative one flips orientation; zero collapses the space and means no inverse exists.

When does a matrix have no inverse?+

When its determinant is zero. Such a matrix is singular: it maps distinct inputs to the same output, so the mapping cannot be reversed. The corresponding linear system has no unique solution.

What is the trace used for?+

It is the sum of the diagonal entries and equals the sum of the eigenvalues. It appears throughout linear algebra and physics as an invariant that does not change under a change of basis.

How do matrices solve systems of equations?+

Write the system as Ax = b, where A holds the coefficients. If A is invertible, x = A⁻¹b gives the solution directly. A singular A means the system has no unique solution.

Related math calculators