3D Line
Equations
Master the parametric and vector forms of lines in three-dimensional space: from a point and a direction to a complete equation.
Why Study Lines in Three Dimensions?
In 2D, you can describe any line with \( y = mx + b \). But in 3D there is no single equation that captures a line: you need a system. Lines in \(\mathbb{R}^3\) are the building blocks of tangent lines to space curves, intersection edges of planes, and trajectories of particles.
A Point and a Direction
Pick any point \( P_0 = (x_0, y_0, z_0) \) on the line. Then every other point is reached by traveling along the direction vector \( \mathbf{d} = \langle a, b, c \rangle \) by some scalar amount \( t \).
The Vector Form
The parameter \( t \in (-\infty, \infty) \) sweeps out every point on the line. When \( t = 0 \), you are at \( P_0 \). Positive \( t \) moves in the direction of \( \mathbf{d} \); negative \( t \) goes the opposite way.
The Parametric Equations
These are simply the component-by-component expansion of the vector form. Each coordinate is a linear function of the same parameter \( t \). The coefficients \( a, b, c \) are the components of the direction vector.
The Symmetric Equations
If you solve each parametric equation for \( t \) and set them equal, you get the symmetric form:
This is really two equations (the left pair and the right pair), each defining a plane. The line is their intersection. Note: if any direction component is zero (say \( a = 0 \)), you replace that fraction with the statement \( x = x_0 \).
Comparing the Three Forms
| Vector | Parametric | Symmetric | |
|---|---|---|---|
| Form | \(\mathbf{r} = \mathbf{r}_0 + t\mathbf{d}\) | \(x = x_0 + at\), etc. | \(\frac{x-x_0}{a} = \cdots\) |
| Uses parameter \( t \)? | Yes | Yes | No |
| Compact? | Most | Moderate | Moderate |
| Works if \(a=0\)? | Yes | Yes | Special case |
| Best for | Theory / proofs | Computation | Geometric insight |
Finding Direction from Two Points
If you are given two points \( P_1 = (x_1, y_1, z_1) \) and \( P_2 = (x_2, y_2, z_2) \) on the line, the direction vector is simply:
Then use either point as \( P_0 \) in any of the three forms. The direction vector is not unique: any nonzero scalar multiple \( k\mathbf{d} \) gives the same line.
Step-by-Step Approach
Example 1: Line Through Two Points
Find parametric equations for the line through \( P_1 = (2, -1, 3) \) and \( P_2 = (5, 1, -1) \).
Example 1: Visual
Example 2: Symmetric Equations
Write symmetric equations for the line through \( (1, 0, -2) \) with direction \( \mathbf{d} = \langle 4, -3, 6 \rangle \).
Example 3: When a Component Is Zero
Find all three forms for the line through \( (3, 5, -1) \) with direction \( \mathbf{d} = \langle 2, 0, -7 \rangle \).
Parallel vs. Identical Lines
Two lines are parallel if their direction vectors are scalar multiples: \( \mathbf{d}_2 = k\,\mathbf{d}_1 \) for some \( k \neq 0 \). They are identical if, in addition, a point from one line satisfies the equations of the other.
Skew Lines in 3D
In 3D, two lines can be non-parallel and still never meet: these are called skew lines. This is impossible in 2D. Skew lines lie in different parallel planes.
Common Mistakes to Avoid
Question 1 of 5
What is the direction vector of the line through \( (1, 3, -2) \) and \( (4, 0, 5) \)?
Question 2 of 5
Which parametric equations represent the line through \( (0, 2, -1) \) with direction \( \langle 1, -4, 3 \rangle \)?
Question 3 of 5
The line \( x = 3 + 2t,\; y = 5,\; z = -1 - 7t \) has direction \( \langle 2, 0, -7 \rangle \). What is the correct symmetric form?
Question 4 of 5
Lines \( L_1: \mathbf{r} = \langle 1,0,2 \rangle + t\langle 2,1,-1 \rangle \) and \( L_2: \mathbf{r} = \langle 0,3,1 \rangle + s\langle 4,2,-2 \rangle \) are:
Question 5 of 5
A line passes through \( (2, -1, 4) \) and is parallel to the line \( x = 3t,\; y = 1 - t,\; z = 2 + 5t \). What is its vector equation?