Unit 1 Matrices
Unit 1 Matrices
REVIEW OF MATRICES
Structure
Page Nos.
1.1 Introduction 8
Objectives
1.2 Matrices 9
Matrix Addition
Scalar Multiplication
Transpose of a Matrix, symmetric and skew symmetric matrices
Adjoint of a Matrix, symmetric and skew hermitian matrices.
1.3 Matrix Multiplication 22
Matrix Form of Simultaneous Linear Equations
1.4 Summary 26
1.5 Solutions/Answers 27
1.1 INTRODUCTION
In this Unit we begin our study of Linear Algebra by recalling facts about
matrices since matrices give many interesting examples of vector spaces. In
Sec. 1.2, we recall matrix addition and scalar multiplication. We also discuss
symmetric, skew-symmetric, hermitian and skew-hermitian matrices. In
Sec. 1.3 we discuss matrix multiplication and how to represent a system of
linear equations as a matrix equation.
Objectives
After studying this unit, you should be able to:
• represent data in matrix form;
1.2 MATRICES
In this section, we introduce you to matrices. We begin with an example.
Dealer 1 25 20 15 30
Dealer 2 30 15 16 27
Dealer 3 27 18 21 18
One succinct way of representing this data will be in the form of an array as in
Eqn. (1).
25 20 15 30
[30 15 16 27] …(1)
27 18 21 18
The square brackets are used (round brackets are also used) to separate this
data from other data. There are three rows and four columns. Here, the rows
represent the dealers and the columns represent electronic goods.
∗∗∗
We denote the field of real numbers by ℝ and the field of complex numbers by
ℂ.
Solution:
i) This has three rows and five columns. So, this is a 3 × 5 matrix. This is not
a square matrix because the number of rows is less than the number of
columns.
ii) This has four rows and four columns. So, this is a 4 × 4 matrix. Since the
number of rows and number of columns are equal this is a square matrix.
iii) This has four rows and three columns. So, this is a 4 × 3 matrix. This is not
a square matrix because the number of rows is greater than the number of
columns.
∗∗∗
Example 3: Consider the data giving the distance between cities of India
Table 2.
∗∗∗
Example 4: Suppose two players, Player A and Player B are playing the
game ‘Rock, Scissors and Paper.’ The rules of the game are given in Fig. 1.
Player B
Rock Scissors Paper
Rock 0 1 −1
Player A Scissors [ −1 0 1 ]
Paper 1 −1 0
Fig. 2: Outcomes of the Rock, Scissors and Paper game.
11
Block
. . . . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Vector
. . . . . . . .Spaces
.......
If Player A wins a round, she gains one point. If she loses a round she loses
one point. For example, if Player A plays Scissors and Player B plays Rock,
Player A loses 1 one point and Player B gains one point. We show this by
putting −1 in the second row, first column of the matrix. The gain of Player B is
the negative of the gain of Player A.
The Rock, Scissors and Paper game is an example of what is called a ‘Two
Person, Zero Sum Game’. The ’Two Person’ part is obvious because two
players play the game. It is called ‘Zero Sum Game’ because the gain of one is
equal to the loss of the other. Such a matrix representation is used in Game
Theory to analyse the game and find the best strategies for the players.
∗∗∗
From
P1 P2 P3
Express the data in the form of a matrix. Is the matrix a square matrix?
12 Represent the data in the form of a matrix. Is the matrix a square matrix?
Unit
. . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Matrices
........
If we represent the data in Table 5 in the form of a matrix, we will get the matrix
110 81 110
102 121 107
[ ]
98 127 103
110 120 103
Suppose you want find the total profits for the months of January and February.
To find the total profit made by Company 1 in City 1, you will add the profit
made by the Company 1 in City 1 in January and February. In matrix terms, we
will add the entry in the first row and first column of the matrix for the January
data with the entry in the first row, first column of the February data. We can
similarly find the data for other pairs of companies and cities. In other words,
the data for the months January and February is given by
We can read off the total profit made by each company in each city by reading
off the entry in the appropriate column. For example, the entry in the second
row, second column of the matrix in the RHS of Eqn. (3) gives the profit made
by the second company in the second city in the month of January and
February. Motivated by this, we define the addition of matrices.
Example 5: Which of the following matrices can we add? Find the sum of
those matrices that we can be add.
1 2 1 1 1 0 −1
i) A = [ ] and B = [ ]
3 1 −2 0 2 1 3
1 2 −1 0 1 1
ii) A = [2 1 −1] and B = [2 1 3]
1 1 1 1 −1 1
1 1 2 1
iii) A = [−1 1] and B = [ 0 1]
2 1 −1 1
1 i
1 1 − i 2i
iv) A = [ ] and B = [2 + i 3 − 4I]
2i 1 1+i
4 + i 5 − 4i
1+i 1 −1 1 −i 2i
v) A=[ ] and B = [ ]
i 2−i 1 2 −i i
Solution:
i) Here, both A and B have two rows, but while A has three columns, B has
four columns. So, we cannot add them.
ii) Both A and B have three rows and three columns. So, we can add them.
We have
1 2 −1 0 1 1 1 + 0 2 + 1 −1 + 1 1 3 0
A + B = [2 1 −1] + [2 1 3] = [2 + 2 1 + 1 −1 + 3] = [4 2 2]
1 1 1 1 −1 1 1+1 1−1 1+1 2 0 2
iii) Both A and B have three rows and two columns. So, we can add them.
We have
3 2
A + B = [−1 2]
1 2
iv) Here A has order 2 × 3 and B has order 3 × 2. Since they have different
orders, we cannot add them.
1+i 1 −1 1 −i 2i
A+B=[ ]+[ ]
i 2−i 1 2 −i i
1+i+1 1−i −1 + i 2 + i 1 − i −1 + 2i
=[ ]=[ ]
14 i+2−i 2−i−i 1+i 2 2 − 2i 1 + i
Unit
. . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Matrices
........
∗∗∗
E3) Which of the following matrices can we add? Find the sum of those
matrices that can be added.
1 1
1 2
i) A = [ ] and B = [ 0 2]
3 1
−1 1
1 2 1 0 1 2
ii) A = [ ] and B = [ ]
2 1 1 2 −1 3
1 1 2 1
iii) A = [ ] and B = [ ]
−1 1 0 1
1 −i 2i −i 2i 3 + 2i
iv) A = [ ] and B = [ ]
2 i 4i 1 + i 3 − i 1 − 2i
1 2i 1 −i 2
v) A = [ ] and B = [ ]
2 3i 3 3 + 4i 1
2 × 25 2 × 20 2 × 15 2 × 30 50 40 30 60
[2 × 30 2 × 15 2 × 16 2 × 27] = [60 30 32 54]
2 × 27 2 × 18 2 × 21 2 × 18 54 36 42 36
Again, scalar multiplication makes sense over any field F. If (aij ) is any matrix
with aij ∈ F and 𝜆 ∈ F, then 𝜆 (aij ) = (𝜆aij ) makes sense. Let us look at some
examples.
1 3
ii) A = [ ] by i.
−i 1 + i
1 2 −i
iii) A = [ ] by 1 + i.
i 1+i 2
Solution:
i) Multiplying each entry of the matrix A by −3, we get
−3 × 1 −3 × 2 −3 −6
−3A = [ ]=[ ]
−3 × −1 −3 × 3 3 −9
ii) Multiplying each entry of the matrix A by i we get
i×1 i×3 i 3i
[ ]=[ ]
i × −i i × (1 + i) 1 −1 + i
iii) Multiplying each entry of the matrix A by 1 + i we get
(1 + i) × 1 (1 + i) × 2 (1 + i) × (−i) 1 + i 2 + 2i 1 − i
[ ]=[ ]
(1 + i) × i (1 + i) × (1 + i) (1 + i) × 2 −1 + i 2i 2 + 2i
∗∗∗
1 −1
ii) A = [ ] by 2i.
2−i i
1 2 −i
iii) A = [ ] by 1 + 3i.
i 1+i 2
Fig. 3
As you can see the rows of Table 1 have become the columns of Table 6 and
vice versa. With this as the motivation, we now introduce you to the concept of
transpose of a matrix. We begin with the formal definition of transpose.
In other words, to obtain the transpose of a matrix A, we simply write down the
rows of A as the columns of At . Let us look at an example.
Example 7: Let
1 2 −1
A=[ ]
−1 2 1
Write down At .
Solution: The row of A are [1 2 −1] and [−1 2 1]. Writing these rows in
the column form, we get
1 −1
t
A = [2 2]
−1 1
∗∗∗
As you would have noticed, in general, the order of the transpose of matrix is
different from the order of the matrix. Also, note the relation between a matrix
and its transpose. If A is an m × n matrix, At is an n × m matrix. In Example 7
the order of A was 2 × 3 and the order of At was 3 × 2. However, if A is a square
matrix, then the order of A is the same as the order of At .
Consider the matrix in Eqn. (2). As you can see inFig. 3, there is a certain
symmetry in the entries. We can get the entries above the diagonal by
‘reflecting, the entries below the diagonal. If you imagine a mirror along the
diagonal, the entries above the diagonal are the mirror reflection of the entried
below the diagonal. The entries above the diagonal are the reflection of the
entries of the same colour below diagonal. If you take the transpose of this
matrix, you will get the same matrix.
Similarly, notice the relation between the entries in Fig. 2. The entries above
the diagonal are the negative of the corresponding entries below the diagonal. 17
Block
. . . . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Vector
. . . . . . . .Spaces
.......
This motivates our next definition.
Example 8: Which of the following matrices are symmetric and which are skew
symmetric? Which are neither symmetric nor skew symmetric? Justify your
answer.
1 2 −1 0 2 1 1 2 −1
i) A1 = [ 2 2 1 ] ii) A2 = [−2 0 1] iii) A3 = [2 2 1 ]
−1 1 3 −1 −1 0 1 −1 3
Solution:
i) We have
1 2 −1
At1 = [ 2 2 1 ] = A1
−1 1 3
1−1 −2
−A1 = [−2 −2 −1]
1 −1 −3
The entry in the first row first column of At1 is 1, but the entry in the first
row first column f −A1 is −1. So, At1 ≠ −A1 and A1 is not skew symmetric.
ii) We have
0 −2 −1
At2 = [2 0 −1] ≠ At2
1 1 0
since the entry in the first row, third column of A2 is 1 and the entry in the
first row, third column of At2 is −1. So, the matrix is not symmetric. We
have
0 −2 −1
−A2 = [2 0 −1] = At2
1 1 0
iii) We have
1 2 1
At3 = [ 2 2 −1] ≠ A3
18 −1 1 1
Unit
. . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Matrices
........
since the entry in the first row third column in A3 is −1, but the entry in the
first row third column in At3 is 1. So, At3 is not symmetric. We have
−1 −2 −1
−A3 = [−2 −2 1 ] ≠ At3
1 −1 −3
since the entry in the first row, first column of At3 is 1 and the entry in the
first row, first column of −A3 is −1. So, A3 is not skew symmetric.
Therefore, A3 is neither symmetric nor skew symmetric.
∗∗∗
E5) Which of the following matrices are symmetric and which are skew
symmetric? Justify your answer.
1 2 −1 0 1 2 0 1 2
a) B1 = [ 2 1 3] b) B2 = [−1 1 3] 3) B3 = [−1 0 −4]
−1 3 1 −2 −3 0 −2 4 0
In other words, we get the adjoint of a matrix by replacing each of its entries by
its complex conjugate and taking the transpose of the resulting matrix. Also,
notice that, if all the entries of a matrix are real, its adjoint is simply the
transpose of the matrix because complex conjugation has no effect.
Solution:
1 − i 2 + i −i
A=[ ]
−2i 0 1+i
1 − i −2i
∗ t
A = A = [2 + i 0 ]
−i 1+i
ii) Replacing each entry of the matrix by its complex conjugate, we get
1 −i
B = [ −3i 1 − 2i]
1+i 3−i
t 1 −3i 1+i
B∗ = B = [ ]
−i 1 − 2i 3 − i
∗∗∗
Example 10: Which of the following matrices are hermitian and which are
skew hermitian? Which are neither hermitian nor skew hermitian? Justify your
20 answer.
Unit
. . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Matrices
........
1 − i 1 + 2i
1 2i i 2+i
i) A1 = [ 1 + i 2 3 ] ii) A2 = [ i 0 1 + 2i]
1 − 2i 3 1 −2 + i −1 + 2i 0
1 + i 2i
1
iii) A3 = [1 − i 2 3]
2i 3 1
Solution:
i) We have
1 + i 1 − 2i
1 1 1 − i 1 + 2i
∗ t
A1 = [ 1 − i 2 3 ] and A1 = A1 = [ 1 + i 2 3 ] = A1
1 + 2i 3 1 1 − 2i 3 1
−1 −1 + i −1 − 2i
−A1 = [ −1 − i −2 −3 ] ≠ A∗1
−1 + 2i −3 −1
since the entry in the first row, first column of A∗ and the first row column
of −A1 is −1. So, A1 is not skew hermitian.
ii) We have
since the entry in the first row, first column of A2 is 2i and the entry in the
first row, first column of A∗2 is −2i. So, A2 is not hermitian. But
−2i −i −2 − i
−A2 = [ −i 0 −1 − 2i] = A∗2
2 − i 1 − 2i 0
iii) We have
1 1 − i −2i 1 1 + i −2i
t
A3 = [1 + i 2 3 ] and A∗ = A3 = [1 − i 2 3 ] ≠ A3
−2i 3 1 −2i 3 1
since the entry in the first row, third column in A3 is 2i and the entry in the
first row, third column in A∗3 is −2i. So, A3 is not hermitian. We have
−1 −1 − i −2i
−A3 = [−1 + i −2 −3 ] ≠ A∗3
−2i −3 −1
E11) Which of the following matrices are hermitian, which are skew hermitian
and which neither hermitian nor skew hermitian? Justify your answer.
i −1 + 2i −1 + i i 1+i 2
i) A1 = [1 + 2i 0 2 ] ii) A2 = [1 − i 2 1]
1+i −2 0 −2 1 + 2i 3
1 1 + 3i 2 + i
iii) A3 = [1 − 3i 1 1 ]
2−i 1 0
E12) Show that the diagonal entries of hermitian matrix are real numbers.
E13) Show that the real part of the diagonal entries of a skew-hermitian matrix
are zero.
With this we conclude this section. In the next section, we will see discuss
matrix multiplication.
Solution: We calculate entry by entry using the scheme in Eqn. (6). Let
AB = C. We compute the entries of C one by one, row by row. We take the dot
product of the row and the column that are coloured blue.
a) We have
12 1 10
[ ][ ] c11 = 1 ⋅ 1 + 2 ⋅ 0 = 1
−1 0 0 −1 1
12 1 10
[ ][ ] c12 = 1 ⋅ 1 + 2 ⋅ (−1) = −1
−1 0 0 −1 1
12 1 10
[ ][ ] c13 = 1 ⋅ 0 + 2 ⋅ 1 = 2
−1 0 0 −1 1
We now compute the second row.
12 1 10
[ ][ ] c21 = −1 ⋅ 1 + 0 ⋅ 0 = −1
−1 0 0 −1 1
12 1 10
[ ][ ] c22 = −1 ⋅ 1 + 0 ⋅ −1 = −1
−1 0 0 −1 1
12 1 10
[ ][ ] c23 = −1 ⋅ 0 + 0 ⋅ 1 = 0
−1 0 0 −1 1
1 2 1 1 0 1 −1 2
Therefore, [ ][ ]=[ ]
−1 0 0 −1 1 −1 −1 0
b) We have
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c11 = 1 ⋅ 1 + 2 ⋅ 0 + (−1) ⋅ 2 + 0 ⋅ 1 = −1
2 1 1
31 10
1 0 −1
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c12 = 1 ⋅ 1 + 2 ⋅ 1 + (−1) ⋅ 1 + 0 ⋅ 0 = 2
2 1 1
31 10
1 0 −1
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c13 = 1 ⋅ 2 + 2 ⋅ 1 + (−1) ⋅ 1 + 0 ⋅ (−1) = 3
2 1 1
31 10
1 0 −1 23
Block
. . . . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Vector
. . . . . . . .Spaces
.......
This completes the computation of the first row. We now compute the
second row.
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c21 = 2 ⋅ 1 + 1 ⋅ 0 + 1 ⋅ 2 + 1 ⋅ 1 = 5
2 1 1
31 10
1 0 −1
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c22 = 2 ⋅ 1 + 1 ⋅ 1 + 1 ⋅ 1 + 1 ⋅ 0 = 4
2 1 1
31 10
1 0 −1
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c23 = 2 ⋅ 2 + 1 ⋅ 1 + 1 ⋅ 1 + 1 ⋅ 0 = 4
2 1 1
31 10
1 0 −1
This completes the computation of the second row. We now compute the
third row.
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c31 = 3 ⋅ 1 + 1 ⋅ 0 + 1 ⋅ 2 + 0 ⋅ 0 = 5
2 1 1
31 10
1 0 −1
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c32 = 3 ⋅ 1 + 1 ⋅ 0 + 1 ⋅ 2 + 0 ⋅ 0 = 5
2 1 1
31 10
1 0 −1
1 1 2
1 2 −1 0
0 1 1
[2 1 1 1][ ] c32 = 3 ⋅ 2 + 1 ⋅ 1 + 1 ⋅ 1 + 0 ⋅ (−1) = 8
2 1 1
31 10
1 0 −1
Therefore,
1 1 2
1 2 −1 0 −1 2 3
0 1 1
[2 1 1 1 ] [ ] = [ 5 4 5]
2 1 1
31 1 0 5 58
1 0 −1
∗∗∗
Here are some exercises for you to help you practise matrix multiplication.
Look at the first equation. The LHS of the equation is the matrix product
x1
x2
[a11 a12 ⋯ a1m ] [ ]
⋮
xm
x1
x2
[a21 a22 ⋯ a2m ] [ ]
⋮
xm
More generally, the LHS of the ith equation in Eqn. (7) is the dot product of the
a11 a12 ⋯ a1m x1
a a22 ⋯ a2m x
ith row of [ 21 ] and the column matrix [ 2 ]. So, we can write the
⋮ ⋮ ⋯ ⋮ ⋮
an1 an2 ⋯ anm xm
LHS part of Eqn. (7) as
The matrix product in Eqn. (8) gives a column matrix of length n. Recall that,
two matrices of the same order are equal if the corresponding entries are
equal. So, we can write Eqn. (7) in the matrix form as
or
AX = B 25
Block
. . . . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Vector
. . . . . . . .Spaces
.......
where
The matrix A in Eqn. (9) is called the coefficient matrix of the equation. Note
that if the system of equations has m variables and n equations, the coefficient
matrix is an n × m matrix. Let us now look at an example.
2x1 + 3x2 + x3 − x4 = 1
x1 + 2x2 − 2x4 = 2
x1 + 2x3 − x4 = 8
Solution: There are four variables and three equations. So, the coefficient
matrix will be a 3 × 4 matrix. The matrix form is
x1
2 3 1 −1 1
x2
[1 2 0 −2] [ ] = [2]
x3
1 0 2 −1 8
x4
∗∗∗
Try the following exercises now to see if you can write a system of
simultaneous equations in matrix form.
We have come to the end of this Unit. In the next section, we summarise the
contents of this Unit.
1.4 SUMMARY
In this Unit we have seen
1.5 SOLUTIONS/ANSWERS
123 87 110
92 131 102
[ ]
141 87 112
105 113 125
The order of the matrix is 4 × 3. The matrix is not a square matrix because
the number of rows and number of columns are not equal.
E3) i) A has two rows and B has three rows. Although both have the same
number of columns, we cannot add them because the number of
rows are different.
ii) Both A and B have two rows and three columns. So, we can add
them. We have
1 3 3
A+B=[ ]
4 0 4
iii) Both A and B have two rows and two columns, so we can add them.
We have
3 2
A+B=[ ]
−1 2
iv) We have
1 −i 2i −i 2i 3 + 2i
A+B=[ ]+[ ]
2 i 4i 1 + i 3 − i 1 − 2i
1−i −i + 2i 2i + 3 + 2i 1 − i i 3 + 4i
=[ ]=[ ]
2 + 1 + i i + 3 − i 4i + 1 − 2i 3 + i 3 1 + 2i 27
Block
. . . . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Vector
. . . . . . . .Spaces
.......
v) A has order 2 × 2 and B has order 2 × 3. So, we cannot add them.
−2 × 3 −2 × 2 −6 −4
−2A = [ ]=[ ]
−2 × −1 −2 × 5 2 −10
2i × 1 2i × −1 2i −2i
[ ]=[ ]
2i × (2 − i) 2i × i 2 + 4i −2
E5) a) We have
1 2 −1
Bt1 = [ 2 1 3 ] = B1
−1 3 1
−1 −2
1
−B1 = [−2 −1 −3]
1 −3 −1
The entry in the first row, first column of Bt1 is 1, but the entry in the
first row, first column of −B1 is −1. So, Bt1 ≠ −B1 , B1 is not skew
symmetric.
b) We have
0 −1 −2
Bt2 = [1 1 −3] ≠ B2
2 3 0
since the entry in the first row, second column of B2 is 1 and the entry
in the first row, second column of Bt2 is −1. So, B2 is not symmetric.
We have
0 −1 −2
−B2 = [1 −1 −3] ≠ Bt2
2 3 0
since the entry in the second row, second column in −B2 it is −1 and
the second row, second column in Bt2 is 1. So, B2 is not skew
symmetric.
c) We have
0 −1 −2
Bt3 = [1 0 4] = −B3
2 −4 0
E9) Let A = (ai ) and B = (bij ) and A + B = C. Let C = (cij ). Then cij = aij + bij . Let
A∗ = (a′ij ), B∗ = (b′ij ) where a′ij = aji , b′ij = bji . Let C∗ = (c′ij ). Then we have
c′ij = cji = aji + bji = aji + bji = a′ij + b′ij . So, C′ = A∗ + B∗ or
(A + B)∗ = C∗ = A∗ + B∗ .
t
E10) Let A = (aij ), At = (a′ij ) and (At ) = (a″ij ). We have a′ij = aji and a″ij = a′ji . So,
we have a″ij = a′ji = aij = aij . Therefore, (A∗ )∗ = A.
E11) i) We have
−i −1 − 2i −1 − i −i 1 − 2i 1 − i
t
A1 = [1 − 2i 0 2 ] and A∗1 = A1 = [−1 − 2i 0 −2 ] ≠ A1
1−i −2 0 −1 − i 2 0
since the entry in the first row, second column in A1 is −1 + 2i and the
entry in the first row, second column in A∗1 is −1 − 2i.
So, A1 is not hermitian. We have
−i 1 − 2i 1 − i
−A1 = [−1 − 2i 0 −2 ] = A∗1
−1 − i 2 0
−i
1−i 2 −i 1+i −2
∗ t
A2 = [1 + i 2 1] and A2 = A2 = [1 − i 2 1 − 2i] ≠ A2
−2 1 − 2i 3 2 1 3
since the entry in the first row, first column in A2 is i and the entry in the firt
row, first column in A∗2 is −i. So, A2 is not hermitian. We have
−i −(1 + i) −2
−A2 = [−1 + i −2 −1] ≠ A∗2
2 −1 − 2i −3
since the entry in the first row, second column in A∗2 is 1 + i and the entry
in the first row, second column in −A2 is −(1 + i). So, A2 in not skew
hermitian either. 29
Block
. . . . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Vector
. . . . . . . .Spaces
.......
iii) We have
1 − 3i 2 − i
1 1 1 + 3i 2 + i
∗ t
A3 = [1 + 3i 1 1 ] .A3 = A3 = [1 − 3i 1 1 ] = A3
2+i 1 0 2−i 1 0
−1 −1 − 3i −2 − i
−A3 = [−1 + 3i −1 −1 ] ≠ A∗3
−2 + i −1 0
since the entry in the first row, first column of A∗3 is one and the entry in
the first row, first column of −A3 is −1. So, A3 is not skew-hermitian.
E12) Let A = (aij ) be an n × n hermitian matrix and let A∗ = (a′ij ). Then, we have
A = A∗ or aij = a′ij = aji , 1 ≤ i, j ≤ n. If A is hermitian, aij = a′ij = aij for
1 ≤ i, j ≤ n. In particular, if i = j, we have aii = aii , i.e. the complex
conjugate of aii is itself. So, aii is real for 1 ≤ i ≤ n.
E13) Let A = (aij ) be an n × n hermitian matrix and let A∗ = (a′ij ). Then, we have
a′ij = aji , 1 ≤ i, j ≤ n. If A is skew-hermitian, −aij = a′ij = aij for 1 ≤ i, j ≤ n. In
particular, if i = j, we have −aii = aii , i.e. the complex conjugate of
aii + aii = 2Re (aii ) = 0. So, the real part of aii = 0 for 1 ≤ i ≤ n.
E14) a) We have
1 2
−2 1 1
[−1 0][ ] c11 = 1 ⋅ (−2) + 2 ⋅ 1 = 0
1 3 1
1 1
1 2
−2 1 1
[−1 0][ ] c12 = 1 ⋅ 1 + 2 ⋅ 3 = 7
1 3 1
1 1
1 2
−2 1 1
[−1 0][ ] c13 = 1 ⋅ 1 + 2 ⋅ 1 = 3
1 3 1
1 1
1 2
−2 1 1
[−1 0][ ] c21 = (−1) ⋅ (−2) + 0 ⋅ 1 = 2
1 3 1
1 1
1 2
−2 1 1
[−1 0][ ] c22 = (−1) ⋅ 1 + 0 ⋅ 3 = −1
1 3 1
1 1
1 2
−2 1 1
[−1 0][ ] c23 = (−1) ⋅ 1 + 0 ⋅ 1 = −1
1 3 1
1 1
1 2
−2 1 1
[−1 0][ ] c31 = 1 ⋅ (−2) + 1 ⋅ 1 = −1
1 3 1
30 1 1
Unit
. . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Matrices
........
1 2
−2 1 1
[−1 0][ ] c32 = 1 ⋅ 1 + 1 ⋅ 3 = 4
1 3 1
1 1
1 2
−2 1 1
[−1 0][ ] c33 = 1 ⋅ 1 + 1 ⋅ 1 = 2
1 3 1
1 1
So, we have
1 2 0 7 3
−2 1 1
[−1 0] [ ] = [ 2 −1 −1]
1 3 1
1 1 −1 4 2
b) 1 −1 1 1 1 1
[0 −1 1][0 1 1] c11 = 1 ⋅ 1 + (−1) ⋅ 0 + 1 ⋅ 1 = 2
1 1 2 1 −1 1
1 −1 1 1 1 1
[0 −1 1][0 1 1] c12 = 1 ⋅ 1 + (−1) ⋅ 1 + 1 ⋅ (−1) = −1
1 1 2 1 −1 1
1 −1 1 1 1 1
[0 −1 1][0 1 1] c13 = 1 ⋅ 1 + (−1) ⋅ 1 + 1 ⋅ 1 = 1
1 1 2 1 −1 1
1 −1 1 1 1 1
[0 −1 1][0 1 1] c21 = 0 ⋅ 1 + (−1) ⋅ 0 + 1 ⋅ 1 = 1
1 1 2 1 −1 1
1 −1 1 1 1 1
[0 −1 1][0 1 1] c22 = 0 ⋅ 1 + (−1) ⋅ 1 + 1 ⋅ (−1) = −2
1 1 2 1 −1 1
1 −1 1 1 1 1
[0 −1 1][0 1 1] c23 = 0 ⋅ 1 + (−1) ⋅ 1 + 1 ⋅ 1 = 0
1 1 2 1 −1 1
1 −1 1 1 1 1
[0 −1 1][0 1 1] c31 = 1 ⋅ 1 + 1 ⋅ 0 + 2 ⋅ 1 = 3
1 1 2 1 −1 1
1 −1 1 1 1 1
[0 −1 1][0 1 1] c32 = 1 ⋅ 1 + 1 ⋅ 1 + 2 ⋅ (−1) = 0
1 1 2 1 −1 1
1 −1 1 1 1 1
[0 −1 1][0 1 1] c33 = 1 ⋅ 1 + 1 ⋅ 1 + 2 ⋅ 1 = 4. Therefore
1 1 2 1 −1 1
1 −1 1 1 1 1 2 −1 1
[0 −1 1] [0 1 1] = [1 −2 0]
1 1 2 1 −1 1 3 0 4
E15) Let A = (aij ), B = (bij ). Let us write At = (a′ij ), Bt = (b′ij ) where a′ij = aji and
b′ij = bji . Let C = AB = (cij ), C′ = Bt At = (c′ij ), D = (AB) = (dij ) and
D′ = (AB)t = (d′ij ). Then, We need to prove that D′ = C′ or d′ij = c′ij . We have 31
Block
. . . . . . .1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Vector
. . . . . . . .Spaces
.......
c′ij = cji , d′ij = dji for 1 ≤ i, j ≤ n. We have
n n n
′ ′ ′
cij = ∑ bik akj = ∑ bki ajk = ∑ ajk bki …(10)
k=1 k=1 k=1
n
d′ij = dji = ∑ ajk bki …(11)
k=1
From Eqn. (10) and Eqn. (11), it follows that d′ij = c′ij .
E16) a) x1
1 0 3 −1 1
x2
[1 2 0 −1] [ ] = [ 3 ]
x3
1 0 2 −1 −1
x4
b) x1
1 1 3 −1 1
x2
[1 2 −1 5 ] [ ] = [ 1 ]
x3
1 0 2 −1 −3
x4
32