Worked examples — Dot product — formula, geometric meaning, work calculation
This page is a tour of every situation the dot product can throw at you. We start by listing all the case-classes in one table, then work an example for each — with a Forecast so you guess before you compute, and a Verify so you never trust a number blindly.
Everything here builds on the parent: Dot product — formula, geometric meaning, work calculation. If any symbol feels unfamiliar, peek at Vectors — components and unit vectors and Trigonometry — cosine and components first.
The scenario matrix
Here is every distinct case-class a dot-product question can land in. Each worked example below is tagged with its cell letter.
We now hit every cell.
Examples
C1 — Partly aligned (positive, acute angle)

- Component form: . Why this step? Multiply matching components and add — fastest route to the number.
- Magnitudes: , . Why this step? The geometric form needs both lengths to isolate .
- , so . Why this step? Rearranged geometric form turns the number into an angle.
Verify: ✓ positive as forecast. ✓ acute. Look at the figure — the blue shadow of onto lands in the same direction as , confirming the positive sign.
C2 — Perpendicular (dot product is exactly zero)

- . Why this step? Component form directly; a zero here is the perpendicularity test.
- Since both vectors are non-zero and the dot product is , . Why this step? Only , so the geometric form forces a right angle.
Verify: Slopes: rises ; rises . Product of slopes , the classic perpendicular test ✓. In the figure the arrows meet at a clean right angle.
C3 — Opposing (negative, obtuse angle)

- . Why this step? Component form; the negative sign is the whole story.
- , , so . Why this step? Divide by the magnitudes to isolate (never skip the denominator!).
- . Why this step? A negative cosine lands in the second quadrant — obtuse, as predicted.
Verify: ✓ negative. ✓ obtuse. In the figure the shadow of falls in the opposite direction to — that back-pointing shadow is what "negative" looks like.
C4 — Parallel and anti-parallel (limiting cases)
- ; ; . Why this step? We want to compare against the theoretical max .
- (i) . Why this step? Component form. Compare: — it hit the ceiling, so , .
- (ii) . Why this step? Same magnitude but , so , .
Verify: ✓ (max), ✓ (min). The dot product can never exceed because lives in — these two are the boundary. See also Projection of a vector.
C5 — Degenerate: a zero vector
- . Why this step? Every product contains a zero factor, so the sum is .
C6 — 3-D vectors: find the angle
- . Why this step? Component form works identically in 3-D — just add the extra term.
- Since the dot product is and neither vector is zero: . Why this step? Same perpendicularity test as 2-D; dimension doesn't change the logic.
Verify: , , both non-zero ✓, so is genuine. The dot product doesn't care how many dimensions — the shadow idea is the same.
C7 — Real-world work: lift, drag, and brake in one problem

- Rope: . Why this step? Only the horizontal component lies along ; the dot product extracts it.
- Friction: it points opposite to motion, so : . Why this step? Anti-parallel ⇒ ; friction removes energy (negative work is physical, not an error).
- Gravity: to the horizontal path, so . Why this step? Perpendicular force does no work — same reason a carried bag needs no work along level ground.
Verify: Signs match the forecast: , , ✓. Units: N·m = J ✓. Net work goes into kinetic energy — see Work-Energy Theorem. The gravity-does-zero-work idea also drives Circular motion (centripetal force ⟂ velocity).
C8 — Exam twist: solve for the unknown that makes them perpendicular
- Perpendicular condition: . Why this step? Translate "perpendicular" into algebra via the zero-dot-product test.
- . Why this step? Component form gives the equation to solve.
- . Why this step? Isolate .
Verify: Plug back: ✓. So is indeed perpendicular to .
C9 — Self dot product = magnitude squared
- . Why this step? Component form with .
- , so . Why this step? Geometric form with : .
Verify: Direct magnitude: ✓. The self-dot is a shortcut to length-squared — no square root until the last step.
Recall Which cell was which?
C1 acute-positive ::: , C2 perpendicular-zero ::: , C3 obtuse-negative ::: , C4 parallel / anti-parallel limits ::: (max) and (min) C5 zero vector ::: by degeneracy, angle undefined C7 work signs ::: rope J, friction J, gravity J
Connections
- Dot product — formula, geometric meaning, work calculation (parent)
- Vectors — components and unit vectors
- Trigonometry — cosine and components
- Projection of a vector
- Work-Energy Theorem
- Circular motion
- Cross product — area and torque