Intuition What this page is
The parent note gave you the machine.
Here we feed it every kind of input — positive overlap, negative overlap, perpendicular, a zero vector, parallel vectors, a real-world word problem, and an exam twist — so you never meet a case you haven't already seen worked.
Reminders (all built in the parent):
A vector is an arrow with components, e.g. a = ( a 1 , a 2 ) : go a 1 right, a 2 up.
The dot product a ⋅ b = a 1 b 1 + a 2 b 2 + … — multiply matching slots, add.
Length ∥ a ∥ = a ⋅ a (Pythagoras).
Angle cos θ = ∥ a ∥∥ b ∥ a ⋅ b , where θ is between 0 ∘ and 18 0 ∘ .
Every worked example below is tagged with the cell it fills. The goal: cover the whole table.
Cell
Case class
Sign of a ⋅ b
Angle θ
Example
C1
Acute — arrows lean the same way
positive
0 ∘ < θ < 9 0 ∘
Ex 1
C2
Right angle — perpendicular
zero
θ = 9 0 ∘
Ex 2
C3
Obtuse — arrows lean apart
negative
9 0 ∘ < θ < 18 0 ∘
Ex 3
C4
Parallel same-way (equality in C–S)
= + ∥ a ∥∥ b ∥
θ = 0 ∘
Ex 4
C5
Anti-parallel (equality, other sign)
= − ∥ a ∥∥ b ∥
θ = 18 0 ∘
Ex 4
C6
Degenerate — one vector is 0
= 0 but not perpendicular
undefined
Ex 5
C7
Higher dimension (R 3 / R 4 )
any
any
Ex 6
C8
Real-world word problem (work / teamwork)
any
any
Ex 7
C9
Exam twist — solve for an unknown
forced to a value
forced
Ex 8
C10
Cauchy–Schwarz sanity, strict vs equality
—
—
Ex 9
Worked example Positive overlap
a = ( 3 , 1 ) , b = ( 1 , 2 ) . Find a ⋅ b and the angle θ .
Forecast: the arrows both point up-and-right, so guess a positive dot product and an angle less than 9 0 ∘ .
a ⋅ b = 3 ⋅ 1 + 1 ⋅ 2 = 3 + 2 = 5.
Why this step? The component formula: multiply matching slots, add. Positive, as forecast.
∥ a ∥ = 3 2 + 1 2 = 10 , ∥ b ∥ = 1 2 + 2 2 = 5 .
Why this step? Length = a ⋅ a ; we need lengths to strip them off and expose cos θ .
cos θ = 10 5 5 = 50 5 = 5 2 5 = 2 1 .
Why this step? Rearranging the geometric formula for cos θ isolates the angle.
θ = arccos ( 2 1 ) = 4 5 ∘ .
Why this step? arccos answers "which angle has this cosine?" — it undoes the cosine.
Verify: 0 ∘ < 4 5 ∘ < 9 0 ∘ ✔ acute, matching the positive dot product. See the figure — the arrows visibly lean the same way.
Worked example Zero dot product = perpendicular
a = ( 2 , 3 ) , b = ( 3 , − 2 ) . Are they perpendicular?
Forecast: swap the components and flip one sign — that's the classic "rotate 9 0 ∘ " trick. Guess yes, perpendicular .
a ⋅ b = 2 ⋅ 3 + 3 ⋅ ( − 2 ) = 6 − 6 = 0.
Why this step? If the sum is exactly 0 , then cos θ = 0 , forcing θ = 9 0 ∘ .
Both vectors are nonzero, so the zero is not an accident of a zero input — it's genuine perpendicularity.
Why this step? This is the subtle case: a ⋅ b = 0 means perpendicular only when neither vector is 0 (see Ex 5).
Verify: ∥ a ∥ = 13 , ∥ b ∥ = 13 , both nonzero. Dot product 0 ⇒ θ = 9 0 ∘ ✔. In the figure the arrows form a clean corner.
Worked example Negative overlap
a = ( 1 , 2 ) , b = ( − 3 , 1 ) . Find θ .
Forecast: b points up-and-left while a points up-and-right — they lean apart . Guess a negative dot product and θ > 9 0 ∘ .
a ⋅ b = 1 ⋅ ( − 3 ) + 2 ⋅ 1 = − 3 + 2 = − 1.
Why this step? Negative sum ⇒ negative cos θ ⇒ obtuse angle, as forecast.
∥ a ∥ = 5 , ∥ b ∥ = 10 .
Why this step? Need lengths for the cosine formula.
cos θ = 5 10 − 1 = 50 − 1 = 5 2 − 1 ≈ − 0.1414.
Why this step? Isolate the angle. The sign of cos θ carries the "leaning apart" information.
θ = arccos ( − 0.1414 ) ≈ 98.1 3 ∘ .
Why this step? arccos of a negative number lands in ( 9 0 ∘ , 18 0 ∘ ) automatically — no quadrant fix needed, because θ is defined on [ 0 ∘ , 18 0 ∘ ] only.
Verify: θ ≈ 98.1 3 ∘ > 9 0 ∘ ✔ obtuse, matching negative dot product.
Worked example The two equality cases of Cauchy–Schwarz
Take a = ( 2 , 4 ) .
Case C4: b = ( 1 , 2 ) (same direction, a = 2 b ).
Case C5: c = ( − 1 , − 2 ) (opposite direction, a = − 2 c ).
Forecast: parallel vectors make ∣ cos θ ∣ = 1 , so Cauchy–Schwarz should be an equality , not a strict inequality. Same-way → + ; opposite → − .
a ⋅ b = 2 ⋅ 1 + 4 ⋅ 2 = 2 + 8 = 10. And ∥ a ∥∥ b ∥ = 20 ⋅ 5 = 100 = 10.
Why this step? We compare the dot product to the length-product to test equality.
So cos θ = 10 10 = 1 ⇒ θ = 0 ∘ — perfectly aligned (C4).
Why this step? cos θ = 1 is the only value giving θ = 0 ; the arrows overlap in direction.
a ⋅ c = 2 ( − 1 ) + 4 ( − 2 ) = − 2 − 8 = − 10. And ∥ a ∥∥ c ∥ = 20 ⋅ 5 = 10.
Why this step? Same magnitudes, but the sign flips because the arrow is reversed.
cos θ = 10 − 10 = − 1 ⇒ θ = 18 0 ∘ — anti-parallel (C5).
Why this step? cos θ = − 1 is the unique value at θ = 18 0 ∘ .
Verify: In both cases ∣ a ⋅ b ∣ = ∥ a ∥∥ b ∥ = 10 — equality in Cauchy–Schwarz exactly when parallel ✔. Contrast Ex 9, where it's strict.
a ⋅ b = 0 is not always "perpendicular"
a = ( 5 , − 7 ) , b = 0 = ( 0 , 0 ) . What is a ⋅ b , and what is the angle?
Forecast: everyone reflexively says "0 dot product ⇒ perpendicular." But a zero-length arrow has no direction — so there is no angle to speak of. Guess: dot product 0 , but "perpendicular" is meaningless here.
a ⋅ b = 5 ⋅ 0 + ( − 7 ) ⋅ 0 = 0.
Why this step? Every term contains a factor 0 , so the sum collapses to 0 .
Try the angle formula: cos θ = ∥ a ∥ ⋅ 0 0 = 0 0 — undefined .
Why this step? ∥ b ∥ = 0 sits in the denominator. Division by zero means no angle exists.
Conclusion: a ⋅ 0 = 0 for any a , but this is a degenerate zero, not perpendicularity.
Why this step? True perpendicularity (Ex 2) needs both vectors nonzero.
Verify: Pick any other a , say ( 100 , 3 ) : a ⋅ 0 = 0 still. The zero output is forced by b = 0 , independent of direction ✔.
a ⋅ b = 0 ⇒ perpendicular" — always?
Why it feels right: it's the headline rule.
Fix: It holds only when both vectors are nonzero . With a zero vector the dot product is 0 for a trivial reason, and no angle is defined.
Worked example Same machine in
R 4
a = ( 1 , − 1 , 2 , 0 ) , b = ( 3 , 1 , 1 , 4 ) in R 4 . Find a ⋅ b and cos θ .
Forecast: We can't draw 4D, but the formula doesn't care — it just sums four products. This is where the algebraic definition earns its keep (the parent stressed this).
a ⋅ b = 1 ⋅ 3 + ( − 1 ) ⋅ 1 + 2 ⋅ 1 + 0 ⋅ 4 = 3 − 1 + 2 + 0 = 4.
Why this step? Component formula extends to any dimension — one slot per coordinate.
∥ a ∥ = 1 + 1 + 4 + 0 = 6 , ∥ b ∥ = 9 + 1 + 1 + 16 = 27 = 3 3 .
Why this step? ∥ ⋅ ∥ = x ⋅ x holds in every dimension.
cos θ = 6 ⋅ 3 3 4 = 3 18 4 = 9 2 4 ≈ 0.3143.
Why this step? The geometric formula still defines an angle in R 4 — and Cauchy–Schwarz (parent §3) is exactly what guarantees this ratio stays in [ − 1 , 1 ] .
θ = arccos ( 0.3143 ) ≈ 71.6 8 ∘ .
Verify: Cauchy–Schwarz check: ∣ a ⋅ b ∣ = 4 and ∥ a ∥∥ b ∥ = 3 18 ≈ 12.73 , so 4 ≤ 12.73 ✔ — the cosine is safely inside [ − 1 , 1 ] . See also Inner product spaces for abstract versions.
Worked example Work done by a force
A box is pushed by a force F = ( 6 , 2 ) newtons while it slides along displacement d = ( 4 , 0 ) metres. Work is defined as W = F ⋅ d (joules). Compute W , and find how much of the force actually helped.
Forecast: only the part of the force along the motion does work. The force leans slightly up, so some is "wasted" pushing into nothing. Guess W a bit less than ∣ F ∣ ⋅ ∣ d ∣ .
W = F ⋅ d = 6 ⋅ 4 + 2 ⋅ 0 = 24 joules.
Why this step? Work is a dot product — it measures force-in-the-direction-of-motion, exactly what the dot product does.
∥ F ∥ = 36 + 4 = 40 = 2 10 , ∥ d ∥ = 4.
Why this step? We need these to find the angle and the "useful fraction."
cos θ = 2 10 ⋅ 4 24 = 8 10 24 = 10 3 ≈ 0.9487 , θ ≈ 18.4 3 ∘ .
Why this step? The angle tells us how well aligned the push is with the slide.
Force component along d : ∥ F ∥ cos θ = 2 10 ⋅ 10 3 = 6 N. That's the projection of F onto d .
Why this step? W = ( useful force ) × ( distance ) = 6 × 4 = 24 J — matches step 1, a nice consistency check.
Verify: Units: N·m = J ✔. If the force were straight up (F = ( 0 , 2 ) ), W = ( 0 ) ( 4 ) + ( 2 ) ( 0 ) = 0 — no work, correct, since pushing sideways to the motion does nothing ✔.
k making the vectors perpendicular
For what value(s) of k is a = ( k , 3 ) perpendicular to b = ( k , − 12 ) ?
Forecast: perpendicular ⇔ dot product = 0 . That's a single equation in k — likely a quadratic, so expect up to two answers.
Perpendicular condition: a ⋅ b = 0 .
Why this step? This is the defining test for a right angle (both vectors will be nonzero for our solutions).
a ⋅ b = k ⋅ k + 3 ⋅ ( − 12 ) = k 2 − 36.
Why this step? Apply the component formula symbolically, keeping k as an unknown.
Set k 2 − 36 = 0 ⇒ k 2 = 36 ⇒ k = ± 6.
Why this step? A quadratic gives both signs — a common exam trap is dropping k = − 6 .
Verify:
k = 6 : a = ( 6 , 3 ) , b = ( 6 , − 12 ) , dot = 36 − 36 = 0 ✔.
k = − 6 : a = ( − 6 , 3 ) , b = ( − 6 , − 12 ) , dot = 36 − 36 = 0 ✔.
Both give nonzero vectors, so both are genuine right angles (orthogonal) ✔.
Worked example Watching the inequality tighten
Compare two pairs against ∣ a ⋅ b ∣ ≤ ∥ a ∥∥ b ∥ :
Pair A (not parallel): a = ( 3 , 4 ) , b = ( 1 , 2 ) .
Pair B (parallel): a = ( 3 , 4 ) , b = ( 6 , 8 ) .
Forecast: Pair A should be strict (< ); Pair B, being parallel, should be an equality (= ).
Pair A: ∣ a ⋅ b ∣ = ∣3 + 8∣ = 11. RHS = ∥ a ∥∥ b ∥ = 5 ⋅ 5 ≈ 11.180.
Why this step? Directly plug into both sides of the inequality.
11 < 11.180 — strict, because no scalar t gives a = t b (check: 3/1 = 4/2 ).
Why this step? Strictness ⇔ non-parallel, per the parent's equality condition.
Pair B: ∣ a ⋅ b ∣ = ∣3 ⋅ 6 + 4 ⋅ 8∣ = ∣18 + 32∣ = 50. RHS = 5 ⋅ 100 = 5 ⋅ 10 = 50.
Why this step? Here b = 2 a exactly, so the "leftover perpendicular part" is zero and the bound is hit.
50 = 50 — equality, confirming Pair B is parallel.
Verify: 11 ≤ 11.180 ✔ (strict) and 50 ≤ 50 ✔ (equality). The discriminant proof (parent §3) predicts exactly this: equality iff ∥ a − t b ∥ = 0 for some t ✔.
Recall Which cell is which sign?
Positive dot product means angle is... ::: acute (0 ∘ < θ < 9 0 ∘ )
Zero dot product with both vectors nonzero means... ::: perpendicular (θ = 9 0 ∘ )
Negative dot product means angle is... ::: obtuse (9 0 ∘ < θ < 18 0 ∘ )
a ⋅ 0 = 0 tells us the angle is... ::: undefined (no direction for 0 ), NOT perpendicular
Cauchy–Schwarz is an equality exactly when... ::: the vectors are parallel
Mnemonic Sign = teamwork score
+ together, 0 at a corner, − pulling apart. The number's sign is the whole story of the angle.
Related: Vector projection , Triangle inequality , Law of cosines , Cross product (the vector-valued cousin).