Matrix Calculator NZ
This calculator handles the core operations on a 2 by 2 matrix, returning the determinant, the inverse, the trace and the transpose from the four numbers you enter. Matrices are the workhorses of linear algebra, used everywhere from solving systems of equations and computer graphics to statistics, engineering and economics, and the 2 by 2 case is where most students and practitioners start. The determinant tells you whether the matrix can be inverted and, geometrically, how it scales area; a determinant of zero means the matrix is singular and has no inverse. The inverse is the matrix that undoes the original, essential for solving equations of the form Ax equals b. The trace, the sum of the diagonal, and the transpose, which flips rows and columns, appear throughout the subject. You enter the four entries of the matrix, a and b in the top row, c and d in the bottom row, and the calculator returns the determinant, the trace, and the inverse matrix when it exists, or a clear note that the matrix is singular when the determinant is zero. The results update as you type, so you can explore how changing an entry affects the determinant and inverse, which builds real intuition for why some matrices cannot be inverted. Use it to check homework, to speed up calculations, or to confirm a hand-worked result. For larger 3 by 3 or bigger matrices, the same ideas apply but the arithmetic is heavier, so this tool focuses on the 2 by 2 case that comes up most often. The calculations are exact for the values you enter, with the inverse rounded for display.
For a 2x2 matrix [a b; c d]. The inverse exists only when the determinant is not zero. Results are exact; the inverse is rounded for display.
How it works
For a matrix with top row a, b and bottom row c, d, the determinant is ad minus bc. The trace is a plus d. The transpose swaps b and c. The inverse, which exists only when the determinant is not zero, is one over the determinant times the matrix d, minus b, minus c, a.
Worked example
For the matrix [4 7; 2 6], the determinant is 4 times 6 minus 7 times 2, which is 24 minus 14, equals 10. The trace is 4 plus 6, equals 10. The inverse is one tenth of [6 -7; -2 4], which is [0.6 -0.7; -0.2 0.4]. The transpose is [4 2; 7 6].
Related calculators
- System of Equations: solve linear systems.
- Vector Calculator: vector operations.
- Quadratic Equation: solve quadratics.
- Scientific Calculator: general calculations.