Vector equations of lines
In a minute
A line in 2D or 3D is fixed by one point on it and one direction. The turns that into a formula for every point on the line. From it you get the line's other forms, the angle between two lines, and a model of straight-line motion.
You'll be able to
- Write a vector equation of a line from a point and a direction, or from two points, in 2D and 3D.
- Move between vector, parametric and Cartesian forms, reading the point and the direction correctly.
- Find the acute angle between two lines from their direction vectors, and test whether they are perpendicular.
- Model straight-line motion: read the starting position, velocity and speed, and find where and when things happen.
Before you start3 quick questions on what this builds on
Revise first: 3.12 Vectors in 2D and 3D and 3.13 Scalar product and angles
The vector equation of a line
In 2D you can fix a line by a point and a gradient. In 3D there is no single gradient, so you give the direction as a vector instead. One point plus one direction pins down exactly one line.
Picture standing at a point A on the line. To reach any other point on it, you walk forwards or backwards along the line's direction. A says this in symbols.
Here is what each letter means. is the position vector of a known point A: the vector from the origin O, as in 3.12. is a : any non-zero vector parallel to the line.
(lambda) is a real number you choose. Each value of gives one point, and is that point's position vector. gives A, gives the point one step of further on, and negative values go backwards.
As runs through every real number, the points fill the whole line. That is why it is called the vector equation of the line.
The formula is in the booklet. Always write the at the start. Without it you have an expression, not an equation, and you lose the mark.
A line has many vector equations. You can start from any point on it, and use any non-zero multiple of as the direction. So and are the same line.
The same equation works in 2D, with two components, and in 3D, with three.
For a line through two points P and Q, start from either point. For the direction, use the displacement .
Try it first, then reveal one step at a time.
- Use the point as and the parallel vector as : .
- Write the general point: .
- On the -axis, . So , which gives .
- Substitute into the -component: .
- Check: one step of from lands on , which is on the -axis.
Try it first, then reveal one step at a time.
- Find the direction: .
- Start at P: .
- For R, set the general point equal to and solve each component for .
- From : , so . From : , so again.
- From : with , , not . No single fits all three components, so R is not on .
Parametric and Cartesian forms
A packs three equations into one. Write as , the known point as and the direction as . Then read off each component.
These are the of the line. Use them whenever you need a general point on the line, as in the last two examples.
Now make the subject of each one: , and so on. All three equal the same , so they equal each other. That removes and gives the of the line.
Both forms are in the booklet. In Cartesian form, the numbers subtracted in the numerators give the point. The denominators give the direction.
If a component of the direction is , you can't divide by it. For example, has for every . Its Cartesian equations are with .
In 2D, the Cartesian form rearranges to . That is a straight line from 2.1, with gradient .
Try it first, then reveal one step at a time.
- Read off each component: , and .
- Make the subject of each: , and .
- All three equal , so set them equal to each other.
- Check with , which gives the point . Each fraction is then .
Going the other way, each numerator must read minus a number, with having coefficient . The same goes for and .
Exam questions often hide a coefficient, as in or . The safest move is to set every part equal to and solve for , and .
Try it first, then reveal one step at a time.
- Set each part equal to and solve for the coordinate.
- gives . The minus in front of makes the -component of the direction , not .
- gives , so . Dividing by the in front of halves both numbers.
- gives . A part with no denominator has direction component .
- Collect the constants into the point and the coefficients of into the direction. Check with : the point makes all three parts equal .
The angle between two lines
Two lines that cross make two angles, and . The means the acute one, or if they are perpendicular.
The angle depends only on which way the lines point, not on where they are. So you need just the two and the from 3.13.
Use it with and as the lines' direction vectors. You also need their magnitudes, which are in the booklet too:
Think of and below as the directions of two lines through the origin. Now reverse by moving its tip to , so that . It still lies along the same line, but changes from about to about .
a·b = 4 × −2 + 1 × 3 = −5.00
|a| = , |b| =
cos θ =
In particular, two lines are perpendicular exactly when . In 3D the lines don't have to meet for this to work, since it compares directions only. You'll sort lines that meet from lines that don't in 3.15.
Try it first, then reveal one step at a time.
- Take the direction vectors only: and . The points play no part.
- Scalar product: .
- Magnitudes: and .
- So , which gives . That is the obtuse angle.
- The angle between the lines is . Using the modulus gets there at once: .
Try it first, then reveal one step at a time.
- Read the direction of . Setting gives , so . The direction of is .
- Scalar product: . Keep the -components.
- Magnitudes: and .
- For the acute angle, take the modulus: .
- With the calculator in degree mode, .
Lines as motion
A can also describe motion. Replace by the time , and gives an object's position at each moment. As increases, the object moves along the line at a steady rate.
Each part has a meaning. is the position at , the starting position. is the velocity: the displacement in one unit of time. The is its magnitude, .
Keep track of units. If distances are in km and is in hours, the speed is in km per hour, written .
To get a velocity with a given speed, scale a direction to the right length. A ship heading along at has , since .
Try it first, then reveal one step at a time.
- The velocity is , so the speed is .
- Due north of O means on the positive -axis, so .
- The -component of the position is . Solve to get .
- Check : . So at 10:30 the boat is km due north of the harbour.
Two moving objects collide only if they are in the same place at the same time. Paths that cross at different times don't meet. So give both objects the same , and look at the vector between them.
The distance between them at time is the magnitude of that vector, a function of . On Paper 2 you can graph it and find its minimum.
Try it first, then reveal one step at a time.
- Both positions use the same , so subtract them: .
- The distance is the magnitude: . Write this down. It is the expression you enter, and it earns the method mark.
- Graph for and find its minimum. The calculator gives and .
- So the ships are closest at , which is 14:12. Check: at noon km, so they do get much closer.
Common mistakes
- Leaving out . Without it you have written an expression, not an equation, and the mark for the equation is lost.
- Reading the direction from Cartesian form without tidying it first. In the -component is , and in it is . Rewrite each part as the coordinate minus a number, or set each part equal to .
- Using a position vector as the direction. The direction through P and Q is , not .
- Stopping at an obtuse angle. A negative scalar product gives an angle over , so subtract it from .
- Leaving out the -components of a scalar product or a magnitude. Every component counts.
- Using one parameter letter for two different lines. Give each line its own, such as and . In motion questions the shared is right, because both objects run on the same clock.
Exam tips
- "Write down" a vector equation needs no working, but it must start with . Any point on the line and any parallel direction earn the marks.
- "Find the angle" between two lines: use the direction vectors only, and give the acute angle. Paper 1 expects exact values such as . On Paper 2, give degrees to 3 s.f.
- To show that two lines are perpendicular, show the scalar product of their directions working out to . Saying it looks like a right angle earns nothing.
- In motion questions, give speeds and distances with units. If the question uses clock times, turn your value of into one.
Key takeaways
Practise this
16 past-paper questions on 3.14 in the AA HL bank, each with a mark scheme and a worked explanation.