6.1 - Inner Product, Length, and Orthogonality
For vectors:
The inner product is:
Properties
u⋅v=v⋅u u⋅(v+w)=u⋅v+u⋅w (c*u)⋅v=c*(u⋅v) u⋅u=0↔u=0
Length (Norm) of a Vector
OR:
Unit Vector (Normalization)
To make a unit vector in the direction of
Example structure:
Distance Between Two Vectors
Distance between
Expanded:
Orthogonality
Vectors
Orthogonal
Pythagorean Theorem (Vector Version)
If
Parallelogram Law
For any vectors
Finding a Unit Vector
Steps:
Compute
abs(v) Multiply vector by
1 /abs(v)
Checking Orthogonality
Compute dot product
If result=0 then it is orthogonal
Distance between vectors
Subtract