Professional Documents
Culture Documents
Example: 𝑥 + 3𝑦 = 9.
The graph of this equation is a straight line in the 𝑥 − 𝑦
plane.
x+3y=9
-2x+y=-4
(3,2)
No Solution
−2𝑥 + 𝑦 = 3
−4𝑥 + 2𝑦 = 2
Lines are parallel. No point of intersection.
-4x+2y=2
-2x+y=3
Many Solutions
4𝑥 − 2𝑦 = 6
6𝑥 − 3𝑦 = 9
Both equations have the same graph. Any point of the
graph is a solution.
4x-2y=6
6x-3y=9
Our aim in this module is to analyze larger system of
linear equation. The following is an example of a system of
three linear equations.
𝑥1 + 𝑥2 + 𝑥3 = 2
2𝑥1 + 3𝑥2 + 𝑥3 = 3
𝑥1 − 𝑥2 − 2𝑥3 = −6
A linear equation in three variables corresponds to a plane
in three-dimensional space. Solutions will be points that lie
on all three planes. As for systems of two equations there
can be a unique solution, no solution, or many solutions.
C
Three planes A, B and C intersects at a single point P.
P corresponds to a unique solution.
A
A Q
C
Three planes A, B and C intersects in a line PQ.
Any point on the line is a solution
i.e., 𝐴𝑋 = 𝐵
𝐴 is called coefficient matrix.
𝑎11 𝑎12 … . . 𝑎1𝑛 𝑏1
The matrix 𝐴 𝐵 = 𝑎21 𝑎22 … . . 𝑎2𝑛 𝑏2
𝑎𝑚1 𝑎𝑚2 … . . 𝑎𝑚𝑛 𝑏𝑚
1 7 0 8
1 0 0 2
0 1 0 3
0 0 1 4
0 0 1 2
0 1 0 3
0 0 0 0
Leading 1 in row 3 not to Non zero element
the right of leading 1 in above leading 1 in row
row 2. 2
1 2 4 12 1 2 4 12
2 1 5 18 R 2 2 R1 0 3 3 6
1 3 3 8 R3 R1 0 1 1 4
Step 2:
1
Next, multiply row 2 by to make the (3,3) element
3
1. (This corresponds to making the coefficient of 𝑥2 in the
second equation 1.)
1 2 4 12
0 1 1 2
1
R2 0 1 1 4
3
Step 3:
Create zeros in the second column as follows. (This
corresponds to using the second equation to eliminate 𝑥2
from the first and third equations.)
1 0 2 8
R1 (2) R 2 0 1 1 2
R3 (1) R 2 0 0 2 6
Step 4:
1
Multiply row 3 by . (This corresponds to making
2
the coefficient of in the third equation 1.)
1 0 2 8
0 1 1 2
1
R3 0 0 1 3
2
Finally, create zeros in the third column. (This corresponds
to using the third equation to eliminate 𝑥3 from the first
and second equations.)
1 0 0 2
R1 2 R3 0 1 0 1
R 2 R3 0 0 1 3
3 3 3 9 12
0 0 2 2 2
R1 R 2
4 4 2 11 12
Step 2:
Create a 1 in the pivot location by multiplying the
1
pivot row by
𝑝𝑖𝑣𝑜𝑡
1 1 1 3 4
0 0 2 2 2
1
R1 4 4 2 11 12
3
Step 3:
Create zeros elsewhere in the pivot column by
adding suitable multiple of the pivot row to all other rows of
the matrix
1 1 1 3 4
0 0 2 2 2
R3 (4) R1
0 0 2 1 4
Step 4:
Cover the pivot row and all rows above it. Repeat
steps 1 and 2 for the remaining sub Matrix. Repeat step 3
for the whole matrix. Continue until the reduced echelon
from is reached. Pivot
1 1 1 3 4
0 0 2 2 2
0 0 2 1 4
1 1 1 3 4
0 0 1 1 1
1
R2 0 0 2 1 4
2
1 1 0 2 5
R1 R 2 0 0 1 1 1
R3 (2) R 2 0 0 0 1 6
1 1 0 0 17 Pivot
R1 (2) R3 0 0 1 0 5
R 2 R3 0 0 0 1 6
1 1 1 3 1 0 3 4
0 1 2 1 R1 R2 0 1 2 1
R2 (2)R1
R3 (3)R1 0 2 4 2 R3 2R2 0 0 0 0
x2 2 x3 1
1 1 2 3 1 1 2 3
2 2 5 4 0 0 1 2
R 2 (2) R1
1 2 1 3 0 3 3 6
R3 (1) R1
0 2 2 1 0 2 2 1
1 1 2 3
0 3 3 6
R 2 R3 0 0 1 2
0 2 2 1
1 1 2 3
0 1 1 2
1
R2 0 0 1 2
3
0 2 2 1
1 0 1 1
0 1 1 2
R1 R 2
0 0 1 2
R 4 (2) R 2
0 0 4 5
1 0 0 3
R1 (1) R3 0 1 0 4
R 2 R3 0 0 1 2
R 4 (4) R3 0 0 0 13
1 0 0 3
0 1 0 4
1
R4 0 0 1 2
13
0 0 0 1
This matrix is still not in reduced echelon form; zeros still
have to be created above the 1 in the last row. However, in
such a situation, when the last nonzero row of a matrix is of
the form (0 0 . . . 0 1), there is no need to proceed further.
They system has no solution. To see this, let us write down
the equation that corresponds to the last row of the matrix.
Exercise:
1. Determine the matrix of coefficients and augmented
matrix of each following systems of equations.
(a) 𝑥1 + 3𝑥2 = 7
2𝑥1 − 5𝑥2 = −3
8 7 5 1
(b) 4 6 2 4
9 3 7 6
0 2 4
(c) 5 7 3
6 0 8
1 2 1 6
(d) 0 1 4 5
0 0 1 2
3. In the following exercises you are given a matrix followed
by an elementary row operation. Determine each resulting
matrix.
2 6 4 0
1 2 3 6
(a) 1
8 3 2 5 R1
2
1 2 3 1
1 1 7 1
(b) R2 R1
2 4 5 3 R3 2 R1
1 0 4 3
0 1 3 2 R1 4 R3
(c)
0 0 1 5 R2 3R3
1 2 5 6
(b) 0 1 3 7
1 0 0
(c) 0 1 0
0 0 1
1 0 0 3 2
(d) 0 2 0 6 1
0 0 1 2 3
1 0 2 0 3
0 0 0 0 0
(c)
0 1 2 0 7
0 0 0 1 3
1 0 0 5 3
(d) 0 0 1 0 3
0 1 2 3 7
1 5 3 0 7
(e) 0 0 0 1 4
0 0 0 0 0
(b) 𝑥2 − 3𝑥3 + 𝑥4 = 0
𝑥1 + 𝑥2 − 𝑥3 − 4𝑥4 = 0
−2𝑥1 −2𝑥2 + 2𝑥3 − 8𝑥4 = 0
(c) 𝑥1 − 𝑥2 − 2𝑥3 = 7
2𝑥1 −2𝑥2 + 2𝑥3 − 4𝑥4 = 12
−𝑥1 + 𝑥2 − 𝑥3 + 2𝑥4 = −4
−3𝑥1 + 𝑥2 − 8𝑥3 − 10𝑥4 = −29
Answers:
1 3 5 5 2 4
1 3 2 2 4 0 4 3
1. (a) 2 5 (b)
(c)
1 3 0 1 0 1
4. (a) 𝑥1 = 3, 𝑥2 = 0, 𝑥3 = 2 (b) 𝑥1 = 0, 𝑥2 = 4, 𝑥3 = 2
(c) 𝑥1 = 2, 𝑥2 = 3, 𝑥3 = −1
5. (a) Yes (b) No (c) Yes (d) No
6. (a) No (b) Yes (c) No (d) No (e) Yes
7. (a) 𝑥1 = 3 − 2𝑟, 𝑥2 = 𝑟, 𝑥3 = 2, 𝑎𝑛𝑑 𝑥4 = 1
(b) 𝑥1 = −2𝑟 − 3𝑠, 𝑥2 = 3𝑟 − 𝑠, 𝑥3 = 𝑟, 𝑥4 = 𝑠
(c) No solution