Lesson 6 of 8 · 20 min
Vector equations of lines and curves
Write vector, parametric and Cartesian equations of lines and line segments in two and three dimensions, decide whether lines meet, and turn a parametric curve in the plane into a Cartesian equation.
What you will be able to do
- Write , the parametric equations and the Cartesian equation of a line from two points or a point and a direction.
- Describe a line segment by restricting the parameter, and test whether a point lies on a line.
- Decide whether two lines in space intersect, are parallel or are skew.
- Find a Cartesian equation for a curve given by a vector equation in two dimensions.
In the plane, describes a line, but in space there is no single equation like that for a line. Instead, think of a line as a journey: start at a point and walk in a fixed direction . After "time" you are at . Every value of , positive, negative or zero, gives a point on the line.
Key idea
Three ways to write a line
Through the point with position vector , parallel to the direction vector :
- Vector equation: , .
- Parametric equations: , , .
- Cartesian equation: solve each for and set them equal,
Through two points and , use .
Slide the point along by changing . Which value of gives the starting point? Which gives a point on the far side of it?
Worked example
Equations of the line through two points
is and is .
(a) Find vector, parametric and Cartesian equations of the line .
(b) Determine whether and lie on the line.
Step 1: Find a direction vector
.
Step 2: Write the vector equation
, .
Step 3: Write the parametric equations
, , .
Step 4: Make the subject of each and equate
.
Step 5: Test
gives . Then ✓ and ✓. is on the line.
A point is on the line only if one value of produces all three of its coordinates.
Step 6: Test
gives . Then ✓ but . is not on the line.
Try it yourself first, then check the working one step at a time.
Answer
; , , ; . lies on the line and does not.
Method
; .
Read the parametric equations from the components.
Cartesian: solve each for and equate.
To test a point, find from one coordinate and check the other two.
Watch out for
Stopping after two coordinates match. All three must agree.
Writing : the numerator is .
A line has vector equation . Find the point where it crosses the -plane.
Tip
A zero in the direction vector
If a component of is zero you cannot divide by it. For , the -coordinate never changes, so write
Definition
Line segments
with is the segment from () to (). The midpoint is at .
Which is a direction vector of the line ?
Key idea
Do two lines meet?
Give the lines different parameters, say and . Then:
- If the lines are parallel (or the same line).
- Otherwise equate the components, solve two of the three equations for and , and substitute into the third.
- If the third equation is satisfied the lines intersect; if not, they are skew: not parallel, yet they never meet.
Worked example
Do two lines in space intersect?
: and : .
Show that the lines intersect, find the point of intersection, and find the angle between the lines.
Step 1: Check they are not parallel
is not a multiple of (the first components would need , the second ).
Step 2: Equate components
Different parameters, because the lines can reach the common point at different parameter values.
Step 3: Solve two equations
The first gives and the second . Adding: , so and .
Step 4: Check the third equation
Left: . Right: . ✓ All three agree, so the lines intersect.
Step 5: Find the point
Substitute into : . (Check with , : ✓.)
Step 6: Find the angle
, so the lines meet at right angles.
Try it yourself first, then check the working one step at a time.
Answer
The lines intersect at , at an angle of .
Method
Rule out parallel lines.
Equate components with different parameters.
Solve two equations; test the third (consistent means they meet, inconsistent means skew).
Substitute back for the point; use the direction vectors for the angle.
Watch out for
Using the same parameter for both lines.
Solving two equations and forgetting to check the third.
Lines are not the only things a parameter can trace. As varies, traces a curve. In two dimensions you can usually eliminate to get a Cartesian equation linking and : make the subject of one equation, or use an identity such as .
traces the parabola .
Worked example
A Cartesian equation from a vector equation
A curve has vector equation , . Find its Cartesian equation and describe the curve. What part of the curve is traced if only is allowed?
Step 1: Write the parametric equations
and .
Step 2: Make the subject of the simpler one
.
Step 3: Substitute
.
Step 4: Describe the curve
A parabola, concave up, with turning point : at the point is .
Step 5: Restrict the parameter
means , so only the right half of the parabola, from onwards, is traced.
The parameter's domain controls which part of the Cartesian graph the vector equation actually covers.
Try it yourself first, then check the working one step at a time.
Answer
, a parabola with turning point . With , only the part with is traced.
Method
Write and in terms of .
Eliminate : make it the subject, or use an identity like .
Translate any restriction on into a restriction on or .
Watch out for
Ignoring the domain of , which can cut the graph down to part of a curve.
A curve has vector equation . Find its Cartesian equation, giving in terms of .
Curves in three dimensions
In space, is a helix, a spring shape. Its - and -coordinates satisfy , so it winds around a cylinder of radius 1, rising for each turn. The syllabus asks you to use 3D curves like this, but to find Cartesian equations only in two dimensions.
Common mistake
One parameter for two lines
Writing both lines with the same looks for a point both lines reach at the same "time", which is a different question. Two lines can cross even when . Use and .
Summary
; through and , use .
Parametric: , and so on. Cartesian: , with a zero component written separately.
A segment restricts the parameter: from to .
Two lines with different parameters: parallel, intersecting (all three equations agree) or skew.
For a curve in the plane, eliminate to find its Cartesian equation.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.