Test 3 Final
Test 3 Final
Topics:
Apply matrix operations (addition / subtraction and multiplication of matrices) with real and
complex entries.
Evaluate determinant of 3 × 3 matrices .
Inverse of a non-singular matrix by Adjoint method.
Properties of determinants.
Matrices
Definition: A matrix is a rectangular array of numeric symbols or expressions arranged in rows or
columns, e.g.
𝑥11 𝑥12 𝑥13 ⋯ 𝑥1𝑛
𝑥 𝑥22 𝑥23 ⋯ 𝑥2𝑛
𝑋 = [ 21 ⋮ ]
⋮ ⋮ ⋮ ⋮
𝑥𝑚1 𝑥𝑚2 𝑥𝑚3 … 𝑥𝑚𝑛
Usually a matrix is represented by capital letter and entries represented by small latters.
Here horizontal lines are called rows and vertical lines are called columns.
Order: If number of rows = m , number of columns = n, then order = m by n or m × n
1 2 3
Order of [ ] is 2 − 𝑏𝑦 − 3 𝑜𝑟 2 × 3
4 5 6
Algebra of matrices:
a. Scalar multiplication:
We can multiply a matrix by a non-zero number:
1 3𝑖 2 6𝑖
2[ ]=[ ]
2 −4 4 −8
b. Addition & Subtraction:
To add or subtract the matrices, the order must be same.
1 1 −2 5 −1 6
[ 3 4𝑖 ] + [ 6 −4] = [ 9 −4 + 4𝑖 ]
2𝑖 7 0 9 2𝑖 16
c. Multiplication of matrices:
Two matrices A and B are said to be comfortable for multiplication if the numbers of
columns in first matrix is equal to number of rows in second mstrix.
Matrix A Matrix B
mxn nxp
These must
be equal
The order of AB is
mxp
3 1
𝐼𝑓 𝐴 = [1 2 3] , 𝐵 = [2 5 ] , then
1 −4
𝐴𝐵 = [1 × 3 + 2 × 2 + 3 × 1 1 × 1 + 2 × 5 + 3 × (−4)] = [10 −1]
d. Transpose of a matrix:
The transpose of a matrix is a new matrix that is created by switching the rows and
columns of the original matrix. Transpose of a matrix A is represented by 𝐴𝑡 .
1 3
1 −1 −5𝑖
𝐴 = [ −1 2] then 𝐴𝑡 = [ ]
3 2 8
−5𝑖 8
Determinant:
The determinant of a matrix is a single number that is calculated from a square matrix. It is used to
solve systems of linear equations and to calculate the inverse of a matrix.
𝑎 𝑏
If 𝐴 = [ ] , then |𝐴| = ad − bc
𝑐 𝑑
𝑎 𝑏 𝑐
𝑒 𝑓 𝑑 𝑓 𝑑 𝑒
If 𝐴 = [𝑑 𝑒 𝑓] , then |𝐴| = a | |−b| |+ c| | (expanding w. r. t 𝑅1 )
ℎ 𝑖 𝑔 𝑖 𝑔 ℎ
𝑔 ℎ 𝑖
we can also expand w. r. t any row or column
Representation:The determinant of a matrix A is represented by the symbol |𝐴|, or det (A)
𝐏𝐫𝐨𝐩𝐞𝐫𝐭𝐢𝐞𝐬:
a. A matrix is invertible if and only if its determinant is not zero
b. The determinant of a product of matrices is the product of their determinants
c. The determinant of a triangular matrix is the product of its diagonal entries
Mionr 𝑴𝒊𝒋 :
In linear algebra, a minor of a matrix is the determinant of a smaller square matrix that
is created by removing 𝑖 𝑡ℎ row and 𝑗 𝑡ℎ column from the original matrix. Minors are used
to calculate the determinant, adjoint, and inverse of a matrix.
Co-factors 𝑨𝒊𝒋 :
Co − factor of a matrix is 𝐴𝑖𝑗 = (−1)𝑖+𝑗 𝑀𝑖𝑗
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
Properties of determinant:
i. Interchange Property: The value of a determinant remains unchanged if the rows or the columns of a
determinant are interchanged |𝐴𝑡 | = |𝐴|
ii. Sign Property: The sign of the value of determinant changes if any two rows or any two columns are
interchanged.
iii. Zero Property: The value of a determinant is equal to zero if any two rows or any two columns have the
same elements. If all elements of a row or column are zero then determinant is also zero.
iv. Multiplication Property: The value of the determining becomes k times the earlier value of the
determinant if each of the elements of a particular row or column is multiplied with a constant k.
v. Sum Property: If a few elements of a row or column are expressed as a sum of terms, then the
determinant can be expressed as a sum of two or more determinants.
vi. Property of Invariance: If each element of a row and column of a determinant is added with the equi-
multiples of the elements of another row or column of a determinant, then the value of the determinant
remains unchanged. This can be expressed in the form of a formula as 𝑅𝑖 → 𝑅𝑖 + 𝑘𝑅𝑗 , or as 𝐶𝑖 →
𝐶𝑖 + 𝑘𝐶𝑗
vii. Triangular Property: If the elements above or below the main diagonal are equal to zero, then the
value of the determinant is equal to the product of the elements of the diagonal of the matrix.
6 −2 4
a. A = [3 7 1] Verify property (iii)
3 −1 2
4 −2 4
b. 𝐴 = [0 7 1] Verify property (i), (ii), (iv), (v)& (𝑣𝑖)
3 −2 2
4 0 0
c. 𝐴 = [1 7 0] Verify property (vii)
3 −2 2
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
! Test Yourself
Topics:
Evaluation of determinants by using properties.
Q#1: Using the properties of the determinants prove:
𝑥 𝑦 𝑥+𝑦
i) | 𝑦 𝑥+𝑦 𝑥 | = −2(𝑥 3 + 𝑦 3 )
𝑥+𝑦 𝑥 𝑦
Solution:
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
𝑎 𝑏−𝑐 𝑏+𝑐
ii) |𝑎 + 𝑐 𝑏 𝑐 − 𝑎| = (𝑎 + 𝑏 + 𝑐)(𝑎2 + 𝑏 2 + 𝑐 2 )
𝑎−𝑏 𝑎+𝑏 𝑐
Solution:
𝑎 𝑏−𝑐 𝑏+𝑐
L.H.S = |𝑎 + 𝑐 𝑏 𝑐 − 𝑎| Multiplying 𝐶1 by 𝑎, 𝐶2 by 𝑏, 𝐶3 by 𝑐
𝑎−𝑏 𝑎+𝑏 𝑐
1
𝑎2 𝑏 2 − 𝑏𝑐 𝑏𝑐 + 𝑐 2
= 𝑎𝑏𝑐 |𝑎2 + 𝑎𝑐 𝑏2 𝑐 2 − 𝑐𝑎| ∵ 𝐶1 + (𝐶2 + 𝐶3 )
𝑎2 − 𝑎𝑏 𝑎𝑏 + 𝑏 2 𝑐2
1
𝑎2 + 𝑏 2 − 𝑏𝑐 + 𝑏𝑐 + 𝑐 2 𝑏 2 − 𝑏𝑐 𝑏𝑐 + 𝑐 2
= 𝑎𝑏𝑐 | 𝑎2 + 𝑎𝑐 + 𝑏 2 + 𝑐 2 − 𝑐𝑎 𝑏2 𝑐 2 − 𝑐𝑎| Taking common (𝑎2 + 𝑏 2 + 𝑐 2 ) from 𝐶1
𝑎2 − 𝑎𝑏 + 𝑎𝑏 + 𝑏 2 + 𝑐 2 𝑎𝑏 + 𝑏 2 𝑐2
𝑎2 +𝑏 2 +𝑐 2
1 𝑏 2 − 𝑏𝑐 𝑏𝑐 + 𝑐 2 𝑅 − 𝑅
2 1
= 𝑎𝑏𝑐
|1 𝑏2 𝑐 2 − 𝑐𝑎| 𝑅 − 𝑅
3 2
1 𝑎𝑏 + 𝑏 2 𝑐2
𝑎2 +𝑏 2 +𝑐 2
1 𝑏 2 − 𝑏𝑐 𝑏𝑐 + 𝑐 2
= |0 𝑏𝑐 −𝑎𝑐 − 𝑐𝑏| Expanding w.r.t 𝐶1
𝑎𝑏𝑐
0 𝑎𝑏 𝑎𝑐
𝑎2 +𝑏 2 +𝑐 2 𝑏𝑐 𝑐(−𝑎 − 𝑏)
= [1 | |] Taking b common from 𝐶1 and c from 𝐶2
𝑎𝑏𝑐 𝑎𝑏 𝑎𝑐
𝑎2 +𝑏 2 +𝑐 2 𝑐 −𝑎 − 𝑏
= ∙ 𝑏𝑐 | |
𝑎𝑏𝑐 𝑎 𝑎
𝑎2 +𝑏 2 +𝑐 2
= ∙ (𝑐𝑎 + 𝑎2 + 𝑎𝑏)
𝑎
𝑎2 +𝑏 2 +𝑐 2
= ∙ 𝑎(𝑐 + 𝑎 + 𝑏)
𝑎
= (𝑎 + 𝑏 + 𝑐)(𝑎2 + 𝑏 2 + 𝑐 2 )
= R.H.S
𝑥 𝑥2 1 + 𝑎𝑥 3
iii) |𝑦 𝑦2 1 + 𝑎𝑦 3 | = (1 + 𝑎𝑥𝑦𝑧)(𝑥 − 𝑦)(𝑦 − 𝑧)(𝑧 − 𝑥)
𝑧 𝑧2 1 + 𝑎𝑧 3
Solution:
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
2𝑎𝑏 1 + 𝑎2 − 𝑏 2 2𝑏
iv) | 2𝑎 −2𝑏 1 − 𝑎2 − 𝑏 2 | = (1 + 𝑎2 + 𝑏 2 )3
1 − 𝑎2 + 𝑏 2 2𝑎𝑏 −2𝑎
Solution:
2𝑎𝑏 1 + 𝑎2 − 𝑏 2 2𝑏
L.H.S =| 2𝑎 −2𝑏 1 − 𝑎2 − 𝑏 2 |
1 − 𝑎2 + 𝑏 2 2𝑎𝑏 −2𝑎
0 1 + 𝑎2 − 𝑏 2 2𝑏
= |𝑎+𝑎 + 𝑎𝑏 2
3
−2𝑏 1 − 𝑎2 − 𝑏 2 | ∴ 𝐶1 − 𝑎𝐶3
1 − 𝑎2 + 𝑏 2 2𝑎𝑏 −2𝑎
0 1 + 𝑎2 − 𝑏 2 2𝑏
= |𝑎(1+𝑎2 + 𝑏 2 ) −2𝑏 1 − 𝑎2 − 𝑏 2 | Taking (1+𝑎2 + 𝑏 2 ) from 𝐶1
1 + 𝑎2 + 𝑏 2 2𝑎𝑏 −2𝑎
0 1 + 𝑎2 − 𝑏 2 2𝑏
= (1+𝑎2 +𝑏 2)
|𝑎 −2𝑏 1 − 𝑎2 − 𝑏 2 | ∴ 𝐶2 − 𝑏𝐶3
1 2𝑎𝑏 −2𝑎
0 1 + 𝑎2 + 𝑏 2 2𝑏
= (1+𝑎2 + 𝑏 2 ) |𝑎 −𝑏 − 𝑏𝑎2 − 𝑏 3 1 − 𝑎2 − 𝑏 2 | Taking (1+𝑎2 + 𝑏 2 ) from 𝐶2
1 0 −2𝑎
0 1 2𝑏
= (1+𝑎2 + 𝑏 2 ) 2 |𝑎 −𝑏 1 − 𝑎2 − 𝑏 2 |
1 0 −2𝑎
0 1 2𝑏
= (1+𝑎2 + 𝑏 2 ) 2 |0 −𝑏 1 + 𝑎2 − 𝑏 2 | 𝑅2 − 𝑎𝑅3
1 0 −2𝑎
1 2𝑏
= (1+𝑎2 + 𝑏 2 ) 2 [0 − 0 + 1 | |]
−𝑏 1 + 𝑎2 − 𝑏 2
1 2𝑏
= (1+𝑎2 + 𝑏 2 ) 2 [0 − 0 + 1 | |]
−𝑏 1 + 𝑎2 − 𝑏 2
= (1+𝑎2 + 𝑏 2 ) 2 (1+𝑎2 − 𝑏 2 + 2𝑏 2 ) = (1+𝑎2 + 𝑏 2 ) 2 (1+𝑎2 + 𝑏 2 ) =
= (1+𝑎2 + 𝑏 2 ) 3
= R.H.S
1
Q#2: If |𝐴𝐵| = |𝐴| ∙ |𝐵| and |𝐴−1 | = |𝐴| then for a square matrix if order 3x3 ,prove that |𝑎𝑑𝑗𝐴| = |𝐴|2
Solution:
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
! Test Yourself
3𝑎 1 2𝑎 + 1
i. |2𝑎 + 1 1 𝑎 + 2 | = (𝑎 − 1)(𝑎 − 2)
3 1 2
𝑏+𝑐 𝑎 𝑎
ii. | 𝑏 𝑐+𝑎 𝑏 | = 4𝑎𝑏𝑐
𝑐 𝑐 𝑎+𝑏
−𝑏𝑐 𝑏 2 + 𝑏𝑐 𝑐 2 + 𝑏𝑐
iii. 2
|𝑎 + 𝑎𝑐 −𝑎𝑐 𝑐 2 + 𝑎𝑐| = (𝑎𝑐 + 𝑏𝑐 + 𝑐𝑎)2
𝑎2 + 𝑎𝑏 𝑏 2 + 𝑎𝑏 −𝑎𝑏
(𝑏 + 𝑐)2 𝑎𝑏 𝑐𝑎
iv. | 𝑎𝑏 (𝑎 + 𝑐)2 𝑏𝑐 | = 2𝑎𝑏𝑐 (𝑎 + 𝑏 + 𝑐)3
𝑎𝑐 𝑏𝑐 (𝑎 + 𝑏)2
Topics:
Categories:
We divide the system of linear equations in two categories:
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
Q#3: Solve the given system of non – homogeneous linear equations by Cramer’s rule
2𝑥 − 3𝑦 + 5𝑧 = 1 ; 𝑥 + 𝑦 + 2𝑧 = 3; 3𝑥 − 2𝑦 − 4 = 0
Solution:
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
Solution:
The coefficients matrix is:
1 3 2
𝐴 = [2 −1 3]
1 −4 1
|𝐴| = 1 |−1 3| − 3 |2 3| + 2 |2 −1| ⇒ 1(−1 + 12) − 3(2 − 3) + 2(−8 + 1)
−4 1 1 1 1 −4
|𝐴| = 11 + 3 − 14 = 0
So system has non-trivial solution.
Multiplying equation (1) by 2 then subtracting equation (2) from it, we get:
(1) ⟹ 2𝑥 + 6𝑦 + 4𝑧 = 0
(2) ⟹ −2𝑥 ∓ 𝑦 ± 3𝑧 = 0
7𝑦 + 𝑧 = 0 ⟶ (4)
Subtracting equation (3) from equation (1) , we have:
(1) ⟹ 𝑥 + 3𝑦 + 2𝑧 = 0
(2) ⟹ −𝑥 ∓ 4𝑦 ± 𝑧 = 0
7𝑦 + 𝑧 = 0 ⟶ (5)
Now equation (4) and (5) are identical
Put 𝑧 = 𝑡 in equation (4)
1
⟹ 7𝑦 + 𝑡 = 0 ⟹ 7𝑦 = −𝑡 ⟹ 𝑦 = − 7 𝑡
Q#4: Find the value of 𝜆 so that the following system has infinite many solutions.
2𝑥 − 3𝑦 + 𝑧 = 1 ⟶ (I)
𝑥 − 2𝑦 + 𝜆𝑧 = 2 ⟶ (II)
0𝑥 + 3𝑦 + 𝑧 = −1 ⟶ (III)
Solution:
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
! Test Yourself
Topics:
Echelon and reduced echelon forms of the matrix
Use row operations to find the inverse and the rank of a matrix.
Augmented Matrix
Echelon form:
A matrix is in row echelon form if it has the following properties:
Zero rows: All rows of zeros are at the bottom of the matrix
Leading entries: The first non-zero entry in each row is a 1, called a leading 1
Leading 1s move left: The leading 1 in a higher row is further left than the leading 1 in a lower row
Entries below leading entries are zero: All entries below a row's leading entry are zero
Reduced echelon form:
A matrix is in reduced row echelon form if it meets the following conditions:
Zero rows: Each row has zeros until the first non-zero entry, which is a 1
Leading entries: The leading 1 in each row is in a column to the right of all leading 1s in the rows
above it.
Leading 1s: Any rows with all zeros are below rows with leading 1s
Entries above and below the leading 1:All entries above and below the leading 1 are zero
3 1 2
Q#1: Reduce the matrix 𝐴 = [−2 4 1] into the echelon form.
1 0 2
Solution:
3 1 2
𝐴 = [−2 4 1]
1 0 2
1 0 2
𝑅 [−2 4 1] ∴ 𝑅13
3 1 2
1 0 2
𝑅 [0 4 5] ∴ 𝑅2 + 2𝑅1 , 𝑅3 − 3𝑅1
0 1 −4
1 0 2
𝑅 [0 1 −4] ∴ 𝑅23
0 4 5
1 0 2
𝑅 [0 1 −4] ∴ 𝑅3 − 4 𝑅2
0 0 21
1 0 2
1
𝑅 [0 1 −4] ∴ 21 𝑅3 which is the required echelon form of matrix A.
0 0 1
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
Rank of a matrix:
The numbers of non zero rows in echelon or reduced e3chelon form is called rank of the matrix.
Q#3: What is the rank of the matrix given in Q#1
Solution:
______________________________________________________________________________________________________________________
2 5 7
Q#4: Find the rank of the matrix [ 1 2 −1]
−3 −6 3
Solution:
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
2 1 0
Q#5: Find 𝐴−1 if 𝐴 = [4 3 1] by using row operations.
1 0 2
Solution:
2 1 0
|𝐴| = |4 3 1| = 2 |3 1 4 1 4 3
| − 1| | + 0| | = 2(6 − 0) − 1(8 − 1) + 0(0 + 3)
0 2 1 2 1 0
1 0 2
= 12 − 7 + 0 = 5 ≠ 0 So A is non-singular, now consider
2 1 0 : 1 0 0
[𝐴/𝐼] = [4 3 1 : 0 1 0]
1 0 2 : 0 0 1
1 0 2 : 0 0 1
|4 3 1 : 0 1 0| ∴ 𝑅13
2 1 0 : 1 0 0
1 0 2 : 0 0 1
[0 3 −7 : 0 1 −4] ∴ 𝑅2 − 4𝑅1 , 𝑅3 − 2𝑅1
0 1 −4 : 0 0 −2
1 0 2 : 0 0 1
[0 1 −4 : 0 0 −2] ∴ 𝑅23
0 3 −7 : 0 1 −4
1 0 2 : 0 0 1
[0 1 −4 : 0 0 −2] ∴ 𝑅3 − 3𝑅2
0 0 5 : −3 1 2
1 0 2 : 0 0 1
1
[0 1 −4 : 0 0 −2]
3 1 2
∴ 5 𝑅3
0 0 1 : −5 5 5
6 2 1
1 0 0 : −5
5 5
7 4 2
0 1 0 : −5 −5 ∴ 𝑅1 − 2𝑅3 , ∴ 𝑅2 + 4𝑅3
5
3 1 2
[0 0 1 : −5 5 5 ]
6 2 1
−5
5 5
−1 7 4 2
Thus 𝐴 = −5 5
−5
3 1 2
[− 5 5 5 ]
Augmented Matrix
For a given system of linear equations; matrix consisting of the coefficients of the unknowns together with
the constant on the right side of equations is called augmented matrix.I t is usually denoted by Ab. for the
system of linear equations;
𝑎1 𝑥 + 𝑏1 𝑦 + 𝑐1 𝑧 = 𝑘1 ; 𝑎2 𝑥 + 𝑏2 𝑦 + 𝑐2 𝑧 = 𝑘2 ; 𝑎3 𝑥 + 𝑏3 𝑦 + 𝑐3 𝑧 = 𝑘3
the augmented matrix is:
𝑎1 𝑏1 𝑐1 ⋮ 𝑘1
𝐴𝑏 = [𝑎2 𝑏2 𝑐2 ⋮ 𝑘2 ]
𝑎3 𝑏3 𝑐3 ⋮ 𝑘3
! Test Yourself
A. 0 B. 1 C. 2 D. 3
Q#3: Find the inverses of the following matricesby using row operations.
1 2 −3
i) [ 0 −2 0 ]
−2 −2 2
1 −3 2
iii) [2 1 0]
0 −1 1
Topics:
Solve a system of three homogeneous linear equations in three unknowns using the Gaussian
Elimination method.
Conditions for consistent and inconsistent system of equations.
Gaussian elimination method.
In this method, we reduce the associated augmented matrix for a given system of linear equations to its
echelon form.
Q#1: solve the system of equations by using Gauss Elimination method
2𝑥1 − 3𝑥2 + 4𝑥3 = 1 ; 𝑥1 + 2𝑥2 − 𝑥3 = 2 ; 3𝑥1 + 5𝑥2 − 3𝑥3 = 5
Solution:
2 −3 4 : 1
𝐴𝑏 = [1 2 −1 : 2]
3 5 −3 : 5
First, we reduce it into augmented matrix is;
1 2 −1 : 2
[2 −3 4 : 1] ∴ 𝑅12
3 5 −3 : 5
1 2 −1 : 2
[0 −7 6 : −3] ∴ 𝑅2 − 2𝑅1 , 𝑅3 − 3𝑅1
0 −1 0 : −1
1 2 −1 : 2
[0 −1 0 : −1] ∴ 𝑅23
0 −7 6 : −3
1 2 −1 : 2
[0 1 0 : 1] ∴ −1𝑅2
0 −7 6 : −3
1 2 −1 : 2
[0 1 0 : 1] ∴ 𝑅3 +7𝑅2
0 0 6 : 4
1 2 −1 : 2
1
[0 1 0 : 1]
2
∴ 6 𝑅3
0 0 1 : 3
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
Solution:
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
______________________________________________________________________________________________________________________
! Test Yourself
𝑥1 + 3𝑥3 + 2𝑥3 = 3
Q#2: Solve the system; 4𝑥1 + 5𝑥3 − 2𝑥3 = 3 } , by reducing its augmented matrix to
3𝑥1 − 2𝑥2 + 17𝑥3 = 42
the echelon form (Gaussian elimination method).
𝑥1 + 4𝑥2 + 2𝑥3 = 2
Q#3: Use Gauss Jordan Method to solve: 2𝑥1 + 𝑥2 − 2𝑥3 = 9
3𝑥1 + 2𝑥2 − 2𝑥3 = 12
Q#4: Use Gaussian Elimination method to check whether the system of equations are consistent or
inconsistent:
i. −𝑥 − 𝑦 + 2𝑧 = 1 ; 𝑥 − 2𝑦 + 𝑧 = 2 ; 𝑥 − 5𝑥 + 4𝑧 = 5
ii. 𝑥 − 2𝑦 + 3𝑧 = 1 ; −2𝑥 + 5𝑦 − 4𝑧 = −2 ; 𝑥 − 4𝑦 − 𝑧 = 5
Lecture No. 01
Lecture No. 03
i ii iii iv
C D B C
Lecture No. 04
i ii iii iv
B B C B