Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Matrix Methods: How to Multiply, Invert and Analyse Matrices

Every matrix computation on one page, from adding two matrices to inverses, rank and powers. Each method links to the rules it uses and to the matrices lesson where they are explained.

Level
I

Single-rule moves

Atomic · one rule, applied once
A±B

How to add or subtract matrices

Entry-by-entry addition
Atomic
Recognize
Two matrices of the same size joined by ++ or −-: (1234)+(5−102)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 5 & -1 \\ 0 & 2 \end{pmatrix}, or A−BA - B for two 2×32 \times 3 matrices.
steps
1. Check that both matrices have the same size; otherwise the sum is undefined.
2. Add (or subtract) the entries in matching positions.
Statement
(A±B)ij=aij±bij(A \pm B)_{ij} = a_{ij} \pm b_{ij}
worked example
(1234)+(5−102)=(6136)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 5 & -1 \\ 0 & 2 \end{pmatrix} = \begin{pmatrix} 6 & 1 \\ 3 & 6 \end{pmatrix}
kA

How to multiply a matrix by a scalar

Scalar multiplication
Atomic
Recognize
A number in front of a matrix: 3A3A, −12B-\tfrac{1}{2}B, 1det⁡(A)adj⁡(A)\frac{1}{\det(A)}\operatorname{adj}(A).
steps
1. Multiply every entry of the matrix by the scalar.
2. The size does not change. A fraction may stay in front: 110(6−7−24)\frac{1}{10}\begin{pmatrix} 6 & -7 \\ -2 & 4 \end{pmatrix}.
Statement
(kA)ij=k aij(kA)_{ij} = k\, a_{ij}
worked example
3(2−104)=(6−3012)3\begin{pmatrix} 2 & -1 \\ 0 & 4 \end{pmatrix} = \begin{pmatrix} 6 & -3 \\ 0 & 12 \end{pmatrix}
Aᵀ

How to transpose a matrix

Transpose
Atomic
Recognize
A matrix with a superscript TT: ATA^T, (AB)T(AB)^T, or a step that turns rows into columns (the adjugate, a symmetry test, ATAA^TA).
steps
1. Write row 1 of AA as column 1 of ATA^T, row 2 as column 2, and so on.
2. An m×nm \times n matrix becomes n×mn \times m. For a product, reverse the order: (AB)T=BTAT(AB)^T = B^TA^T.
Statement
(AT)ij=aji(A^T)_{ij} = a_{ji}
worked example
(123456)T=(142536)\begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{pmatrix}^T = \begin{pmatrix} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{pmatrix}
II

Products, inverses, rank, trace and types

Composite · each opens its own page
How to multiply matricesCheck the inner sizes, then fill each entry with a row of the first times a column of the second.uses: row-times-column rule · dot productComposite5 steps · 3 examplesHow to find the inverse of a 2×2 matrixSwap the diagonal, negate the other two entries, divide by the determinant ad−bcad - bc.uses: 2×2 inverse formula · determinantComposite5 steps · 3 examplesHow to find an inverse by Gauss-Jordan eliminationRow reduce [A∣I][A \mid I] until the left half is II; the right half is then A−1A^{-1}.uses: row operations · reduced row echelon formComposite5 steps · 3 examplesHow to find an inverse with the adjugateCompute every cofactor, transpose them into adj⁡(A)\operatorname{adj}(A), divide by det⁡(A)\det(A).uses: cofactors · adjugate · determinantComposite5 steps · 3 examplesHow to find the rank of a matrixRow reduce to echelon form and count the pivots.uses: row reduction · pivotsComposite4 steps · 3 examplesHow to find the trace of a matrixAdd the diagonal entries; use linearity and tr⁡(AB)=tr⁡(BA)\operatorname{tr}(AB) = \operatorname{tr}(BA) to skip products.uses: diagonal sum · linearity · cyclic propertyComposite4 steps · 3 examplesHow to compute powers of a matrixMultiply the matrix by itself, square repeatedly for high powers, or use a diagonal or repeating pattern.uses: matrix multiplication · repeated squaringComposite5 steps · 3 examplesHow to identify the type of a matrixCheck the shape, the zero pattern, the transpose and a few products to name the type.uses: transpose · matrix products · determinantComposite5 steps · 3 examples