Skip to content

← Grade 12 Mathematics

Exam practice

Every question from the end of every unit, with hints and answers to open. After you check an answer, mark how you did, and come back to the ones you didn’t get.

7 questions

Unit 5 · Matrix Based System of Linear Equations

Short questions

1.

Solve by Cramer’s rule:

  • a.3x − 4y = 10, 5x + 2y = 8 (2 marks)
  • b.x + y + z = 2, 2x − y + 3z = 11, x + 3y − z = −4 (3 marks)
Answer
  • a.D=∣3−452∣=6+20=26 D = \begin{vmatrix} 3 & -4 \\ 5 & 2 \end{vmatrix} = 6 + 20 = 26 , Dx=∣10−482∣=20+32=52 D_x = \begin{vmatrix} 10 & -4 \\ 8 & 2 \end{vmatrix} = 20 + 32 = 52 , Dy=∣31058∣=24−50=−26 D_y = \begin{vmatrix} 3 & 10 \\ 5 & 8 \end{vmatrix} = 24 - 50 = -26 . So x = 2, y = −1.
  • b.D = 1(1 − 9) − 1(−2 − 3) + 1(6 + 1) = −8 + 5 + 7 = 4.

Dx=∣21111−13−43−1∣=2(1−9)−1(−11+12)+1(33−4)=−16−1+29=12 D_x = \begin{vmatrix} 2 & 1 & 1 \\ 11 & -1 & 3 \\ -4 & 3 & -1 \end{vmatrix} = 2(1 - 9) - 1(-11 + 12) + 1(33 - 4) = -16 - 1 + 29 = 12 .
Dy=∣12121131−4−1∣=1(−11+12)−2(−2−3)+1(−8−11)=1+10−19=−8 D_y = \begin{vmatrix} 1 & 2 & 1 \\ 2 & 11 & 3 \\ 1 & -4 & -1 \end{vmatrix} = 1(-11 + 12) - 2(-2 - 3) + 1(-8 - 11) = 1 + 10 - 19 = -8 .
Dz=∣1122−11113−4∣=1(4−33)−1(−8−11)+2(6+1)=−29+19+14=4 D_z = \begin{vmatrix} 1 & 1 & 2 \\ 2 & -1 & 11 \\ 1 & 3 & -4 \end{vmatrix} = 1(4 - 33) - 1(-8 - 11) + 2(6 + 1) = -29 + 19 + 14 = 4 .
x = 3, y = −2, z = 1. Check: 3 − 6 − 1 = −4. ✓

2.

A=(121131012) A = \begin{pmatrix} 1 & 2 & 1 \\ 1 & 3 & 1 \\ 0 & 1 & 2 \end{pmatrix} .

  • a.Find A−1 A^{-1} . (3 marks)
  • b.Use it to solve AX=(453) AX = \begin{pmatrix} 4 \\ 5 \\ 3 \end{pmatrix} and AX=(325) AX = \begin{pmatrix} 3 \\ 2 \\ 5 \end{pmatrix} . (2 marks)
Answer

a. |A| = 1(6 − 1) − 2(2 − 0) + 1(1 − 0) = 2. Cofactors: C11=5 C_{11} = 5 , C12=−2 C_{12} = -2 , C13=1 C_{13} = 1 ; C21=−3 C_{21} = -3 , C22=2 C_{22} = 2 , C23=−1 C_{23} = -1 ; C31=−1 C_{31} = -1 , C32=0 C_{32} = 0 , C33=1 C_{33} = 1 .
A−1=12(5−3−1−2201−11) A^{-1} = \frac{1}{2}\begin{pmatrix} 5 & -3 & -1 \\ -2 & 2 & 0 \\ 1 & -1 & 1 \end{pmatrix}
b. 12(20−15−3−8+10+04−5+3)=(111) \frac{1}{2}\begin{pmatrix} 20 - 15 - 3 \\ -8 + 10 + 0 \\ 4 - 5 + 3 \end{pmatrix} = \begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix} , so (1, 1, 1); and 12(15−6−5−6+4+03−2+5)=(2−13) \frac{1}{2}\begin{pmatrix} 15 - 6 - 5 \\ -6 + 4 + 0 \\ 3 - 2 + 5 \end{pmatrix} = \begin{pmatrix} 2 \\ -1 \\ 3 \end{pmatrix} , so (2, −1, 3).
What it means: one inverse, two systems; a third right side would cost one more multiplication.

