Documente Academic
Documente Profesional
Documente Cultură
UNIT 1 MATRICES
Unit Structure
1.0 Overview
1.1 Learning Objectives
1.2 List of Special Symbols
1.3 Basic Concepts and Definitions
1.4 Determinant of a Matrix
1.5 Cofactor Method for A-1
1.6 Properties of Determinants
1.7 Summary
1.8 Supplementary Exercises
1.9 Answers to Activities & Supplementary Exercises
1.0 OVERVIEW
Matrices and determinants constitute the structure of matrix algebra that pervades and
enriches almost all areas in science and engineering computations. In this Unit, various
types of matrices are defined before introducing briefly the topic on the algebra of
matrices in general. The determinant of a matrix is then treated in detail, including the
main properties associated with it. The co-factor method for finding the inverse of a
matrix is also introduced.
Unit 1 1
Mathematics II – MATH 1211
1. Do matrix operations
A a general matrix
a ij (i, j) entry in matrix A
a ij complex conjugate of a ij
A = a ij[ ] m ×n matrix A of order m by n
Aij cofactor of a ij
M ij minor of a ij
D determinant of a matrix
A determinant of A
Adj ( A) adjoint matrix A
A −1 inverse of matrix A
x column vector
xi ith component of vector x
ai ith row vector of A
aj jth column vector of A
Ri ith row of matrix
Unit 1 2
Mathematics II – MATH 1211
Matrix
Square Matrix
If the number of rows of a matrix equals the number of columns ( m = n), then the
matrix is called a square matrix of order n. The principal or, leading diagonal of the
square matrix defines the entries a11 , a12 ,..., a nn . For example, the matrices
Unit 1 3
Mathematics II – MATH 1211
1 1 bbb 1 2 3
1 aa 1 1 2
A= a B= 2 n2 bbb 21 , 2 3d
2 aa 2 1 2
3 3 bbb 31 2 3
are square matrices of order two and three respectively. The elements a11 , a 22 and
b11 , b22 , b33 constitute the principal diagonals of the matrix A and B respectively.
Diagonal Matrix
a11 0 0
0 a 22 0
A=
0 0 a nn
Zero Matrix, 0
Unit 1 4
Mathematics II – MATH 1211
The identity or the unit matrix is a diagonal matrix in which all the diagonal elements
a ii , i = 1, ..., n are equal to 1. It is denoted by I and is written as
1 0 0
0 1 0
I = .
0 0 1
Unit 1 5
Mathematics II – MATH 1211
is called an upper triangular matrix. Note that all the entries below the main diagonal
are zero.
a11 0 0
a a 22 0
L = 21 ,
a n1 an2 a nn
is called a lower triangular matrix. This time, all the entries above the main diagonal are
zero.
Unit 1 6
Mathematics II – MATH 1211
Transpose of a Matrix
If [ ]
A = aij
mxn , then the transpose of A, denoted by A T , is obtained by interchanging the
a11 a 21 a m1
a a 22 a m 2
A = 12
T
.
a1n a2n a mn
1 5 7 6
A =
− 2 3 4 5
,
0 0 1 0
then,
1 −2 0
5 3 0
AT = .
7 4 1
6 5 0
Unit 1 7
Mathematics II – MATH 1211
Symmetric Matrix
If AT = A, the matrix [ ]
A = aij
nxn is called symmetric. Examples of symmetric matrices
are
2 3 −1 9
1 4 0
−1 5 3 4 0 2
5 , 4 2 − 7 , , etc.
7
0 −1 0 −5 8
−7 −3 9
2 8 1
Skew-Symmetric Matrix
A square matrix [ ]
A = a ij
nxn is called skew-symmetric if A T = − A . Clearly the diagonal
elements are zeros because aii = − aii if aii = 0 for all i. For example
0 1 2
A =
−1 0 3
,
− 2 −3 0
is a skew-symmetric matrix.
Hermitian Matrix
A square matrix [ ]
A = aij
nxn is called a Hermitian matrix if
AT = A ,
Unit 1 8
Mathematics II – MATH 1211
a ji = aij , i, j = 1, ..., n
for an n x n Hermitian matrix A. It follows that the elements along the principal diagonal
of a Hermitian matrix are always real. For example, one can easily verify that
2 −1 + i 0
A =
−1 − i 2 −i
,
0 i 2
is a Hermitian matrix.
Skew-Hermitian Matrix
A square matrix [ ]
A = aij
nxn is called a skew-hermitian matrix if A T = −A .
Hence, a ji =−a ij , i, j =1, ..., n. . It follows that the elements along the principal
diagonal of a skew-hermitian matrix are either zeros or pure imaginaries. For example,
0 − 2 −i 1
A =
2 − i i i ,
−1 i 2i
a Skew-Hermitian matrix.
Unit 1 9
Mathematics II – MATH 1211
1 1 1 2 0 4 4
(1) A = 2 0 1 , B = 1 1 . BA is not defined although AB = 5 3 .
1 2 4 1 3 8 14
2 0
2 1 3
(2) A =
1
, B = 1 1 . AB is 2 × 2 whereas BA is 3 ×3 .
2 1 1
3
2 −1 2 0
(3) A =
1
,B =
1 . AB and BA are of the same size. However
2 1
3 −1 4 − 2
= AB ≠ BA = .
4 2 3 1
Addition is commutative
A+ B = B+ A
Unit 1 10
Mathematics II – MATH 1211
Associative Laws
( A + B) + C = A + ( B +C )
( AB )C = A( BC )
λ( AB ) = (λA) B = A(λB )
Distributive Laws
A( B +C ) = AB + AC
( A + B )C = AC + BC
λ( A + B ) = λA + λB
Additive Identity
A +0 = A
A −A =0
0 A = A0 = 0
Multiplicative Identity
AI = IA = A
Unit 1 11
Mathematics II – MATH 1211
To each matrix [ ]
A = a ij
nxn is associated a unique real number called the determinant of
A. This number contains important information about the matrix and is written as
Definition
For 2 x 2 matrices:
a b a b
A =
c
, A = = ad −bc .
d c d
Definition
Unit 1 12
Mathematics II – MATH 1211
Example 1
1 2 −3
4 −1 2 −3
A = 4 −1 1 , M 13 = =13 and M 21 = =11 .
1 1 3 3 1
3 1
Definition
From Example 1, A13 = (−1) (1+3) M 13 = 13 and A21 = ( −1) ( 2+1) M 21 = −11 .
It follows that the cofactor Aij is either Mij or - Mij depending on whether the sum i + j
is even or odd. Aij can be associated with the entry aij as follows.
3) Assign a "+" or "-" sign according to the position of aij on the checkerboard
below,
+ − + + − + −
− + − and in general − + − + .
+ − +
Unit 1 13
Mathematics II – MATH 1211
Development of a Determinant
A = a11 A11 + a12 A12 + + a1n A1n (cofactor expansion by row 1).
Example 2
1 2 3
Evaluate the determinant of the matrix A = 0 4 0 .
5 6 7
Solution
4 0 0 0 0 4
A =1C11 + 2C12 +3C13 =1M 11 - 2M 12 +3M 13 =1 −2 +3 = −32 .
6 7 5 7 5 6
Unit 1 14
Mathematics II – MATH 1211
1 3
A = 0C 21 + 4C 22 + 0C 23 = 4 M 22 = 4 = 4(7 −15 ) = −32 .
5 7
As an exercise, you can check A using the cofactor expansion by column one.
Note: It is better to choose to expand the determinant using a row or column which will
lead to less or simpler computations. For instance, it is easier and quicker to
expand by the row or column that contains zero entries.
Example 3
−2 − x 2 −3
Solve the equation 2 1− x − 6 = 0.
−1 −2 −x
Solution
1−x −6 2 −3 2 −3
(−2 − x) −2 − =0
−2 −x −2 −x 1−x −6
( − 2 − x )[ − x(1 − x ) −12 ] − 2[ − 2 x − 6] −[ −12 + 3(1 − x )] = 0
or − x 3 − x 2 + 21 x + 45 = 0
Unit 1 15
Mathematics II – MATH 1211
Activity 1
1 3 3
(ii) 2 6 3,
−1 1 2
2 1 −1
(iii) −1 10 1 .
2 −3 1
4x + 3 2 1
2. Solve the equation x 3 4 = 0.
2x −1 1 −1
Unit 1 16
Mathematics II – MATH 1211
Adjoint Matrix
The matrix of cofactors of A defines the matrix whose (i,j) entry is Aij, the (i,j) cofactor
of A. The transpose of the matrix of the cofactors is called the adjoint matrix and is
denoted by Adj ( A) .
1 2 − 1
For example, if A = 3 6 1
3 3 2
then
and
9 −7 8
Adj ( A) =
− 3 5 − 4
.
− 9 3 0
Definition
Unit 1 17
Mathematics II – MATH 1211
[ ]
A = a ij
nxn is invertible or non-singular if and only if there exists a matrix A −1 such
that AA −1 = A −1 A = I . A −1 is given by
1
A−
1
= A
dj (A)
.
A
(4)
Properties of Inverse
• A −1 is unique.
• ( A −1 ) −1 = A.
1
• (λA) −1 = A −1 , λ a scalar.
λ
1
• A −1 = .
A
• If A −1 , B −1 exist, then ( AB ) −1 = B −1 A −1 .
Note: There is no way to define matrix division. Only invertible matrices have a
multiplicative inverse. But be careful! Matrix multiplication is not commutative;
if you multiply an equation through by a matrix, you must multiply both sides on
the right or both sides on the left.
Example 4
Unit 1 18
Mathematics II – MATH 1211
1 − 12 0 2 3 a1 00 1
a1 1 1 2
A = , B = 3 6 1 , C = - 2 0 4 , D = 0 a2 0 . 2
a2 2 13 22 3 −− 4 0 00 a
3 3
Solution
−1 1 a −
2 21 2
a
A = .
( a1 a2 1− a22 a1 1) −2 a2 a1 1
9 −7 8 9 / 12 − 7 / 12 8 / 12
1 1
B −1
= Adj ( B ) = −3 5 − 4
= − 3 / 12 5 / 12 − 4 / 12
.
B 12
−
9 3 0
− 9 / 12 3 / 12 0
1 / a11 0 0
D −1
= 0 1 / a 22 0 .
0 0 1 / a33
Unit 1 19
Mathematics II – MATH 1211
Activity 2
For each of the matrices given below, compute the adjoint matrix and hence determine
the corresponding inverse matrix.
1 0 1
A= 2 1 1
(i) ,
1 1 2
1 0 − 1
B= 2 2 3
(ii) .
1 1 0
2. AT = A .
3. If A = I , then A =1.
Unit 1 20
Mathematics II – MATH 1211
4. If any two rows (or columns) of A are interchanged (or swapped) producing a
matrix B , then B = − A .
Unit 1 21
Mathematics II – MATH 1211
7. If a scalar multiple of one row (or column) is added to some other row (or
column) producing a matrix B then B = A . For example, if
a a
a
1 112 1 1 1 2 a
A= B =and , then
a2 1a2 2 a2 +1 k 1 a12 +2 k 1 a 2
Unit 1 22
Mathematics II – MATH 1211
a1 1 a 1 2 a1 1 1 2
1 1 12
B= + = A+ k
a2 2 k1 1 2 a1 21a a1 2
= A + 0 ( using property 5.)
= A .
A1 A2 A3 . .. = A1 A2 A3 . ..
10. If the cofactors of one row are multiplied by the entries of a different row, the
result is zero.
Example 5
Unit 1 23
Mathematics II – MATH 1211
1 a b +c
Show that 1 b c +a =0 .
1 c a +b
Solution
1 a b +c 1 a a +b +c
1 b c +a = 1 b a +b +c (using property 7.)
1 c a +b 1 c a +b +c
1 a 1
=( a +b +c) 1 b 1 (using property 6.)
1 c 1
Activity 3
x +a a a
(i) a x +a a = x 2 ( x +3a ).
a a x +a
x2 x 1
(ii) y2 y 1 = ( x − y )( x − z )( y − z ).
z2 z 1
1.7 SUMMARY
In this Unit, you have studied matrices and their operations, including the determinant of
a matrix. You have learnt the different properties of the determinant of a matrix, as well
as, applying the co-factor method to obtain the inverse of a square non-singular matrix.
Unit 1 24
Mathematics II – MATH 1211
e ax ae ax
(i) ≠ 0,
xe ax (1 + ax )e ax
e ax sin x e ax cos x
(ii) ≠ 0,
e ax (cos x + a sin x ) e ax ( a cos x − sin x )
x3 5 1
(ii) 8 x 2 +1 1 = 0.
1 x 2 +4 1
x1 + y1 x2 + y2 x3 + y3 x1 x2 x3
y1 + z1 y2 + z2 y 3 + z3 = 2 y1 y2 y3 .
z1 + x1 z2 + x2 z3 + x3 z1 z2 z3
4. Prove that
Unit 1 25
Mathematics II – MATH 1211
Activity 1
26
2. − .
15
Activity 2
1 1 − 1
− 1 1
(i)
A = − 3 1 1 .
2
1 − 1 1
3 1 − 2
1
(ii) B −1 = −3 −1 5
. .
3
0 1 − 2
Supplementary Exercises
2. (i) x= y.
(ii) x =1,2,−2 / 3.
Unit 1 26