Examplesolveonsystem
Examplesolveonsystem
Satya Mandal, KU
Goals
Definitions
Continued
Continued
I Here aij is a real number, to be called ij th −entry. This
entry sits in the i th −row j th −column. The first subscript
i of aij is called the row subscript and j is called the
column subscript.
I It is possible to talk about matrices whose entries aij are
not real numbers. We can talk about matrices of any
kind of objects. However, in this course, we consider
matrices with real entries ONLY, and such matrices are
also called real matrices.
I We single out the matrices of complex numbers, whose
entries are complex numbers.
Satya Mandal, KU Chapter 1: System of Linear Equations § 1.2 Gaussian Elimina
Matrices
Row operations on Matrices
Gaussian elimination Linear Systems and Matrices
Gauss-Jordan elimination
More Examples
Continued
Definition: The augmented matrix of this system (1) is
defined as
a11 a12 a13 · · · a1n b1
a21 a22 a23 · · · a2n b2
a31 a32 a33 · · · a3n b3 (2)
··· ··· ··· ··· ··· ···
am1 am2 am3 · · · amn bm
Continued
Example 1.2.1
Consider the linear system (refer to the Example in § 1.1):
x − 5y = 3
−8x + 40y = 14
Its augmented matrix of the system is
1 −5 3
−8 40 14
and the coefficient matrix is
1 −5
−8 40
Example 1.2.2
Consider the linear system (refer to the Example in § 1.1):
2x1 + 4x2 − x3 = 7
x1 − 11x2 + 4x3 = 3
10x1 − 6x2 + 4x3 = 3
Contnued
Recall, in § 1.1, for the system (4), an equivalent system in
row-echelon form, was deduced:
x1 − 11x2 + 4x3 = 3
9 1
x2 − 26 x3 = 26 (5)
0 = −31
Example 1.2.3
Consider the linear system (refer to the Example in § 1.1):
x1 +3x4 = 4
6x2 −3x3 −3x4 = 0
(6)
3x2 −2x4 = 1
2x1 −x2 +4x3 =5
Continued
Recall that an equivalent system in row-echelon form, for the
system (6), was deduced in § 1.2:
x1
+3x4 = 4
x2 −.5x3 −.5x4 = 0
x3 − 31 x4 = 32
x4 = 1
Conclusion
Continued
Example 1.2.4
Solution
The augmented matrix is:
1 0 0 3 4
0
6 −3 −3 0
.
0 3 0 −2 1
2 −1 4 0 5
We reduce this to row echelon form, by mirroring the
reduction of the system (7) to echelon form.
Subtract 2 times row-1 from row-4:
1 0 0 3 4
0 6 −3 −3 0
0 3 0 −2 1
0 −1 4 −6 −3
Satya Mandal, KU Chapter 1: System of Linear Equations § 1.2 Gaussian Elimina
Matrices
Row operations on Matrices
Gaussian elimination Example 1.2.4
Gauss-Jordan elimination
More Examples
Continued
1 0 0 3 4
1 0 1 −.5 −.5 0
Multiply row 2 by :
6 0 3 0 −2 1
0 −1 4 −6 −3
Subtract 3 times row-2 from row-3 and add row-2 to Eqn-4:
1 0 0 3 4
0 1 −.5 −.5 0
0 0 1.5 −.5 1
0 0 3.5 −6.5 −3
Continued
1 0 0 3 4
2 0 1 −.5 −.5 0
Multiply row 3by :
3 0 0 1 − 13 2
3
0 0 3.5 −6.5 −3
Continued
3
Multiply row-4 by 16
:
1 0 0 3 4
0 1 −.5 −.5 0
(8)
0 0 1 − 13 23
0 0 0 1 1
Continued
The system of linear equations corresponding this row-echelon
matrix (8) is
x1 +3x4 = 4
x2 −.5x3 −.5x4 = 0
x3 − 31 x4 = 32
x4 = 1
By back-substitution:
2 1
x4 = 1, x3 = + = 1, x2 = 1, x1 = 1.
3 3
Gauss-Jordan form
Example 1.2.4a
Continued
Continued
0 0 0 1 1
Continued
The system of linear equation corresponding to this one is:
x1 =1
x2 =1
x3 =1
x4 = 1
Example 1.2.5
1 − 12 3
2
12
0 2 −1 14
7 −5 0 6
Continued
1 − 12 3
2
12
0 1 − 12 7
7 −5 0 6
Continued
3
Add 2
times second row to the third row:
1 − 12 3
2
12
0 1 − 21 7
45 135
0 0 −4 − 2
4
Multiply third row by − 45 :
1 − 12 3
2
12
0 1 − 12 7
0 0 1 6
Continued
So, we can use back substitution and solve the system. The
system corresponding to this matrix is:
x1 − 12 x2 + 32 x3 = 12
x2 − 12 x3 = 7
x3 = 6
By back-substitution:
1 3 1
x3 = 6, x2 = 7 + 6 = 10, x1 = 12 − 6 + 10 = 8.
2 2 2
1 − 12 3
2
12
0 1 − 12 7
0 0 1 6
1
to a Gauss-Jordan form. To do this add 2
time the second row
to the first:
1 0 1.25 15.5
0 1 − 12 7
0 0 1 6
Continued
Subtract 1.25 times third rwo from the first:
1 0 0 8
0 1 −1 7
2
0 0 1 6
Continued
Example 1.2.6
Solve the following using Gaussian or Gauss-Jordan
elimination:
2x1 +3x3 = 3
4x1 −3x2 +7x3 = 5
6x1 −9x2 +12x3 = 7
Continued
Subtract 2 times first row from second row and subtract 3
times first row from 3rd row:
2 0 3 3
0 −3 1 −1
0 −9 3 −2
Continued
1 0 32 23
0 1 − 1 1 , which is in row echelon form.
3 3
0 0 0 1
Continued
Example 1.2.7
Continued
Example 1.2.8
So, x2 = −x3 , x1 = 1 − x2 = 1 + x3 .
Continued
Example 1.2.9
Find the values of a, b, c such that the system has (a) a unique
solution, (b) no solution (c) an infinite number of solution.
Continued
Solution: The augmented matrix of the equation:
1 1 0 0
0 1 1 0
1 0 1 0
a −b 2c 0
Subtract 1 times first row from third and a times first row
from fourth:
1 1 0 0
0 1 1 0
0 −1 1 0
0 −b − a 2c 0
Satya Mandal, KU Chapter 1: System of Linear Equations § 1.2 Gaussian Elimina
Matrices Example 1.2.5
Row operations on Matrices Example 1.2.6
Gaussian elimination Example 1.2.7
Gauss-Jordan elimination Example 1.2.8
More Examples Example 1.2.9
Continued
Add second row to third:
1 1 0 0
0 1 1 0
0 0 2 0
0 −b − a 2c 0
Continued
Add −(a + b) second row to fourth:
1 1 0 0
0 1 1 0
0 0 1 0
0 0 2c − a − b 0
Subtract 2c − a − b times third row from fourth:
1 1 0 0
0 1 1 0
0 0 1 0
0 0 0 0
Continued