The dot product and projections
Use the dot product to find the angle between two lines in space and the components of a force parallel and perpendicular to a line.
It opens on
Two guy cables leave the top of a pole toward two anchors on the ground. What is the angle between them?
Why it matters
How hard a cable pulls along a crossarm, or how much of a load presses along a strut, is a dot product; it is how designers find the force each member actually feels.
Good to know first
- Cartesian vectors
- magnitude and unit vectors
- position vectors between points
- inverse cosine
Step by step
The angle between two lines
Compute A · B from components and use A · B = AB cos θ to find the angle between two lines in space.
The dot product multiplies matching components and adds, A · B = Ax Bx + Ay By + Az Bz. Here rAB · rAC = (4)(−3) + (−6)(4) + (−12)(−12) = −12 − 24 + 144 = 108 m².
rAB · rAC = 108 m²
A common mix-up
The dot product of two vectors is a vector.
In fact: It is a scalar, a single number.
A force's component along a line
Find the component of a force along a line as F · u, with u the unit vector of the line, and read its sign.
The component of a force along a line is F · u = F cos θ, since |u| = 1. For the cable, T1 · u = 200(0.6) + (−300)(0.8) + (−600)(0) = 120 − 240 = −120 N.
T1 · u = −120 N
A common mix-up
Any direction vector will do in F · u.
In fact: u must have length 1, or the answer is scaled by the vector's length.
Parallel and perpendicular parts
Split a force into a part parallel to a line, (F · u) u, and a perpendicular part, F minus that, and find the perpendicular part's size.
Its size comes quickly from Pythagoras, Fperp = √(700² − 120²) = 689.6 N, the same as √(272² + 204² + 600²).
Fperp = √(F² − Fpar²) = 689.6 N
A common mix-up
The perpendicular part's size is F sin θ, so a second angle is needed.
In fact: It follows from Pythagoras, √(F² − (F · u)²), with no angle at all.
Try it
Find the angle between 1 i + 2 j + 2 k and 2 i − 1 j + 2 k.Answer
Dot = 4, both lengths 3, cos θ = 4/9, θ = 63.61°
Hint: Each has length 3
Find the component of F = 100 i + 200 j − 200 k N along the line with direction 2 i + 1 j + 2 k.Answer
(200 + 200 − 400)/3 = 0 N; F is square to the line
Hint: The direction has length 3
A force 300 i + 400 k N acts at a point on a line along the x axis. Find its parts along and across the line.Answer
300 N along, √(500² − 300²) = 400 N across
Hint: |F| = 500 N
What would A · B = 0 tell you about two lines?Answer
They are at right angles, since cos 90° = 0.
The answer is negative. What does that say about the cable's pull on the crossarm?Answer
It pulls 120 N along the crossarm the opposite way to u, back toward and past the pole.
