340x Filetype PDF File size 0.06 MB Source: ee263.stanford.edu
Lecture 2
Matrix Operations
• transpose, sum & difference, scalar multiplication
• matrix multiplication, matrix-vector product
• matrix inverse
2–1
Matrix transpose
transpose of m×n matrix A, denoted AT or A′, is n×m matrix with
T
A =A
ij ji
rows and columns of A are transposed in AT
0 4 T 0 7 3
example: 7 0 = 4 0 1 :
3 1
• transpose converts row vectors to column vectors, vice versa
• ATT = A
Matrix Operations 2–2
Matrix addition & subtraction
if A and B are both m×n, we form A+B by adding corresponding entries
0 4 1 2 1 6
example: 7 0 + 2 3 = 9 3
3 1 0 4 3 5
can add row or column vectors same way (but never to each other!)
matrix subtraction is similar: 1 6 −I = 0 6
9 3 9 2
(here we had to figure out that I must be 2 × 2)
Matrix Operations 2–3
Properties of matrix addition
• commutative: A+B = B +A
• associative: (A+B)+C = A+(B+C), so we can write as A+B+C
• A+0=0+A=A;A−A=0
T T T
• (A+B) =A +B
Matrix Operations 2–4
no reviews yet
Please Login to review.