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
Printable PDFs
- Study notes 2 pages
- Worksheet 3 pages Answer key
- Harder practice questions 1 page Answer key
Short questions
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 and .
Answer
Swap R₁ and R₂, then R₂ → R₂ − 2R₁, R₃ → R₃ − 3R₁:
: .
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. ✓
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. , .
| 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.
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; has no z.
Answer
Dominant: 5 > 1 + 1, 4 > 2 + 0, 5 > 1 + 1. , , .
| 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
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., so 4T₁ − T₂ = 120; , so −T₁ + 4T₂ − T₃ = 100; , so −T₂ + 4T₃ = 120.
- b., , .
| 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. : . : , so . Then , ; and . So °C and °C, which Gauss–Seidel gave to one decimal place. The middle point is warmest: it is farthest from the cool sides.
