Question
Question: Show that the following system of linear equations is consistent and also find their solution: \(...
Show that the following system of linear equations is consistent and also find their solution:
x+y+z=6
x+2y+3z=14
x+4y+7z=30
Solution
- A system of equations is consistent if it has at least one solution. An inconsistent system has no solutions.
- Rouché–Capelli theorem: A system of linear equations with n variables has a solution if and only if the rank of its coefficient matrix [A] is equal to the rank of its augmented matrix [A|B].
2.1) If n=rank(A)=rank(A∣B) and det(A)=0 : consistent; there is a unique solution.
2.2) If n>rank(A)=rank(A∣B) and det(A)=0 : consistent and dependent; there are infinitely many solutions.
2.3) If rank(A)=rank(A∣B) : inconsistent; there are no solutions. - Rank of a matrix corresponds to the maximal number of linearly independent columns/rows. In other words, it is the number of non-zero rows when the matrix is expressed in row echelon form (all rows consisting of only zeroes are at the bottom).
Complete step by step solution:
The coefficient matrix for the given system of equations is: A=1 1 1 124137 .
det(A)=1 1 1 124137=1(14−12)+1(3−7)+1(4−2)=2−4+2=0 .
Therefore, either there is no solution (inconsistent) or there are infinitely many solutions (consistent and dependent).
Let us convert the augmented matrix into the row echelon form to find its solutions.
The augmented matrix is:
A∣B=1 1 1 124137∣∣∣61430
R3→R3−R1;R2→R2−R1
A∣B=1 0 0 113126∣∣∣6824
R3→R3−3R2
A∣B=1 0 0 110120∣∣∣680
Since the rank of the coefficient matrix and the augmented matrix are both equal to 2, the system is consistent and since the rank is less than the number of unknowns 3, there are infinitely many solutions.
From the reduced augmented matrix, we have the set of equations:
x+y+z=6
y+2z=8
Let z=k .
y=8−2z=8−2k
x=6−y−z=6−8+2k−k=−2+k
The solutions are x=−2+k;y=8−2k;z=k.
Note:
Cramer's rule: A system of equations a1x+b1y+c1z=d1;a2x+b2y+c2z=d2;a3x+b3y+c3z=d3 is:
- If D=0 : a unique solution (consistent).
- The solution is x=DDx;y=DDy;z=DDz .
If D=0 : either infinitely many solutions (consistent and dependent) or no solution (inconsistent). To find out if the system is dependent or inconsistent, another method, such as elimination or Rouché–Capelli theorem, will have to be used.
Where, D=a1 b1 c1 a2b2c2a3b3c3 , Dx=d1 b1 c1 d2b2c2d3b3c3 , Dy=a1 d1 c1 a2d2c2a3d3c3 , Dz=a1 b1 d1 a2b2d2a3b3d3 .