3.

Solve by the row-equivalent method: x + y + z = 4, 2x − y + z = 3, x + 2y − z = 1. (5 marks)

Answer

(11142−11312−11)→R3→R3−R1R2→R2−2R1(11140−3−1−501−2−3) \left(\begin{array}{ccc|c} 1 & 1 & 1 & 4 \\ 2 & -1 & 1 & 3 \\ 1 & 2 & -1 & 1 \end{array}\right) \xrightarrow[R_3 \to R_3 - R_1]{R_2 \to R_2 - 2R_1} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 4 \\ 0 & -3 & -1 & -5 \\ 0 & 1 & -2 & -3 \end{array}\right)
→R2↔R3(111401−2−30−3−1−5) \xrightarrow{R_2 \leftrightarrow R_3} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 4 \\ 0 & 1 & -2 & -3 \\ 0 & -3 & -1 & -5 \end{array}\right)
→R3→R3+3R2(111401−2−300−7−14) \xrightarrow{R_3 \to R_3 + 3R_2} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 4 \\ 0 & 1 & -2 & -3 \\ 0 & 0 & -7 & -14 \end{array}\right)
→R3→−17R3(111401−2−30012) \xrightarrow{R_3 \to -\frac{1}{7}R_3} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 4 \\ 0 & 1 & -2 & -3 \\ 0 & 0 & 1 & 2 \end{array}\right)
→R2→R2+2R3(111401010012) \xrightarrow{R_2 \to R_2 + 2R_3} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 4 \\ 0 & 1 & 0 & 1 \\ 0 & 0 & 1 & 2 \end{array}\right)
→R1→R1−R2−R3(100101010012) \xrightarrow{R_1 \to R_1 - R_2 - R_3} \left(\begin{array}{ccc|c} 1 & 0 & 0 & 1 \\ 0 & 1 & 0 & 1 \\ 0 & 0 & 1 & 2 \end{array}\right)
x = 1, y = 1, z = 2. (The swap puts a 1 in the pivot’s place and saves fractions.)

4.

Cramer’s own question: find the parabola y=ax2+bx+c y = ax^2 + bx + c through (1, 2), (2, 3) and (3, 6), by Cramer’s rule. (5 marks)

Hint

Each point gives one linear equation in a, b, c.

Answer

a + b + c = 2, 4a + 2b + c = 3, 9a + 3b + c = 6.
D=∣111421931∣=1(2−3)−1(4−9)+1(12−18)=−2 D = \begin{vmatrix} 1 & 1 & 1 \\ 4 & 2 & 1 \\ 9 & 3 & 1 \end{vmatrix} = 1(2 - 3) - 1(4 - 9) + 1(12 - 18) = -2 .
Da=∣211321631∣=2(−1)−1(3−6)+1(9−12)=−2 D_a = \begin{vmatrix} 2 & 1 & 1 \\ 3 & 2 & 1 \\ 6 & 3 & 1 \end{vmatrix} = 2(-1) - 1(3 - 6) + 1(9 - 12) = -2 , Db=∣121431961∣=−3+10−3=4 D_b = \begin{vmatrix} 1 & 2 & 1 \\ 4 & 3 & 1 \\ 9 & 6 & 1 \end{vmatrix} = -3 + 10 - 3 = 4 , Dc=∣112423936∣=3+3−12=−6 D_c = \begin{vmatrix} 1 & 1 & 2 \\ 4 & 2 & 3 \\ 9 & 3 & 6 \end{vmatrix} = 3 + 3 - 12 = -6 .
a = 1, b = −2, c = 3: y=x2−2x+3 y = x^2 - 2x + 3 . Check at (3, 6): 9 − 6 + 3 = 6. ✓
What it means: three points fix a parabola of this kind, as two fix a line; D ≠ 0 because no two of the points have the same x.

