DIPMATHS - II LMS of LINEAR Algebra
DIPMATHS - II LMS of LINEAR Algebra
Recognized by UGC under 2(f) & 12(B) Accredited by NBA & NAAC
LINEAR ALGEBRA
Introduction
Type I Operation: Interchanging any two rows (or columns). This transformation is
indicated by Rij or Ri Rj (or Cij or Ci Cj ) if the ith and jth row are interchanged
Type II Operation: Multiplications of the all the elements of the row (or column) by
a non zero scalar quantity k. Multiplying all the elements of the ith row (or column)
by k 0 is denoted by k Ri or Ri k Ri (k Ci or Ci k Ci )
Type III Operation: adding to the elements of the row (or column) k times the
corresponding elements of another row (or column).
Adding to the elements of the ith row (or column) k times the corresponding elements
of the jth row (or column) is denoted by Ri Ri + k Rj
Examples:
−
A=
−
−
B= −
−
C= −
−
D= −
Two matrices of same order are said to be equivalent of one is obtained from
the other by elementary transformation. The symbol is used to be equivalence.
Elementary matrix
Example
0 1 0
1. I = 1 0 0 is an elementary matrix, obtained from I3 by interchanging
0 0 1
rows 1 and 2
1 0 0
2. 0 1 0 is an elementary matrix formed by adding 4 times row 1 of I3
−4 0 1
to row 3.
Note: All the elementary matrices are non-singular. Therefore each elementary
matrix possesses inverse.
Echelon Form
A matrix is in row echelon form (ref) when it satisfies the following conditions.
The first non-zero element in each row, called the leading entry, is 1.
Each leading entry is in a column to the right of the leading entry in the
previous row.
Rows with all zero elements, if any, are below rows having a non-zero element.
Each of the matrices shown below are examples of matrices in row echelon form.
1 2 3 4
1 2 3 4 1 2
0 0 1 3
0 0 1 3 0 1
0 0 0 1
0 0 0 1 0 0
0 0 0 0
Aref Bref Cref
Note: Some references present a slightly different description of the row echelon
form. They do not require that the first non-zero entry in each row is equal to 1.
A matrix is in reduced row echelon form (rref) when it satisfies the following
conditions.
Each of the matrices shown below are examples of matrices in reduced row echelon
form.
1 2 0 0
1 0 1 2 0 0
0 0 1 0
0 1 0 0 1 0
0 0 0 1
0 0 0 0 0 1
0 0 0 0
Later column transformation are performed to reduce the matrix to one of the
following four forms called normal form.
I I 0
1. Ir 2. [Ir, 0] 3. r 4. r
0 0 0
Example
1 0 0 1 0 0 0 1 0 1 0 0
1. 0 1 0
2. 0 1 0 0
3. 0 1 4. 0 1 0
0 0 1 0 0 1 0 0 0 0 0 0
Rank of Matrix
2. The rank of a matrix A in its echelon form is equal to the number of non zero
rows. It is denoted by ( A)
3. The matrix A of order m x n can be reduced to one of the normal forms.
4. Therefore rank of the matrix ( A) = r
Problems
Solution
1 2 3 2
Let A = 2 3 5 1
1 3 4 5
R2 R2-2R1, R3 R3 -R1
1 2 3 2
A 0 1 1 3
0 1 1 3
R3 R3 + R2
1 2 3 2
A 0 1 1 3
0 0 0 0
R2 R2 / (-1)
1 2 3 2
A 0 1 1 3
0 0 0 0
Thus the matrix A is the row echelon form is having two non zero rows ( A) = 2.
0 1 3 1
1 0 1 1
3 1 0 2
1 1 2 0
Solution:
0 1 3 1
1 0 1 1
A= R1 R2
3 1 0 2
1 1 2 0
1 0 1 1
0 1 3 1
A= R3 R3 -3R1 ; R4 R4- R1
3 1 0 2
1 1 2 0
1 0 1 1
0 1 3 1
A= R3 R3 -R2 ; R4 R4- R2
0 1 3 1
0 1 3 1
1 0 1 1
0 1 3 1
A= C3 C3 -C2 ; C4 C4- C1
0 0 0 0
0 0 0 0
1 0 0 0
0 1 3 1
A= C3 C3 +3C2 ; C4 C4+C2
0 0 0 0
0 0 0 0
1 0 0 0
0 1 0 0 Ir 0
A=
0 0 0 0 0 0
0 0 0 0
( A) = 2.
Homework:
Find rank of matrix by reducing the matrix in normal form
2 3 1 1 1 2 1 4
1 1 2 4 2 4 3 4
1. A = 2. A =
3 1 3 2 1 2 3 4
6 3 0 7 1 2 6 7
This lesson explains how to use matrix methods to (1) represent a system of linear
equations compactly and (2) solve simultaneous linear equations efficiently.
How to Represent a System of Linear Equations In Matrix Form
Suppose you have n linear equations with n unknowns. Using ordinary algebra, those
equations might be expressed as:
where
xj is an unknown value
Aij is the known coefficient of xj in equation i
Bj is a known quantity in equation j
Ax = y
where
AX = B (2)
The method aims in reducing the coefficient Matrix A to an upper triangular matrix.
A11 ∶ 1
We have [ A: B ] = 21 22 23 : 2
31 32 33 ∶ 3
Step 1 : We use the element A11 ( 0) to make the elements A21 and A31 zero by
elementary row transformations
11 1 1 ∶ 1
¢ ¢ ¢
[A:B] = 0 22 23 : 2 (3)
¢ ¢ ¢
0 32 33 ∶ 3
¢ ¢
Step 2 : we use the element 22 ( 0) to make element 32 by elementary row
transformations
11 11 11 ∶ 1
¢ ¢ ¢
[A:B] = 0 22 23 : 2 (4)
² ¢¢
0 0 33 ∶ 3
From (4), the given system of linear equation is equivalent to the systems of equations
We get X3 from the last of the equation and back substitutions we get X2 and X1 . the
values of X1 , X2 and X3 so obtained constitutes the exact solution of the given system
of equations.
¢
Note : In case 11 or 22 is zero we only need to rearrange the equations.
Problems
1. Solve the system of equations by Gauss elimination method
+ + =
− + =
+ − =
Soln:
The augmented matrix of the system is
1 1 1 :9
[A:B] = 1 2 3 : 8
2 1 1 : 3
R2 -R1 +R2, R3 -2R1 + R2
1 1 1 :9
[A:B] 0 3 2 : 1
0 1 3 : 15
R3R2 + (-3) R3
1 1 1 :9
[A:B] 0 3 2 : 1
0 0 11 : 44
Hence we have,
+ + =9
−3 + 2 = −1
11 = 44
44
Þ = =4
11
=4
By Back substitution,
−3 + 8 = −1 =3
Also,
+3+4= 9
=2
Thus = , = , = is the required solution
2 1 4 :12
[A:B] 0 9 9 : 9
0 7 14 : 28
1/9. R2 and – 1/7. R3
2 1 4 :12
[A:B] 0 1 1 :1
0 1 2 :4
R3 -R2 +R3,
2 1 4 :12
[A:B] 0 1 1 :1
0 0 3 :3
Hence we have
2 + + 4 = 12
− =1
3 =3
=1
By back Substitution, y = 2 and x = 3
Thus x = 3, y = 2 and z = 1 is required solution.
Class work:
1. Solve by Gauss elimination method
x1 – 2x2 + 3x3 = 2
3x1 – x2 + 4x3 = 4
2x1 +x2 - 2x3 = 5
Homework:
1. Apply the Gauss elimination method to solve system of Equations
+ + =
− + =
− + =
Eigen values and Eigen Vectors of Square Matrix
Definition:
Given a square matrix A, if there exists a scalar ( real or complex) and
a non zero column matrix X such that AX = X, Then is called an Eigen values of
A and X is called an Eigen vector of A corresponding to an Eigen value .
If I is a unit matrix of the same order as that of A, we have X = I X and hence AX =
X can be written as,
AX = (IX) = (I) X
i.e., [A-I][X]=[0], here [0] is null matrix.
Problems:
1. Find the Eigen value and Eigen Vector of the following matrix.
8 6 2
A = 6 7 4
2 4 3
Solution:
The characteristic equation of A is | − I| = 0
(8 ) 6 2
i.e. 6 (7 ) 4 0
2 4 (3 )
on expanding we have,
(8-) [(7-)(3-)-16]+6[-6(3-)+8]+2[24-2(7-)] = 0
i.e., (8-) [ 5-10+2]+6[6-10]+2[10+2] = 0
-3 - 182-45 = 0
On simplification
3 + 182+ 45 = 0
(2 - 18 + 45) = 0 (or) (-3)( -15) = 0
Hence = 0, 3, 15 are the Eigen values of A.
We now form the system of equations
(8-)x -6y +2z = 0
-6x+(7-)y – 4z = 0
2x – 4y +(3-)z = 0 ...............................(1)
x y z
6 2 8 2 8 6
7 4 6 4 6 7
i.e., = = ( ) = =
x y z
24 8 20 12 20 36
i.e., = = ( ) = =
X2 = [2, 1, -2] is the eigen vector of the corresponding Eigen value = 3
x y z
24 16 28 12 56 36
i.e., = = ( ) = =
X3 = [2, 2, 1] is the eigen vector of the corresponding Eigen value = 15.
2. Find the Eigen value and Eigen Vector of the following matrix.
6 2 2
A = 2 3 1
2 1 3
Solution:
The characteristic equation of A is | − I| = 0
(6 ) 2 2
i.e. 2 (3 ) 1 0
2 1 (3 )
On expanding we have,
3 + 182+ 45 = 0
= 2 is a root by inspection, now by synthetic division method
1 12 36 32
2 0 2 20 32
1 10 16 0
Now by solving
2 - 10 + 16 = 0 we obtain ( − 2)( − 8) = 0
= 2, 8
Hence = 2,2, 8
We now form the system of equations
(6-)x -2y +2z = 0
-2x+(3-)y –1z = 0 ...............................(1)
2x – 1y +(3-)z = 0
Case 1:let = 2, the system of Equation (1) becomes,
4x -2y +2z = 0 .............................................(i)
-2x+y – z = 0 ............................................ (ii)
2x – y +z = 0 ..........................................(iii)
The above set of equation are all same as we have only one dependent equation
2x – y +z = 0 and hence we can choose two variables arbitrarily.
Let z =k1 , y = k2
x = (k2 – k1) / 2
Þ i.e., = = ( ) = =
Homework:
7 2 0
1. A = 2 6 2
0 2 5
2 2 3
2. A = 2 1 6
1 2 0
***********************