
Dot Product
Given any two vectors u=[u1, u2] and v=[v1, v2] in R2, the dot product is defined by
u⋅v=u1v1+u2v2
- The dot product between two vectors is a scalar (number)!
- The dot product between any two vectors in R3 is calculated in a similar way [a1, a2, a3]⋅[b1, b2, b3]=a1b1+a2b2+a3b3
Geometric Interpretation
u⋅v=∣∣u∣∣∣∣v∣∣cosθ where 0≤θ≤180° is the angle between the two vectors

❓ What does it mean if the dot product between two non-zero vectors is 0?
0=∣∣u∣∣ ∣∣v∣∣cosθ
Since the two vectors are non-zero, we know that cosθ=0
So, θ=90° → The two vectors are perpendicular (a.k.a. orthogonal or normal)

Example: Angle Between Vectors
Find the angle between the vectors u=[1, −1] and v=[−5, 3].
u⋅v=∣∣u∣∣∣∣v∣∣cosθ
[1, −1]⋅[−5, 3]=∣∣[1, −1]∣∣∣∣[−5, 3]∣∣cosθ
−8=(1)2+(−1)2(−5)2+(3)2cosθ
−8=234cosθ
−2348=cosθ
−688=cosθ
−4178=cosθ
−2178=cosθ
θ=cos−1(−174)
θ≈165.96

Dot Product Properties
Suppose that u, v, w are vectors in R2 or R3, and a, b are scalars (numbers).
Justify the following properties.
- Commutative Property: u⋅v=v⋅u
- Associative Property w/ a Scalar: a(u⋅v)=(au)⋅v=u⋅(av)
- Distributive Property:
- u⋅(v+w)=u⋅v+u⋅w
- (u+v)⋅w=u⋅w+v⋅w
- Magnitude Property: u⋅u=∣∣u∣∣2
Practice: Dot Product Properties
Suppose that u, v, w are vectors in R2, p, q, r are vectors in R3 and a, b are scalars.
Which of the following are valid operations? (Select all that apply)