Matrices and Determinants of Order 3
Senior 5 · Mathematics
Matrices and Determinants of Order 3
Lesson 5 of 5
45 min
A school canteen buys rice, beans and maize flour from one supplier. Three receipts show only totals: 2 kg of rice, 3 kg of beans and 1 kg of maize flour cost 5,800 FRW; 1 kg, 2 kg and 4 kg cost 5,800 FRW; 3 kg, 1 kg and 2 kg cost 5,900 FRW (illustrative figures). What is the price of each? With prices in hundreds of francs per kilogram, the receipts are three linear equations in three unknowns. This lesson solves such systems with the inverse matrix of lesson 4 and with determinants alone, by Cramer's rule, and explains what happens when the determinant is 0.
Definition
A system of three linear equations in
where is the coefficient matrix, and . Its determinant is . The system is consistent if it has at least one solution and inconsistent if it has none.
Important
The inverse-matrix method. If , multiply on the left by : . The system has exactly one solution.
Worked example 1: by the inverse matrix
Solve .
Solution. The coefficient matrix is the matrix of lesson 4, worked example 1, with and . So
Check in the third equation: . ✓ The solution is .
Important
Cramer's rule. If , the unique solution is
where , , are the determinants obtained from by replacing the column of , of or of by the column .
Reason (for ). Let the columns of be , so the system says . By property 4 of determinants, . By property 5, adding to the first column changes nothing: .
Worked example 2: by Cramer's rule
Solve .
Solution.
So , , . Check in the first equation: . ✓
Worked example 3: the canteen's prices
Solve the opening problem: , with prices in hundreds of francs per kilogram.
Solution. . Replacing columns in turn, , , . So
Rice costs 1,200 FRW, beans 900 FRW and maize flour 700 FRW per kilogram. Check the third receipt: . ✓
Each equation describes a plane in space (unit 8), and a solution is a point on all three planes. If , the three planes meet in exactly one point. If , there are only two possibilities: the planes share a whole line (or a plane), giving infinitely many solutions, or they have no point in common, giving none. Two of the planes may also be parallel, which is another way to have no solution. Neither the inverse method nor Cramer's rule can be used; eliminate instead.
Worked example 4: a system with
Discuss, according to the value of , the system .
Solution. . The left side of the third equation is the sum of the first two, so the third equation must say .
Warning
Tip
Always check a solution by substituting it in the equation you did not use last. One substitution catches almost every arithmetic slip.
3Blue1Brown: Cramer's rule, explained geometrically (about 12 min). Watch why each unknown is a ratio of two determinants, the same idea as this lesson's proof with columns.
Practice
Questions 1 to 3 are routine; 4 to 6 need more care; 7 asks for a reason.
Further reading for this unit
Sources and credits