Augmented Matrix & System of Linear Equations
Augmented Matrix & System of Linear Equations
Linear Equation
y= mx (1)
y, x = variables
m = constant
are constants/scalars
Linear System
Solution:
x - 3y 3 Eq1
2x y 8 Eq 2
Solution:
-2Eq1 + Eq2
2 x 6y 6
2x y 8
______________
+7y = 14 y = 2
From Eq 1
x = -3 +3y
x = -3 + 6 = 3
Solution is x = 3 and y = 2
Equation 1 3 – 3(2) = 3 – 6 = -3
Equation 2 2(3) +2 = 6 + 2 = 8 .
x - 3y 7 Eq1
2 x - 6y 7 Eq 2
3
Solution:
2Eq - Eq2
2 x - 6y -7
2 x 6 y -14
_____________________
0 + 0 = -21
NOTE:
a11 x - a12 y c1 l1
a21 x - a22 y c2 l2
Note:1. A system can have a unique solution (only one solution) only when the
number of unknowns is equal to the number of equations.
Note:2. A system is over determined , if there are more equations then unknowns
and it will be mostly inconsistent.
Note:3. A system is under determined if there are less equations then unknowns and
it can be inconsistent.
4
Augmented Matrix
Example: 4. Write the matrix and augmented form of the system of linear
equations
3x – y + 6z = 6
x+y+ z=2
2x + y +4z = 3
3 1 6 x 6
1 1 1 y 2
2 1 4 z 3
3 1 6 6
Augmented form is A b 1 1 1 2 .
2 1 4 3
1 1 2 8
1 2 3 1
3 7 4 10
6
STEP 1.
1 1 2 8 R12 (1) 1 1 2 8
1 2 3 1
R13( 3)
3 7 4 10
1 1 2 8
R 2 ( 1) 0 1 5 9
0 10 2 14
1 1 2 8
R 23(10) 0 1 5
9
0 0 52 104
1 1 2 8
0 1 5 9
R 3
0 0 1 2
x1 + x2 + 2x3 =8
x2 - 5x3 = -9
x3 = 2
x3 = 2
x2 = 5x3 -9 =10 – 9 =1
x1 = - x2 - 2x3 + 8 = -1 – 4 +8 = 3
7
Solution is x1 = 3, x2 = 1, x3 = 2.
or written as x1, x2 , x3 3,1,2
x1 + x2 + 2x3 = 8
- x1 - 2x2 + 3x3 = 1
3x1 - 7 x2 + 4x3 = 10
1 1 2 8
1 2 3 1
3 7 4 10
1 1 2 8 R12 (1) 1 1 2 8
1 2 3 1 0 1 5 9
R13( 3)
3 7 4 10 0 10 2 14
8
1 1 2 8
R 2 ( 1) 0 1 5 9
0 10 2 14
1 1 2 8
R 23(10) 0 1 5
9
0 0 52 104
1 1 2 8
1
0 1 5 9
R
3 52
0 0 1 2
R 31 2 1 1 0 4
0 1
R 32
0 0 1 2
9
Example: 5. Use the Gauss – Jordan method to solve the following system
of linear equations
x y 2 z w 1
2 x y 2 z 2w 2
x 2 y 4z w 1
3x - 3w 3
Solution:
Augmented matrix is
1 1 2 1 1
2 1 2 2 2
1 2 4 1 1
3 0 0 3 3
There is a leading entry ‘1’ in the first row, making all other entries in the
first column zero
1 1 2 1 1 1 1 2 1 1
2 1 2 2 2 0 1 2 0 0
1 2 4 1 1 0 1 2 0 0
3 0 0 3 3 0 3 6 0 0
1 0 1 1
0
0 1 2 0 0
0 0 0 0 0
0 0 0 0 0
is the reduced row echelon form.
x = -1 +w = -1 +
y = 2z = 2
z=
w = ,
or
Solution set = x, y, z, w 1,0,0,0 0,2,1,0 1,0,0,1 ,
There are infinite many solutions of the given system.
x 2y z 4u 1
x 3 y 7 z 2u 2
x 12 y 11z 16u 5
Solution:
Augmented matrix is:
1 2 1 4 1
1 3 7 2 2
1 12 11 16 5
11
1 2 1 4 1 R12 1 1 2 1 4 1
1 3
7 2 2 0 5 6 6 1 etc.
R13 1
1 12 11 16 5 0 10 12 12 4
Last equation is
0 x 0 y 0 z 0u 3
but 0 -3
Conditions on Solutions
x 2 y 3z 4
3x y 5 z 2
4 x y (a 2 14) z a 2
Solution:
Augmented matrix is
1 2 3 4
3 1 5 2
4 1 a 14 a 2
2
1 2 3 4 1 2 3 4
3 1
5 2 0 7 14 10
4 1 a 2 14 a 2 0 7 a 2 2 a 14
1 2 3 4
0 1 2 10
7
0 7 a 2 2 a 14
1 2 3 4
0 1 2 10
7
0 0 a 16 a 4
2
x 2 y 3z 4 1
y 2z 107 2
( a 2 16) z a 4 3
CASE I .
a4 0z 0
x 2 y 3z 4
y 2 z 107
as number of equations are less than number of unknowns, hence the system
has infinite many solutions,
let z=t
13
y 107 2t
x 4 3t 4t 207 t 87
CASE II
CASE III
a 4, a 4, let a 1
Equation 3 (1 4)(1 4) z 1 4
-15z -3
z 15
y 107 52 35
64
x 4 53 2( 64
35 ) 35
47
x 47
35
, y 64
35
and z 15 .
Example:8. What conditions must a, b, and c satisfy in order for the system
of equations
x y 2z a
x z b
2 x y 3z c
to be consistent.
1 1 2 a
1 0 1 b
2 1 3 c
1 1 2 a
0 1 1 ba
0 0 0 c a b
or c = a + b
c = a + b.