5.

For which values of k does the system x + y + z = 1, x + 2y + 4z = k, x+4y+10z=k2 x + 4y + 10z = k^2 have a solution? Solve it for each. (5 marks)

Hint

Row-reduce with k in the last column, and look at the last row.

Answer

(1111124k1410k2)→R3→R3−R1R2→R2−R1(1111013k−1039k2−1) \left(\begin{array}{ccc|c} 1 & 1 & 1 & 1 \\ 1 & 2 & 4 & k \\ 1 & 4 & 10 & k^2 \end{array}\right) \xrightarrow[R_3 \to R_3 - R_1]{R_2 \to R_2 - R_1} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 1 \\ 0 & 1 & 3 & k - 1 \\ 0 & 3 & 9 & k^2 - 1 \end{array}\right)
→R3→R3−3R2(1111013k−1000(k−1)(k−2)) \xrightarrow{R_3 \to R_3 - 3R_2} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 1 \\ 0 & 1 & 3 & k - 1 \\ 0 & 0 & 0 & (k - 1)(k - 2) \end{array}\right)
(k2−1−3(k−1)=k2−3k+2 k^2 - 1 - 3(k - 1) = k^2 - 3k + 2 .) The last row is 0 = (k − 1)(k − 2): a solution exists only for k = 1 or k = 2, and then infinitely many.
k = 1: y + 3z = 0, x + y + z = 1; with z = t, (1 + 2t, −3t, t).
k = 2: y + 3z = 1; with z = t, y = 1 − 3t, (2t, 1 − 3t, t).
What it means: |A| = 0 here (the coefficient matrix’s rows are dependent), so for most k the three planes have no common point; for two values they swing into a common line.

Long questions

6.

Leontief’s model with two industries, agriculture and manufacturing (the numbers are made up; the method is Leontief’s). Each rupee of farm output uses Rs 0.20 of farm goods and Rs 0.40 of manufactured goods; each rupee of manufactured output uses Rs 0.30 of farm goods and Rs 0.10 of manufactured goods. Final demand is Rs 60 crore of farm goods and Rs 30 crore of manufactured goods.

  • a.Write the equations X = AX + F for the total outputs x₁, x₂, and the matrix I − A. (2 marks)
  • b.Find (I−A)−1 (I - A)^{-1} . (2 marks)
  • c.Find the outputs. (2 marks)
  • d.Farm demand rises by Rs 10 crore. How much more must each industry produce? (2 marks)
Hint

Column j of A lists what one rupee of industry j’s output uses. For d, multiply (I−A)−1 (I - A)^{-1} by the change.

Answer
  • a.x₁ = 0.2x₁ + 0.3x₂ + 60 and x₂ = 0.4x₁ + 0.1x₂ + 30. With A=(0.20.30.40.1) A = \begin{pmatrix} 0.2 & 0.3 \\ 0.4 & 0.1 \end{pmatrix} , I−A=(0.8−0.3−0.40.9) I - A = \begin{pmatrix} 0.8 & -0.3 \\ -0.4 & 0.9 \end{pmatrix} .
  • b.|I − A| = 0.72 − 0.12 = 0.6, so (I−A)−1=10.6(0.90.30.40.8)=(32122343) (I - A)^{-1} = \dfrac{1}{0.6}\begin{pmatrix} 0.9 & 0.3 \\ 0.4 & 0.8 \end{pmatrix} = \begin{pmatrix} \frac{3}{2} & \frac{1}{2} \\ \frac{2}{3} & \frac{4}{3} \end{pmatrix} .
  • c.X=(32(60)+12(30)23(60)+43(30))=(10580) X = \begin{pmatrix} \frac{3}{2}(60) + \frac{1}{2}(30) \\ \frac{2}{3}(60) + \frac{4}{3}(30) \end{pmatrix} = \begin{pmatrix} 105 \\ 80 \end{pmatrix} : Rs 105 crore of farm output and Rs 80 crore of manufactured output. Check: 105 − 21 − 24 = 60. ✓
  • d.(I−A)−1(100)=(156.67) (I - A)^{-1}\begin{pmatrix} 10 \\ 0 \end{pmatrix} = \begin{pmatrix} 15 \\ 6.67 \end{pmatrix} : Rs 15 crore more farm output and about Rs 6.67 crore more manufactured output.

