MTH 114 · Introduction to Sets, Logic and Algebra
Our notes
1 min read2 × 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
-
Best pick College Algebra 2e, 7.8 Solving Systems with Cramer's Rule
(opens openstax.org in a new tab)
OpenStax, College Algebra 2e, 7.8 Solving Systems with Cramer's Rule, CC BY-NC-SA 4.0 · licence
-
Interactive Linear Algebra, Section 4.2 Cofactor Expansions
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, Section 4.2 Cofactor Expansions, GNU FDL · licence
-
Determinant
(opens en.wikipedia.org in a new tab)
Wikipedia, Determinant, CC BY-SA 4.0 · licence
-
Margalit and Rabinoff, Interactive Linear Algebra (whole free textbook)
The whole Georgia Tech textbook online with interactive pictures.
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Margalit and Rabinoff, Interactive Linear Algebra (whole free textbook), GNU FDL · licence
-
OpenStax, College Algebra 2e (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, College Algebra 2e (whole free textbook), CC BY-NC-SA 4.0 · licence
Watch
-
Inverse of a 2x2 Matrix
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Cramer's Rule - 3x3 Linear System
15 min · ≈ 68 MB · about ₦38
(opens youtube.com in a new tab)
-
Properties of Determinants of Matrices | Linear Algebra
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Solving Systems Using Cramer's Rule
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
18. Properties of Determinants
49 min · ≈ 221 MB · about ₦124
(opens youtube.com in a new tab)
-
19. Determinant Formulas and Cofactors
53 min · ≈ 239 MB · about ₦134
(opens youtube.com in a new tab)
-
Determinant, Cofactor and Transpose of a 3x3 Matrix | Matrix Determinant, Cofactor and Transpose.
27 min · ≈ 122 MB · about ₦69
(opens youtube.com in a new tab)
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.