Matrices and Determinants of Order 2
Senior 4 · Mathematics
Matrices and Determinants of Order 2
Lesson 5 of 5
25 min
At a Kigali market, 3 kg of beans and 2 kg of rice cost 4900 Frw, while 1 kg of beans and 4 kg of rice cost 5300 Frw (illustrative prices). With and the prices per kilogram, in Frw,
The system is now one matrix equation . The determinant is not zero, so has an inverse and there is exactly one pair of prices. This lesson turns that observation into two methods, and then uses determinants for areas and for points on a line.
Definition
Matrix form of a system: the system , is with the coefficient matrix , the unknown and the constants . Its determinant of the system is .
Example: , has and .
Important
Theorem (Cramer's rule). If , the system , has exactly one solution,
is with the -column replaced by the constants; is with the -column replaced.
Proof. Multiply the first equation by , the second by , and subtract: , that is . Multiply the first by , the second by , and subtract: , that is . Divide by . (Equivalently, written out entry by entry.)
Worked example 1: the market prices
Solve , by Cramer's rule.
Solution. .
So and : beans cost 900 Frw and rice 1100 Frw per kilogram. Check: and . ✓
Worked example 2: the inverse-matrix method
Solve , using .
Solution. , so and
The solution is the point where the two lines cross in the diagram below. The inverse method pays off when you must solve several systems with the same left-hand sides: compute once.
Each equation is a line, and the solution is where the lines meet. The determinant decides which picture you get:
| Determinant | The two lines | Solutions |
|---|---|---|
| cross at one point | exactly one: , | |
| , and the equations are not multiples of each other | parallel and distinct | none (the system is inconsistent) |
| , and one equation is a multiple of the other | the same line | infinitely many |
says the rows and are proportional, so the two lines have the same slope. The grey dashed line is parallel to : together they have and no common point.
Worked example 3: a system with a parameter
Discuss, according to the value of , the number of solutions of , .
Solution. .
In the previous lesson, was an area scale factor. Applied to two vectors it gives an area directly: the parallelogram built on and is the image of the unit square under , so
Three points are collinear exactly when this determinant is 0: the "triangle" has no area because and are parallel.
Worked example 4: area and collinearity
(a) Find the area of the triangle , , . (b) Find so that , and are collinear.
Solution. (a) , : , so the area is square units.
(b) , : , so and . Check: . ✓

Warning
is a fork, not an answer. Cramer's rule cannot be used when , and alone does not tell you whether there are no solutions or infinitely many: compare the two equations, as in worked example 3. And keep the columns straight: replaces the column of -coefficients, not the first row.
Tip
Compute first, every time. If it is zero, stop and compare the equations; if it is not, Cramer's rule is three determinants and two divisions. Substitute your answer back into both equations before you move on.
The Organic Chemistry Tutor: Cramer's rule for a 2x2 linear system (about 11 min). Watch how each numerator determinant is built by replacing one column with the constants.
Practice
Work each one, then open the answers.
Key points
Further reading for this unit
Sources and credits
Quick check