Equations of lines in 3D (HL)
Direction vectors are analogous to gradients.
In vector geometry, a line is identified by a point on the line, and a direction vector of the line.
The direction vector can be replaced by any non-zero scalar multiple. The point can be replaced by any other point on the line.
Last edited: 2026-06-21 make equations of lines more consistent
Contents
- Vector equation of a line
- Parametric equation of a line
- Symmetric (Cartesian) equation of a line
- Checking if a point is on a line
- Applications
- Tips
Vector equation of a line
The position vector of any point on the line is
The vector multiplied by a parameter is the direction vector.
Different points on the line are associated with different parameters.
For example, the line
contains the position vector and is in the direction .
Often, we are given two points on a line, the difference between the two position vectors is used as the direction.
Parametric equation of a line
For example, the previous line can be expressed as
Symmetric (Cartesian) equation of a line
This solves for and equate the expressions.
Where the component of the direction vector is , for example the aforementioned line is
Note, when there is not a denominator, it is . Beware of a potentially reversed numerator, because of dividing by a negative.
Checking if a point is on a line
Suppose we have
We want to verify if is on the line.
If the direction vector has all non-zero components, then the parameter must be the same value for , , .
So is not on the line. Note that we simply substituted values into the symmetric (Cartesian) equation of a line.
Applications
The equations of a 3D line can be interpreted to represent the path of some object or particle, with initial position , constant velocity , time traveled (or ), and final position .
Tips
- All forms of a line (using vectors) are accepted. Vector equation is probably the easiest.
- Use different parameters for different lines.