Determinants of Order Two and Three: Explained with Examples
The determinant is a single number computed from a square matrix, written det(A) or |A| with vertical bars. For a 2 × 2 matrix [[a, b], [c, d]] it equals ad − bc; for a 3 × 3 matrix it is a signed sum of six triple products.
If det(A) = 0 the matrix has no inverse; if det(A) ≠ 0 there is exactly one solution to AX = B. |det(A)| is the area or volume scaling factor of the transformation — a determinant of 0 flattens everything into a lower dimension.
Key Concepts
- Order-two determinant: |[[a, b], [c, d]]| = ad − bc (main diagonal product minus the other diagonal product).
- Order-three determinant: expand along row 1: a_11C_11 + a_12C_12 + a_13C_13, where each cofactor C_ij = (−1)^i+j times the 2 × 2 minor.
- Sarrus rule (3 × 3 only): copy the first two columns to the right, sum the three downward diagonal products, subtract the three upward diagonal products.
- Geometric meaning: |det| = area/volume scale factor of the linear transformation; sign indicates orientation flip.
Formulas
- 2 × 2: det [[a, b], [c, d]] = ad − bc.
- 3 × 3 by first row: det = a(ei − fh) − b(di − fg) + c(dh − eg) for matrix [[a, b, c], [d, e, f], [g, h, i]]. Note the alternating signs + − +.
- Inverse via determinant (2 × 2): [[a, b], [c, d]]^−1 = (1/(ad − bc)) · [[d, −b], [−c, a]], valid only when ad − bc ≠ 0.
Worked Example
Compute det [[2, −1, 3], [0, 4, 1], [5, 2, −2]] by expanding along row 1.
- Term 1: a = 2, minor = |[[4, 1], [2, −2]]| = 4(−2) − 1(2) = −8 − 2 = −10. Cofactor sign (+): 2 × (−10) = −20.
- Term 2: b = −1, minor = |[[0, 1], [5, −2]]| = 0(−2) − 1(5) = −5. Cofactor sign (−): −(−1) × (−5) = −5.
- Term 3: c = 3, minor = |[[0, 4], [5, 2]]| = 0(2) − 4(5) = −20. Cofactor sign (+): 3 × (−20) = −60.
- Total: −20 − 5 − 60 = −85. So det = −85 ≠ 0: the matrix is non-singular and invertible.
- Cross-check via Sarrus: downward: 2·4·(−2) + (−1)·1·5 + 3·0·2 = −16 − 5 + 0 = −21; upward: 3·4·5 + 2·1·2 + (−1)·0·(−2) = 60 + 4 + 0 = 64; −21 − 64 = −85. Matches.
Common Misconceptions
- "|A| means absolute value of each entry." No — |A| is the determinant, one number from the whole matrix. |[[−2]]| = −2, which can be negative.
- "Determinants exist for any matrix." Only square matrices have determinants. A 2 × 3 matrix has no determinant at all.
- "Forgetting the alternating signs in expansion." The checkerboard pattern (+ − + / − + − / + − +) starting with + at (1,1) is the most common arithmetic slip — always write the signs before the minors.
Real-World Applications
- Solving systems (Cramer's rule): each unknown is a ratio of two determinants — practical for 2 × 2 and 3 × 3 systems.
- Computer graphics: a zero determinant means a transformation squashes 3D objects flat — renderers check this to avoid degenerate geometry.
- Area and volume: surveyors and physicists compute areas, volumes and the Jacobian scaling factor with determinants.
The 2 × 2 determinant is the quick ad − bc, and the 3 × 3 determinant is a signed cofactor expansion (or Sarrus rule). Zero means no inverse and a collapsed dimension; non-zero guarantees a unique solution to AX = B.
Related blogs
- Matrix Order and Types: Complete Guide with Examples
- Equality of Matrices: Concepts, Formulas and Examples
- Addition and Subtraction of Matrices: Rules & Examples
- Scalar Multiplication of Matrices: Rules and Examples
- Matrix Multiplication: Rules and Examples Made Simple
- Transpose of a Matrix: Definition, Properties, Examples