MTH168 ยท 2075 ยท 10 marks
When a system of linear equation is consistent and inconsistent? Give an example for each. Test the consistency and solve: x + y + z = 4 x + 2y + 2z = 2 2x + 2y + z = 5
When a system of linear equation is consistent and inconsistent? Give an example for each. Test the consistency and solve:
$x + y + z = 4$
$x + 2y + 2z = 2$
$2x + 2y + z = 5$
[10]
Consistency of a System of Linear Equations
Given Data
System of equations: $$x + y + z = 4 \quad \cdots (1)$$ $$x + 2y + 2z = 2 \quad \cdots (2)$$ $$2x + 2y + z = 5 \quad \cdots (3)$$
Definitions
Consistent System: A system of linear equations is consistent if it has at least one solution (either a unique solution or infinitely many solutions). By the rank criterion: $$\text{rank}(A) = \text{rank}([A|b]) \implies \text{consistent}$$
Inconsistent System: A system is inconsistent if it has no solution: $$\text{rank}(A) \neq \text{rank}([A|b]) \implies \text{inconsistent}$$
Examples
Consistent Example: $$x + y = 3, \quad x - y = 1$$ Solving gives $x = 2, ; y = 1$ (unique solution): consistent.
Inconsistent Example: $$x + y = 3, \quad x + y = 5$$ Contradictory equations, so no solution exists: inconsistent.
Testing Consistency and Solving
Step 1: Augmented Matrix
$$[A|b] = \begin{bmatrix} 1 & 1 & 1 & | & 4 \ 1 & 2 & 2 & | & 2 \ 2 & 2 & 1 & | & 5 \end{bmatrix}$$
Step 2: Row Reduction
$R_2 \leftarrow R_2 - R_1$: $$\begin{bmatrix} 1 & 1 & 1 & | & 4 \ 0 & 1 & 1 & | & -2 \ 2 & 2 & 1 & | & 5 \end{bmatrix}$$
$R_3 \leftarrow R_3 - 2R_1$: $$\begin{bmatrix} 1 & 1 & 1 & | & 4 \ 0 & 1 & 1 & | & -2 \ 0 & 0 & -1 & | & -3 \end{bmatrix}$$
Step 3: Consistency Check
The matrix is in echelon form with 3 non-zero rows: $$\text{rank}(A) = 3, \quad \text{rank}([A|b]) = 3, \quad \text{number of unknowns} = 3$$
Since $\text{rank}(A) = \text{rank}([A|b]) = 3 = $ number of unknowns, the system is consistent with a unique solution. No row of the form $[0;0;0,|,k],\ k \neq 0$ appears.
Step 4: Back Substitution
From Row 3: $$-z = -3 \implies z = 3$$
From Row 2: $$y + z = -2 \implies y + 3 = -2 \implies y = -5$$
From Row 1: $$x + y + z = 4 \implies x - 5 + 3 = 4 \implies x = 6$$
Check
| Equation | Substitution | Result |
|---|---|---|
| $x+y+z$ | $6 - 5 + 3$ | $4$ โ |
| $x+2y+2z$ | $6 - 10 + 6$ | $2$ โ |
| $2x+2y+z$ | $12 - 10 + 3$ | $5$ โ |
Final Answer
The system is consistent with the unique solution: $$\boxed{x = 6, \quad y = -5, \quad z = 3}$$
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.