Vector and Cartesian equations of a line
Studying this course? Keep your progress in one place.
Key facts
- A line is : a position vector plus a multiple of a direction vector.
- The Cartesian form is .
- To test a point, find from one coordinate and check all three.
- Two lines meet if equating components, with different parameters, gives a consistent solution.
- Lines that are neither parallel nor intersecting are skew.
Vector equation of a line
Take a point on the line and add any multiple of a direction vector: .
A line in 3-D is fixed by a point with position vector and a direction vector . Each value of the parameter gives one point on the line.
For the line through and , take the direction as : the position vector of minus the position vector of .
A line has many correct equations: any point on it and any non-zero multiple of the direction will do.
- Line
- Direction through , = minus
Worked example
Find a vector equation of the line through and .
- 1
Direction: .
- 2
Use as the point: .
Which is a direction vector for the line through and ?
Cartesian form
Eliminate : equate the three expressions , , .
Eliminating from , and gives the Cartesian form below.
To go back, set each fraction equal to . Read the point from the numerators and the direction from the denominators.
If a denominator is zero, that coordinate is constant: direction through gives .
- 1
Write x, y and z separately
x = a₁ + λb₁, y = a₂ + λb₂, z = a₃ + λb₃
- 2
Make λ the subject of each
λ = (x − a₁)/b₁ and so on
- 3
Equate the three expressions
(x − a₁)/b₁ = (y − a₂)/b₂ = (z − a₃)/b₃
Vector form
- Point and direction visible
Cartesian form
- Numerators give the point (sign flipped), denominators the direction
Write in Cartesian form.
Is a point on the line?
Find from one coordinate, then check that all three coordinates agree.
Write the general point and equate it to the given point.
Use one coordinate to find , then check that all three coordinates agree. Checking only two can give a false "yes".
- 1
Write the general point
in terms of
- 2
Find
from one coordinate
- 3
Check the other two
all three must agree
- 4
Decide
any mismatch means not on the line
Worked example
Is on ?
- 1
: , so .
- 2
: , which matches.
- 3
: , but we need .
Is on ?
Intersecting lines
Equate the position vectors using different parameters, solve two equations and check the third.
For and , use different parameters.
Equate the three components. Solve two of the equations, then substitute into the third.
If it holds, the lines meet, and substituting back gives the point of intersection. If it fails, they do not meet.
- 1
Equate components
, and give three equations
- 2
Solve two
find and
- 3
Check the third
does it hold?
- 4
Substitute back
read off the point
Worked example
Do and intersect?
- 1
: , so .
- 2
: , so and .
- 3
Check : and , which match.
- 4
Substitute into the first line.
Two components give , , but the third component does not match. What does this show?
Parallel and skew lines
In 3-D, lines that are neither parallel nor intersecting are skew.
Two lines are parallel if their direction vectors are multiples of each other. They are the same line if a point of one lies on the other.
In 2-D, non-parallel lines always meet. In 3-D they need not: lines that are neither parallel nor intersecting are skew.
To show lines are skew you need both facts: the directions are not multiples, and the equations have no solution.
- 1
Compare the direction vectors
if one is a multiple of the other, the lines are parallel
- 2
Otherwise equate the coordinates
solve two equations for λ and μ, then test the third
- 3
Decide
all three satisfied: they intersect; otherwise they are skew
Parallel
- Directions are multiples
- Never meet (or identical)
Intersecting
- Directions not multiples
- A solution exists
Skew
- Directions not multiples
- No solution
Worked example
Are and skew?
- 1
Directions and are not multiples, so not parallel.
- 2
: . : , so .
- 3
: the first line has but the second has . Contradiction.
Two lines have directions and and share no point. Are they skew?
Try an exam question
Line has equation and line has equation . Show that the lines intersect and find the coordinates of the point of intersection.
[4 marks]
- [1]Equates components using different parameters: and .
- [1]Solves to get and .
- [1]Verifies the third component: and .
- [1]Point of intersection .
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which is a vector equation of ?
1 mark, marked against the mark scheme
Which is a vector equation of ?
1 mark, marked against the mark scheme