A vector has magnitude and direction; a scalar has magnitude only. In components, a=a1i^+a2j^+a3k^ with magnitude
∣a∣=a12+a22+a32
The type-checklist (one-markers live here): the zero vector0 has magnitude 0 and no fixed direction; a unit vector has magnitude 1, and the unit vector along a is a^=∣a∣a; collinear vectors satisfy b=λa for some scalar λ; equal vectors have the same magnitude and direction, wherever they start.
Direction cosines: the unit vector's components are the direction cosines: l=∣a∣a1, m=∣a∣a2, n=∣a∣a3, and always l2+m2+n2=1. The components a1,a2,a3 themselves are direction ratios.
Position vectors and the joining vector: if A and B have position vectors a and b, then
AB=b−a(head minus tail)
Section formula: the point dividing AB in ratio m:ninternally has position vector
r=m+nmb+na
(externally: m−nmb−na). The midpoint is 2a+b. Memory hook: the ratio parts attach to the far ends — m multiplies b.
The Dot (Scalar) Product
a⋅b=∣a∣∣b∣cosθ=a1b1+a2b2+a3b3
The output is a scalar. Key consequences:
cosθ=∣a∣∣b∣a⋅b — the angle formula.
a⊥b⟺a⋅b=0 (for nonzero vectors).
a⋅a=∣a∣2 — the workhorse for expanding ∣a+b∣2=∣a∣2+2a⋅b+∣b∣2.
Projection of a on b=∣b∣a⋅b — divide by the magnitude of the vector being projected onto.
Sign of a⋅b = sign of cosθ: positive for acute, zero for right, negative for obtuse angles.
The Cross (Vector) Product
a×b=i^a1b1j^a2b2k^a3b3,∣a×b∣=∣a∣∣b∣sinθ
The output is a vector, perpendicular to both a and b (right-hand rule). Key facts:
a×b=−b×a — anticommutative, unlike the dot product.
a×a=0, and parallel vectors have zero cross product.
Cycle of units: i^×j^=k^, j^×k^=i^, k^×i^=j^ (reverse order flips the sign).
Areas: parallelogram with adjacent sides a,b has area ∣a×b∣; the triangle has area 21∣a×b∣.
Lagrange's identity:∣a×b∣2+(a⋅b)2=∣a∣2∣b∣2 — links the two products when the angle is unknown.
Dot answers angle and projection questions; cross answers area and perpendicular-direction questions. Choosing the wrong product is the chapter's most common wrong turn.
Worked Examples — Basics, Sections and the Dot Product
Example 1 — Unit vector and rescaling
Find the unit vector along a=2i^+2j^−k^, and a vector of magnitude 6 in the same direction.
Step 1 — magnitude:∣a∣=4+4+1=3.
Step 2 — divide, then rescale:a^=31(2i^+2j^−k^).
Answer:a^=32i^+32j^−31k^, and 6a^=4i^+4j^−2k^.
Example 2 — Direction cosines
Find the direction cosines of a=i^+2j^+2k^ and verify their key property.
Step 1 — magnitude:∣a∣=1+4+4=3.
Step 2 — divide each component:l=31, m=32, n=32.
Answer:(31,32,32), and 91+94+94=1 as required.
Example 3 — The joining vector
Find AB and its magnitude for A(1,2,3) and B(4,0,−1).
Step 1 — head minus tail:AB=(4−1)i^+(0−2)j^+(−1−3)k^=3i^−2j^−4k^.
Step 2 — magnitude:9+4+16.
Answer:AB=3i^−2j^−4k^, ∣AB∣=29.
Example 4 — Collinearity
Show that a=2i^+3j^−k^ and b=−4i^−6j^+2k^ are collinear.
Step 1 — hunt for a common ratio:2−4=3−6=−12=−2.
Answer:b=−2a, so the vectors are collinear (parallel, opposite senses) — one scalar λ must work for all three components.
Example 5 — Section formula
Find the position vector of the point dividing the join of P(i^+2j^−k^) and Q(4i^−j^+2k^) in the ratio 2:1 internally.
Step 1 — apply m+nmq+np with m=2, n=1:r=32(4i^−j^+2k^)+1(i^+2j^−k^)=39i^+0j^+3k^
Answer:3i^+k^ — the ratio's first number multiplies the second point.
Example 6 — Angle between two vectors
Find the angle between a=i^+j^ and b=j^+k^.
Step 1 — the three ingredients:a⋅b=0+1+0=1, ∣a∣=∣b∣=2.
Step 2 — angle formula:cosθ=2⋅21=21.
Answer:θ=3π.
Example 7 — Fixing a parameter by perpendicularity
Find λ if a=2i^+λj^+k^ and b=i^−2j^+3k^ are perpendicular.
Step 1 — set the dot product to zero:2−2λ+3=0.
Answer:λ=25 — perpendicularity is always one linear equation via the dot product.
Example 8 — Projection
Find the projection of a=2i^+3j^+2k^ on b=i^+2j^+k^.
Step 1 — the formula: projection =∣b∣a⋅b=62+6+2.
Answer:610=356 — divide by ∣b∣, the vector being projected onto, never ∣a∣.
Worked Examples — Dot-Product Identities and the Cross Product
Example 9 — Three vectors summing to zero
If a+b+c=0 with ∣a∣=3, ∣b∣=5, ∣c∣=7, find the angle between a and b.
Step 1 — isolate and square:a+b=−c, so ∣a∣2+2a⋅b+∣b∣2=∣c∣2.
Step 2 — solve:9+25+2a⋅b=49, so a⋅b=215 and cosθ=3⋅515/2=21.
Answer:θ=3π — squaring a vector equation with a⋅a=∣a∣2 is the standard unlock.
Example 10 — Cross product and the unit perpendicular
Find a unit vector perpendicular to both a=i^+j^+k^ and b=i^+2j^+3k^.
Step 1 — cross product by determinant:a×b=i^11j^12k^13=i^(3−2)−j^(3−1)+k^(2−1)=i^−2j^+k^
Step 2 — normalise:∣a×b∣=1+4+1=6.
Answer:±61(i^−2j^+k^) — both signs are perpendicular; state the ± unless an orientation is given.
Example 11 — Area of a parallelogram
Find the area of the parallelogram with adjacent sides a=3i^+j^+4k^ and b=i^−j^+k^.