Algebra - Lecture 7
Algebra - Lecture 7
Algebra - Lecture 7
AX B .......... .......(1)
A1 (1) A1 AX A1B
I . X A1B
X A1B
i.e. A 0, the system has a unique solution.
Example
2 3 4
A 1 2 1
Find the inverse of 4 6 5 . Hence solve the
following system of equations.
2x 3y 4z 4
x 2y z 4
4 x 6 y 5 z 11
4/3 3 5/3
It can be shown that A1 1/ 3 2 2 / 3
2/3 1 / 3
0
AX B A1 AX A1B
I . X A1B
1
X A1B 2
1
Method 2
When the coefficient matrix of the system is a square
matrix and the determinant of the coefficient matrix
is not equal to zero , the solution of the system is
obtained using the Cramer’s Rule given below.
Cramer’s Rule
The solution of the system of n equations in n
unknowns x1 , x2 ,........, xn given by,
a11 x1 a12 x2 .......... . a1n xn b1
a21 x1 a22 x2 .......... . a2 n xn b2
. . . .
. . . .
Ai
xi i 1,2,......., n whenever
is equal to A for
A 0
where A is the determinant of the coefficient matrix
and Ai is the determinant obtained from the
coefficient matrix by replacing its ith column by the
column containing the numbers b1 , b2 ,........, bn .
Example
8 3 1
7 1 3
A1 2 1 1 12
A 12 , then x 1
A 12 12
1 8 1
2 7 3
A2 1 2 1 24
y 2
A 12 12
1 3 8
2 1 7
A3 1 1 2 12
z 1
A 12 12
Method 3
Reducing to echelon form
In the system AX B the matrix A is called the
coefficient matrix and coefficient matrix together
a11 a12 a13 : b1
with constants i.e. 21 22
a a a13 : b2
is called the
a13 a23 a33 : b3
augmented matrix.
2 3 4 10 1 2 1 1
1 2 1 1 2 3 4 10 , R1 R2
3 4 0 3 3 4 0 3
Consider
1 2 1 1
0 1 6 12
0 0 9 18
1 2 1 1
1
0 1 6 12 , R2 R2 , R3 R3
0 0 1 9
2
The reduced system is
x 2 y z 1
y 6 z 12
z2
Solution is x 1, y 0, z 2
3 2 1 3
1 1 3 5
2 4 1 2 . Hence solve the system
1 1 1 1
3x 2 y z 3
x y 3z 5
2x 4 y z 2
x yz 1
3 2 1 3 1 1 3 5
1 1 3 5 3 2 1 3
2 4 1 , R1 R2
2 2 4 1 2
1 1 1 1 1 1 1
1
1 1 3 5
0 5 8 12
, R2 R2 3R1 , R3 R3 2 R1 , R4 R4 R1
0 2 5 8
0 2 4 4
1 1 3 5
0 1 8 / 5 12 / 5 1
, R R2 , R3 R3 R4
9 12
2
0 0 5
0 2
4 4
1 1 3 5
0 1 8 / 5 12 / 5 1 1
, R R , R R3
4/3 9
4 4 3
0 0 1 2
0 2 2
1
1 1 3 5
0 1 8 / 5 12 / 5
, R4 R4 R2
0 0 1 4/3
0 0 2 / 5 2 / 5
1 1 3 5
0 1 8 / 5 12 / 5 5
, R R4
4/3
4
0 0 1 2
0 0 1 1
1 1 3 5
0 1 8 / 5 12 / 5
, R4 R4 R3
0 0 1 4/3
0 0
0 7 / 3
1 1 3 5
0 1 8 / 5 12 / 5 3
, R R4
4/3
4
0 0 1 7
0 0
0 1