The Dot Product: Angles and Projections
One product of two vectors returns a number that encodes the angle between them. It tests perpendicularity, projects one vector onto another and computes work.
What a learner can do afterwards
- Find the angle between two vectors from their dot product
- Decide perpendicularity from a dot product of zero
- Resolve a vector into components parallel and perpendicular to another
1 · Read
The dot product tells how much one vector helps another, which is how you read the angle between pushes. It turns two vectors into one number: multiply matching components and add. For (1, 2) and (3, 4) you get 3 + 8 = 11. The sign carries meaning: positive means an acute angle, zero means a right angle, negative means obtuse. Dividing the dot by both lengths gives the cosine, so (1, 0) and (0, 1) dot to 0 and meet at 90 degrees.
A zero dot product from nonzero vectors always means perpendicular. Check (3, 1) and (minus 1, 3): 3 times minus 1 plus 1 times 3 is 0, so they meet at a right angle. Dotting (1, 3) with (minus 3, 1) also gives 0, while the other pairs give 4 and 8, so only the zero pair is perpendicular.
Dotting with a unit direction measures how much of your vector runs that way. The direction (3, 4) normalizes to (3/5, 4/5), and (1, 2) dotted with it gives 11/5 = 2.2. The projection vector of (4, 0) onto (1, 1) is (2, 2). To find a force component, normalize its direction first and then dot.
For angles: dot from components, divide by both lengths to get cosine, then take inverse cosine. If dot is zero and neither vector is zero, angle is 90 degrees.
Multiply matching parts and add, read the angle from the cosine, and split vectors with projection.
2 · Watch
Take it off screen
Where it sits
Where this leads
Jobs that lean on this skill. Follow one to see everything it is built on.
8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.