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.

4 questions

Unit 15 · System of Linear Equations

Short questions

1.

Solve by Gauss elimination: 2x + y − z = 1, x − y + 2z = 5, 3x + 2y + z = 10. (5 marks)

Hint

Swap the first two rows to get a pivot of 1, or use multipliers 12 \frac{1}{2} and 32 \frac{3}{2} .

Answer

Swap R₁ and R₂, then R₂ → R₂ − 2R₁, R₃ → R₃ − 3R₁:
(1−12521−1132110)→(1−12503−5−905−5−5) \left( \begin{array}{rrr|r} 1 & -1 & 2 & 5 \\ 2 & 1 & -1 & 1 \\ 3 & 2 & 1 & 10 \end{array} \right) \to \left( \begin{array}{rrr|r} 1 & -1 & 2 & 5 \\ 0 & 3 & -5 & -9 \\ 0 & 5 & -5 & -5 \end{array} \right)
R3→R3−53R2 R_3 \to R_3 - \frac{5}{3}R_2 : (0, 0, −5+253, −5+15)=(0, 0, 103, 10) \left(0,\ 0,\ -5 + \frac{25}{3},\ -5 + 15\right) = \left(0,\ 0,\ \frac{10}{3},\ 10\right) .
Back substitution: z = 3; 3y − 15 = −9, y = 2; x = 5 + 2 − 6 = 1. x = 1, y = 2, z = 3. Check: 3 + 4 + 3 = 10. ✓

2.

Solve 2x + 6y = 14, 5x − y = 3 by the Gauss–Seidel method, starting from (0, 0), correct to two decimal places. Arrange the equations first, and say why. (3 marks)

Hint

Which equation has the big coefficient of x?

Answer

5x − y = 3 has the large x (5 > 1) and 2x + 6y = 14 the large y (6 > 2): in that order the system is diagonally dominant, so it converges. x=3+y5 x = \frac{3 + y}{5} , y=14−2x6 y = \frac{14 - 2x}{6} .

Iteration x y
1 0.60 2.13
2 1.03 1.99
3 1.00 2.00
4 1.00 2.00

Iterations 3 and 4 agree: x = 1.00, y = 2.00.

3.

Solve by Gauss–Seidel, correct to two decimal places, starting from (0, 0, 0): 5x − y + z = 4, 2x + 4y = 14, x + y + 5z = 14. (5 marks)

Hint

Check dominance first; y=14−2x4 y = \frac{14 - 2x}{4} has no z.

Answer

Dominant: 5 > 1 + 1, 4 > 2 + 0, 5 > 1 + 1. x=4+y−z5 x = \frac{4 + y - z}{5} , y=14−2x4 y = \frac{14 - 2x}{4} , z=14−x−y5 z = \frac{14 - x - y}{5} .

Iteration x y z
1 0.80 3.10 2.02
2 1.02 2.99 2.00
3 1.00 3.00 2.00
4 1.00 3.00 2.00

x = 1.00, y = 3.00, z = 2.00. Check: 5 − 3 + 2 = 4. ✓

Long question

4.

A thin metal plate is held with its top edge at 80 °C and its other three edges at 20 °C. Three points P₁, P₂, P₃ lie in a row across its middle, equally spaced; each has one of the edges or another point as each of its four neighbors: P₁ has the top, the bottom, the left edge and P₂; P₂ has the top, the bottom, P₁ and P₃; P₃ has the top, the bottom, P₂ and the right edge. In the steady state each point’s temperature is the average of its four neighbors’ (15.2).

  • a.Show that the temperatures satisfy 4T₁ − T₂ = 120, −T₁ + 4T₂ − T₃ = 100, −T₂ + 4T₃ = 120. (2 marks)
  • b.Solve them by Gauss–Seidel from (0, 0, 0), correct to one decimal place. (4 marks)
  • c.Solve them exactly by Gauss elimination, and compare. (2 marks)
Hint

b. The system is dominant: 4 > 1, 4 > 1 + 1. c. The symmetry says T₁ = T₃.

Answer
  • a.T1=80+20+20+T24 T_1 = \dfrac{80 + 20 + 20 + T_2}{4} , so 4T₁ − T₂ = 120; T2=80+20+T1+T34 T_2 = \dfrac{80 + 20 + T_1 + T_3}{4} , so −T₁ + 4T₂ − T₃ = 100; T3=80+20+T2+204 T_3 = \dfrac{80 + 20 + T_2 + 20}{4} , so −T₂ + 4T₃ = 120.
  • b.T1=120+T24 T_1 = \dfrac{120 + T_2}{4} , T2=100+T1+T34 T_2 = \dfrac{100 + T_1 + T_3}{4} , T3=120+T24 T_3 = \dfrac{120 + T_2}{4} .
Iteration T₁ T₂ T₃
1 30.0 32.5 38.1
2 38.1 44.1 41.0
3 41.0 45.5 41.4
4 41.4 45.7 41.4
5 41.4 45.7 41.4

T₁ = T₃ = 41.4 °C, T₂ = 45.7 °C.
c. R2→R2+14R1 R_2 \to R_2 + \frac{1}{4}R_1 : (0, 154, −1∣130) \left(0,\ \frac{15}{4},\ -1 \mid 130\right) . R3→R3+415R2 R_3 \to R_3 + \frac{4}{15}R_2 : (0, 0, 5615∣4643) \left(0,\ 0,\ \frac{56}{15} \mid \frac{464}{3}\right) , so T3=4643×1556=2907 T_3 = \frac{464}{3} \times \frac{15}{56} = \frac{290}{7} . Then 154T2=130+2907=12007 \frac{15}{4}T_2 = 130 + \frac{290}{7} = \frac{1200}{7} , T2=3207 T_2 = \frac{320}{7} ; and T1=120+32074=2907 T_1 = \frac{120 + \frac{320}{7}}{4} = \frac{290}{7} . So T1=T3=2907=41.43 T_1 = T_3 = \frac{290}{7} = 41.43 °C and T2=3207=45.71 T_2 = \frac{320}{7} = 45.71 °C, which Gauss–Seidel gave to one decimal place. The middle point is warmest: it is farthest from the cool sides.