Evaluating a 3 × 3 determinant
Expand along the top row. Each entry multiplies the 2 × 2 2 \times 2 2 × 2 determinant left when you cover its row and column, with the signs + − + +\ -\ + + − + :
a b c d e f g h i + − + a(ei − fh) − b(di − fg) + c(dh − eg) Along the top row a(ei − fh) − b(di − fg) + c(dh − eg)
Worked example · WAEC 2017
WAEC 2017 · Paper 2 · Q9
Given that F = ( 3 4 2 0 − 1 2 2 1 − 2 ) F = \begin{pmatrix} 3 & 4 & 2 \\ 0 & -1 & 2 \\ 2 & 1 & -2 \end{pmatrix} F = 3 0 2 4 − 1 1 2 2 − 2 :
Find ∣ F ∣ |F| ∣ F ∣ , the determinant of F F F .
Use the determinant of F F F to solve the system of equations 3 x + 4 y + 2 z = − 1 3x + 4y + 2z = -1 3 x + 4 y + 2 z = − 1 , − y + 2 z = − 8 -y + 2z = -8 − y + 2 z = − 8 , 2 x + y − 2 z = 6 2x + y - 2z = 6 2 x + y − 2 z = 6 simultaneously.
The determinant
First term: 3 ( ( − 1 ) ( − 2 ) − 2 ( 1 ) ) = 3 ( 0 ) = 0 {3\big((-1)(-2) - 2(1)\big) = 3(0) = 0} 3 ( ( − 1 ) ( − 2 ) − 2 ( 1 ) ) = 3 ( 0 ) = 0 .
Second term: − 4 ( 0 ( − 2 ) − 2 ( 2 ) ) = − 4 ( − 4 ) = 16 {-4\big(0(-2) - 2(2)\big) = -4(-4) = 16} − 4 ( 0 ( − 2 ) − 2 ( 2 ) ) = − 4 ( − 4 ) = 16 .
Third term: 2 ( 0 ( 1 ) − ( − 1 ) ( 2 ) ) = 2 ( 2 ) = 4 {2\big(0(1) - (-1)(2)\big) = 2(2) = 4} 2 ( 0 ( 1 ) − ( − 1 ) ( 2 ) ) = 2 ( 2 ) = 4 .
So ∣ F ∣ = 0 + 16 + 4 = 20 {|F| = 0 + 16 + 4 = 20} ∣ F ∣ = 0 + 16 + 4 = 20 .
Think first. Cover the row and column of each top entry.
Cramer's rule
Δ x = − 20 {\Delta_x = -20} Δ x = − 20 , Δ y = 40 {\Delta_y = 40} Δ y = 40 and Δ z = − 60 {\Delta_z = -60} Δ z = − 60 .
x = − 20 20 = − 1 {x = \frac{-20}{20} = -1} x = 20 − 20 = − 1 , y = 40 20 = 2 {y = \frac{40}{20} = 2} y = 20 40 = 2 and z = − 60 20 = − 3 {z = \frac{-60}{20} = -3} z = 20 − 60 = − 3 .
Think first. Replace each column in turn by −1, −8, 6.
Check in the equations
3 ( − 1 ) + 4 ( 2 ) + 2 ( − 3 ) = − 1 {3(-1) + 4(2) + 2(-3) = -1} 3 ( − 1 ) + 4 ( 2 ) + 2 ( − 3 ) = − 1 ✓, − 2 + 2 ( − 3 ) = − 8 {-2 + 2(-3) = -8} − 2 + 2 ( − 3 ) = − 8 ✓, 2 ( − 1 ) + 2 − 2 ( − 3 ) = 6 {2(-1) + 2 - 2(-3) = 6} 2 ( − 1 ) + 2 − 2 ( − 3 ) = 6 ✓.
← Back Next step → Show all steps Start again
Unknowns in a determinant
Expand as usual; the determinant becomes an expression in the unknown. Set it equal to the given value and solve.
Worked example · WAEC 2020
WAEC 2020 · Paper 2 · Q11 (a)
Find the positive value of y y y for which ∣ y 1 0 1 y 1 0 1 y ∣ = 0 \begin{vmatrix} y & 1 & 0 \\ 1 & y & 1 \\ 0 & 1 & y \end{vmatrix} = 0 y 1 0 1 y 1 0 1 y = 0 (4 d.p.).
Expand
y ( y 2 − 1 ) − 1 ( y − 0 ) + 0 = y 3 − 2 y {y(y^2 - 1) - 1(y - 0) + 0 = y^3 - 2y} y ( y 2 − 1 ) − 1 ( y − 0 ) + 0 = y 3 − 2 y .
Solve
y 3 − 2 y = 0 {y^3 - 2y = 0} y 3 − 2 y = 0 , so y ( y 2 − 2 ) = 0 {y(y^2 - 2) = 0} y ( y 2 − 2 ) = 0 .
The positive value is y = 2 ≈ 1.4142 {y = \sqrt2 \approx 1.4142} y = 2 ≈ 1.4142 .
← Back Next step → Show all steps Start again
More: unknowns in a determinant
Cramer’s rule
For three equations with coefficient determinant Δ ≠ 0 \Delta \ne 0 Δ = 0 , each unknown is a ratio of determinants. Δ x \Delta_x Δ x is Δ \Delta Δ with the x x x column replaced by the right-hand sides; Δ y \Delta_y Δ y and Δ z \Delta_z Δ z likewise:
Δx p b c q e f r h i x = Δx ÷ Δ p, q, r go in column x Cramer's rule x = Δx ÷ Δ, y = Δy ÷ Δ, z = Δz ÷ Δ
Cramer's rule Pick a system, then a letter
7 Δ 7 Δx 1 x
x + y + z = 6; 2x − y + z = 3; x + 2y − z = 2. Replace the x column by 6, 3, 2: Δx = 6(−1) − 1(−5) + 1(8) = 7. So x = 7 ÷ 7 = 1.
Always check the answers in all three equations: a sign slip in one determinant shows up at once.
Your turn
(a) Using determinants, solve the following equations simultaneously:
5 x − 6 y + 4 z = 15 5x - 6y + 4z = 15 5 x − 6 y + 4 z = 15
7 x + 4 y − 3 z = 19 7x + 4y - 3z = 19 7 x + 4 y − 3 z = 19
2 x + y + 6 z = 46 2x + y + 6z = 46 2 x + y + 6 z = 46
Worked solution (try it first) Δ = ∣ 5 − 6 4 7 4 − 3 2 1 6 ∣ \Delta = \begin{vmatrix} 5 & -6 & 4 \\ 7 & 4 & -3 \\ 2 & 1 & 6 \end{vmatrix} Δ = 5 7 2 − 6 4 1 4 − 3 6 = 5 ( 24 + 3 ) + 6 ( 42 + 6 ) + 4 ( 7 − 8 ) = 5(24 + 3) + 6(42 + 6) + 4(7 - 8) = 5 ( 24 + 3 ) + 6 ( 42 + 6 ) + 4 ( 7 − 8 ) = 135 + 288 − 4 = 135 + 288 - 4 = 135 + 288 − 4 Replace the
x x x column by
15 , 19 , 46 15, 19, 46 15 , 19 , 46 :
Δ x = 15 ( 27 ) + 6 ( 114 + 138 ) + 4 ( 19 − 184 ) \Delta_x = 15(27) + 6(114 + 138) + 4(19 - 184) Δ x = 15 ( 27 ) + 6 ( 114 + 138 ) + 4 ( 19 − 184 ) Replace the
y y y column:
Δ y = 5 ( 114 + 138 ) − 15 ( 48 ) + 4 ( 322 − 38 ) \Delta_y = 5(114 + 138) - 15(48) + 4(322 - 38) Δ y = 5 ( 114 + 138 ) − 15 ( 48 ) + 4 ( 322 − 38 ) Replace the
z z z column:
Δ z = 5 ( 184 − 19 ) + 6 ( 322 − 38 ) + 15 ( 7 − 8 ) \Delta_z = 5(184 - 19) + 6(322 - 38) + 15(7 - 8) Δ z = 5 ( 184 − 19 ) + 6 ( 322 − 38 ) + 15 ( 7 − 8 ) So
x = 1257 419 = 3 x = \dfrac{1257}{419} = 3 x = 419 1257 = 3 ,
y = 1676 419 = 4 y = \dfrac{1676}{419} = 4 y = 419 1676 = 4 and
z = 2514 419 = 6 z = \dfrac{2514}{419} = 6 z = 419 2514 = 6 .
Check:
15 − 24 + 24 = 15 15 - 24 + 24 = 15 15 − 24 + 24 = 15 ✓,
21 + 16 − 18 = 19 21 + 16 - 18 = 19 21 + 16 − 18 = 19 ✓,
6 + 4 + 36 = 46 6 + 4 + 36 = 46 6 + 4 + 36 = 46 ✓.
Watch out
Replace one column at a time, keeping the other two. Watch the signs: − ( − 6 ) = + 6 -(-6) = +6 − ( − 6 ) = + 6 in the expansion. Report a problem with this question