Chapter One Algebra - Compressed
Chapter One Algebra - Compressed
and subject to certain rules of operation is called an mxn (read “m by n”) matrix. The
numbers a11, a12 - - - amn are called the elements (entries) of the matrix. We denote this
matrix by aij where i = 1, 2, 3… m
j = 1, 2, 3… n
The matrix above has m rows and n columns. Aij also denotes the element of the matrix
lying in the ith row and jth column and we call this element as the (i,j)th element of the
matrix.
2
Suppose there are 3 brothers: A, B and C in a family and that,
A has a set of 3 pants, 3 shirts, 2 Trousers and 1 tie
B has a set of 5 pants, 2 shirts, 3 Trousers and 2 ties
C has a set of 4 pants, 4 shirts, 5 Trousers and no tie
Now, we can arrange this data systematically in the following convenient way.
A 3 3 2 1 1st row
B 5 2 3 2 2nd row
C 4 4 5 0 3rd row
The above system comprises 3 rows and 4 columns. (Note that we write rows first and
columns after wards). Clearly, therefore, 1st column gives us the total number of pants
(3+5+4 = 12) that A, B and C have. While 2nd, 3rd and 4th columns enumerate
respectively the number of shirts, Trousers and Ties that three brothers together have in
their family.
Numbers written in such a particular form of rows and columns enclosed by [ ] square
brackets or ( ) large parentheses are called a matrix.
Example 1
Similarly, 4 3
2 5 is a 3x2 matrix
7 4
1 2
3 4 is a matrix of order 2. (2x2 matrix)
3
1
2 is a 3x1 matrix
3
Example 2
In the matrix
1 2 3
A= 5 6 7
8 9 10
Remark 1: unless and otherwise stated, we shall consider matrices over the field of real
numbers for simplicity.
Remark 2: A matrix is simply an arrangement of elements and has no numerical value,
it is wrong to say 8 9 is greater than 1 2
6 4 3 4
4
3. Square matrix: A matrix in which the number of rows is equal to the number of
columns is called a square matrix.
Example: 1 2
3 4 is a 2x 2 square matrix
1 2 3
4 5 6 is a 3x3 square matrix
7 8 9
4. Null (Zero) matrix: A matrix of any order whose all elements are zero is called a
null (zero) matrix and denoted by 0.
Example: 0 0
0 0 is a null matrix of order 2 (2 by 2)
0 0 0
0 0 0 is a null matrix of order 2x3.
5. Diagonal matrix: A square matrix whose all elements except those in the main
diagonal are zero is called a diagonal matrix.
Example:
A= 2 0 1 0 0 are diagonal matrices of order
0 3 and B= 0 4 0 2 and 3 respectively.
Main 0 0 9
diagonal
Main
diagonal
6. Scalar Matrix: A square matrix whose all elements except those in the main
diagonal are zero and the diagonal elements are all equal is called a scalar matrix
Example:
2 0 4 0 0
0 2 & 0 4 0 are scalar matrices of order 2 & 3
0 0 4 respectively.
7. Unit (identify) matrix: A square matrix whose main diagonal entries are all unity
(1) and the other elements are zero is called a unit or Identify matrix. A unit
matrix of order n is denoted by In.
5
Example:
1 0 1 0 0 1 0 0 0
I2 = 0 1 I3 = 0 1 0 I4 = 0 1 0 0
0 0 1 0 0 1 0
0 0 0 1
Example:
i. If A = 4 6
2 3 then by definition /A/ = 4x3 -2x6 = 12 – 12 = 0
and therefore, A is a singular matrix of order 2
ii. If A = 4 5
6 8 , then /A/ = 4x8 – 6x5 = 32 – 30 = 2
/A/ 0. Hence, A is a non – singular matrix of order 2.
9. Symmetric and skew – symmetric matrices: A square matrix A = (aij) is said to be
symmetric if aij = aji for all i and j, i.e., a12 = a21 , a23 = a32, soon.
Example:
2 7 -5 a b c
7 8 -4 and b d a are symmetric matrices of
-5 -4 3 c a e order 3
Example
0 -2 -4 0 a b
2 0 -6 & -a 0 -c are skew symmetric matrices of
4 6 0 -b c 0 order 3.
6
10. Triangular matrix: A square matrix whose elements aij = 0 whenever i<j is called
a lower triangular Matrix. Similarly, a square matrix whose elements aij = 0
whenever i> j is called an upper Triangular Matrix.
Example:
2 0 0
8 10 0 and 4 0
14 16 18 10 15 are lower triangular matrices
2 4 6 5 10
0 8 10 and 0 15 are upper triangular matrices.
0 0 12
11. Augmented matrix: A matrix which includes both coefficients and constants of a
linear system of equations is called an augmented matrix.
Example
Given: 3x+ 2y +z = 18
9x+ 3y +3z = 28
3x+6y + 5z = 20
The above system of linear equations can be written in matrix form as
3 2 7
9 3 3 = coefficient matrix (A)
3 6 5
x
y = Variable matrix (x)
z
18
28 = constant matrix. (c)
20
3 2 7 18
9 3 3 28 thus, this is an augmented matrix
3 6 5 20
7
1.3 Rules of Operations on Matrices (Algebra of Matrices)
Under the operations on matrices, we shall discuss scalar multiplication of a matrix,
addition of matrices, subtraction and multiplication of a matrix by a matrix.
a. Equality of matrices
Two matrices A and B are said to be equal if and only if
i. A and B have the same order (dimension) and
ii. Each element of A is equal to the corresponding element of B
Example
3 5 7 3 5 7
1. Let A = 4 8 9 2 x3
and B= 4 8 9 2 x3
, then A = B
as they satisfy the conditions for equality having the same dimension (2x3) and
corresponding entries are equal a 11 b 11 , a 22 b
22
, and so on.
1 2 3 1 2 3
Let A= 4 5 6 and B= 7 8 9
A B even if matrix A& B have the same order (2x3) due to 4 different from 7.
3. Suppose the following two matrices are equal. Find the value of the variable t, a, b
and m.
4t b-2 t2+4 -7
81
A= log a
9 2x2
and B = 4 m 2x2
Solution:
Since the matrices are equal they must have equal dimension and corresponding
entries of the matrices should be equal.
8
a) 4t = t2 +4 b) b- 2 = -7 c) log
81
a
=4 d) 9 = m
t2 -4t+4 = 0 b = -7+2 a4 = 81
(t – 2) 2 = 0 b = -5 a4 = 3
4
t=2 a=3
Thus, A = B if and only if t=2, b = -5, a =3 and m = 9.
Example
a. If = 4 and A = 1 2 4
2 -3 4 , then
Example
If A = 1 2 3 B= 2 3 4
4 5 6 , and
2 x3
5 6 7 2 x3
9
d. Matrix multiplication (multiplication of a matrix by a matrix)
The product AB of two matrices A and B is defined only when the number of columns of
the first matrix A is the same as the number of rows of the second matrix in B and by
definition the product AB is a matrix C of order mxp if A and B were of order mxn and
nxp respectively. The following example will give the rule to multiply two matrices.
Let us see now how to multiply the above two matrices A and B.
C = AB = a11 a12 a13 b11 b12
a21 a22 a23 x b21 b22
b31 b32
C = AB = a11 b11+ a12b21+ a13 b31 a11 b12 + a12 b22 + a13 b32
a21 b11+ a22b21+ a13 b31 a21 b12 + a22 b22 + a23 b32
n
C= C11 C12 Where C11 = a11 b11 + a12 b21 + a13 b31
C21 C22 C12 = a11 b12 + a12 b22 + a13 b32
C21 = a21 b11 + a22 b21 + a23 b31
C22 = a21 b12+ a22 b22 + a23 b32
10
i. C11 is obtained by multiply elements of the first row of A with corresponding
elements of the first column of B and add
ii. C 12 is obtained by multiply elements of the first row of A with corresponding
elements of the second column of B and add.
iii. C21 is obtained by multiply elements of the second row of A with
corresponding elements of the first column of B and add.
iv. C22 is obtained by multiply elements of the second row of A with
corresponding elements of the second column of B and add.
Remark:
1. If A and B are two matrices, then AB may not be equal to BA (even though both
are defined).
Example
A= 2 2 B= 2 0
0 0 2x2
& 0 0 2x2
BA = 2 0 2 0
0 0 x 0 0
2x2 + 0x0= 2x0 + 2x0 4 4
0x2 + 0x0 0x2 + 0x0 = 0 0
Thus, this example confirm that AB BA.
2. If product AB is defined, then it is not necessary that BA must also be defined.
Example
11
i. Associative property: A (BC) = (AB)C
ii. Distributive property: A(B+C) = AB+ AC
(A+B) C = AC + BC
Example
Solution:
i. Checking for the right side of equality: (AB)C
Since the number of columns of A is equal to the number of rows of B, we can
obtain the product AB as follows:
AB = (-1x1) + (0x-3) + (5x1) (-1x7) + (0x -1) + (5x0) (-1x0) + (0x0) + (5x5)
(7x1) + (-2x-3) + (0x1) (7x7) + (-2 x-1) + (0x0) (7x0) + (-2x0) + (0x5)
AB = 4 -7 25
13 51 0 2x3
12
Example
If A = 1 -2 3 2 3 -1
2 4 -1 and B = 1 0 2
-3 4 5
Solution:
AB = 1 -2 3 2 3 -1
2 4 -1 x 1 0 2
-3 4 5
= -9 15 10
11 2 1
Note: that the product BA is not defined in this case, since the number of
columns in B the number of rows in A. since the number of columns of the
first matrix B is different from the number of rows of the second matrix A we
cannot multiply B with A.)
13
Some more illustrative examples
4. A man buys 8 kgs of Mangoes, 10 kgs of apples, and 4kgs of bananas. Managoes
cost birr 4 per kg, apples 9 birr per kg and bananas cost birr 6 per kg, represent the
quantities bought by a row matrix and the prices by a column matrix and hence
obtain the total cost.
5. If A = 2 -1 and B = 2 , find the matrix C of suitable
4 -3 -3 order such that AC = B.
1. We have 2 A = 2x 0 2 3 0 4 6
2 1 4 = 4 2 8
And 3B = 3 x 7 6 3 21 18 9
1 4 5 = 3 12 15
Hence, 2A +3B = 0 4 6 + 21 18 9
4 2 8 3 12 15
= 0+21 4+18 6+ 9
4+ 3 2+12 8+15
= 21 22 15
7 14 2
14
2. If x+y = 7 0 3 0
7 5 and x – y = 0 3
We have x+y = 7 0
1
2 5
And x-y = 3 0
0 3 2
(x+y) + ( x-y) = 7 0 3 0
2 5 + 0 3
10 0
2x = 2 8 => multiplying both sides by ½
10 0
x= ½ 2 8
x= 5 0
1 4
5 0 7 0
1 4 +y = 2 5
y= 7 0 5 0
2 5 - 1 4
y= 2 0
1 1
1
0 xB= 2 4 9 6 5 0
3. A = 7 1x6
8 4x1
1
AB = 0 x 2 4 9 6 5 0
7
8
15
1x2 1x4 1x9 1x6 1x5 1x0
AB = 0x2 0x4 0x9 0x6 0x5 0x0
7x2 7x4 7x9 7x6 7x5 7x0
8x2 8x4 8x9 9x6 8x5 8x0 4x6
AB = 2 4 9 6 5 0
0 0 0 0 0 0
14 28 63 42 35 0
16 32 72 48 40 0
4. Let A be the row matrix representing the quantities bought. And B be the column
matrix representing the price
4
A= 8 10 4 1x3
and B = 9
6 3x1
The total cost is given by the element of the product AB which is 1x1 matrix.
4
AB = 8 10 4
x 9
6
AB = 8x4 + 10x9 + 4x6
AB = 32 + 90 + 24
AB = 146
5. If A = 2 -1 2
4 -3 and B = -3 , find C such that AC = B
Then, AC = B gives = 2 -1 x 2
4 -3 x y = -3
2x –y 2
4x-3y = -3
16
2x – y = 2
4x – 3y = -3
-4x + 2y = -4 Multiplying the 1st equation by - 2
4x – 3y = -3
-y = -7
y=7
Exercise 1
ii. Given A = 4 2 -1
3 -7 1 and B = 2 3
-3 0 , find where possible A+B,
-1 5
AB and BA, stating the reason where the operations are not possible.
2. i. Find the values of x and y if 2 x y + 3 4 = 5 8
17
4. Let two matrices A and B be given by A = 1 -1 0
2 3 4 , and
0 1 2
B = 2 2 -1
-4 2 -4
2 1 5
Check that AB = BA
Is it in general, true for matrix multiplication? Give an example to justify your
assertion.
6. A man buys 5 dozens of oranges, 6 dozens of apples and 3 dozens of bananas.
Oranges cost birr 15 per dozen, apples birr 12 per dozen and bananas birr 8 per
dozen. Represent the quantities purchased by row matrix and prices by column
matrix and obtain the total cost.
7. Three persons buy cold drinks of different brands A,B and C. The first person
buys 12 bottles of A, 5 bottles of B and 3 bottles of C. The second person buys 4
bottles of 4,6 bottles of B and 10 bottles of C. The third person buys 6 bottles of
A, bottles of B and 9 bottles of C. Represent these information in the form of a
matrix. If each bottle of A costs birr 4, each bottle of B costs birr 5 and each bottle
of C costs birr 6, then using matrix operations find the total sum of money spent
individually by the three persons for the purchase of cold drinks.
8. A manufacturer produces three products A, B, C which are sold in Nekemte and
Gimbi cities. The annual quantity sold of these products are given below:
Products
City A B C
Addis Ababa 9000 12,000 8700G
Wolkite 5000 7500 15000
18
1.4. Transpose of a Matrix
Let A be a matrix. The matrix obtained from A by interchanging its rows and columns is
called the transpose of A, i.e., as the name implies rows become columns or columns
become rows.
i. If A = 1 0 2 then transpose of A = At = 1 2
2 3 4 2x3 0 3
2 4 3x2
ii. If B = a b c a d g
d e f , then Bt = b e h rows become columns.
g h i 3x3 c f I 3x3
Example:
For the following two matrices verify that (At)t = A and (A+B)t = At+Bt
A= 1 2 3 2 3 4
4 5 6 , and B = 1 8 6
Solution:
a.) At = 1 4 2 1
2 5 and Bt = 3 8
3 6 4 6
(At)t = 1 2 3
5 5 6 =A
Thus, (At)t = A
b) A+B = 3 5 7
5 13 12
19
(A+B)t = 3 5 3 5
5 13 and At +Bt = 5 13
7 12 7 12
Example
Give A = 1 2 3 and B = 4 7
4 5 6 2x3 5 8
6 9 3x2
Solution:
At = 1 4 4 5 6
2 5 Bt = 7 8 9 2x3
3 6 3x2
Bt At = 32 77
50 122 2x2
20
1 2 3 4 7 1x4+2x5+3x6 1x7+2x8+3x9
Again (AB)t = 4 5 6 x 5 8 = 4x4+5x5+x6x 4x7+5x8+6x9
6 9
(AB)t = 32 50 t
77 122
So, (AB)t = 32 77
50 122 2x2
Hence, (AB)t = Bt At = 32 77
50 122
But, (AB)t At Bt, having different orders which is 2x2 and 3x3 respectively.
21
Exercise 2
1. Let A = 1 1
0 1
a. 0 1 4 0 6 -4 0 -1 2
-1 0 7 b. -6 0 8 c. 1 0 5
-6 -7 0 4 -8 0 -2 -5 0
3. If A = ( 1 2 3) and B = 4
5 , then
6
Verify that (AB)t = Bt At.
4. If A = 2 1 1 -2
3 4 and B = -1 1 , then verify (AB)t = Bt At
5. Let A = 1 0 0
4 2 3 , show that A2 – 3A+2I = 0
2 0 1
22
1.5 Determinants
If A is a square matrix with entries (elements) from the field of complex numbers, then
determinant of A is some complex number. This will be denoted by det A or /A/.
Determinant is a numerical value of a square matrix.
a11 a12 a13 . . . a1n
a21 a22 a23 . . . a2n
If A= , , , ,
, , ,
23
If B = a b
c d , then B = ad – bc
24
The elements before three brackets are first, second and third element respectively
of first row with alternate positive and negative signs.
Example 1
1 2 3 5 -6
4 5 -6 = 8 9 = (5x9) – (-6x9) = 45+54 = 99
7 8 9
The second bracket is determinant of the matrix after removing the first row and the
second column of matrix A.
1 2 3 4 -6
4 5 -6 = 7 9 = (4x9) – (-6x7) = 36 +42 = 78
7 8 9
The third bracket is determinant of the matrix after removing the first row and third
column of matrix A.
1 2 3
4 5 -6 4 5
7 8 9 = 7 8 = (4x8) – (5x7) = 32 -35 = -3
25
Example 2
Solution:
i. det A = 2 2 -4 1 -4 1 2
1 5 - (-1) -3 5 + 3 -3 1
= 2 (2x5) – (1x-4) +1 (1x5) – (-3x-4) +3 (1x1) – (2x-3)
=2 (10+4) + (5-12) +3 (7)
= 28 -7 +21
= 42
Example: if A= 2 -1 3
1 2 -4 , then det A ?
-3 1 5
26
Md1 Md2 Md3 Od1 Od2 Od3
2 -1 3 2 -1
1 2 -4 -1 2
-3 1 5 -3 1
Solution:
We can compute the determinant of the matrix using sarru‟s method as follows.
2 -1 3
1 2 -4 =
-3 1 5
27
Md1 Md2 Md3 Od1 Od2 Od3
a b c a b
d e f d e
g h i g h
Exercise 3
Find the determinants of the following matrices using both method if possible.
i. A = 1 -1 p 1
2 -1 and B = f -1
ii. A = 1 2 3 2 2 0
3 -2 1 and 2 1 1
4 2 1 -7 2 -3
iii. A = 1 2 3 1 2 3
4 5 6 and B= 4 5 6
7 8 9
1.5.4 Properties of Determinants
List of some important properties of determinants
1. If two rows (or columns) of a matrix are interchanged, its determinant retains its
absolute value but changes its sign,
Let A = a b
c d , then /A/ = ad – bc
and B= c d
a b , interchanging the two rows of A
28
2. If rows are changed in to columns or columns into rows, the determinate remains
unchanged.
Let A = a b
c d , then /A/ = ad – bc
B= a c
b d rows are changed into columns
/B/ = ad – bc = /A/
3. If two rows (or columns) are identical, the determinant is zero (vanishes).
Let A = a b
a b , then /A/ = ab – ab = 0
Similarly if A = a1 a2 a3
a1 a2 a3 , then /A/ = 0
c1 c2 c3
4. If any row (or column) is multiplied by a real number k, then the determinant
obtained is k times the original determinant.
Let A = a b
c d , then /A/ ad – bc
and let B = ka kb
c d = multiplying the first row by K.
B = a+kc b+kd
c d adding k times of the second row to the first row
29
Now. /B/ = (a+kc) d- (b+kd) c
= ad + kdc – bc – kdc
= ad – bc = /A/
Self test
Prove (show) the above five properties of determinants by taking your own examples of
having two and three orders.
Similarly, M23 is a minor of the element located in the 2nd row and 3rd column and
obtained by canceling the 2nd row and 3rd column of the given determinant.
Example 1
If A = a b
c d , then find the minors of each element.
Solution:
/A/ = a b = ad-bc
c d
M11 (minor of a) = a b =d
c d
30
M12 (minor of b) a b
c d =c
M21 = (minor of c) a b
c d =b
M22 (minor of d) a b
c d =a
Example 2
If A = 1 -2
-3 -4 , then find minors of each element
Solution:
Example 3
If A = a1 b1 c1
a2 b2 c2 , find the minors of each
a3 b3 c3 element and evaluate then.
Solution:
The minor of any element in /A/ is a determinant of second order obtained by omitting
from /A/ the row and column in which that element occurs. Thus minors by a1, b1, a2, b2,
c2
M11 = b2 c2 a2 c2 a2 b2 a2 b2
b3 c3 , m12 = a3 c3 , M13 = a3 b3 , M21 = a3 b3 , so on.
31
Example 4
Write the minors of the elements of the first row of the following determinant and hence
evaluate them.
/A/ = 1 2 3
-4 3 6
2 -7 9
Solution:
M11 = 3 6
-7 9 = 27 – (-42) = 69
-4 6
M12 = 2 9 = -36 -12 = -48
-4 3
M13 = 2 -7 = 28 -6 = 22
Use the same procedures to find minors of the 2nd and 3rd row elements
1.6.2. Cofactors
The cofactor of any element in /A/ is the minor of that element in /A/ with proper sign
depending on the numbers of the row and the column in which the element occurs. If an
element occurs in ith row and jth column in /A/, then the cofactor of the element = (-1) i+j x
(Minor of the element), cofactor of the element is denoted by Cij.
Thus, Cij = (-1) i+j x Mij
Example 1
If A = 2 -3
4 3 , find the cofactors of each element.
32
Solution:
cA= 3 -4
3 2
Example 2
If A = 1 2 3
-4 3 6 , find the cofactors of each element
2 -7 9
Solution:
First find the minors of each element and multiply each minor by (-1) i+j obtain cofactors.
M11 = 3 6
-7 9 = 27 – (-42) = 69
-4 6
M12 = 2 9 = -36 -12 = -48
33
C12 = (-1) 1+2 xM12 = -1x (-48) = 48
M13 = -4 3
2 -7 = 28 -6 =22
1+3
C13 = (-1) xM13 = M13 = 22
Self test
Obtain the cofactors of the 2nd and 3rd row elements in a similar manner.
Note: that in the identity Cij = (-1) i+j x Mij,
i. The minor and cofactor of an element is equal if the sum of row and column in
which it is located is even and
ii. The cofactor of an entry is the negative of its minor if the sum of row and
column in which the element is located is odd.
Exercise 4
1 2 3 2 5 7 1 1 1
A= 2 4 6 B= 3 6 10 C= 1 1+x 1
3 5 7 8 4 15 1 1 1+y
2. Solve for x if
1 1 1 x+1 2 3
i. 1 x 1 =0 ii. 3 x+2 1 =0
1 1 x 1 2 3
x 1 1 x-5 2
iii. 1 x 1 =0 iv. -3 x =0
1 1 x
34
3. Find the minors and cofactors of each element for the following Matrices
1 2 0 2 5 4 46 32 15
i. A = 0 1 2 ii) B= 1 4 3 iii) C= 27 21 9
1 0 6 8 10 17 16 7
Example 1
Let A= 1 2
3 4 , then find adj A.
Solution:
Step1: C11 = 4, C12 = -3, C21 = -2, C22 = 1
Step2: Cofactor of matrix A = CA = 4 -3
-2 1
Step3: Transposing the cofactor matrix, we get
CAt = 4 -2
-3 1 = adjA.
Hence, adj A = CAt = 4 -2
-3 1
35
Example2
Solution:-
We have A = 1 -1 1
2 3 0
18 2 10
and using the steps above to find adjoint of a matrix we obtain adj A =
3 0 -1 1 -1 1
2 10 2 10 3 0
2 0 1 1 1 1
- 18 10 18 10 2 0
2 3 1 -1 1 -1
18 2 18 2 2 3
30 22 -3
Adj A= -20 -8 2
-50 -20 5
36
0 0 0
= 0 0 0
0 0 0
where 0 is the null matrix of order 3.
Multiplying A and B
It can be easily see that
AB = BA = I (unit matrix)
In this case, we can say that B is inverse of A and A is inverse of B.
Note that:
i. Inverse of a square matrix is defined only for square matrices. But this does
not mean that every square matrix is invertible.
ii. If B is an inverse of A, then A is also an inverse of B.
iii. If a matrix A has an inverse, then A is said to be invertible
iv. Inverse of a matrix is unique
37
This shows that the matrix A cannot have two distinct inverse.
Notation: Inverse of A is denoted by A-1
A ( adjA ) ( adjA ) A A I
⇒ = ⇒ (Dividing both sides by ǀAǀ ≠0.)
A A A
-1 A ( adjA ) ( adjA )
Since A A= AA-1= I, = A = AA
-1
= I
A A
adj A 1
This relation shows that A-1 = = ( adjA ) dividing again both
A A
sides by A
1
Hence, A-1 = inverse of A= ( adjA ), where A ≠0
A
We can easily obtain the inverse of a square matrix A using adjoint method following
the steps below:
step 1: finding the determinant of the given matrix A
step 2: finding the adjoint of the given matrix
step 3: dividing the adjoint matrix by the determinant obtained in step1.
t
-1 adjA CA
Thus, A = =
A A
38
Example
We give below the solution to i and ii, and try iii by your own.
i. A = 2 -1
-1 2
Step1: ǀAǀ= 4-(1) = 3
Step2: C11 = 2, C12 = -(-1) = 1, C21 = -(-1) = 1, C22 = 2
2 1
-1 1 1
2 1 3 3
Step3: A = . adj A =
A 3 1 2
1 2
3 3
2 1
-1 3 3
Thus, A =
1 2
3 3
ii. B = a b
c d
Step 1: ǀBǀ= ad – bc
Step 2: C11 = d, C12 = -C, C21 = -b, C22 = a
39
CB = d -c
-b a
CBt = d -b
-c a = adj B
d b
d b
1 1 ad bc ad bc
Step 3: B-1 = adj B = x =
B ad bc
c a
c a
ad bc ad bc
Briefly, the Gaussian method starts by writing the given matrix at the left and the
corresponding identify matrix at the left and the corresponding identify matrix next to it
at the right). Then select and carry out row operations that will convert the given matrix
into the identify matrix, and apply the same operations to the matrix at the right. When
the left matrix becomes the identify matrix, the matrix on the right will be the desired
inverse.
Zeros first: For simplicity, the Gauss- Jordan method proceeds to obtain ones on the
main diagonal and zeros on the off- diagonal elements.
obtain the off –diagonal zeros first and following this, obtain ones on the main
diagonal.
To illustrate, let us find the inverse of the matrix
A= 3 2
1 1
40
A = AI = 3 2 1 0
1 1 0
= 1 1 0 1 interchanging row 1 and row 2
3 2 1 0
= 1 1 0 1 R 2 = -3 R1+R2
0 -1 1 -3
R
= 1 1 0 1 R2 = 2
1
0 1 -1 3
= 1 0 0 1 R 1 = R1 –R2
0 1 -1 3
A-1 = 1 -2
-1 3
As a check, we have
3 2 1 -2 1 0
1 1 x -1 3 = 0 1
Example
Find the inverse of the following matrices using Gaussian elimination method.
i. A 7 3 ii. 0 1
2 1 , 2 3
41
Solution:
Applying the procedure of the above example, we can obtain the inverse of the matrices
A and B as follows.
i. A = AI= 7 3 1 0
2 1 0 1
2 1 0 1
= 7 3 1 0 - Interchanging rows.
1 0 1 -3
7
= 0 -½ 1 /2 R1 = R1+R2
= 1 0 1 -3
0 1 -2 7 R2 = -2 R2
=
-1
A 1 -3
-2 3 at the right.
42
ii. B = 0 1
2 3
= 2 0 -3 1 R1 = -3R2 +R1
0 1 1 0
3
= 1 0 /2 ½
0 1 1 0
Hence, A
1
= -3/2 ½
1 0
Exercise 4
43