Matrices PDF
Matrices PDF
series
MATRICES
is a matrix with :: ::;; i :--i :r columns and is called an mxn matrix, (read
"m bY n matri!.'
The numb.: . r - iie called the elements of the matrix, The hori-
zontal lines r. -rL":: ::;-. .:,d the vertical lines are called columns of the
matrix. To lr,r;:l; :i-i :,:-.-:"iiar elements of a matrix, the elements are de-
noted by a l::::::-.,- ; :,r r) tu'o suffixes which respectively specify the
rorvs and the ;: -;r:-r .. I:,':s. r-, is the element in the ith row and the jth
column of A
--''g
TYPES OF MATRICES
number'of rows equals
is a matrix in which the
.Jo'ii*n,'-rt'"
1) SQUARE MATRIX - is called its order. For
the numb", of "Y#';|;;ws
3 is'
a square matrix of order
"-"*pfe' -'t
&rz u"\
[r 8 t fu" ut'l
lo + 5l \ut' ^zz
t, t nl
,tz u"f
Lu,'
is
' elements all' &22' a,33
diagonal of this matrix-contarining the
The
called the leading; or PrinciPal diagonal'
the diagonal ele-
MATRIX is a square tnatrix in which
2) IDENTITY - the off:diagonal elements are zer(,. For exam-
ments are "one"
""l-"il
P'*,;i;"ttitY matrix of order '3 is
--
lr o1 o\
io o ol
io
L
tl
'-n" columns'
is a matrix having only one row and
3) ROW MATRIX -
It is also called a row vector'
Thus,
A=[u, r"
Iu'l
o= \", \
.*l
matrix for which every term off
DIAGONAL MATRIX - is a square
rhe main diagonal is zero' For example'
[: o tio\ B- [r o', ol
\= o I 'na l: 'jl-i
o o 2\
i
Io "
matrix can also be
lre diagonai matrices of order 3' Thus' an identity
considered as a diagonal matrix'
on the
bt SCALAR MATRIX-- is
a square matrix for which all terms
marn diagonal are equal' For example'
roo $= lo
[rool
I 0l
\= 4 .l I .rnd
m- .iorLoorj
matrix can be consid-
;r: .:a1ar matrices of or'ler 3 Again' an identity
.lS scalar martrl\'
=-: -
I:ROORNULL\1\T'R'IX-isamatrixwhereinallelementsare
-.:-', Thus,
I
nns.
r=" [t i, a zero or null matrix'
lo
TRIANGULAF:
. .lRlX is a square matrix whose elements above
the princiPal : -:
-:. tr -beiow the principal diagonal) are zero' For
L
example,
f-
+ ls o o
n- .rnd B- t8
l
2 0
;ol-
]o 3 4-
I
ESUALITY oF l"1A]' E5
-
-
ADDtTtoN AND suBrRActtol.')F MATRT.ES
MlTRlxBY A SCALAR
MULTlpLtcATloN 9t o whene each element
product of a matrix A by a scalar K is a matrix
The,
tru*tntt of A'
is K times trt" "o""lj;;
Thus, TRAI
Ta, -.r T Kb' .. .-1
rc'
l br ",1 --iKa'Kb'Kc4
l Ka' 1
Kl", b2 - ",i
1
the ro
L" -] r-
1
1"e''
holds for such^ products'
The distributive law
K(A+B)=KA+KB
PROBLEM:
Evaluate 2A - 38 whcre
A-
hrr-l
t'o I Ol and $=
f,
lr
1
-2
i
0l
fa- t-
It 4
' t
3-"1
It
L
0 3j
l_
i.e.,
Solution: -t
2:
[r I oi;i lz
lt
1
li
I
2A-38=z\z I -3 n
,j I
\t 4 3J Ir 0
- fo z | [o 3 6-l
2A-38 =lq 2 ol -lt -6 oi
lr 8 r,l [: o,l
if the
rcting
f
'0 -l 41
2A-38=',7 8 0l
I
[ement
-i8 -31 j
TRANSPOSE OF A MATRIX
The matrix Ar is called rhe transpose of A obtained by interchanging
the rorvs and columns of A.
Thus,
lr-i[:2
t-_1-
'. I
ifA= 2 0 .thennt=ll I 4l
I' 3,,1
Also,
*T
:f A
It ar i rhen A' = L7
'l
A square n:1r:-*r -{ s s.ard to be symmetric if it is equal to its transpose,
i.e., AT = A.
Thus, the mlxtla
s ,-l
{= a -1 2l is a syrnmetric matrix,
;11_l
-
[28'l
et=l8 3 2l=A
\o 2 r)
MULTIPLICATION OF M,ATRICES
and onlY if
multiplied in the order AB if
The matrices A and B can be of B' Such
to the number of rows
tf," nu*U", of columns of A' is equal
*utJ""t are said to be conformable'
MULTIPLICATION
PROPERTIES OF MATRIX
and is distributive with respect
a) Matrix multiplication iS associative
to addition of matrices' that is' 1
(KA)B=K(AB)=A(KB)
A(Bq) = (AB)C
, (A+B)C=AC+BC
C(A + B)= CA + CB
AB + BA in general
general' that AB = 0 does not
c) The cancellation la*' is not true' In
necessarilY imPlY A = 0 or B =
0'
d)Thetransposeofapoductequalstheproductofthetransposed
factors, taken in reverse order' So that
(AB)r = BrAr
(BA)r = ArBr
(AB)r + ArBr
(tsA)T + BTAT
PROBTEM:
ft
AB=l-
rl[r
-ll 3-l
I
L3 l0_l Ls -2)
| 2t lr + 3t5) t1', *-11-?,.-l
AB =
.r(l) + l0(5) 3(3) + 10(-21
Therefore,
t- r
AB=
:: -
B-d
B-
i
Therefc::
-
PROBLEM:rLEwr'
---1 [r -z 4 and BA'
Ir -2 - '
3lunas=13 5 t\ -l , find the AB
rr ,t =
\_+ z
t-
sJ""* [z 4 oJ
AB =L;
Ir -z s 1\
Therefore'
I-r
AB=l '
o ,l I
b*:
b),:" .:;:i"ilf,,:i,","
then the two
# :H?'sHTKi: m:
rows of A;
not defined:
PROBLEM:
[r -z tl [rl
u =lo 3
:
\-,
L
t 2) t-_
a) AB &BA
e) BBr
Find: f) BTB
b) Nn
e) (AB)r
c) BrA
;; 6z-lr+eI
d) A2
of A is equal to
the
sol'uti::: of'columns
the number
AB is defined since
nomb"r of rows
of B'
-
[r -z :l[r f
o"=l z 3 -'llo 3l
BA.
[-s t 14 -s_]z)
rows __l
;ible.
Therefore,
[r: -rql
AB= l-, r8l ;
I r -tr]
3(0;l
(o) BA is not defined or non-conformable since tlle number of col-
l
umns of B is not equal to the number of rows <lf A.
[, -2:'l-r f
b) ATB lz 3 -r1_ lo 3l
[-: t l+ -5-j
rcr of
AB is Ir -:: -i[r
I o I3i
ATB
l-:
L:
i . - 1,0 + (-3)(a) \Z) + z(3) + r-:y1-S1
ArB = -l : - --rr0) + 1(a) -2(2) + 3(3) + t(-5)
|
Therefore,
i-
,rTo
nD- -
ll
{r
to the
-
I
_T
Ir
-lT
2l Ir -z 3l
c) BTA
I
-10 :l \, 3 -1 |
,t
[-r
I
-s_l
1
")
L4
1 [t a n
Ir 0 4l\, 3 -11
BTA It 3 -5)I l^ 4
L" l, I
Therefore,
u,o=[l ?:l
lr -z3 -tli2
ll-' -z3 -l\i
d) e'=lz
l-r r z] lt-r | 2)
L
-3(3) + lt-l)
+ 2(2)
+2(-3'1 -3(-2) + t(3) +2(r) I
[-rtrl + l(2)
Therefore,
-t
l^, -s llI
A2 = I ll 4 -r1
\-z rt -tj
-t
"l ,
Fi[
i
e) BBr 3:I
-s1
[, J-
,llr 041
BBT =lo
I
t4
.-1i)
3 -sJ
L -\lL
-l
f
J tttl +2(2) l(0) +2(3) 1(4) + 2(-s)
I
BBT =10(l)+3(2) 0(0) + 3(3) 0(a) + 3(-s)
14fl) + (_5X2) 4(0) + (-5)(3) 4(4) + (_sx_s) I
,',I Therefore,
i
]iaj
a-
t-) 6 -o-l
BBT =J6 9 -1s
I
l
:-
L-6 -15 +t!
T-
[,
) t z1
f) BrB =10 J o. :l_t I
lo -5 + -\r I
Ir I. ,
12
,,{
BrB =
i,
L'
1
03
r-J
-1)
zrzt
I
Therefore,
s) (AE
from (a)
:s
Therefore,
- lrc -z
(AB)' =
t
_rl
rs
i_,n
using the rel ation (AB)r =
Another method to fihd (ABf is by
and then multiply the two
BrAr. In rhis ,"j"i*, nrd first Br and Ar
matrices.
-
l-', -5 ril I t lt
3l
h) A2-3A*9t=l tt 4 rl-:l z J -1 i
L*7 11 -4 [-r 1 )l
-l
-t a)
Ir 0 ol
*ei o 1 o1 b)
l0 0 I
- e 0
I
0l
T
trl [g el
nz-3Aapt=l
\-t2
l1
-5
4 tl -l u -6 s -3i* oe
oor_l
ol
Therefore,
-6tl
A2-3A +91-- 5o ol
2 8 -3 I
-
SUPPLEMENTARY PROBLEMS
-
{B)r =
r _r [r
l)LetA=l | -2 3lunos=l-r t
rhe two
t_4 2 s_l l, ol
4
Find AB and BA.
-3 --i
,2 4 _i B- -l _3 _51 i, : it _2 _;
.l 3)Let.r=f-r I .=1_;
!
rr-3i
ri
o
0l
ll -3 _-r : I _4_,
A2_2A_9I*0
f
5) IfA=l-
1r
_: b
:--.iD=
[o o
j I 0
o-l
01. calculate rhe products
io l
L:
ol
AB and B-{ Jni :r:-, .i ::;f A2B +B2A=A.
-
$y
€l
d
I
Hence, by solving the equations simultaneously,
c=1 d=-1
a=-1 ;
r-- 3
2
These are the el ements of the ma trix A-l and, therefore,
[-' 3l
n,r-l --l I
,l
Ir -1_,1
Check:
AA-l = I
-t r
I 3ri-l + ?I 0r-
I 1ll
L
3--1 ., I 0l
--1
1-2+3
,-2+) 7_ - = 0 I
f-
1.r_10
l_ ,_ 0 1,
tu clements of the
p'-:::1"* by dividing all
3) Normali ze themaximun of the maximum Pivot'
' row bY the;;t"
4rF,liminatetheelementsofthepivotcolumnexceptforfuplYot,making
-'
t-t'" equal to zero'
"r"*ents
remembered by
csing the acro-
can easily be
Note that the n193ed1cs
nYm; "S - I - N -
E';
S for search
-
I - for interchmgc
N for normaliP
-
E for elimin*im
-
-
AUSS- PROBLEM.
h'ing -,
Find the inverse of e=]1 ^I
0
uring the Gauss-Jordan method.
_0 1l|
Solution:
LIT' -l
LAlrl = LrlA-' ]
r L] ,_l3llr
r,r-
L
lni rl=l' ol
Lo r_]
rst ab-
[' -rlr
I 212 o
neces- lz 2l o 1_ R:=rz-ztr
of the i'I 311
212
,.,
naking
[o -r]-r
Normalize rou' ,l :'. *r"iding by -1:
f.
Ir
l- + - I R,=,-*,
L0 r --_
t .
Ir -
Hence. I
Iio LtI o-'l_l
fo.* [*I
which is already in the
'
L-
Therefore.
PROBLE
Firx
o=
[' 2I using the
Gauss-Jordan
method'
Solution: _1
_l
\e\
t-
t\ \r\r'\
L
z z\r
f, o 'lo\
rl -\,
-\ , r \o io tJ l'--tz-tr
R'=r3-rt
[et 'r\o
\1 5 p I r
L
N''=r1 -2rz
Ir , ,\, : :\
\;\n i1 -r\-:
o\ i il R,='I3-rz
L
\.. 2 R'=11 -4rr
s 4\_i -o, 'l;\ R,=ri+r,
Ir 1-1
\s -1 1i
;
L; '\o
Ir o l\-', 'o i\
\o 1 -r
L: ; ;io 1r
o
tbe
n )' 'therefore
frm ''l-lf
it is atreadY in -r
Since
t-7 zo -11l
rlo-'=i-l
[o -r
FROBLEM:
-
[, r i]
rethod. Find the inverse of A = lr 2 3l using the Gauss-Jordan method.
[o t rl
Solution:
[^ t
'] = ['l o-']
[, r rlr o
lottl=lt 2
o-.1
:lo r ol R2=f2--11
lo I rlo ot_] Rl=rt
[r rt zl-r
rlr o ol
r ol
Rr=rr-2rz
lo I
Lo 'lr o o_l R3=f3-fz
lz -rr olol
['lo ot -rz l-l
|o o-r|'-r
']
Normalize row (3) by dividing by -l:
r o-rlz -r ol R,=rr*r.
o t z l-r I ol Rz=rz-2rt
_o o ti.l I _l_]
I o o1t o -11-
io r o jr-r zl
, o o r i-r -t_l
'
which is already in the form
[t ,O-'_]
row (1) by dividing by 5:
r -l-lo
si
o -l-l
si
|.
2 3l0 r 0l Rz=rz e
r rlt o o] Rl=fr-ft
o alo
sl o -l-l
s
2 3lo
tt r o I
o alr
sI
o -l-l
sl
row (2) by dividing by 2: -1 ,
r 4lo
)t
o +l
)
Rt =ft *fz
r 3lo I o
I
1l I
I
LILI I
o +l
5:
r o -rl5j R3=r:
I _13 __l_ r I
r0 o 2 5
{F
ft
1 3 o I ol f
,q
]
221 B
-f
n method. 0:-l0l
rortr' r-r :1 ;i,.iding Ot
*,
1 1 -l-1
:CI o -
1 I Rr=rr+-]fit.rt
2 5
- .#
- [' oI _l
-r o I 2 t , 0l R1 =rr*rj
i0 o I _,Olt I 0 0l R2=rr*rj
Jo o _r ll I I ol
L0 2l'0 0 0 Ro=14*13
'J
[' o o -rl3 z ,l
lo I o _riz 2
r
I ol
R1 =rr*14
R2=12*14
io 0 I _llt I I ol
[o o o rlr I I
R3=13+14
Ra=r+
'_J
[' o o ol4 3 2 rl
lo I o oi3 3 1l
lo oo or IolzI z
2
z rl I
Lo I I I 1J
lq i 2 rl
A*r _
lz : 2 rl
Jr r I rl)
Ir-f'
)T
t_
a,
tr+12
11+12
r,{
";:
;:==
SYI
SUPPLEMENTARY PROBLEMS
GA
[r z1
B=Lz
,, o=
[l l, t)
jl
Ans.A-'=
, rf-z
* L, _il
.J
B- = +rl
syst
t+ 0 'lo
syst
genl
o ol
[+o -2 on..o-,=\o -+
zra=1 oi the
[o o
L0 0 +l
l
3_l Ponr
has
[r ,3 il tl
[r -z
Ans.A-r=+l I o
I
-l
syst
r)e=lt 2l
"e3
\ I o tl
2
'_ whe
lll- I I r' -6
II ltt -3 -3
z 2 -1 4 I
^ 1t _l -l2 |
+lA=1t n"J.rr
Ans.A-r =!l
-gl_11 -2 1 2
i' 3 3 2
l
t-
L-tt
6 6