









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
Lecture 2. Matrix Operations. • transpose, sum & difference, scalar multiplication. • matrix multiplication, matrix-vector product. • matrix inverse. 2–1 ...
Typology: Schemes and Mind Maps
1 / 15
This page cannot be seen from the preview
Don't miss anything!










transpose, sum & difference, scalar multiplication
-^
matrix multiplication, matrix-vector product
-^
matrix inverse
transpose
of
m
n
matrix
, denoted
T^
or
′, is
n
m
matrix with
ij^
ji
rows and columns of
are transposed in
T
example:
transpose converts row vectors to column vectors, vice versa
-^
T^
Matrix Operations
commutative:
associative:
), so we can write as
T^
T
Matrix Operations
we can multiply a number (a.k.a.
scalar
) by a matrix by multiplying every
entry of the matrix by the scalarthis is denoted by juxtaposition or
·, with the scalar on the left:
(sometimes you see scalar multiplication with the scalar on the right)^ •
α^
β
αA
βA
αβ
α)(
βA
α(
αA
αB
Matrix Operations
example 1:
for example, to get
entry of product:
11
11
11
12
21
example 2:
these examples illustrate that matrix multiplication is not (in general)commutative: we don’t (always) have
Matrix Operations
(here
can be scalar, or a compatible matrix)
), so we can write as
α(
αA
, where
α
is a scalar
T
Matrix Operations
if^
v^
is a row
n
-vector and
w
is a column
n
-vector, then
vw
makes sense,
and has size
,^ i.e.
, is a scalar:
vw
v
w 1
vn
w n
if^
x^
and
y
are
n
-vectors,
x
T^ y
is a scalar called
inner product
or
dot
product
of
x
,^ y
, and denoted
x, y
or
x
y:
〈x, y
x
T^ y
x
y 1
x
yn n
(the symbol
can be ambiguous — it can mean dot product, or ordinary
matrix product) Matrix Operations
if matrix
is square, then product
makes sense, and is denoted
2
more generally,
k
copies of
multiplied together gives
k:
k^
k
by convention we set
(non-integer powers like
1 /
2 are tricky — that’s an advanced topic)
we have
kA
l^ =
k+
l
Matrix Operations
example 1:
1
(you should check this!)
example 2:
does not have an inverse; let’s see why:
a^
b c^
d
a^
b^
a^
b
c^ −
d^
c^ + 2
d
... but you can’t have
a
b^
and
a^
b^
Matrix Operations
−^1
,^ i.e.
, inverse of inverse is original matrix
(assuming
is invertible)
1
−^1
−^1
(assuming
are invertible)
−^1
−^1
(assuming
is invertible)
(αA
/α
−^1
(assuming
invertible,
α
if^
y^
Ax
, where
x
n^
and
is invertible, then
x
−^1
y:
−^1
y^
−^1
Ax
Ix
x
Matrix Operations