Professional Documents
Culture Documents
Section D Inverse and Transpose
Section D Inverse and Transpose
You should now be familiar with matrix operations such as addition, subtraction and
multiplication. What about division of matrices?
You cannot divide matrices, there is no such operation for matrices. However there
are other important operations of matrices such as transpose which is not relevant to
algebra of real numbers because it makes no change on real numbers.
D1 Transpose of a Matrix
What do you think transpose of a matrix means?
It is a new matrix which is made up by swapping over the rows and columns of the
given matrix. For example if
⎛1 2⎞
⎜ ⎟ ⎛1 3 5⎞
A = ⎜ 3 4 ⎟ then the transpose of this matrix is ⎜ ⎟
⎜5 6⎟ ⎝ 2 4 6⎠
⎝ ⎠
Row 1 becomes column 1, row 2 becomes column 2, etc. If A is the given matrix then
⎛1 3 5⎞
the transpose of A is denoted by AT . In the above case we have AT = ⎜ ⎟.
⎝ 2 4 6⎠
In general the entry aij (ith row and jth column) of matrix A is transposed to a ji (jth
row and ith column) in AT . That is if A = ( aij ) then AT = ( a ji ) .
Example 14
Find AT for each of the following matrices:
⎛ −9 2 3 ⎞
⎛ −1 2 ⎞ ⎜ ⎟ ⎛ −1 3 4⎞
(a) A = ⎜ ⎟ (b) A = ⎜ 7 −2 9 ⎟ (c) A = ⎜ ⎟
⎝ 3 4⎠ ⎜ 6 −1 5 ⎟ ⎝7 9 0⎠
⎝ ⎠
⎛1⎞ ⎛1 0 0⎞
⎜ ⎟ ⎜ ⎟
(d) A = ( −1 −2 −3) (e) A = ⎜ 2 ⎟ (f) A = ⎜ 0 1 0⎟
⎜ 3⎟ ⎜0 0 1 ⎟⎠
⎝ ⎠ ⎝
What do you notice about your result to part (f)?
Solution
(a) Remember AT means that we interchange rows and columns:
⎛ −1 3 ⎞
AT = ⎜ ⎟
⎝ 2 4⎠
(b) Similarly we have
⎛ −9 7 6 ⎞
⎜ ⎟
A = ⎜ 2 −2 −1⎟
T
⎜ 3 9 5⎟
⎝ ⎠
Chapter 1: Linear Equations and Matrices 40
(c) We have
⎛ −1 7 ⎞
⎜ ⎟
A = ⎜ 3 9⎟
T
⎜ 4 0⎟
⎝ ⎠
(d) What sort of matrix is A = ( −1 −2 −3) ?
It is a row matrix. Transposing this makes it a column matrix, that is
⎛ −1 ⎞
⎜ ⎟
A = ⎜ −2 ⎟
T
⎜ −3 ⎟
⎝ ⎠
⎛1⎞
⎜ ⎟
(e) What sort of matrix is A = ⎜ 2 ⎟ ?
⎜ 3⎟
⎝ ⎠
This is a column matrix and transposing makes it into a row matrix:
AT = (1 2 3)
⎛1 0 0⎞
⎜ ⎟
(f) Transposing A = ⎜ 0 1 0 ⎟ gives the same matrix, that is
⎜0 0 1⎟
⎝ ⎠
⎛1 0 0⎞
⎜ ⎟
AT = ⎜ 0 1 0 ⎟
⎜0 0 1⎟
⎝ ⎠
Transposing identity matrix (or multiples of the identity matrix) does not change.
Means that the transpose of a transposed matrix is the matrix you started with.
⎛ a11 a12 " a1n ⎞
⎜ ⎟
a a22 " a2 n ⎟
Let A = ⎜ 21 then interchanging rows and columns gives
⎜ # # # # ⎟
⎜ ⎟
⎝ am1 am 2 " amn ⎠
⎛ a11 a21 " am1 ⎞
⎜ ⎟ ⎡ Notice the entries have ⎤
a a22 " am 2 ⎟ ⎢swapped, that is a is swapped ⎥
AT = ⎜ 12 ⎢ ⎥
⎜ # # # # ⎟ 21
■
Proof of (c).
⎛ a11 a12 " a1n ⎞ ⎛ b11 b12 " b1n ⎞
⎜ ⎟ ⎜ ⎟
a21 a22 " a2 n ⎟ b21 b22 " b2 n ⎟
Let A = ⎜ and B = ⎜ then
⎜ # # # # ⎟ ⎜ # # # # ⎟
⎜ ⎟ ⎜ ⎟
⎝ am1 am 2 " amn ⎠ ⎝ bm1 bm 2 " bmn ⎠
Chapter 1: Linear Equations and Matrices 42
T
⎡⎛ a11 a12 " a1n ⎞ ⎛ b11 b12 " b1n ⎞ ⎤
⎢⎜ ⎟ ⎜ ⎟⎥
a a22 " a2 n ⎟ ⎜ b21 b22 " b2 n ⎟ ⎥
( A + B) = ⎢⎜ 21 +
T
⎢⎜ # # # # ⎟ ⎜ # # # # ⎟⎥
⎢⎜ ⎟ ⎜ ⎟⎥
⎢⎣⎝ am1 am 2 " amn ⎠ ⎝ bm1 bm 2 " bmn ⎠ ⎥⎦
⎜ ⎟ ⎡ Adding the ⎤
a + b a + b " a + b ⎢ corresponding ⎥
=⎜ 21 21 22 22 2 n 2 n ⎟
⎢ ⎥
⎜ # # # # ⎟
⎜ ⎟ ⎢⎣ entries ⎥⎦
⎝ am1 + bm1 am 2 + bm 2 " amn + bmn ⎠
⎛ a11 + b11 a21 + b21 " am1 + bm1 ⎞
⎜ ⎟ ⎡Taking the Transpose, ⎤
⎜ a12 + b12 a22 + b22 " am 2 + bm 2 ⎟ ⎢ that is interchanging ⎥
= ⎢ ⎥
⎜ # # # # ⎟
⎜ ⎟ ⎢⎣ rows and columns ⎥⎦
+
⎝ 1n 1n
a b a 2n + b 2n " a mn + b mn ⎠
= AT = BT
Example 15
⎛ 3 −4 1 ⎞ ⎛ −2 7 5 ⎞
Let A = ⎜ ⎟ and B = ⎜ ⎟ . Determine
⎝5 2 6⎠ ⎝ 1 3 −9 ⎠
(a) ( AT ) (b) ( 2 A ) − ( 3B ) (c) ( A + B ) (e) ( AB )
T
(d) AT + BT
T T T T
Solution
⎛ 3 −4 1 ⎞
By Theorem (1.12) property (a) we have ( AT ) = A = ⎜
T
(a) ⎟.
⎝5 2 6⎠
(b) Applying the same theorem property (b) we have
( 2A ) − ( 3B ) = 2 ( A ) − 3 ( B )
T T T T
⎛ 3 5 ⎞ ⎛ −2 1 ⎞
⎜ ⎟ ⎜ ⎟ ⎡Transposed matrices ⎤
= 2 ⎜ −4 2 ⎟ − 3 ⎜ 7 3 ⎟ ⎢ A and B ⎥
⎜ 1 6 ⎟ ⎜ 5 −9 ⎟ ⎣ ⎦
⎝ ⎠ ⎝ ⎠
⎛ 6 10 ⎞ ⎛ −6 3 ⎞ ⎛ 12 7⎞
⎜ ⎟ ⎜ ⎟ ⎜ ⎟
= ⎜ −8 4 ⎟ − ⎜ 21 9 ⎟ = ⎜ −29 −5 ⎟
⎜ 2 12 ⎟ ⎜ 15 −27 ⎟ ⎜ −13 39 ⎟
⎝ ⎠ ⎝ ⎠ ⎝ ⎠
(c) We have
Chapter 1: Linear Equations and Matrices 43
T ⎛1 6 ⎞
⎡⎛ 3 −4 1 ⎞ ⎛ −2 7 5 ⎞ ⎤
T
⎛1 3 6 ⎞ ⎜ ⎟
( A + B ) = ⎢⎜ ⎟+⎜ ⎟⎥ = ⎜ ⎟ = ⎜3 5 ⎟
T
⎣⎝ 5 2 6 ⎠ ⎝ 1 3 −9 ⎠ ⎦ ⎝ 6 5 −3 ⎠ ⎜ 6 −3 ⎟
⎝ ⎠
(d) What is A + B equal to?
T T
By Part (c) ⎜ ⎟
⎝ 6 −3 ⎠
What is ( AB ) equal to?
T
(e)
We cannot evaluate ( AB ) because we cannot evaluate AB. (Matrix multiplication
T
AB is impossible because the number of columns of matrix A does not equal the
number of rows of matrix B).
D3 Identity Matrix
What does the term identity matrix mean?
The identity matrix is a matrix denoted by I such that
(1.13) AI = IA = A for any matrix A
This is similar to real numbers where the number 1 is the identity element which
satisfies x1 = 1x = x for any real number x.
What does the identity matrix look like?
It is a matrix with 1’s along the main diagonal (top left to bottom right) and zeros
elsewhere.
⎛1 0 0 0⎞
⎛1 0 0⎞ ⎜ ⎟
⎛1 0⎞ ⎜ ⎟ ⎜ 0 1 0 0⎟
For example ⎜ ⎟ , ⎜ 0 1 0 ⎟ and ⎜ are all identity matrices.
⎝0 1⎠ ⎜0 0 1⎟ 0 0 1 0⎟
⎝ ⎠ ⎜ ⎟
⎝0 0 0 1⎠
How can we distinguish between these?
We can denote the size in the subscript of I as I 2 , I 3 and I 4 respectively. Clearly I 2
being the 2 × 2 identity matrix, I 3 being the 3 × 3 identity matrix etc.
Is the identity matrix, I, a square matrix?
Yes the identity must be a square matrix.
How can we write the formal definition of the identity matrix?
We define it in terms of the Kronecker delta function δ ij which is defined as
⎧1 if i = j
(1.14) δ ij = ⎨
⎩0 if i ≠ j
Definition (1.15). An identity matrix is a square matrix denoted by I and defined by
I = (δ ij ) where δ ij is defined in (1.14) above.
What does definition (1.15) mean?
All the entries in the main diagonal of a matrix I are 1, that is
i11 = i22 = i33 = i44 = " = 1
and all the other entries are zero.
The identity matrix I is a square matrix with 1’s along the main diagonal and zeros
elsewhere.
Chapter 1: Linear Equations and Matrices 44
D4 Inverse Matrix
Let x be a real number then the inverse of x is a real number x −1 such that
x ( x −1 ) = 1
1 is the identity element of real numbers.
What do you think inverse matrix means?
Given a square matrix A then the inverse of A is a (square) matrix B such that
AB = I
where I is the identity matrix defined above.
Compare this with the algebra of real numbers, x ( x −1 ) = 1 .
Inverse matrix of A is denoted by A −1 where A −1 = B in the above case and
1
A −1 ≠ [Not Equal]
A
The inverse matrix is not equal to 1 over A or reciprocal of matrix A. Remember we
cannot divide matrices. Also not all matrices have inverses.
Example 17
Show that matrix B is the inverse of matrix A given that
⎛1 2 0 ⎞ ⎛ 5 2 −2 ⎞
⎜ ⎟ ⎜ ⎟
A = ⎜ 2 5 −1⎟ and B = ⎜ −2 −1 1 ⎟
⎜ 4 10 −1⎟ ⎜ 0 −2 1 ⎟
⎝ ⎠ ⎝ ⎠
Solution. Similar to Example 16 apart from the size of the matrix is 3 × 3 . Multiplying
the matrices we have
⎛ 1 2 0 ⎞⎛ 5 2 −2 ⎞ ⎛ 1 0 0 ⎞
⎜ ⎟⎜ ⎟ ⎜ ⎟
AB = ⎜ 2 5 −1⎟⎜ −2 −1 1 ⎟ = ⎜ 0 1 0 ⎟ = I
⎜ 4 10 −1⎟⎜ 0 −2 1 ⎟ ⎜ 0 0 1 ⎟
⎝ ⎠⎝ ⎠ ⎝ ⎠
Hence the matrix B is the inverse of matrix A because AB = I . You can also show
that A is the inverse matrix of B by proving BA is equal to I. Try it!
Example 18
⎛ 3 2⎞
Show that matrix A does not have an inverse, where A = ⎜ ⎟
⎝0 0⎠
⎛a b⎞
Solution. Let B = ⎜ ⎟ be any 2 × 2 matrix. If we multiply out AB we have
⎝c d⎠
⎛ 3 2 ⎞⎛ a b ⎞ ⎛ 3a + 2c 3b + 2d ⎞
AB = ⎜ ⎟⎜ ⎟=⎜ ⎟
⎝ 0 0 ⎠⎝ c d ⎠ ⎝ 0 0 ⎠
Whichever values of a, b, c and d we choose we will never get a 1 in the bottom
right hand corner of the matrix AB. That is for any a, b, c and d we have
⎛ 3a + 2c 3b + 2d ⎞ We need
AB = ⎜ ⎟
⎝ 0 0 ⎠ a 1 here.
Why do you think we need a 1 in the bottom Right Hand corner?
Remember for the matrix B to be an inverse of matrix A it must satisfy
⎛1 0⎞
AB = ⎜ ⎟
⎝0 1⎠
Hence the matrix A does not have an inverse.
Chapter 1: Linear Equations and Matrices 46
(B B) B
−1 −1
= ( B −1B ) A
IB −1 = IA ⎡⎣ Remember B −1B = I ⎤⎦
B −1 = A [ Because IX = X for a matrix X]
Chapter 1: Linear Equations and Matrices 47
result.
■
=I
= AIA = AA −1 = I
−1
=I
= B IB = B −1B = I
−1
Hence by definition of the inverse matrix (1.17) we conclude that B −1A −1 is the
inverse of AB which is denoted by ( AB ) . Since the inverse matrix ( AB ) is unique
−1 −1
therefore
( AB )
−1
= B −1A −1
We have proven what was required.
■
1 −1
( kA )
−1
= A
k
Proof. See Exercise 1(d).
Proposition (1.22). Let A be a nonsingular (invertible) matrix then the transpose of the
matrix, AT , is also nonsingular and
(A ) = ( A −1 )
T −1 T
Examining ( A −1 ) AT we have
T
(A ) −1 T
AT = ( AA −1 ) ⎡ Using YT XT = ( XY )T ⎤
T
⎣ ⎦
= IT ⎡⎣ Remember AA −1 = I ⎤⎦
=I ⎡⎣ Remember IT = I ⎤⎦
Similarly we have
AT ( A −1 ) = ( A −1A ) ⎡ Using YT XT = ( XY )T ⎤
T T
⎣ ⎦
= IT ⎡⎣ Remember A A = I ⎤⎦
−1
=I ⎡⎣ Remember IT = I ⎤⎦
therefore ( A −1 ) = ( AT )
T −1
which is our result.
■
SUMMARY
The transpose of a matrix is defined by interchanging entries in the row and column,
that is the entry aij (ith row and jth column) of matrix A is transposed to a ji (jth row
and ith column) in AT . The properties of the transpose matrices is given by
(a) ( AT ) = A
T
(A ) = ( A −1 )
−1 T
(1.22) T