Mathematical Tools
What It Does
Adds, subtracts, multiplies, transposes, and inverts matrices, and computes determinants and rank — up to 8×8 — showing the row-reduction steps for determinants and inverses. Everything runs in your browser.
How to Use It
- Pick an operation.
- Set the dimensions and type the matrix entries into the grid(s).
- Read the result; expand Steps to see the working (determinant/inverse).
- Copy or export the result.
Options Explained
| Option | Description |
|---|---|
| Operation | Add, subtract, scalar-multiply, multiply, transpose, determinant, inverse, rank. |
| Dimensions | Rows/cols of each matrix (1–8); the tool keeps them compatible per operation. |
| Scalar | The multiplier for the k·A operation. |
| Precision | How many significant digits to show. |
| Steps | Show the working for each operation, including row-reduction, dot-product multiplication, and the final transformed matrix. |
Result
| Row / Column | Column 1 | Column 2 |
|---|---|---|
| Row 1 | 0 | 0 |
| Row 2 | 0 | 0 |
Steps
- Matrix A (m×n)
Matrix A (m×n) Row / Column Column 1 Column 2 Row 1 0 0 Row 2 0 0 - Matrix B (n×p)
Matrix B (n×p) Row / Column Column 1 Column 2 Row 1 0 0 Row 2 0 0 - Each entry is the dot product of a row of A with a column of B → A × B
Each entry is the dot product of a row of A with a column of B → A × B Row / Column Column 1 Column 2 Row 1 0 0 Row 2 0 0
About Matrix Multiplication, Determinants & Inverses
Matrices are grids of numbers that represent linear transformations — rotations, scalings, projections — and the operations on them have geometric meaning. Matrix multiplication isn’t element-by-element: each entry of the product is the dot product of a row of the first matrix with a column of the second, which is why the inner dimensions must match (an m×n times an n×p gives an m×p) and why, unlike ordinary numbers, AB usually isn’t the same as BA.
The determinant of a square matrix is a single number that measures how much the transformation scales area or volume — and, crucially, whether it’s reversible: a determinant of zero means the transformation collapses space onto a lower dimension, so there’s no inverse. When the determinant is non-zero, the inverse matrix undoes the transformation, and this tool finds it by Gaussian elimination — augmenting the matrix with the identity and reducing until the original becomes the identity. To keep round-off error small it uses partial pivoting, and it snaps results that are a hair away from a whole number back to the integer — all while running entirely on your device.