03 - Copy - Copy
03 - Copy - Copy
2
Example 2. Let u = [ ] and v ′ = [1 8 3]. Find uv ′ .
4
9
Example 3. Let u ′ = [4 3] and v = [ ]. Find u ′ v.
7
1
1 Important points from the warm up
● Order of multiplication matters! Typically, AB ≠ BA
● u is a m × 1 column vector, v ′ is a 1 × n row vector
⇒ uv ′ has dimension
⇒ u ′ v has dimension
2
5 With your neighbor
Example 4. Let
3 6 −4 0 4 −1 3
A=[ ] B=[ ] C=[ ]
4 2 2 5 0 6 2
Compute the following:
a. AC b. BC c. (B + A)C
3
Example 7. Let
2 3 1 1 −2 1
C=[ ] D=[ ] E=[ ]
6 9 1 2 3 2
Find CD and CE.
6 Identity matrices
● An identity matrix is a square matrix with 1s in its principal diagonal (northwest to southeast) and 0s
everywhere else:
⎡ 1 0 0⎤
1 0 ⎢
⎢
⎥
⎥
I2 = [ ] I 3 = ⎢0 1 0 ⎥
0 1 ⎢ ⎥
⎢0 0 1 ⎥
⎣ ⎦
● I n is the n × n identity matrix
● The identity matrix plays the role that “1” has with scalars
4
7 Null matrices
● A null matrix (or zero matrix) is a matrix whose elements are all 0
0 0 0 0 0
0 =[ ] 0 =[ ]
(2×2) 0 0 (2×3) 0 0 0
● The null matrix plays the role that “0” has with scalars