Matrix Algebra: Solving Equations
Matrix Algebra: Solving Equations
ALGEBRA OF MATRICES
11. NoTATIONS
in n
Consider a system of m simultaneous linear equations
variables X, *?, ..,X given by
a11*1+a12xt...+a1nx,=b1
a21X1+az2X,t...taznXn=b ..")
am11t ae2t...+amntn=bm
then
If we think of each linear form in () as a single entity,
) can be expressed as a single equation as follows : b1
a1x1ta2x2t...ann
b2
ag1X1+az2X2+...taznn
am1X1+Qm2N2t.tamnn bm/
Bquations () can be more conveniently written as
AX=B
where
b1
am1 am2 9
bm
linear form (*)
A is known as the matrix of the
Definition. The system :
a11
Qml
() A =
23 5 is a 3x3 natrix over N.
13 0
V2 1
-1 2 is a 3X2matrix over R.
(ii) A =
V3
A = ...(120)
tr(A)=
.. (13a)
i=1
Scalar Matrix. A diagonal matrix whose all the
elements are equal is called the scalar matrix. Thus thediagonal
square
matrix A=(a) is a scalar matrix if and only if for some
scalar k,
aij=k,
=0, i=J;,j=1, 2,", n
and we write
A=diag (k, k, ..., k) ...(14)
Unit Matrix or ldentity Matrix. In (1'4) if we
A is called a unit matrix or an take k=l, then
denoted by In. Thus, identityy matrix of order n and is
I,=diag (1, I,..., 1) ..(15)
For example,
l 0 0
are unit
I=
() and I3=
3-2 3 7
is a 3x4 matrix then the matrix
/2 -3 4
B=
\3-2 3
obtained on deleting the first row andthe last
2x3 sub-matrix of A. column of Ais a
"said toCouparable Matrices. Two matrices A=(ay) and B=(by) are
be comparable if each has the same
columns as the other, i.e, if they have the same
number of rows and
dimensions.
ALGEBRA OF MATRICES
-k{a4+b]=kay+kby
=kx(1, J) element of A
+kx(1, element of B.
Hence the result.
Remark. In (111)if we take k=-1, we get
-A=(-a) ...(111b)
which is called additive inverse or negative of A.
13-2. Some More Properties of Matrix Addition
(1) Existence of Identity. IfA is mxn matrix and O is a null
matrix of the same dimensions then
A+0=0+A=A ...(112)
AN
8
that
Let A(ay)conformable
they are
matrix
be mXn for
the and IproductNTB=(b)
ROD.UCTION "TO MATNC
be
product
CAB-(c) "Then he
is a mXp matrix where cy is
the
inner
mat z
the j column of B. Diagrammatically, product of th
row of Aby
C91
C91
Cml Cm2-.Cmg.Cmp
b1l.. b! ...b1,
bs1... b ...ba,
. .bip
bay
Vhere
bss
...{1.16a)
Example 11. If
-2
A-( B
and B= 3
-1
0
0x1+2x3+(-1)x(-1) 0x(-2)+2x0+(-1)x2
10 -2
-2
BA=
-1
3
)
1x2+(-2) x0 1x3+(-2) x2 1x1+(-2)x(-1)\
3x2+0x0 3x3+0x2 3x1+0x(-1)
\(-)x2+2x0 (-1)x342x2 (-)x1+2x(-1) /
2 -1 3
6
-2 1 -3
Properties of Matrix Multiplication
Property 1. Matrix Multiplication is, in general, not commuta
tive.
Theorem 14. For two matrices A and B, AB#BA, in general.
Proof. If the matrix product AB is
that the product BA is also defined. For defined,
example,
it is not necessary
A and n XpmatrixB, the product AB is defined butfor the
m Xn matrix
is not defined since the product BA
number of columns of B is not equal to the
number of rows of A. Moreover, even if both the products AB
and BA are defined they need not be equal. For
example, if
l0 AN INTRODUCTION TO
MATRICES
-()
A=
and B=
...)
k=l
end .(**)
bigcg
Thus (AB)C=(w),say, and A(BC)=(H), say, are each mxq
matrices where
|From *l
A,(A{AgA4))=(A1(AgAs4=A1A)(AsA4)
-((A1A)A;)Aq=A1AzAsA4 ....(1186)
provided the products are define.l.
Corollary 2. Positive Integral
For any matrix A, the product AA is Powers
defined
of a Square Motrix.
only if Ais a square,
natrix. We write AA=A?, By associative law of
we have multiplcation,
A2.A=(AA)A =A(AA)= A.A2
Thus A? multiplied by A or A multiplied by A? gives the same
which we denote by A. Thus result
A.A=A.A'=AAA=A3
Hence, in general, the product
A.A....A (m factors)
is independent of any particular manner of
cation (c.f. Cor. 1) and is denoted by A", bracketing for multipli
Definition. If A is a square matrix of order nthen
A'=A
and Ak+l=A*.A
for each positive integral k.
} ...(119)
k=1
(Since in case of real numbers, multipli-.
cation is distributive w.r.t. addition).
-(,j element of AB+U, j) element of AC
=(t, j)elemer:t of AB+AC.
AN
14 INTRODUCTI
values of m.
ON TO
MATRICES
integral
We are given that for
a~ß(2m+ 1)n/2
cos (a~B)==cos {(2m +1)/2)=)
Substituting in (°), we get
AB-=
x 2.
a null matrix of order 2
Example 1l13. IfA and B be matrices such that both AB
A+B are defined then provethat both A and Bare and
of the same order. square matrices,
Solution. Since the matrices A and B are
addition, they must be of the same dimensions.
matrix, then B is also mXnmatrix.
conformable
Thus if Ais for
mxn
Further, since the product AB is defined
columns of A must be equal to the number of the of number
mnst have n=m and therefore both A and B are rows of B, i.e., we
the same order n. square matrices of
Examole 14. Prove that the only natrices which are
tative for multiplication with a diagonal commu
gonal eiements are diagonal matrices. matrix with distinct dia
Solution. Let A be a diagonal matrix of
elements, i.e., ordern with distinct
@11 0 ...0
a22 ...0
A=
0
such that
autas, (i#j).
Let B=(bi) be any matrix. In
B, i.e., AB=BA, B must be a square order that A commutes witn
matrix of order n. Nw
AB=BA
if and oniy it
by (au-as)=0
Thusb=0 when
elemerts of B are auta, i.e., when i#j. Hence all the non-diagonal
zero and
therefore
Example 15. If Adiag (a, b, c),
B is a diagonal matrix.
show that
A"=diag (a", b", cm) ...()
ALGEBRA OF MATRICES 15,
Solution. We havc
a 0
0 0
A=diag (o, b, c)=
C
00 a 0 0
A2= 0 b 0 0 b 0
00 C 0 0 c
a2 0 0
A+l=A.A= 0 b 0 0 b 0
0 0 c 0 0 c/
(al+bA)"=a"I+na-1 bA
where I is the 2 rowed unit matrix, n is a positive integer and a, b
are arbitrary scalars.
Solution. We have,
A=
()A3=A2.A=0, A4=A3.A=0 and so on.
we
Also since A is a 2x2 matrix and I is also a 2 x2 matrix,
get
...()
Al=[A=A
AN INTRODUCTION To
Also we bave
MATRICE
I=['=P.=·
Bybinomial expansion [ (c.f. Q 17(iv) in cxercise setI(D 1
(al+bA)P=(a+() (a-,bA,
otber terms being neglected since A, A,...A" are all null matrices
Hence on using (*) and (**) we get
(al+bA)^= I+na-, bA,
as desired.
Example 17. Explain, why in general
(a) A-B²(A +B) (A-B) (Nagpur Univ. B.Se. 1973,
[Saugar Univ. B.Se. 197h
(6) (A+B,²$A42AB+B ? (Saugar Univ. B.Sc. 1965)
Solution. (a) By ditributive law, we have
(A+B) (A-B)=(A+B) A-(A+B) B
=A+ BA-AB-B4,
Since, in general, AB4BA, we get
(A+B) (A-B)A-B,
However, if Aand Bcommute, i.e., if AB-BA, then we get
(A+B) (A-B)=A-B!
(6) (A+B)=(A+B) (A+B)
=(A+B) A+(A+B) B (By distributive law]
A+BA+AB+ B'.
Since, general, AB+BA,
in
(A+B)'#A+B®42AB, in general.
However, if A and Bcommute, i.e., if AB=BA,
then
(A+B)²=A+2AB+B,
Similarly, it can be proved that
(A-B)=A-2AB+B,
provided A and B commute, i.e., if AB=BA.
Si Example 18. A is a square matriz of order n with all
equal to unity and B is a matrix of order a with all elements
elements equal to n andsquareother clements n-r. Shew that diagonat
Deduce that A2nA.
(B-r) [B-(r-nr+r) I]=0.
Solution. Since ¢is. nXn square matrix with
all the
unity, we get
1 1...1 1 1...1
eements
n...n
A= 1 1...1 1 1...1
n...n
A2-,nA=0 A (A-nl)=0
*-()
ALQRIRA OF MATRICES 17
Also
/n-tr n-to . n-to\
Bam n-rto n-r+r... n-r+o
(;)(;
a2+BY B(«+8)
( Y(«+8) yB+82 H): )
a?+By=1l3+82
and P(a+8)=0=y(a+8) . (*)
Now () gives (0o")
Case (i). If a=-8 a + 0then(*)is automatically satisfied
and ()gives a4By=1, Thus in this case the square robt matrix
becomes
IM--578-2
18 AN
INTRODUCTION TO
where 1-a2=By
MATRICES
Case (ii) If a=8then (**) > =0=y and hence
al=82=1L> =8=+1. from,(") we get
yato Hence in this case, the square root matrix is given by
t1 0
ie, i.e., tI
Rachal 0
shatn Hence the result.
EXERCISE 1(1)
1 4 -1 -2
1. If A= 3 2 and B=| 0
2 5 3 1
find the matrix C such that
A+B-Ca0, i.e., null matrix.
2. Is itpossible to define the matrix A+B when
(a) A has 2 roWs and B has 3
rows.
6) A has 3 columns and Bhas 4
Kc) A has 2 rows and B has 3 columns.
( Both A and B columns.
are square matrices of
Give reasons. the same order ?
1 2
-1 0
and B
find 2A-3B.
(6) Compute 2A+B-C when
A= 3 4
B=
AB= BA.
2 3
1 -2 31
and B= 4 5
2 5/
2 1
find AB, BA, and show that ABBA.
6. (oYShow by means of an example that the cquation
AB=0, oes not necessarily imply that at least one of the matrices
A and B must be a zerO matrix. (Delhi Univ. B.Sc., (Hons.)1973]
6) Show by means of an example that it is possible to» have
matrices Aand B such that AB=0 while neither A=0 nor B=0.
[Agra Univ. B.Sc. 1971; Delhi Univ. B.Sc. 1970;
Kanpur Univ. B.Sc. 1970;Poona Univ. B. Sc. 1970;
Gorakhpur Univ. B.Sc. 1967]
(e) Is the following statement true ? Give reasons in favour
of your answer :
If A, Bare n-rowed square matrices then
AB=0 ’ at least one of Aand Bis zero.
[Gujarat Univ. B.Sc. 1970]
(d) Give an example of matrices A and B for each of the
following:
AB is defined but rot BA
Ai) AB=0but BA#0 [Bombay Univ. B.Sc1968].
Taking
00 0 231
A= 0 0 0 B= 5 0 1 6
OELH
|1 1 1 -4 2 1 -4
verify that, if AB=ACand A#0, it does not necessarily fo'lcw that
B=C.
COS a -Sin cos B - sin B
8. If A B=
sin a COS a
sin
show that AB=BA.
9. (a) Show that matrix multiplication is associative, if con
formability is assured, i.e.
20 AN INTRODUCTION TO MATRICES
A(BC)=(AB)C,
if A, B, Care mXn, nxp and p Xqmatrices respectively.
[Delhi Univ. B.Sc. 1973: Meerut Univ. B.SC. 1972;
Poona Univ. B. Sc. 1970: Ranchi Univ. B.Sc. 1969;
Allahabad Univ. B.Sc. 1967)
Ab) Compute the products A(BC) and (AB)C, given that
C=(1,-2)
B=| -1
(;)CJA.
determine x, y in terms of a, b.
(b) If
3 4 5
(8x+3y 6z 32
(: -1 0 -2
3 4
4 12 26x--Sy/
h4+mm,tning=0 ,3+mj2+nj1
Istmms + ngng=0 and +mg+n,2=1
hbtmmg +nng=0 l32-+m34ng2=1.
13. If A= show that A?0.
1+2k -4k
show that
k 1-2k/
[Kanpur Univ. B.Sc. 19701]
cosh a sinh a
(c) If A= prove that
sinh a cosh a
cosh na sinh n.
sinh na cosh na
Hint. (a)(b) and (c): Use mathematical induction.
[Allahabad Univ. B.Sc. 1970]
Kd) Let f()=-5x+6, find f(A) if
2 0
2 -4
3 -5
22 AN INTRODUCTION TO MATRICER
find the value of the matrix
3A-2A+5I where I is a unit matrix of order 3.
(Delhi Univ. B.Sc. (Hons.) 1970)
cOs 0 sin
18. If Ag
\-sin & COS
then show that
cos no sin n
-sin n cOS no
TOT every positive integer n, Further show tbat A. and Ag commute
and that
AAg=Aa+8.
[Rajasthan Univ. B.Sc. 1973: Ravi Shankar Univ. B.Sc. 1970:
Meerut Univ. B Sc. 1969)
0 1 0 0
16. If A=
and B-=
0 1
calculate the matrix products AB, BA and
Show also that if n is a scalar then A2B+BA.
17,
(A+nB)=nl
If AandB are n-square matrices which commute and
is a positive integer then prove that
(i) (AB)'=A22AB+B²
(i) (A+B)(A-B)=A?B2
(ii) (A+B)°=A343AB-+3AB2+B3
(iv) (A+B)'=A'+()A-.B+()A-2B²+...+B
() (AB)=A'. B.
Hint (iv) and (v)., Use mathematical induction,
Hint. We have
A'=(B+C)=(B+C)(B+C)
-B+2BC; ('.: BC=CB, C2=0)
=B(B+2C)
Thus () is true for p=l. Now establish the result by mathe
matical induction.
A=(* y z), B= h bf C=
2
prove that
ABC=ax+by2+ cz2+ 2hxy+2gzx+2fz
(Gorakhpur Univ. B. Sc. 1964: Agra Univ. B.Se. 1972 :
Nagpur Univ. B.Sc. 1973 ,: Ranchi Univ. B. Se. 1970]
(b) If
24
AN INTRODUCTION TO MATRICES
6. (C)
A2-(a+d)A=(bc-ad)I.
(I.C.W.A. (Final) June 1975
(c) The matrix A is given by 14.
1 2
-3
undthe matrix2. for the polynomial A-+3A+5I where I is1974
matrix of order unit 16.
[I.C.W.A. (Final) June
-1
24. If A=
2 B= 18.
and
(A+B)2=A2+B2, find a and b.
25 (2. Prove that any pair of diagonal matrices of order 2 X2 23.
commute,
(b) Find the matrices A and B which satisfy the following tWO 24.
conditions simultaneously:
i) AB=0 but A#0 and B40 25.
(i)A+B=2I but A#I and B#I.
ANSWERS 1()
0 2
1, C= 3 7
6
2. (a) No. (b) No. (c) Yes, provided Ahas 3 columns and n
has twO rows. (d) Always.
-4 -12 3
3.
-14 -9
(6)
AB-BA-{
5. (a) AB=BA: 0 12
-10 2
-4 21
BA= -16 2
(b) AB 10 3 -2
-2
37
11
ALGEBRA OF MATRICES 25.
6. (c) No.
-3
9. (b) A(BC)=
-14/
11. (a) *=1-2a, y(2-b)
(b) x=1, y=3, z=4 (c) x=-2ti6
-1 -3 21 -17 1:
14. ()-1 -1 -10 13 34 -2
-s 4
22 25
1
16. A2.B+B².A= 0