Académique Documents
Professionnel Documents
Culture Documents
⎢⎣ z1 + z2 ⎥⎦ ⎢ ⎥
V = ⎢ y⎥ = [x
T
y z]
⎢⎣ z ⎥⎦
Vector Math
Dot product V2
V1 ⋅V2 = V1 V2 cosθ
θ V1
where θ is the angle |V2| cos θ
between the two vectors
u V2 ⎛V1yV2 z −V1zV2 y ⎞
⎜ ⎟
V1 ×V2 = ⎜V1zV2 x −V1xV2 z ⎟
⎜ ⎟
⎜V V −V V ⎟
V1 ⎝ 1x 2 y 1 y 2 x ⎠
Scale
⎡a b ⎤ ⎡x y ⎤
M =⎢ ⎥ ,N = ⎢ ⎥
⎣c d ⎦ ⎣ z w⎦ ⎡ sa sb ⎤
sM = ⎢ ⎥
Matrix + Matrix (add)
⎣ sc sd ⎦
⎡a + x b + y ⎤ Matrix * Matrix
M +N =⎢ ⎥
⎣ c + z d + w ⎦
(multiplication)
⎡a b ⎤ ⎡ x⎤
M =⎢ ⎥ , V =⎢ ⎥
⎣c d ⎦ ⎣ y⎦
⎡ax + by ⎤
MV = ⎢ ⎥
⎣ cx + dy ⎦
Take-home Exercise
⎡a b ⎤ ⎡1 2 0 ⎤ ⎡3 0 2⎤ ⎡ x⎤
A = ⎢⎢0 c ⎥⎥, M = ⎢⎢0 4 8 ⎥⎥, N = ⎢⎢1 2 4⎥⎥, V = ⎢⎢ y ⎥⎥
⎢⎣1 0⎥⎦ ⎢⎣4 1 2⎥⎦ ⎢⎣0 0 1 ⎥⎦ ⎢⎣ 1 ⎥⎦
compute :
MN =
( AM ) N = ( AT M ) N =
AT ( MN ) =
NV =, VTN =
VV T = V TV =