Matrices New
Matrices New
Matrices
4.1 Introduction
A rectangular array of 𝑚 ∗ 𝑛 numbers consisting of 𝑚 rows and 𝑛 columns is termed as a matrix
of order 𝑚 × 𝑛 and given as:
𝑎11 𝑎12 … 𝑎1𝑛 𝑎11 𝑎12 … 𝑎1𝑛
𝑎21 𝑎22 … 𝑎2𝑛 𝑎21 𝑎22 … 𝑎2𝑛
𝐴 = ( … … … … ) or 𝐴 = [ … … … … ]
𝑎𝑚1 𝑎𝑚2 … 𝑎𝑚𝑛 𝑎𝑚1 𝑎𝑚2 … 𝑎𝑚𝑛
It may also be denoted as 𝐴 = [𝑎𝑖𝑗 ], 𝑖 = 1 … 𝑚, 𝑗 = 1 … 𝑛
Null Matrix: A matrix with all zero elements is known as a null matrix or zero matrix.
Square matrix: A matrix having equal number of rows and columns is called a square matrix.
𝑎11 𝑎12 … 𝑎1𝑛
𝑎21 𝑎22 … 𝑎2𝑛
𝐴 = ( … … … … ) is a square matrix of order 𝑛 × 𝑛
𝑎𝑛1 𝑎𝑚2 … 𝑎𝑛𝑛
Sum of all elements in the principal diagonal of a square matrix 𝐴 is known as ‘Trace 𝑨’
or ‘Spur 𝑨’. ∴ Trace 𝑨 = 𝒂𝟏𝟏 + 𝒂𝟐𝟐 + ⋯ + 𝒂𝒏𝒏
Identity or Unit Matrix: A square matrix having all principal diagonal elements unity and non-
diagonal elements zero is called an identity matrix.
1 0 0
𝐴 = (0 1 0) is an identity matrix of order 3
0 0 1
Triangular Matrix: A square matrix in which all elements above or below principal diagonal are
zero is called a triangular matrix.
3 0 0 3 5 2
𝐴 = ( 4 2 0) 𝐵 = ( 0 2 6)
2 6 1 0 0 1
Lower Triangular Matrix Upper Triangular Matrix
Diagonal Matrix: A square matrix having all non-diagonal elements zero is called a diagonal
matrix.
3 0 0
𝐴 = (0 4 0) is a diagonal matrix of order 3
0 0 2
Scalar Matrix: A diagonal matrix with all equal elements is called a scalar matrix.
3 0 0
𝐴 = (0 3 0) is a scalar matrix of order 3
0 0 3
Singular Matrix: If the determinant of a square matrix is zero i.e., |𝐴| = 0 , then it is known as
a singular matrix.
1 −1 0
𝐴=( 0 1 −3) is a singular matrix of order 3
−2 1 3
′ 𝑇
Transpose: The matrix 𝐴 or 𝐴 obtained by interchanging rows and columns of a matrix 𝐴 is
known as its transpose.
1 3 5 1 2 0
𝑇
𝐴 = ( 2 −1 4) 𝐴 = ( 3 −1 2)
0 2 3 5 4 3
Symmetric and Skew-Symmetric Matrices:
A square matrix 𝐴 = [𝑎𝑖𝑗 ] is said to be symmetric if 𝐴𝑇 = 𝐴 or 𝑎𝑖𝑗 = 𝑎𝑗𝑖 ∀ 𝑖, 𝑗 and skew-
symmetric if 𝐴𝑇 = −𝐴 or 𝑎𝑖𝑗 = −𝑎𝑗𝑖 ∀ 𝑖, 𝑗
1 2 3 0 −1 2
𝐴 = ( 2 2 4) 𝐵=( 1 0 −3)
3 4 3 −2 3 0
Symmetric Matrix Skew- Symmetric Matrix
Results: 1. Diagonal elements of a skew-symmetric matrix are all zero as
𝑎𝑖𝑖 = −𝑎𝑖𝑖 ⇒ 𝑎𝑖𝑖 = 0
2. Any real matrix can be uniquely expressed as the sum of a symmetric and a skew-
1 1
symmetric matrix as 𝐴 = (𝐴 + 𝐴𝑇 ) + (𝐴 − 𝐴𝑇 ), where (𝐴 + 𝐴𝑇 ) is symmetric, while
2 2
(𝐴 − 𝐴𝑇 ) is skew-symmetric
Orthogonal Matrix
A square matrix 𝐴 = [𝑎𝑖𝑗 ] is said to be orthogonal if 𝐴𝐴𝑇 = 𝐼 = 𝐴𝑇 𝐴
Result: If 𝐴 and 𝐵 are two orthogonal matrices, then 𝐴𝐵 is also a orthogonal matrix.
Proof: (𝐴𝐵)(𝐴𝐵)𝑇 = (𝐴𝐵 )𝐵𝑇 𝐴𝑇 ∵ (𝐴𝐵)𝑇 = 𝐵 𝑇 𝐴𝑇
= 𝐴(𝐵𝐵𝑇 )𝐴𝑇
= 𝐴𝐼𝐴𝑇 ∵ 𝐵 is an orthogonal matrix
= 𝐴𝐴𝑇 = 𝐼 ∵ 𝐴 is an orthogonal matrix
4.2 Algebra of Matrices
Addition and Subtraction of Matrix: Addition or subtraction can be performed on two matrices
if and only if they are of same order.
𝑎11 𝑎12 𝑎13 𝑏11 𝑏12 𝑏13
𝐴 = ( 𝑎21 𝑎22 𝑎23 ) 𝐵 = ( 𝑏21 𝑏22 𝑏23 )
𝑎31 𝑎32 𝑎33 𝑏31 𝑏32 𝑏33
𝑎11 ± 𝑏11 𝑎12 ± 𝑏12 𝑎13 ± 𝑏13
Then 𝐴 ± 𝐵 = ( 𝑎21 ± 𝑏21 𝑎22 ± 𝑏22 𝑎23 ± 𝑏23 )
𝑎31 ± 𝑏31 𝑎32 ± 𝑏32 𝑎33 ± 𝑏33
Multiplication of Matrix by a Scalar: If we multiply a matrix 𝐴 by a scalar 𝑘, then each element
of the matrix is multiplied by 𝑘
𝑎11 𝑎12 𝑎13 𝑘𝑎11 𝑘𝑎12 𝑘𝑎13
𝐴 = ( 𝑎21 𝑎22 𝑎23 ) 𝑘𝐴 = ( 𝑘𝑎21 𝑘𝑎22 𝑘𝑎23 )
𝑎31 𝑎32 𝑎33 𝑘𝑎31 𝑘𝑎32 𝑘𝑎33
Multiplication of Two Matrices: Matrix product 𝐴𝐵 is possible only if number of columns in
matrix 𝐴 are same as number of rows in matrix 𝐵.
𝑏11 𝑏12
𝑎11 𝑎12 𝑎13
𝐴 = (𝑎 𝑎 𝑎 ) 𝐵 = ( 𝑏21 𝑏22 )
21 22 23
𝑏31 𝑏32
𝑐 = 𝑎11 𝑏11 + 𝑎12 𝑏21 + 𝑎13 𝑏31 𝑐12 = 𝑎11 𝑏12 + 𝑎12 𝑏22 + 𝑎13 𝑏32
𝐶 = 𝐴𝐵 = ( 11 )
𝑐21 = 𝑎21 𝑏11 + 𝑎22 𝑏21 + 𝑎23 𝑏31 𝑐22 = 𝑎21 𝑏12 + 𝑎22 𝑏22 + 𝑎23 𝑏32
Note that: (i) 𝐴𝑚×𝑛 𝐵𝑛×𝑘 = 𝐶𝑚×𝑘
(ii) 𝐴𝐵 ≠ 𝐵𝐴 in general
(iii) 𝐴𝐵 = 0 does not necessarily imply that 𝐴 = 0 or 𝐵 = 0
(iv) 𝐴𝐵 = 0 does not necessarily imply that 𝐵𝐴 = 0
0 1 1 0 0 0 0 1
For example, 𝐴 = ( ) 𝐵=( ) 𝐴𝐵 = ( ) 𝐵𝐴 = ( )
0 0 0 0 0 0 0 0
sin 𝑥 cos 𝑥 sin 𝑥 sin 𝑥
Example 1 If 𝐴 = ( ) 𝐵=( ) find 𝐴𝐵 and 𝐵𝐴
sin 𝑥 cos 𝑥 cos 𝑥 cos 𝑥
2 2 2 2 1 1
Solution: 𝐴𝐵 = (sin 2 𝑥 + cos 2 𝑥 sin 2 𝑥 + cos 2 𝑥 ) = ( )
sin 𝑥 + cos 𝑥 sin 𝑥 + cos 𝑥 1 1
2
𝐵𝐴 = (2 sin 𝑥 sin 2𝑥 )
sin 2𝑥 2 cos2 𝑥
1 3 5
Example 2 Express the matrix 𝐴 = ( 2 −1 4) as the sum of symmetric and skew-
0 2 3
symmetric matrices.
1 3 5 1 2 1
Solution: 𝐴 = ( 2 −1 4) 𝐴𝑇 = ( 3 −1 2)
1 2 3 5 4 3
5 1
1 3 0 2
2 2
1 1
(𝐴 + 𝐴𝑇 ) = ( 5 −1 3) , (𝐴 − 𝐴𝑇 ) = ( −1
0 1)
2 2
2 2
3 3 3 −2 −1 0
5 1
1 3 0 2
2 2
∴𝐴=( 5
−1 3) + ( 2
−1
0 1)
2
3 3 3 −2 −1 0
: Symmetric Skew-Symmetric
4.3 Minors, Cofactors, Determinants and Adjoint of a matrix
Minors associated with elements of a square matrix
A minor of each element of a square matrix is the unique value of the determinant associated with
it, which is obtained after eliminating the row and column in which the element exists.
𝑎11 𝑎12
For a 2 × 2 matrix 𝐴 = (𝑎 𝑎22 )
21
𝑀11 = 𝑎22 , 𝑀12 = 𝑎21 , 𝑀21 = 𝑎12 , 𝑀22 = 𝑎11
𝑎11 𝑎12 𝑎13
For a 3 × 3 matrix 𝐴 = ( 21 𝑎22 𝑎23 )
𝑎
𝑎31 𝑎32 𝑎33
𝑎22 𝑎23 𝑎21 𝑎23 𝑎11 𝑎12
𝑀11 = |𝑎 𝑎33 | , 𝑀12 = | 𝑎31 𝑎33 | ,…, 𝑀33 = | 𝑎21 𝑎22 |
32
Cofactors associated with elements of a square matrix
The cofactor of each element is obtained on multiplying its minor by (−1)𝑖+𝑗 .
𝐶𝑖𝑗 = (−1)𝑖+𝑗 𝑀𝑖𝑗
Determinant of a square matrix
Every square matrix is associated with a determinant and is denoted by det (𝐴) or |𝐴|.
𝑎11 𝑎12 … 𝑎1𝑛
𝑎21 𝑎22 … 𝑎2𝑛
det (𝐴) = |𝐴| = | … … … … |
𝑎𝑛1 𝑎𝑛2 … 𝑎𝑛𝑛
Determinant of order 𝑛 can be expanded by any one row or column using the formula
|𝐴| = ∑𝑛𝑗=1 𝑎𝑖𝑗 𝐶𝑖𝑗 , where 𝐶𝑖𝑗 is the cofactor corresponding to the element 𝑎𝑖𝑗 .
A determinant of order 2 is evaluated as:
𝑎 𝑎
|𝐴| = |𝑎11 𝑎12 | = 𝑎11 𝑎22 − 𝑎12 𝑎21
21 22
A determinant of order 3 is evaluated as:
𝑎11 𝑎12 𝑎13
|𝐴| = | 𝑎21 𝑎22 𝑎23 | = ∑𝑛𝑗=1(−1)𝑖+𝑗 𝑎𝑖𝑗 𝑀𝑖𝑗
𝑎31 𝑎32 𝑎33
𝑎11 𝑎12 𝑎11 𝑎12 𝑎11 𝑎12
=𝑎11 |𝑎 𝑎22 | − 𝑎12 | 𝑎21 𝑎22 | + 𝑎 13 | 𝑎21 𝑎22 |
21
=𝑎11 (𝑎22 𝑎33 − 𝑎32 𝑎23 ) − 𝑎12 (𝑎21 𝑎33 − 𝑎31 𝑎23 ) + 𝑎13 (𝑎21 𝑎32 − 𝑎31 𝑎22 )
Note: A determinant may be evaluated using any row or column, value remains the same.
Properties of Determinants
Value of a determinant remains unchanged if rows and columns are interchanged i.e.
|𝐴| = |𝐴𝑇 |
If any two rows or columns are interchanged, the value of determinant is multiplied
by (−1)
The value of determinant remains unchanged if 𝑘 times elements of a row (column) is
added to another row (column).
If elements in any row (column) in a determinant are multiplied by a scalar 𝑘, then
value of determinant is multiplied by 𝑘. Thus, if each element in the determinant is
multiplied by 𝑘, value of determinant of order 𝑛 multiplies by 𝑘 𝑛 i.e., |𝑘𝐴| = 𝑘 𝑛 |𝐴|
If 𝐴 and 𝐵 are square matrices of same order, then |𝐴𝐵| = |𝐴||𝐵|
Adjoint of a square matrix
The adjoint of a square matrix 𝐴 of order 𝑛 is the transpose of the matrix of cofactors of each
element. If 𝐶11 , 𝐶12 , 𝐶13 ,…, 𝐶𝑛𝑛 be the cofactors of elements 𝑎11 , 𝑎12 , 𝑎13 ,…, 𝑎𝑛𝑛 of the matrix
𝐴. Then adjoint of 𝐴 is given by
𝐶11 𝐶12 … 𝐶1𝑛 𝑇 𝐶11 𝐶21 … 𝐶𝑛1
𝐶 𝐶22 … 𝐶2𝑛 𝐶 𝐶 … 𝐶𝑛2
𝑎𝑑𝑗(𝐴) = ( 21 ) = ( 12 22 )
… … … … … … … …
𝐶𝑛1 𝐶𝑛2 … 𝐶𝑛𝑛 𝐶1𝑛 𝐶2𝑛 … 𝐶𝑛𝑛
4.4 Inverse of a Matrix
The inverse of a square matrix 𝐴 of order 𝑛, denoted by 𝐴−1 is such that
𝐴𝐴−1 = 𝐴−1 𝐴 = 𝐼𝑛 where 𝐼𝑛 is an identity matrix of order 𝑛.
A matrix is invertible if and only if matrix is non-singular i.e., |𝐴| ≠ 0. There are many methods
to find inverse of a square matrix.