Assignment 1 Soluti
Assignment 1 Soluti
Assignment 1 Soluti
SOLUTIONS
MTH102A
(1) Show that matrix multiplication is associative i.e. A(BC) = (AB)C when-
ever the multiplication is defined.
Solution. Let A = (aij )m×n ,B = (bij )n×p ,C = (aij )p×q be matrices.
We first consider A(BC)
Let R = (rij )n×q = BC, S = (sij )m×q = A(BC), Then
n
X
sij = ail rlj
l=1
p
X
rlj = blk ckj
k=1
n p
X X
sij = ail ( blk ckj )
l=1 k=1
n p
XX
=⇒ sij = ail blk ckj .
l=1 k=1
Similarly for (AB)C, taking R = (rij )m×p = AB and S = (sij )m×q = (AB)C
we get
n X p
X
sij = ail blk ckj
l=1 k=1
Therefore A(BC) = (AB)C.
(2) Suppose A and B are matrices of order m × n such that Ax̄ = B x̄ for all
x̄ ∈ Rn . Prove that A = B.
Solution. Let A = (aij )m×n and B = (aij )m×n be matrices. Take x̄ = ej
where ej = (0, .., 1, .., 0) ∈ Rn , (1 at the jth position).
So Aej = Bej =⇒ jth coloumn of A and B is same for j = 1 to n
Hence A = B.
(3) Let A = (aij ) be a matrix. Transpose of A, denoted by AT , is defined to be
AT = (bij ) where bij = aji .
(i) Show that (A + B)T = AT + B T , whenever A + B is defined
(ii) Show that (AB)T = B T AT , whenever AB is defined.
0 0
Solution. (i) Let A = (aij )n×n , AT = (aij )n×n , B = (bij )n×n , B T = (bij )n×n
0 0
, (A + B) = (cij ) and (A + B)T = (dij ). Then dij = cji = aji + bji = (aij + bij .
Hence (A + B)T = AT + B T .
1
2 ASSIGNMENT 1 SOLUTIONS MTH102A
(ii) Let AB = (cij )n×n and (AB)T = (dij )n×n . Then dij = cji =
Pn Pn 0 0 Pn 0 0 T T T
k=1 ajk bki = k=1 akj bik = k=1 bik akj . Hence (AB) = B A .
(4) A square matrix A is said to be symmetric if A = AT and a square matrix
A is said to be skew symmetric if A = −AT .
Prove that a square matrix can be written as a sum of symmetric and skew
symmetric matrix.
Solution. A = 12 A + AT + 12 A − AT .
T
1
= 21 AT + (AT )T = 21 A + AT .
T
Now 2 A + A
T
1
= 21 AT − (AT )T = − 21 A + AT .
T
2
A−A
(5) A square matrix A is said to be nilpotent if An = 0 for some natural number
n.
(i) Give examples of non-zero nilpotent matrices,
(ii) Prove that if A is nilpotent then A + I is an invertible matrix, where I
is identity matrix.
Solution. (i) Strictly upper triangular matrices (i.e. aij = 0 for all i ≤ j) are
nilpotent.
2 1 2 3 2 1 2 3 2 1 2 3
R2 →R2 −(3/2)R1 R3 →R3 −2R1
3 −1 4 7 −−−−−−−−−−→ 0 −5/2 1 5/2 −−−−−−−→ 0 −5/2 1 5/2
4 3 6 5 4 3 6 5 0 1 2 −1
2 1 2 3
R3 →R3 +(2/5)R2
−−−−−−−−−−→ 0 −5/2 1 5/2
0 0 12/5 0
We can thus obtain the solution to the given linear system by solving the equivalent
system
2x + y + 2z = 3
(−5/2)y + z = 5/2
(12/5)z = 0
The solution is x = 2, y = −1 and z = 0. " #
2 6 −2
(8) Find the row reduced echelon form of the matrix .
3 −2 8
Solution.
" # " # " #
2 6 −2 R1 → 21 R1 1 3 −1 R2 →R2 −3R1 1 3 −1
−−−−−→ −−−−−−−→
3 −2 8 3 −2 8 0 −11 11
" # " #
R2 → −1 R 2 1 3 −1 R →R −3R 1 0 2
−−−−11−−→ −−1
−−−1
−−→ 2
0 1 −1 0 1 −1