Vectors Supplement – Dot Product and Projections (Study Notes)
The Dot Product
The dot product of two nonzero vectors a and b is a scalar quantity representing the product of the vectors in a directional sense.
Notation: a⋅b or a⋅b.
Two main formulas:
Magnitude–angle form: a⋅b=∣a∣∣b∣cosθ where the angle between a and b is 0≤θ≤π.
Component form: If a=(a<em>x,a</em>y) and b=(b<em>x,b</em>y), thena⋅b=a<em>xb</em>x+a<em>yb</em>y.
Special cases of the dot product occur when the angle is:
θ=0
θ=2π
θ=π
The angle between two vectors can be found from the dot product: θ=arccos(∣a∣∣b∣a⋅b)
The orthogonal complement of a nonzero vector a = (ax, ay) is a vector orthogonal to a with the same magnitude. A standard choice is:
-a<em>⊥=(−a</em>y,ax)
The vector $(ay, -ax)$ is also orthogonal to a, but it does not have a standard name.
Problem-solving examples
Problem 1: Find a⋅b for a=(4,7) and b=(3,−2)
Calculation: a⋅b=4⋅3+7⋅(−2)=12−14=−2
Answer: −2
Problem 2: Find a⋅b when ∣a∣=7,∣b∣=2 and the angle between them is θ=6π
The orthogonal complement of a vector a = (ax, ay) is any vector perpendicular to a.
A standard orthogonal companion is:
-a<em>⊥=(−a</em>y,ax)
The vector $(ay, -ax)$ is also orthogonal to a but lacks a special name.
Problem 3: Find the orthogonal complement to ((-2, 8)).
A perpendicular direction is given by a<em>⊥=(−8,−2) since for a = (-2, 8): a</em>⊥=(−a<em>y,a</em>x)=(−8,−2).
Length of a is ∣a∣=(−2)2+82=4+64=68=217.
A vector of length 2 orthogonal to a is obtained by scaling a<em>⊥ to length 2:
v=∣a∣2a</em>⊥=2172(−8,−2)=(−178,−172)
(Additionally, the opposite direction is also valid.)
Problem 4 (orthogonality condition): Find the value(s) of x such that the vectors
a=(2x2,−1) and b=(2,−6x) are orthogonal.
Dot product: a⋅b=(2x2)(2)+(−1)(−6x)=4x2+6x
Set to zero: 4x2+6x=0⇒2x(2x+3)=0
Solutions: x=0orx=−23
Angles between vectors
The dot product formula also yields the angle: θ=arccos(∣a∣∣b∣a⋅b)
Problem 5: Find the angle between a=(−1,4) and b=(2,5)
a⋅b=(−1)(2)+4(5)=−2+20=18
∣a∣=(−1)2+42=17,∣b∣=22+52=29
cosθ=172918=49318
θ=arccos(49318)
Problem 6: Triangle with vertices A(1,5), B(2,1), C(4,6); find ∠BCA (angle at C)
If using a projection approach: take a point Q on the line, e.g., Q=(0,1). The displacement from Q to P is r = P - Q = (3,5). A normal vector to the line is n = (-1, 2) (perpendicular to the direction (2,1)). The distance is |r · n| / |n| = |(-3) + 10| / \sqrt{5} = 7/\sqrt{5}.
What do scalar and vector projections represent?
Scalar projection: the length of the component of b along the direction of a (how much of b lies in the direction of a).
Vector projection: the actual vector along a that represents the component of b in the direction of a.
These concepts connect to many applications in physics (work, force components) and geometry (shadow length, decomposition of vectors).
Quick connections and checks
Projections rely on the dot product and the magnitudes of the vectors.
The results scale predictably with changes in vector magnitudes and angles.
In physics, the work calculation W = F · d emphasizes that only the component of the force along the displacement contributes to work; the perpendicular component does no work.