UNIHIVE

Study Hub UNIPORT MTH 114

MTH 114 · Introduction to Sets, Logic and Algebra

Determinants

Determinants of 2 × 2 and 3 × 3 matrices, cofactor expansion, properties under row operations, the inverse of a 2 × 2 matrix, and Cramer's rule.

Our notes

1 min read

2 × 2

For rows (a, b) and (c, d): det = ad − bc.
Example. Rows (3, 5) and (2, 4): 12 − 10 = 2.
Inverse of a 2 × 2: swap a and d, change the signs of b and c, divide by the determinant. For rows (3, 5), (2, 4) the inverse has rows (2, −2.5) and (−1, 1.5). Check: first row of the product: 3 × 2 + 5 × (−1) = 1 and 3 × (−2.5) + 5 × 1.5 = 0. ✓ No inverse exists when det = 0 (a singular matrix).

3 × 3 by cofactor expansion

Expand along the first row with signs + − +: det = a₁₁M₁₁ − a₁₂M₁₂ + a₁₃M₁₃, where Mᵢⱼ is the 2 × 2 minor left after deleting row i and column j.
Worked example. A with rows (1, 1, 1), (2, −1, 1), (1, 2, −1).

  • 1 × [(−1)(−1) − (1)(2)] = 1 × (1 − 2) = −1
  • −1 × [(2)(−1) − (1)(1)] = −1 × (−3) = 3
  • +1 × [(2)(2) − (−1)(1)] = 1 × 5 = 5

det A = −1 + 3 + 5 = 7. Check by expanding down column 3 (signs +, −, +): 1 × (4 + 1) − 1 × (2 − 1) + (−1) × (−1 − 2) = 5 − 1 + 3 = 7. ✓

Properties

  • Swapping two rows changes the sign.
  • Multiplying a row by k multiplies det by k.
  • Adding a multiple of one row to another leaves det unchanged.
  • A row of zeros, or two equal rows, gives det = 0.
  • det(AB) = det A × det B; det(Aᵀ) = det A.
  • For a triangular matrix, det = product of the diagonal.

Using elimination: the echelon form in the previous topic had diagonal 1, 1, −7 after one row swap, so det = −(1 × 1 × −7) = 7. ✓

Cramer's rule

For AX = B with det A ≠ 0: x = det Aₓ ÷ det A, where Aₓ replaces the x column by B (same for y, z).
Worked example (system from the previous topic, B = (6, 3, 2)):

  • Aₓ rows (6, 1, 1), (3, −1, 1), (2, 2, −1): 6(1 − 2) − 1(−3 − 2) + 1(6 + 2) = −6 + 5 + 8 = 7, so x = 7/7 = 1.
  • Az rows (1, 1, 6), (2, −1, 3), (1, 2, 2): 1(−2 − 6) − 1(4 − 3) + 6(4 + 1) = −8 − 1 + 30 = 21, so z = 21/7 = 3.

These agree with Gaussian elimination. ✓

Exams usually ask: evaluate 2 × 2 and 3 × 3 determinants; find a 2 × 2 inverse; use properties to evaluate quickly; solve a 3 × 3 system by Cramer's rule.

Common mistake: forgetting the alternating signs (+ − +) in cofactor expansion, especially the minus on the middle term.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 114 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.