What it means: Rs 10 crore more food on the table takes Rs 15 crore more farming, because farms use their own produce (seed, feed) and factory goods, and the factories in turn need farm goods. The first column of (I−A)−1 (I - A)^{-1} is that ripple, one rupee at a time.

7.

x + y + z = 6, x + 2y + 3z = 14, x+4y+λz=μ x + 4y + \lambda z = \mu .

  • a.Reduce the augmented matrix and find the values of λ \lambda for which the system has exactly one solution. (3 marks)
  • b.When has it no solution? When infinitely many? Give them. (3 marks)
  • c.Solve it by Cramer’s rule for λ=8 \lambda = 8 , μ=31 \mu = 31 . (2 marks)
Answer

a. (11161231414λμ)→R3→R3−R1R2→R2−R1(1116012803λ−1μ−6) \left(\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 1 & 2 & 3 & 14 \\ 1 & 4 & \lambda & \mu \end{array}\right) \xrightarrow[R_3 \to R_3 - R_1]{R_2 \to R_2 - R_1} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 1 & 2 & 8 \\ 0 & 3 & \lambda - 1 & \mu - 6 \end{array}\right)
→R3→R3−3R2(1116012800λ−7μ−30) \xrightarrow{R_3 \to R_3 - 3R_2} \left(\begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 0 & 1 & 2 & 8 \\ 0 & 0 & \lambda - 7 & \mu - 30 \end{array}\right)
If λ≠7 \lambda \ne 7 the last pivot λ−7 \lambda - 7 is not 0, and the method ends at [I∣X] [I \mid X] : exactly one solution for every λ≠7 \lambda \ne 7 (whatever μ \mu ).

  • b.λ=7 \lambda = 7 , μ≠30 \mu \ne 30 : the last row says 0=μ−30≠0 0 = \mu - 30 \ne 0 , no solution. λ=7 \lambda = 7 , μ=30 \mu = 30 : a row of zeros, infinitely many: y = 8 − 2t, x = 6 − y − z = t − 2, z = t, that is (t − 2, 8 − 2t, t).
  • c.D=∣111123148∣=1(16−12)−1(8−3)+1(4−2)=1 D = \begin{vmatrix} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 1 & 4 & 8 \end{vmatrix} = 1(16 - 12) - 1(8 - 3) + 1(4 - 2) = 1 (that is λ−7 \lambda - 7 ).

Dx=∣61114233148∣=6(4)−1(112−93)+1(56−62)=−1 D_x = \begin{vmatrix} 6 & 1 & 1 \\ 14 & 2 & 3 \\ 31 & 4 & 8 \end{vmatrix} = 6(4) - 1(112 - 93) + 1(56 - 62) = -1 , Dy=∣16111431318∣=(112−93)−6(5)+(31−14)=6 D_y = \begin{vmatrix} 1 & 6 & 1 \\ 1 & 14 & 3 \\ 1 & 31 & 8 \end{vmatrix} = (112 - 93) - 6(5) + (31 - 14) = 6 , Dz=∣11612141431∣=(62−56)−(31−14)+6(2)=1 D_z = \begin{vmatrix} 1 & 1 & 6 \\ 1 & 2 & 14 \\ 1 & 4 & 31 \end{vmatrix} = (62 - 56) - (31 - 14) + 6(2) = 1 .
x = −1, y = 6, z = 1. Check: −1 + 24 + 8 = 31. ✓