Notes 1 for Determinants and Matrices
Notes 1 for Determinants and Matrices
Lecture I
1. Matrices
2. Types of Matrices
3. Properties and Operations of Matrices
4. Determinants
5. Inverse of a Matrix
6. Alternative Methods for Matrix Operations
1. Matrices
2 3 7 1 3 1
A=1 1 5− B=2 1 4
4 7 6
Both A and B are examples of matrices. Matrix is a rectangular array of numbers enclosed by a pair of
brackets.
3x y− = 5.
The following are the solutions to a system of linear equations:
For the system given below, solution by elimination and substitution methods were found to be inefficient while
determinants and matrices are more practical, direct and effective.
w+ 3x + y − 2z =
7 2w− x + 4y −
z = 2 w− x +
3y − 4z =1
3w+ x − y −3z = 5
In a matrix, the numbers aij are called elements. The first subscript i indicates the row, and the second
subscript j indicates the column. The number a31 is the element of the 3rd row and the first column.
2 Types of Matrices
6 2 −1
No. of rows is not equal to no. of 2 0 5
Rectangular matrix columns −
2 −1 3
2
No. of rows is equal to no. of 0 1
Square matrix −
columns
2 4
1
2 0 0
Non-zero element in principal 0
Diagonal matrix diagonal and zero in all other 4 0
positions
0 0 7
4 0 0
0
4 0
Diagonal matrix in which all the
elements on principal diagonal
Scalar matrix and same
0 0 4
Row matrix A matrix with only 1 row 3 2 1−4
2
Column matrix A matrix with only I column
3
0 0
0 0
Zero matrix A matrix with all zero entries
2 5 3
Square matrix having all the 0 4 6
Upper Triangular
entries zero below the principal
matrix
diagonal
0 0 7
2 0 0
Square matrix having all the 5 4 0
Lower Triangular
entries zero above the principal
matrix
diagonal
6 3 7
Equal Matrices Two matrices are said to be equal a b 4 2
iff (if and only if) their
corresponding elements are =
c d 1 6
equal. a= 4,b= 2,c=1&d= 2
a d
a b c
The elements of the rows are
transposed into elements of the A =d ef ; AT =bc ef
Transpose Matrix columns.
b T ba dc; Adj.AT −b
A matrix formed when all a
=−ac
elements of a transposed matrix A =c d
are replaced by its corresponding ; A =
Ad-joint Matrix signed minor element. d
1 A−1 = 1
The elements of the ad-joint of a
Inverse Matrix
square matrix is divided by the
determinants of the given matrix.
Adj.A T
Solution: 2 0
4
4 2 −1 −3 3 −1 a) A + B = 1 6+ 7 5 = 8 11
Right Distributive Prop
c) (A – C) + B = 1 6−2 3+ 7 5
Associative Property fo
=−1 3+ 7 Scalar Associative Pro
1 3 5
Solution:
4 2 −1 −3 e e
AB =1462−71 −53=ee1111==14((−−11))++62((77))
ee1212 ==14((−−33))++62((55))
10 −2
AB=E =41 27 ans.
1 3 5
2 1 4
18 11 24
CD=F =29 14 34 ans.
a1 b1
A =
a2
b2
det.A=a1b2 −a2b1
For an order 3 determinant
(-) products
a1 b1 c1 a1 b1 c1 a1 b1
B = a2 b2 c2 ; B = a 2 b2 c2 a2 b2
a3 b3 c3 a3 b3 c3 a3 b3
(+) products
For an order 3 determinant expansion by co-factor method expanding from the elements of the first
row. Co-factor expansion can be performed through the elements of any particular row or column.
a1 b1 c1
a) Expanding the elements of the first row, 2 b2 c2 B=a
a3 b3 c3
b2 c2a2 c2 +c1 a2 b2
det.B = a3 b3
a1+(−)b1 3 2 1 2 3
b3 c3a3 c3 det.B=a1(b2c3 a1 b1 c1
−b3c2)−b1(a2c3 −ac )+c (ab b2 c2
2
−a3b2) a3 b3 c3
a1 b1
b) Expanding the +b2 +( −)b2 elements of the second row, B
a3 b3
=a
3 1
a) A =(order 2)
4 4
5
13
b) E =0 1 0 (order 3)
4 1
Solution:
3 1
a) A=44
det.A=(34)−(41)
=12−4
det.A= 8ans.
1 3 51 3
b) E =0 1 00 1; by the cross products or Kramer’s Rule
4 1 34 1
det.E= (113)+(304)+(501)−(415)−(101)−(303) det.E =
3−20 =−17ans.
1 3 5
c) E=0 1 0 ; alternate solution/co-factor expansion
4 1 3
Expanding the elements of the 2nd row
1 3 5
3 5 1 51 3
E = 0 1 0 ;det.E = (−)(0) +(1)+(−)(0)
1 3 4 34 1
4 1 3
1 5
det.E = (1) = 3−20=−17ans.
4 3
Expanding the elements of the 1st row
1 3 5
1 03 5 3 5
E=0 1 0 ;det.E = (1)+ (−)(0)+
(4)
1 31 3 1 0
4 1 3
1 0 3 5
det.E = (1) + (4) = (1)(3−0) + (4)(0−5) = 3− 20 =−17 ans.
1 3 1 0
5 Inverse of a Matrix
If the determinant of an n × n matrix is not equal to zero then, the square matrix is nonsingular and its
inverse exist.
3 1
a) A =4 4
1 3 5
b) D= 0 1 2
4 1 3
Solution:
3 1
a) A =74 ; find A−1. From AA−1 = I , let I =1010 and A−1 =xx12
yy12
3 1x1 y1 1 0
7 4x2 y2=0 1, using product
of matrices
3x1 + x2 3y1 + y2 1 0
3x1 + x2 =1 3y1 + y2 = 0
7x1 + 4x2 = 0→ (1) and 7y1 + 4y2 =1→ (2)
Solving for the elements x1,x2, y1 & y2 from the systems of linear equations above gives,
4 73
x1 = ,x2 =− , y1 =− & y2 = . Then,
5 55
4 −1
det.A
1 1 3 1 3 1 5 2 3
2 3 ( −)
5 3 5 2
1 0 4 1 4 1 0
D −1 = (−) (−)
5 2 3 5 3 5 2
1 4 1 0
10 14
3 1 3 1
(−)
1 −4 1
1
D = 8 −17 −2ans.
−1
5
−4 11 1
6. Alternative Methods for Matrix Operations
For other alternate means to verify the products and inverse of matrices, you can use the MINVERSE and
MMULT functions and the Ctrl+Shift+Enter keys in Microsoft Excel.
3) Call the MINVERSE function at the formula bar and highlight the cells which you assigned for the
inverse matrix elements.
4) Press the keys Ctrl+Shift+Enter at the same time
5) In this result, each element of the inverse of matrix A is already divided by the value of its determinant
whose value is 1/5 or 0.2. Factoring out the determinant value gives
For the product of matrix using the MMULT function and the Ctrl+Shift+Enter keys in Microsoft Excel
Note: For an easy and convenient validation of results regarding matrices and determinants please
download the CalKit App at Play Store for your android gadgets.