About this solver
How to use
- Fill the grid, or type the matrix as [[1, 2], [3, 4]] or [1 2; 3 4].
- Entries can be integers, decimals or fractions such as 1/2.
- Add the word inverse, or ^-1, to get the inverse instead of the determinant.
How to type math
| To enter | Type |
|---|---|
| Power | x^2 x^(n+1) |
| Root | sqrt(x) \sqrt[3]{x} |
| Fraction | (x+1)/(x-1) \frac{1}{x} |
| Functions | sin(x) ln(x) log_2(x) exp(x) |
| Absolute value | |x| abs(x) |
| Derivative | d/dx x^2 sin x (x^2+x)' |
| Integral | \int x^2 dx \int_0^1 x^2 dx |
| Limit | lim x->0 sin(x)/x \lim_{x\to\infty} 1/x |
| Degrees | sin(30°) |
| System of equations | 2x+y=5, x-y=1 |
How it works
A determinant is found by expanding along the row or column with the most zeros, by the rule of Sarrus for 3×3, or by row reduction to a triangular matrix.
An inverse is found with the adjugate (the transposed cofactor matrix divided by the determinant) or by Gauss–Jordan elimination on [A | I]. A matrix with determinant 0 has no inverse.
Frequently asked questions
Which methods are shown?
For a determinant: the ad − bc formula or cofactor expansion, the rule of Sarrus and row reduction. For an inverse: the adjugate and Gauss–Jordan elimination. Every method ends with the same exact answer.
Why does my matrix have no inverse?
A square matrix is invertible only when its determinant is not 0. When the determinant is 0 the solver says so and shows how the determinant was found.
Which sizes are supported?
2×2 and 3×3 matrices with numeric entries. Entries with letters are not supported yet.