Skip to content

9709 · Unit 15 · Paper 3 only: Pure Mathematics 3

Vectors and lines in space.

9709 · Unit 15 · Vectors and lines in space
Revisionbyexamplicity

Position vectors and vector arithmetic

§3.7 · Vectors

A vector is a movement: how far, and which way. A position vector says how to get from the origin O to a point; a displacement says how to get from one point to another. Every line in this unit is built from these two.

1Finish minus start

To go from A to H, take where you finish and subtract where you start: AH = OH − OA.
Worked example

A is (1, −2, 3) and H is (4, 0, 2). Find the vector AH.

  1. Write the position vectors
    OA→ = (1−23)OH→ = (402)
  2. Finish minus start
    AH→ = (402) − (1−23)
  3. Answer
    AH→ = (32−1)
OA (1, −2, 3)H (4, 0, 2)AH = (3, 2, −1)
HA goes the other way: HA = −AH = (−3, −2, 1). Sliding an arrow without turning it keeps the same vector; moving the origin changes every position vector.

2Columns and i, j, k

i, j and k are vectors of length 1 along the x, y and z axes. A column and an i, j, k sum are the same vector.
(32−1) = 3i + 2j − k;in two dimensions drop k:(32) = 3i + 2j

3Add, reverse and scale

Add head to tail: A to H, then H to E, ends where A to E does. Multiplying by a number stretches every component; a negative number also turns it round.
AHEDPA → H → E and A → D → E
Worked example

AHED is a parallelogram: A is (1, −2, 3), AH = (3, 2, −1) and AD = (2, −3, 0). Find AE, DE and the point P with AP = 2AH.

  1. Go A → H → E
    AE→ = (32−1) + (2−30) = (5−1−1)
  2. Opposite sides are equal vectors
    DE→ = (6−32) − (3−53) = (32−1)
  3. Scale AH by 2
    AP→ = (64−2)
  4. Answer
    AE = (5, −1, −1); DE = AH; P is (7, 2, 1)
−2AH = (−6, −4, 2): twice as long, the opposite way. 0 × AH is the zero vector, which has no direction.

4Midpoints

The midpoint of AP has position vector ½(OA + OP): average each coordinate.
  1. Add OA and OP: (1 + 7, −2 + 2, 3 + 1)
    OH→ = ½(804)
  2. Answer
    OH→ = (402)Halve each component: H(4, 0, 2) is the midpoint of AP.
OH→ = ½(804)Add OA and OP: (1 + 7, −2 + 2, 3 + 1).OH→ = (402)Halve each component: H(4, 0, 2) is the midpoint of AP.

5Try it

Your turn

1 A is (2, 1, −1) and B is (5, −3, 1). Find AB, as a column and in i, j, k form.

2 Find the midpoint of AB.

3 a = i + 2j and b = 3i − j + 4k. Find 2a − b.

  1. 1
    AB = (3, −4, 2) = 3i − 4j + 2k
  2. 2
    (7/2, −1, 0)
  3. 3
    (2 − 3, 4 + 1, 0 − 4) = (−1, 5, −4) = −i + 5j − 4k
Tick what you can do now
Practise with s26/35 Q11(a); s26/33 Q11(a); w23/31 Q11(a) (older paper; related cuboid midpoint practice)
1 / 5
9709 · Unit 15 · Vectors and lines in space
Revisionbyexamplicity

Lengths, unit vectors and angles

§3.7 · Vectors

Two questions come up again and again: how long is a vector, and what angle do two vectors make? Pythagoras in three directions gives the length. The scalar product, one number made from two vectors, gives the angle and shows at once when they are perpendicular.

1Length and unit vector

|v| = √(x² + y² + z²). A unit vector has length 1: divide v by |v|. In two dimensions leave out z.
Worked example

Find |d| and the unit vector in the direction of d = (3, 2, −1).

  1. Square, add, take the square root
    |d|=32+22+(−1)2 = 14
  2. Divide every component by √14
    d̂ = 114(32−1)
  3. Answer
    |d| = √14, and d̂ = (3, 2, −1)/√14
✓Check 9/14 + 4/14 + 1/14 = 1, so d̂ has length 1

2A missing component

Square the given length. A square root then gives two signs; the question’s condition picks one.
Worked example

The vector (3, 2, k) has length √14 and a negative z component. Find k.

  1. Square the whole length
    9+4+k2=14
  2. Solve: two signs
    k2=1 ⇒ k = ±1
  3. Answer
    k = −1, because z must be negative
v and −v have the same length but opposite directions. The zero vector has length 0, so it has no unit vector.

3Scalar product and angle

a · b = a₁b₁ + a₂b₂ + a₃b₃ = |a||b| cos θ. If a · b = 0 (and neither is zero), the vectors are perpendicular.
Worked example

Find the angle between d = (3, 2, −1) and e = (1, −1, 2).

  1. Multiply matching components and add
    (32−1) · (1−12) = 3 − 2 − 2 = −1
  2. Divide by both lengths
    cos θ=−1146
  3. Answer
    θ = 96.3°
de96.3°The plane containing d and e
Worked example

Find the acute angle between lines with directions d and e.

  1. A line has no arrow, so take the acute angle
    180° − 96.26…°
  2. Answer
    83.7°Or use |d · e| in the cosine from the start.
Find the acute angle between lines with directions d and e.
180° − 96.26…°A line has no arrow, so take the acute angle.83.7°Or use |d · e| in the cosine from the start.

4Conditions give components

Turn each condition into an equation: perpendicular gives a dot product of 0; equal angles give equal cosines.
Worked example

w = (p, q, 2) is perpendicular to d = (3, 2, −1) and makes equal angles with u = (3, 0, 0) and v = (0, 4, 0). Find p and q.

  1. Perpendicular to d
    w · d=3p + 2q − 2 = 0
  2. Equal angles: equal cosines
    3p3|w|=4q4|w|
  3. Cancel and solve
    p=q3p+2p=2
  4. Answer
    p = q = 2/5, so w = (2/5, 2/5, 2)
Equal angles do not mean equal dot products: here w · u = 6/5 and w · v = 8/5, because u and v have different lengths.

5Try it

Your turn

1 Find the length of (2, −1, 2) and a unit vector in its direction.

2 Find the angle between (1, 2, 2) and (2, 0, 1).

3 Find k so that (k, 2, −1) is perpendicular to (3, k, 4).

  1. 1
    √(4 + 1 + 4) = 3; (2/3, −1/3, 2/3)
  2. 2
    dot product 4; cos θ = 4/(3√5), θ = 53.4°
  3. 3
    3k + 2k − 4 = 0, so k = 4/5
Tick what you can do now
Practise with s26/33 Q11(b); s26/35 Q11(c) (related vector-length practice); m26/32 Q11(b)
2 / 5
9709 · Unit 15 · Vectors and lines in space
Revisionbyexamplicity

The equation of a line

§3.7 · Vectors

To describe a straight line in space, say where it starts and which way it goes: r = a + td. Start at the point a, then take any number t of steps d. Each value of t gives one point on the line.

1Write the line

Find a direction (finish minus start), then use any known point as the start.
Worked example

Find an equation of the line L through A(1, −2, 3) and P(7, 2, 1).

  1. Direction: finish minus start
    AP→ = (64−2) = 2(32−1)
  2. Any multiple will do; use the simplest
    d=(3, 2, −1)
  3. Start at A
    r = (1−23) + t(32−1)
  4. Answer
    L: r = (1, −2, 3) + t(3, 2, −1)
A: t = 0H: t = 1P: t = 2A + one copy of d reaches H
t is not a length: t = 0 is A, t = 1 is H, t = 2 is P. Each step of 1 moves √14.

2Is a point on it?

Write the line as three equations. A point is on it when one value of t fits all three.
x = 1 + 3t, y = −2 + 2t, z = 3 − t
Worked example

Is H(4, 0, 2) on L?

  1. Find t from one coordinate
    x: 4=1 + 3t, so t = 1
  2. Check the other two
    y=0 and z = 2 when t = 1
  3. Answer
    yes, at t = 1All three agree.
Worked example

Is (4, 0, 3) on L?

  1. Same t so far
    x and y give t=1
  2. The third check fails
    z=3 − 1 = 2, not 3
  3. Answer
    noOne coordinate is enough to fail.
Is H(4, 0, 2) on L?
x: 4 = 1 + 3t, so t = 1Find t from one coordinate.y = 0 and z = 2 when t = 1Check the other two.yes, at t = 1All three agree.
Is (4, 0, 3) on L?
x and y give t = 1Same t so far.z = 3 − 1 = 2, not 3The third check fails.noOne coordinate is enough to fail.

3Parallel: same line or not?

Lines are parallel when their directions are multiples of each other. Then test one point: if it is on both lines, they are the same line.
AHESame direction; E is off L
Worked example

Compare L with K: r = (4, 0, 2) + u(6, 4, −2) and J: r = (6, −3, 2) + v(6, 4, −2).

  1. Directions
    (6, 4, −2)=2(3, 2, −1): both are parallel to L
  2. Is K’s start H on L?
    yes, at t=1: K and L are the same line
  3. Is J’s start E(6, −3, 2) on L?
    z gives t=1, but L(1) = (4, 0, 2), not E
  4. Answer
    K is L itself; J is parallel to L but separate
“Different direction vectors” proves nothing: d and 2d are different vectors along the same line. Look for one number that scales every component.

4Try it

Your turn

1 Find an equation of the line through (1, 0, 2) and (3, 1, 5).

2 Is (7, 3, 11) on this line?

3 Is r = (0, 1, 0) + u(−4, −2, −6) the same line, parallel, or neither?

  1. 1
    r = (1, 0, 2) + t(2, 1, 3)
  2. 2
    yes: t = 3 fits all three coordinates
  3. 3
    (−4, −2, −6) = −2(2, 1, 3), so parallel; x gives t = −½ but then y = −½, not 1, so (0, 1, 0) is not on the first line: parallel and separate
Tick what you can do now
Practise with s26/31 Q9(a); s26/32 Q9(a); s26/33 Q11(a); s26/31 Q9(b); s26/32 Q9(b)
3 / 5
9709 · Unit 15 · Vectors and lines in space
Revisionbyexamplicity

Do two lines meet? Intersecting and skew lines

§3.7 · Vectors

Two straight rods in a room can cross, run side by side, or pass one above the other without touching. In space that last case is common: skew lines are not parallel and never meet. Three checks sort any pair of lines.

1Check the directions first

If the directions are multiples, the lines are parallel. If not, they either meet or are skew.
  1. Directions of L and M
    (3, 2, −1) and (1, −1, 2)
  2. No single number scales one to the other
    x needs ×3, y needs ×(−2)
  3. Answer
    L and M are not parallelSo they meet or are skew.
(3, 2, −1) and (1, −1, 2)Directions of L and M.x needs ×3, y needs ×(−2)No single number scales one to the other.L and M are not parallelSo they meet or are skew.

2Solve two coordinates, check the third

Use a different letter for each line’s parameter. Solve two coordinate equations, then the third decides.
Worked example

Find where L: r = (1, −2, 3) + t(3, 2, −1) meets M: r = (6, 3, −1) + s(1, −1, 2).

  1. Match x and y
    1 + 3t=6 + s, so 3t − s = 5−2 + 2t=3 − s, so 2t + s = 5
  2. Solve the pair
    add: 5t=10, so t = 2s=3(2) − 5 = 1
  3. Check z on both lines
    L: z=3 − 2 = 1M: z=−1 + 2(1) = 1
  4. Answer
    the lines meet at P(7, 2, 1)
ABP (7, 2, 1)L: A + td

3When the third check fails

Raise M by 1 in z: N: r = (6, 3, 0) + s(1, −1, 2). The same x and y working gives t = 2, s = 1.
0369−3−1135(7, 2)xyx–y projection: z has been discarded
AL: (7, 2, 1)N: (7, 2, 2)L: A + td
  1. The third coordinate does not agree
    L: z=1; N: z = 0 + 2(1) = 2
  2. Two different points, one above the other
    L(2)=(7, 2, 1), N(1) = (7, 2, 2)
  3. Answer
    L and N are skewNot parallel (step 1) and they do not meet.
L: z = 1; N: z = 0 + 2(1) = 2The third coordinate does not agree.L(2) = (7, 2, 1), N(1) = (7, 2, 2)Two different points, one above the other.L and N are skewNot parallel (step 1) and they do not meet.
A crossing on a flat drawing is not a meeting in space: looking down the z-axis puts (7, 2, 1) and (7, 2, 2) on top of each other.

4Try it

Your turn

1 Are the directions (2, 1, −1) and (4, 2, −2) parallel?

2 Find where r = (1, 0, 2) + t(1, 1, 0) meets r = (2, 3, 4) + s(0, 1, 1).

3 Show that r = (1, 0, 2) + t(1, 1, 0) and r = (2, 3, 0) + s(0, 1, 1) are skew.

  1. 1
    yes: (4, 2, −2) = 2(2, 1, −1)
  2. 2
    x: t = 1; y: 1 = 3 + s, so s = −2; z: 2 = 4 − 2 ✓; they meet at (2, 1, 2)
  3. 3
    not parallel (no multiple of (1, 1, 0) has z = 1); x and y give t = 1, s = −2, but z: 2 ≠ 0 − 2 = −2, so they never meet
Tick what you can do now
Practise with s26/31 Q9(b); s26/32 Q9(b) (related classification practice)
4 / 5
9709 · Unit 15 · Vectors and lines in space
Revisionbyexamplicity

Perpendicular distance, angles and area

§3.7 · Vectors

How close does a line pass to a point? The shortest path meets the line at a right angle, at the foot of the perpendicular. The same method, a general point on the line and then a dot product, also finds a point at a set angle and the height of a shape.

1Foot and shortest distance

Write the foot as a general point of the line. The joining vector is perpendicular to the line’s direction, so its dot product with d is 0.
Worked example

Find the shortest distance from E(6, −3, 2) to L: r = (1, −2, 3) + t(3, 2, −1).

  1. General point of L
    H=(1 + 3t, −2 + 2t, 3 − t)EH→ = (3⁢t−52⁢t+11−t)
  2. Perpendicular to d
    3(−5 + 3t) + 2(1 + 2t) − (1 − t)=014t − 14=0, so t = 1
  3. Find the foot and the length
    H=(4, 0, 2), EH = (−2, 3, 0)|EH|=4+9+0 = 13
  4. Answer
    distance √13
✓Check (−2, 3, 0) · (3, 2, −1) = −6 + 6 = 0; EA = √27 is longer
E (6, −3, 2)H (4, 0, 2)A

2A point at a set angle

Put the general point into cos θ = a · b / (|a||b|). Squaring can add a wrong root, so test each root in the unsquared equation.
Worked example

X is on L, and OX makes 60° with the positive x-axis. Find the position vector of X exactly.

  1. Set up the cosine
    OX=(1 + 3t, −2 + 2t, 3 − t); i has length 13t+114t2−8t+14=12
  2. Square and collect
    4(3t+1)2=14t2−8t+1411t2+16t−5=0
  3. Solve and test the signs
    t=−8+11911 or t=−119−811
  4. Answer
    OX→ = 111(−13+3⁢119−38+2⁢11941−119)
✓Check X ≈ (1.79, −1.47, 2.74), and OX · i/|OX| = 1/2

3The area of a shape

Prove the shape with vectors first (which sides are parallel), then use lengths and a perpendicular height.
APEDH√13AP ∥ DE; EH ⟂ AP
Worked example

A(1, −2, 3), P(7, 2, 1), E(6, −3, 2) and D(3, −5, 3) form APED. Show it is a trapezium and find its exact area.

  1. One pair of sides parallel
    AP→ = (64−2) = 2DE→
  2. The other pair not
    PE=(−1, −5, 1), AD = (2, −3, 0): not multiples
  3. Lengths and height
    |AP|=2√14, |DE| = √14height EH=√13 (step 1), EH ⟂ AP
  4. Trapezium area
    ½(2√14 + √14) × √13
  5. Answer
    area=32182 square units

4Try it

Your turn

1 Find the foot of the perpendicular from C(1, 5, 0) to r = t(1, 1, 0), and the distance.

2 O is (0, 0, 0) and B is (6, 6, 0), both on that line. Find the area of triangle OBC.

3 X is on r = (1, 0, 0) + t(0, 1, 0), and OX makes 45° with i. Find the possible X.

  1. 1
    (t − 1, t − 5, 0) · (1, 1, 0) = 2t − 6 = 0, so t = 3: foot (3, 3, 0), distance √8 = 2√2
  2. 2
    ½ × 6√2 × 2√2 = 12
  3. 3
    1/√(1 + t²) = 1/√2, so t = ±1; both keep cos 45° positive: X = (1, 1, 0) or (1, −1, 0)
Tick what you can do now
  • not yet? step 1
  • not yet? step 2
  • not yet? step 3
Practise with m26/32 Q11(a); s26/33 Q11(c); s26/35 Q11(b); s26/32 Q9(c); s26/35 Q11(a), Q11(b), Q11(c)
5 / 5