System of Lin EQs
System of Lin EQs
System of Lin EQs
1 2 3 5
2) 0 1 8 7
0 0 0 1
0 1 3 5
3) 0 0 1 7
0 0 0 0
1 2 3
0 0 1
4)
0 0 0
0 0 0
0 1 3 4 1 2 3 1 2 3 1 2 3 5
1) 1 2 8 2 2) 0 0 1 3) 0 1 8 4) 0 1 8 0
0 0 1 4 0 0 1 0 0 0 0 0 0 9
Linear Equation :
𝑎1 𝑥1 + 𝑎2 𝑥2 + 𝑎3 𝑥3 + … + 𝑎𝑛 𝑥𝑛 = 𝑏
Where 𝑎1 , 𝑎2 , 𝑎3 ,……𝑎𝑛 are real constants(coefficients) and
𝑥1 , 𝑥2 ,……. 𝑥𝑛 are unknowns(variables)
A solution of this system is a set of values S1, S2, …..Sn that satisfies all the m
linear equations upon substituting 𝑥1 = S1, 𝑥2 = 𝑆2,……. 𝑥𝑛 = Sn .
System Of Linear Equations
No Solution Consistent
(Inconsistent)
1 −2 3 −2
−1 1 −2 3
2 −1 3 −7
Perform R2 + R1 , R3 – 2 R1
1 −2 3 −2
0 −1 1 1
0 3 −3 −3
Perform R2 x (-1)
1 −2 3 −2
0 1 −1 −1
0 3 −3 −3
Perform R3 – 3 R2,
1 −2 3 −2
0 1 −1 −1
0 0 0 0
Perform R3 – 3R2
1 1 1/2 5/6
0 1 −3/2 −1/2
0 0 0 −3
This is required row echelon form.
Since the last equation is in the form 0a + 0b + 0c = -3 which has
no solution. Therefore the system has no solution.
• It is called as inconsistent system.
•Solve the following homogeneous system of linear equations by using Gaussian ellimination
method.
Perform R12,
1 2 3 0
−2 1 −1 0
3 0 1 0
Operating R2+2(R1) , R3 – 3(R1), we get,
1 2 3 0
0 5 5 0
0 −6 −8 0
Perform 1/5 (R2)
1 2 3 0
0 1 1 0
0 −6 −8 0
Perform R3 + 6 R2 ,
1 2 3 0
0 1 1 0
0 0 −2 0
Performe 1/2 (R3),
1 2 30
0 1 10
0 0 10
This is required Row echelon form.
Going back to equations, we get
X + 2 y +3 z = 0 , y + z = 0, z = 0.
By back substituation,
We get x= 0, y= 0, z = 0
The system has unique solution.(trivial solution.)
• Solve the following homogeneous system of linear equations by using Gaussian
elimination method.
x + 2y + 5z + 2w =0 , 2x + 4y + z - 7w =0
Apply R2 – 2R1 1 2 5 2 0
0 0 −9 −11 0
Apply R2 x –(1/9) 1 2 5 2 0
0 0 1 11/9 0
x - y + 7z =3 , 3x -3y + 21z = 2
Apply R2 – 3R1
1 −1 7 3
0 0 0 −7
No Solution Consistent
(Inconsistent)
2) x +2y +z = 7
2x +4y – 3z = 8
x –2z = 9
1 2 1
A = 1 4 −3 det A = 1(-8 - 0)-2(-2 +3) + 1(0 - 4) = -14
1 0 −2
System has unique solution.
3) 2x + 2y + 4z = 0
2x +10y + 4z = 0
x + 5y + 2z = 0
Ans : det A = 2(20-20)-2(4-4)-4(10-10) = 0
Sys has infinite solutions.
4) ) 2x + 2y + 4z = 2
2x +10y + 4z = -1
x + 5y + 2z = 5
Ans : det A = 2(20-20)-2(4-4)-4(10-10) = 0
System may have infinite solutions or no solution.
Homogeneous Non
System Homogeneous
AX = 0 System
AX = B
A-1 exist Unique solution Unique
det A ≠ 0 (Zero solution) Solution
A is m x m square
A-1 does not Infinite
matrix
exist Solutions
det A = 0 Infinite Solutions OR
No solution
If m < n Infinite
No. of Eqs < No. Infinite Solutions Solutions
of var OR
A is mxn matrix No solution
If m>n
No. of Eqs > No.
of var Can’t predict Can’t predict
Consider homogeneous system AX = 0 system.