






































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







































Homework: §2.1 (page 56): 7, 9, 13, 15, 17, 25, 27, 35, 37, 41, 46 , 49,
Main points in this section:
addition of matrices, scalar multiplication and multiplication of
matrices.
matrices.
In this section, we will do some algebra of matrices. That means, we
will add, subtract, multiply matrices. Matrices will usually be denoted
by upper case letters, A, B, C,.... Such a matrix
a 11 a 12 a 13 · · · a 1 n
a 21 a 22 a 23 · · · a 2 n
a 31 a 32 a 33 · · · a 3 n
am 1 am 2 am 3 · · · amn
is also denoted by [aij ].
Remark. I used parentheses in the last chapter, not a square brackets.
The textbook uses square brackets.
Definition 2.1.1 Two matrices A = [aij ] and B = [bij ] are equal if
both A and B have same size m × n and the entries
aij = bij f or all 1 ≤ i ≤ m and 1 ≤ j ≤ n.
Read [Textbook, Example 1, p. 47] for examples of unequal matrices.
Definition 2.1.2 Following are some standard terminologies:
column vector. For example,
a =
is a column matrix.
tor. For example
b =
is a row matrix.
Definition 2.1.4 Let A = [aij ] be an m × n matrix and c be a scalar.
We define Scalar multiple cA of A by c as the matrix of same size
given by
cA = [caij ].
Then, with c = 11 we have
cA = 11
Likewise, A − B = A + (−1)B =
The textbook gives a helpful motivation for defining matrix multipli-
cation in page 49. Read it, if you are not already motivated.
Definition 2.1.5 Suppose A = [aij ] is a matrix of size m × n and
B = [bij ] is a matrix of size n × p. Then the product AB = [cij ] is a
matrix size m × p where
cij := ai 1 b 1 j + ai 2 b 2 j + ai 3 b 3 j + · · · + ainbnj =
n ∑
k=
aikbkj.
of rows (n) of B, for the product AB to be defined.
A and number of columns of AB is equal to is same as that (n)
of B.
below.
Exercise 2.1.6 (Ex. 12, p. 57) Let
Compute AB abd BA. We have
Compute AB and BA, if definded.
Solution Note AB is not defined, because size of A is 2 × 5 and size
of B is 2 × 2. But BA is defined and we have BA =
[
1 ∗ 1 + 6 ∗ 6 1 ∗ 0 + 6 ∗ 13 1 ∗ 3 + 6 ∗ 8 1 ∗ (−2) + 6 ∗ (−17) 1 ∗ 4 + 6 ∗ 20
Systems of linear equations can be represented in a matrix form. Given
a system of liner equations
a 11 x 1 + a 12 x 2 + a 13 x 3 + · · · + a 1 nxn = b 1
a 21 x 1 + a 22 x 2 + a 23 x 3 + · · · + a 2 nxn = b 2
a 31 x 1 + a 32 x 2 + a 33 x 3 + · · · + a 3 nxn = b 3
am 1 x 1 + am 2 x 2 + am 3 x 3 + · · · + amnxn = bm
we can write this system in the matrix form as
Ax = b
where
a 11 a 12 a 13 · · · a 1 n
a 21 a 22 a 23 · · · a 2 n
a 31 a 32 a 33 · · · a 3 n
am 1 am 2 am 3 · · · amn
, x =
x 1
x 2
x 3
xn
, b =
b 1
b 2
b 3
bn
Clearly, A is the coefficient matrix, x would be called the unknown (or
variable) matrix (or vector) and b would be called the constant vector
(or matrix).
a 1 =
a 11
a 21
a 31
am 1
, a 2 =
a 12
a 22
a 32
am 2
, · · · aj =
a 1 j
a 2 j
a 3 j
amj
, · · · an =
a 1 n
a 2 n
a 3 n
amn
we can write (or think)
a 1 a 2 · · · aj · · · an
as a matrix of matrices.
x 1 a 1 + x 2 a 2 + · · · + xj aj + · · · + xnan = b.
We say, b is a linear combination of the column metrices (or
vectors) a 1 , a 2 ,... , an with coefficents x 1 , x 2 ,... , xn.
such that b is a linear combination of the vectors a 1 , a 2 ,... , an
with coefficents c 1 , c 2 ,... , cn.
Exercise 2.1.9 (Ex. 34 (changed), p. 58) Consider the system of
equation:
x 1 +x 2 − 3 x 3 = − 1
−x 1 +2x 2 = 1
x 1 − 2 x 2 +x 3 = 2
Write this system in the matrix-form Ax = b and solve matrix equation
for x.
Solution: The equation reduces to
x 1
x 2
x 3
Equating respective entries:
2 a +3b = 3
a +b = 17
2 c +3d = 4
c +d = − 1
The augmented matrix of the system:
Use TI-84 to reduce it to the Gauss-Jordan form:
1 0 0 0 48
Looking at the corresponding to this matrix, we get
a = 48, b = − 31 , c = − 7 , d = 6 and
a b
c d
2.2 Properties of Matrix operations
Homework: §2.2 (page 70): 1, 3, 7, 9, 15, 17, 21, 23, 29, 31, 35, 37,
39, 43, 57, 59
Main points in this section:
multiplication.
We say, on the set of all m×n matrices, Omn is an additive identity
(property (1)), and (−A) is the additive inverse of A (property (2))
Theorem 2.2.3 (Mult-Properties) Let A, B, C be three matrices
(of varying sizes) so that all the products below are defined and c be a
scalars. Then
AB 6 = BA Failure of Commutativity of multiplication
(AB)C = A(BC) Associativity of multiplication
(A + B)C = AC + BC Lef t − Distributivity of multiplication
A(B + C) = AB + AC Right − Distributivity of multiplication
c(AB) = (cA)B an Associativity
In (1), by AB 6 = BA, we mean AB is not always equal to BA.
Proof. We will only prove (4). In this case, let A be a matrix of size
m × n and then B, C would have to be of same size n × p. Write
a 11 a 12 a 13 · · · a 1 n
a 21 a 22 a 23 · · · a 2 n
a 31 a 32 a 33 · · · a 3 n
am 1 am 2 am 3 · · · amn
and
b 11 b 12 b 13 · · · b 1 p
b 21 b 22 b 23 · · · b 2 p
b 31 b 32 b 33 · · · b 3 p
bn 1 bn 2 bn 3 · · · bnp
c 11 c 12 c 13 · · · c 1 p
c 21 c 22 c 23 · · · c 2 p
c 31 c 32 c 33 · · · c 3 p
cn 1 cn 2 cn 3 · · · cnp
Therefore, A(B + C) =
a 11 a 12 a 13 · · · a 1 n
a 21 a 22 a 23 · · · a 2 n
a 31 a 32 a 33 · · · a 3 n
am 1 am 2 am 3 · · · amn
b 11 + c 11 b 12 + c 12 b 13 + c 13 · · · b 1 p + c 1 p
b 21 + c 21 b 22 + c 22 b 23 + c 23 · · · b 2 p + c 2 p
b 31 + c 31 b 32 + c 32 b 33 + c 33 · · · b 3 p + c 3 p
bn 1 + cn 1 bn 2 + cn 2 bn 3 + cn 3 · · · bnp + cnp
which is
n k=
a 1 k(bk 1 + ck 1 )
n k=
a 1 k(bk 2 + ck 2 ) · · ·
n k=
a 1 k(bkp + ckp) ∑n
k=1 a^2 k(bk^1 +^ ck^1 )^
∑n
k=1 a^2 k(bk^2 +^ ck^2 )^ · · ·^
∑n
k=1 a^2 k(bkp^ +^ ckp) ∑n
k=1 a^3 k(bk^1 +^ ck^1 )^
∑n
k=1 a^3 k(bk^2 +^ ck^2 )^ · · ·^
∑n
k=1 a^3 k(bkp^ +^ ckp)
∑n
k=1 amk(bk^1 +^ ck^1 )^
∑n
k=1 amk(bk^2 +^ ck^2 )^ · · ·^
∑n
k=1 amk(bkp^ +^ ckp)
Remark. For matrices A, B, C as in the theorem so that all the mul-
tiplications in the associative law (2) are defined. Then the expres-
sion ABC would mean (AB)C or A(BC). It is well defined, because
(AB)C = A(BC) by associatieve property(2) of matrix multiplication.
Reading assignment
(property 2) works.
for multiplication fails (property 1).
fails. That means, examples AB = AC for nonzero A, B, C with
B 6 = C. This makes solving matrix equation like AX = AC, dif-
ferent from solving equation in real numbers, like ax = c.
Theorem 2.2.4 Let In denote the square matrix of order n whose
main diagonal entries are 1 and all the entries are zero. So,
In =
Let A be an m × n matrix. Then
ImA = A and AIn = A.
Because of these two properties, In is called the identity matrix of
order n.
Proof. Easy.
Reading assignment
r .
Following the definition 1.1.2 in item (4) we gave a classification of
system of equation, which we state as a theorem and prove as follows.
Theorem 2.2.5 Let Ax = b be a linear system of m equations in n
unknowns. Then exactly one of the follwoing is true:
Proof. If the system has no solution or have exactly one solution,
then there is nothing to prove. So, assume, it has at least two distinct
solutions x 1 , x 2. So, Ax 1 = b and Ax 2 = b. Subtracting the second
from the first, we have A(x 1 − x 2 ) = 0. Write y = x 1 − x 2.
Then y 6 = 0 and Ay = 0. So, for any scalar c, we have
A(x 1 + cy) = Ax 1 + A(cy) = b + (Ac)y = b + c(Ay) = b + c 0 = b.
So, x 1 +cy is a solution, for each scalar c (and they are all distinct). So,
the system has infinitely many solutuions. This completes the proof.
Definition 2.2.6 The transpose of a matrix A is obtained by writ-
ing the rows as columns (and/or writing the columns as rows). The
transpose of A is denoted bt A
T
. So, for the matrix
Exercise 2.2.9 (Ex. 8, p. 70) Let
Then
Solution: In this case
which is
Solution: We have
Divide by 2 (i.e. multiply by
1 2
), we have
Solution: We have 2X + 3A = B. Subtracting 3A from both
sides, 2X = B − 3 A. So,
Divide by 2 (i.e. multiply by
1 2
), we have
Exercise 2.2.10 (Ex. 10-changed, p. 70) Let
Compute C(BA) and A(BC), if defined.
Solution: Note A(BC) is not defined because A has 3 column and BC
has two rows. We compute C(BA). We have C(BA) = (CB)A and
So, C(BA) = (CB)A
Exercise 2.2.11 (Ex. 18, p. 70) Let