Linear Algebra Refresher /w Python
Points written as (x,y,z)
Vectors written as xyz
Magnitude and Direction:
3−Dimensions
∥v∥=vx2+vy2+vz2
n−Dimensions
∥v∥=v12+v22+v32+....+vn2
Normalization: process of finding a unit vector in the same direction as a given vector
∥v∥1v=unit vector in direction of v
Example:
v∥v∥u=−111=(−1)2+(1)2+(1)2=3=∥v∥1v=31−111=−1/31/31/3
∣u∣=(3−1)2+(31)2+(31)2=31+31+31=1