Professional Documents
Culture Documents
MAT216-Lecture 14 (Saba Fatema)
MAT216-Lecture 14 (Saba Fatema)
Contents
𝐴𝐱 𝐛 1
𝐴𝐱 𝟎 2
𝑥 𝑏𝑥 2𝑥 𝑥 5
3𝑥 𝑥 5𝑥 𝑥 8
𝑥 2𝑥 2𝑥 5𝑥 9
𝑥 𝑏𝑥 2𝑥 𝑥 0
3𝑥 𝑥 5𝑥 𝑥 0
𝑥 2𝑥 2𝑥 5𝑥 0
In the previous lecture, we saw that the set of all solution vectors of the homogeneous linear
system 𝐴𝐱 𝟎 is a subspace (nullspace or solution space).
Is this true also of the set of all solution vectors of the nonhomogeneous linear system
𝐴𝐱 𝐛?
The answer is NO. Because the zero vector is never a solution of a nonhomogeneous linear
system.
For example,
5
𝐱 7
0
0
is a particular solution of
𝑥 𝑏𝑥 2𝑥 𝑥 5
3𝑥 𝑥 5𝑥 𝑥 8
𝑥 2𝑥 2𝑥 5𝑥 9
To verify this—
1 0 2 1 5
𝐴 3 1 5 0 and 𝐛 8
1 2 0 5 9
1 0 2 1 5 5
𝐴𝐱 3 1 5 0 7 𝐛
8
0
1 2 0 5 9
0
𝐴𝐯 𝐴 𝐱 𝐱 𝐴𝐱 𝐴𝐱
𝐛 𝐛
𝐮 𝐱 𝑐 𝐯 𝑐 𝐯 ⋯ 𝑐 𝐯
𝐮 𝐱 𝑐 𝐯 𝑐 𝐯 ⋯ 𝑐 𝐯
𝐮 𝐱 𝑐 𝐯 𝑐 𝐯 ⋯ 𝑐 𝐯
𝑥 𝑏𝑥 2𝑥 𝑥 5
3𝑥 𝑥 5𝑥 𝑥 8
𝑥 2𝑥 2𝑥 5𝑥 9
5 2 1
𝐱 7 , 𝐵 1 , 3
0 1 0
0 0 1
5 2 1
𝐱 7 𝑐 1 𝑐 3 .
0 1 0
0 0 1
𝑥 𝑏𝑥 2𝑥 𝑥 5
3𝑥 𝑥 5𝑥 𝑥 8
𝑥 2𝑥 2𝑥 5𝑥 9
𝑥
1 0 2 1 𝑥 5
𝐴 3 1 5 0 , 𝐱 𝑥 , 𝐛 8
1 2 0 5 𝑥 9
→ 1 0 2 1 5
⎯⎯⎯⎯⎯⎯⎯⎯ 0 1 1 3 7
0 0 0 0 0
𝑥 𝑥 2𝑥 𝑥 5
𝑥 𝑥 3𝑥 7
𝑥 5 2𝑠 𝑡, 𝑥 7 𝑠 3𝑡, 𝑥 𝑠, 𝑥 𝑡
5 2𝑠 𝑡 5 2 1
𝐱 7 𝑠 3𝑡 7 𝑠 1 𝑡 3 .
𝑠 0 1 0
𝑡 0 0 1
In the next example, we will establish a condition, for which a nonhomogeneous system will
be consistent.
Example
𝑥 𝑥 𝑏
𝑥 2𝑥 𝑏
2𝑥 3𝑥 𝑏
1 1 𝑏1 1 0 2𝑏1 𝑏2
1 2 𝑏2 → 0 1 𝑏2 𝑏1
2 3 𝑏3 0 0 𝑏1 𝑏2 𝑏3
Saba Fatema Page | 6
Lecturer
Department of Mathematics and Natural Sciences
Brac University
Solutions of Nonhomogeneous Linear Systems
The above system will be consistent if
𝑏 𝑏 𝑏 0
Considering the above condition, the given system provides the following solution
𝑥 2𝑏 𝑏
𝐱 𝑥 .
𝑏 𝑏
𝑥 2𝑥 1
2𝑥 3𝑥 3
Here,
1 2 1 3 2
𝐴 , 𝐴
2 3 2 1
3 2 1 3
𝐱 𝐴 𝐛
2 1 3 1
Since the nullspace 𝑁 𝐴 consists only the trivial solution, the complete solution to 𝐴𝐱 𝐛
𝑥 3
is given by 𝐱 𝑥 .
1
For an 𝑚 𝑛 matrix 𝐴 (with 𝑚 𝑛), if the column rank 𝐴 𝑛, then 𝐴 is called a matrix
with 𝐟𝐮𝐥𝐥 𝐜𝐨𝐥𝐮𝐦𝐧 𝐫𝐚𝐧𝐤 𝑟 𝑛 . For 𝐴𝐱 𝐛, if 𝐴 has full column rank, then the system has
the following properties:
𝑥 𝑥 2
2𝑥 3𝑥 3
𝑥 2𝑥 1
𝐴𝐱 𝐛
1 1 𝑥 2
where, 𝐴 2 3 , 𝐱 𝑥 , 𝐛 3
1 2 1
1 1 2 1 0 3
2 3 3 → 0 1 1
1 2 1 0 0 0
𝑥 3
The general solution will be 𝐱 𝑥 .∎
1
3 0
Note. Since, 𝐱 𝐱 𝐱 , this implies that, the associated homogeneous
1 0
system 𝐴𝐱 𝟎 has the trivial solution only, i.e. 𝑁 𝐴 contains the zero vector only.
Saba Fatema Page | 8
Lecturer
Department of Mathematics and Natural Sciences
Brac University
Solutions of Nonhomogeneous Linear Systems
Consider another system,
𝑥 𝑥 2
2𝑥 3𝑥 3
𝑥 2𝑥 5
1 1 2 1 0 0
2 3 3 → 0 1 0
1 2 5 0 0 1
Since the last row provides a false statement, the system is inconsistent.
For an 𝑚 𝑛 matrix 𝐴 (with 𝑚 𝑛), if the row rank 𝐴 𝑚, then 𝐴 is called a matrix with
𝐟𝐮𝐥𝐥 𝐫𝐨𝐰 𝐫𝐚𝐧𝐤 𝑟 𝑚 . In such case 𝐴𝐱 𝐛 has the following properties:
All rows have pivots, i.e., the reduced row echelon form, 𝑅 has no zero rows.
There will exist free variable s , and hence special solution s .
The column space is the whole space ℝ .
There are 𝑛 𝑟 𝑛 𝑚 special solutions in the nullspace of 𝐴.
𝐴𝐱 𝐛 has infinitely many solutions.
𝑥 𝑥 𝑥 3
𝑥 2𝑥 𝑥 4
𝐴|𝐛
1 1 1 3
→ 1 0 3 2
1 2 1 4 0 1 2 1
𝑥 3𝑥 2
𝑥 2𝑥 1
𝑥 2 3𝑠, 𝑥 1 2𝑠, 𝑥 𝑠
𝑥 2 3𝑠 2 3
𝐱 𝑥 1 2𝑠 1 𝑠 2 .
𝑥 𝑠 0 1
Consider
𝑥 2𝑥 3𝑥 7
2𝑥 𝑥 3𝑥 8𝑥 17
3𝑥 𝑥 5𝑥 11𝑥 24
1 0 2 3 7 1 0 2 3 7
2 1 3 8 17 → 0 1 1 2 3
3 1 5 11 24 0 0 0 0 0
𝑥 7 2𝑠 3𝑡, 𝑥 3 𝑠 2𝑡, 𝑥 𝑠, 𝑥 𝑡
𝑥 2𝑥 3𝑥 7
2𝑥 𝑥 3𝑥 8𝑥 8
3𝑥 𝑥 5𝑥 11𝑥 24
1 0 2 3 7 1 0 2 3 0
2 1 3 8 17 → 0 1 1 2 0
3 1 5 11 24 0 0 0 0 1
Last row of the above matrix gives a false statement. Hence, the system is inconsistent. ∎
Dependency of 𝑨𝐱 𝐛 on rank 𝑟 :
𝑥 3𝑦 10𝑧 18
3𝑥 2𝑥 16𝑥 2𝑥 7
2𝑥 7𝑦 32𝑧 29
i ii 𝑥 5𝑥 14𝑥 18𝑥 29
𝑥 3𝑦 14𝑧 12
3𝑥 𝑥 14𝑥 2𝑥 1
𝑥 𝑦 2𝑧 8
2. a Under what condition on 𝑏 , 𝑏 and 𝑏 , the following system will be solvable or,
consistent ? b Find 𝐱 in that case.
𝑥 3𝑦 𝑧 𝑏
3𝑥 8𝑦 2𝑧 𝑏
2𝑥 4𝑦 𝑏