Matrices and determinants: formulas
Try questions on this topic ▶Determinant of a 2 × 2 matrix
|a b; c d| = ad − bc
Also: Rows written (a, b) and (c, d)
- a, b
- first row
- c, d
- second row
When a question asks for the determinant of a 2 × 2 matrix or gives it and asks for an unknown entry.
Determinant of a 3 × 3 matrix
|a b c; d e f; g h i| = a(ei − fh) − b(di − fg) + c(dh − eg)
Also: Signs along the top row: + − + · det(kI) for a 3 × 3 identity matrix I = k3
- a, b, c
- first row
- d, e, f
- second row
- g, h, i
- third row
When a question asks for the determinant of a 3 × 3 matrix or gives it and asks for an unknown entry.
Inverse of a 2 × 2 matrix
A−1 = 1/(ad − bc) × (d −b; −c a)
Also: For A = (a b; c d), ad − bc ≠ 0 · Solve AX = B by X = A−1B
- A
- the matrix (a b; c d)
- ad − bc
- the determinant of A
When a question asks for the inverse of a 2 × 2 matrix, or to solve simultaneous equations by the inverse (matrix) method.
Singular matrix (no unique solution)
A matrix is singular when its determinant = 0
Also: Simultaneous equations have no unique solution when the determinant of their coefficient matrix = 0
- determinant
- ad − bc for a 2 × 2 matrix
When a question says a matrix is singular, or that equations have no unique solution, and asks for an unknown.
Cramer's rule (solving by determinants)
x = Dx/D, y = Dy/D
Also: For ax + by = p and cx + dy = q: D = ad − bc, Dx = pd − bq, Dy = aq − pc
- D
- determinant of the coefficients
- Dx
- determinant with the x-column replaced by the constants
- Dy
- determinant with the y-column replaced by the constants
When a question asks you to solve two simultaneous equations using determinants.
Scalar multiplication and matrix product
k(a b; c d) = (ka kb; kc kd)
Also: (a b; c d)(x; y) = (ax + by; cx + dy) · Equal matrices have equal corresponding entries
- k
- a number (scalar)
- (x; y)
- a column matrix
When a matrix is multiplied by a number or by a column matrix, or two matrices are set equal.