Mathwords logoMathwords

Matrix Formulas — Operations, Determinant & Inverse Reference

A complete reference of matrix operations and formulas. Covers matrix arithmetic, the transpose, determinants (2×2 and 3×3), inverses, the identity matrix, eigenvalues, and how to solve linear systems with matrices.

Matrix Notation

m × n Matrix
A=[a11⋯a1n⋮⋱⋮am1⋯amn]A = \begin{bmatrix} a_{11} & \cdots & a_{1n} \\ \vdots & \ddots & \vdots \\ a_{m1} & \cdots & a_{mn} \end{bmatrix}
Entry
aij is the entry in row i, column ja_{ij} \text{ is the entry in row } i,\ \text{column } j
Square Matrix
n×n (same number of rows and columns)n \times n \text{ (same number of rows and columns)}
Zero Matrix
0:all entries are 0\mathbf{0}: \text{all entries are } 0
Identity Matrix
In=[10⋯001⋯0⋮⋱⋮00⋯1]I_n = \begin{bmatrix} 1 & 0 & \cdots & 0 \\ 0 & 1 & \cdots & 0 \\ \vdots & & \ddots & \vdots \\ 0 & 0 & \cdots & 1 \end{bmatrix}

Basic Matrix Operations

Addition
(A+B)ij=aij+bij(A + B)_{ij} = a_{ij} + b_{ij}
Scalar Multiplication
(cA)ij=c⋅aij(c A)_{ij} = c \cdot a_{ij}
Transpose
(AT)ij=aji(A^T)_{ij} = a_{ji}
Transpose Properties
(AB)T=BTAT, (AT)T=A(AB)^T = B^T A^T,\ (A^T)^T = A
Matrix Multiplication
(AB)ij=∑k=1naikbkj(AB)_{ij} = \sum_{k=1}^{n} a_{ik} b_{kj}
Identity Property
AI=IA=AAI = IA = A
Non-Commutativity
AB≠BA in generalAB \ne BA \text{ in general}

2×2 Matrix Determinant & Inverse

2×2 Determinant
det⁡ ⁣[abcd]=ad−bc\det\!\begin{bmatrix} a & b \\ c & d \end{bmatrix} = ad - bc
2×2 Inverse
A−1=1ad−bc[d−b−ca]A^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}
2×2 Invertibility
A−1 exists  ⟺  det⁡(A)≠0A^{-1} \text{ exists} \iff \det(A) \ne 0

3×3 Matrix Determinant

Cofactor Expansion (Row 1)
det⁡(A)=a11M11−a12M12+a13M13\det(A) = a_{11} M_{11} - a_{12} M_{12} + a_{13} M_{13}
Minor M_{ij}
Mij=det⁡(matrix with row i and column j deleted)M_{ij} = \det(\text{matrix with row } i \text{ and column } j \text{ deleted})
Cofactor C_{ij}
Cij=(−1)i+jMijC_{ij} = (-1)^{i+j} M_{ij}
General Determinant
det⁡(A)=∑j=1naijCij (any row)\det(A) = \sum_{j=1}^{n} a_{ij} C_{ij} \text{ (any row)}

Determinant Properties

Product
det⁡(AB)=det⁡(A)det⁡(B)\det(AB) = \det(A) \det(B)
Transpose
det⁡(AT)=det⁡(A)\det(A^T) = \det(A)
Inverse
det⁡(A−1)=1det⁡(A)\det(A^{-1}) = \frac{1}{\det(A)}
Scalar Multiple
det⁡(cA)=cndet⁡(A) (for n×n)\det(cA) = c^n \det(A) \text{ (for } n \times n\text{)}
Row Swap
Swapping two rows negates det⁡(A)\text{Swapping two rows negates } \det(A)

Matrix Inverse (General)

Adjugate Formula
A−1=1det⁡(A) adj⁡(A)A^{-1} = \frac{1}{\det(A)}\,\operatorname{adj}(A)
Adjugate
adj⁡(A)=CT (transpose of cofactor matrix)\operatorname{adj}(A) = C^T \text{ (transpose of cofactor matrix)}
Inverse Property
AA−1=A−1A=IA A^{-1} = A^{-1} A = I
Inverse of Product
(AB)−1=B−1A−1(AB)^{-1} = B^{-1} A^{-1}

Solving Linear Systems

Matrix Equation
Ax⃗=b⃗A \vec{x} = \vec{b}
Solution (if A is invertible)
x⃗=A−1b⃗\vec{x} = A^{-1} \vec{b}
Cramer's Rule (x_i)
xi=det⁡(Ai)det⁡(A)x_i = \frac{\det(A_i)}{\det(A)}
Gaussian Elimination
[A∣b⃗]→row reduce[I∣x⃗][A \mid \vec{b}] \xrightarrow{\text{row reduce}} [I \mid \vec{x}]

Eigenvalues & Eigenvectors

Eigenvalue Equation
Av⃗=λv⃗A \vec{v} = \lambda \vec{v}
Characteristic Equation
det⁡(A−λI)=0\det(A - \lambda I) = 0
Trace = Sum of Eigenvalues
tr⁡(A)=∑λi\operatorname{tr}(A) = \sum \lambda_i
Determinant = Product of Eigenvalues
det⁡(A)=∏λi\det(A) = \prod \lambda_i

Related Pages