MTH168 ยท 2076 ยท 10 marks
When a system of linear equation is consistent and inconsistent? Give an example for each. Test the consistency and solve: x - 2y = 5 -x + y + 5z = 2 y + z = 0
When a system of linear equation is consistent and inconsistent? Give an example for each. Test the consistency and solve:
$x - 2y = 5$
$-x + y + 5z = 2$
$y + z = 0$
[10]
Consistency of a System of Linear Equations
Given
System of equations: $$x - 2y = 5 \quad \cdots (1)$$ $$-x + y + 5z = 2 \quad \cdots (2)$$ $$y + z = 0 \quad \cdots (3)$$
Unknowns: $x, y, z$ (3 unknowns, 3 equations).
Note: equation (1) has no $z$ term (coefficient 0) and equation (3) has no $x$ term (coefficient 0).
Definitions
Consistent system: has at least one solution (either a unique solution or infinitely many solutions).
Inconsistent system: has no solution.
By the rank criterion, if $\text{rank}(A) = \text{rank}([A|b])$ the system is consistent; otherwise inconsistent.
Examples
Consistent (unique solution): $$x + y = 3, \qquad x - y = 1 \implies x = 2,\ y = 1.$$
Inconsistent (no solution): $$x + y = 3, \qquad x + y = 5 \quad \text{(contradiction)}.$$
Solution
Augmented matrix
$$[A|b] = \begin{bmatrix} 1 & -2 & 0 & \big| & 5 \ -1 & 1 & 5 & \big| & 2 \ 0 & 1 & 1 & \big| & 0 \end{bmatrix}$$
Row reduction
$R_2 \leftarrow R_2 + R_1$:
$$\begin{bmatrix} 1 & -2 & 0 & \big| & 5 \ 0 & -1 & 5 & \big| & 7 \ 0 & 1 & 1 & \big| & 0 \end{bmatrix}$$
$R_3 \leftarrow R_3 + R_2$:
$$\begin{bmatrix} 1 & -2 & 0 & \big| & 5 \ 0 & -1 & 5 & \big| & 7 \ 0 & 0 & 6 & \big| & 7 \end{bmatrix}$$
Consistency check
The echelon form has 3 non-zero pivots and no row of the form $[0\ 0\ 0\ |\ k]$ with $k \neq 0$.
$$\text{rank}(A) = \text{rank}([A|b]) = 3 = \text{number of unknowns}$$
Hence the system is consistent with a unique solution.
Back substitution
Row 3: $$6z = 7 \implies z = \frac{7}{6}$$
Row 2: $$-y + 5z = 7 \implies -y + \frac{35}{6} = 7 \implies -y = \frac{42-35}{6} = \frac{7}{6} \implies y = -\frac{7}{6}$$
Row 1: $$x - 2y = 5 \implies x + \frac{14}{6} = 5 \implies x = \frac{30-14}{6} = \frac{16}{6} = \frac{8}{3}$$
Verification
- (1): $\frac{8}{3} - 2\left(-\frac{7}{6}\right) = \frac{8}{3} + \frac{7}{3} = 5$ โ
- (2): $-\frac{8}{3} - \frac{7}{6} + \frac{35}{6} = -\frac{16}{6} + \frac{28}{6} = 2$ โ
- (3): $-\frac{7}{6} + \frac{7}{6} = 0$ โ
Final Answer
The system is consistent with a unique solution:
$$\boxed{x = \frac{8}{3}, \quad y = -\frac{7}{6}, \quad z = \frac{7}{6}}$$
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.