

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The definitions and properties of matrix multiplication. It defines the dot product of two vectors and the product of two matrices. It also explains the conditions for matrix multiplication and provides an example. useful for students studying linear algebra or matrix theory.
Typology: Schemes and Mind Maps
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Math 327
Matrix Multiplication Handout
Definitions:
n , ~a =
a 1
a 2
. . .
an
and
b =
b 1
b 2
. . .
bn
, the dot product (or inner product) of
~a and ~b, ~a · ~b = a 1 b 1 + a 2 b 2 + · · · + anbn =
n ∑
i=
aibi
Notice that the dot product of two vectors is always a scalar.
Example: Let ~a =
(^) and ~b =
Then ~a ·
b = (−1)(2) + (3)(−1) + (4)(0) = − 2 − 3 + 0 = −5.
is the m × n matrix C = [cij ] defined by: cij = ai 1 b 1 j + ai 2 b 2 j + · · · aipbpj =
p ∑
k=
aikbkj.
Note: In order to multiply two matrices, the matrices must be of appropriate sizes relative to one another. More
specifically, the number of columns in the first matrix must be that same as the number of rows in the second matrix.
This definition may seem a bit strange, but here is an illustration of how it works:
a 11 a 12 · · · a 1 p
. . .
ai 1 ai 2 · · · aip
. . .
am 1 am 2 · · · amp
b 11 b 12 · · · b 1 j · · · b 1 n
b 21 b 22 · · · b 2 j · · · b 2 n
. . .
bp 1 bp 2 · · · bpj · · · bpn
c 11 c 12 · · · c 1 n
. . .
cij
cm 1 ac 2 · · · cmn
Notice that cij = [rowi(A)]
T · [columnj (B)] =
p ∑
k=i
aikbkj.
Example 1: Let
Find AB (Notice that the (2,1) entry of AB is found by computing [row 2 (A)]
T · [column 1 (B)])
Notice that BA is undefined.
Example 2: Let
Find AB = Find BA =
Notice that AB 6 = BA.
Representing Linear Systems Using Matrices:
Consider the linear system given by: a 11 x 1 +^ a 12 x 2 +^ · · ·^ +^ a 1 nxn =^ b 1
a 21 x 1 + a 22 x 2 + · · · + a 2 nxn = b 2
. . .
am 1 x 1 + am 2 x 2 + · · · + amnxn = bm
If we define
a 11 a 12 · · · a 1 n
a 21 a 22 · · · a 2 n
. . .
am 1 am 2 · · · amn
, x =
x 1
x 2
. . .
xn
, b =
b 1
b 2
. . .
bm
Then A~x =
b represents the given system of linear equations.
Example: Given the system: x^ −^2 y^ + 3z^ = 0
− 3 x + y − z = − 2
2 x + y − 3 z = 1
The matrix representation is: While the augmented matrix is: