I can
- find a point on a line for a given value of t
- write the line through two points A and B
- find a missing coordinate of a point on a line
Key idea
A line in space is written (x, y, z) = (start point) + t(direction). The start point and the direction are both vectors with three parts. Each value of t gives one point on the line.
The line through A and B is r = A + t(B − A). The direction is the vector AB. When t = 0 you get A, and when t = 1 you get B.
If a point on the line has one unknown coordinate k, use a known coordinate to find t first. Then put t in the third equation to find k.
Worked examples
Example 1: L: (x, y, z) = (1, 2, 3) + t(2, −1, 0). Find the point when t = 3.
Watch it: the line (1, 2, 3) + t(2, −1, 0): the point when t = 3, step by step:
- Multiply the direction by t = 3.
- Add to (1, 2, 3).
- That is the point at t = 3.
- The line starts at (1, 2, 3). Three steps along it reach (7, −1, 3).
- 3 × (2, −1, 0) = (6, −3, 0).
- Add the start point: (1 + 6, 2 − 3, 3 + 0).
The point is (7, −1, 3).
Example 2: A(1, 0, 2), B(3, 4, −2). The line is r = A + t(B − A). Find the point when t = 2.
Watch it: A(1, 0, 2), B(3, 4, −2): the point on r = A + t(B − A) when t = 2, step by step:
- Subtract: (3 − 1, 4 − 0, −2 − 2).
- Multiply by t = 2.
- Add to A = (1, 0, 2).
- That is the point at t = 2.
- At t = 1 the line is at B. At t = 2 it has gone twice as far.
- B − A = (2, 4, −4).
- 2 × (2, 4, −4) = (4, 8, −8).
- Add A: (1 + 4, 0 + 8, 2 − 8).
The point is (5, 8, −6).
Example 3: L: (x, y, z) = (2, 1, −3) + t(1, 2, −1). The point (5, 7, k) lies on the line. Find k.
Watch it: the line (2, 1, −3) + t(1, 2, −1) passes through (5, 7, k): find k, step by step:
- Use x: 2 + t = 5.
- Take 2 from both sides: t = 3.
- Check y: 1 + 2 × 3 = 7. Yes.
- z: −3 − 1 × 3 = −6.
- So k = −6.
- Use x: 2 + t = 5, so t = 3.
- Check y: 1 + 2 × 3 = 7. Yes.
- z: −3 − 3 = −6.
k = −6
Try it
Show answer
(6, 2, 5)Show answer
(-3, 5, -1)Show answer
(4, 7, -2)Show answer
5Show answer
4Common mistakes
- Forgetting to multiply every part of the direction by t.
- Using A − B for the direction. For the line through A and B the direction is B − A, if r = A + t(B − A).
- Finding t but not putting it into the unknown coordinate.
Remember
- Point = start + t × direction.
- Use a known coordinate to find t.
Practise this
Worksheets 101 to 110 of Vectors practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh