Line Through a Point (3D) Notes
These Line Through a Point (3D) Notes explain how to write the equation of the line through a given point in a given direction, with the working shown line by line. The point fixes where the line sits and the direction vector fixes which way it runs, so together they pin it down completely. A parameter slides along the direction to reach every other point. Following the same pattern every time keeps position and direction from being confused.
Enter the point \((x_{0}, y_{0}, z_{0})\) and the direction \(\vec{d} = \langle a, b, c \rangle\).
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute into the vector equation.
- Write the parametric equations.
- Write the symmetric equations.
Formula: Vector Equation of a Line
This formula describes every point on a line from one point and a direction. Start at the point and add any multiple t of the direction vector.
Useful Tips to Remember
The point fixes where the line is and the direction fixes which way it runs. The parametric equations come straight from the components, \(x = x_{0} + at\) and so on. Any non-zero multiple of the direction gives the same line. A direction component of 0 means that coordinate stays fixed, and the zero vector cannot be a direction.
Required knowledge
- How to scale a vector by t, covered in the Scalar Multiplication Calculator.
- How vectors are added, covered in the Vector Addition Calculator.
- How to rearrange a simple equation, covered in the Distributive Property Calculator.
Where Is the Equation of a Line from a Point and a Direction Used?
A point and a direction are the most natural way to describe motion in a straight line, so this equation appears throughout physics and computing. An object moving at constant velocity follows exactly this line, with t as time. Laser beams, light rays and sight lines are modelled this way in optics and graphics. Robots and CNC machines use it to move a tool along a set direction, and game engines use it to cast rays for shooting and picking objects.
- Motion at constant velocity in physics
- Light rays and laser beams in optics
- Ray casting for aiming in games
- Tool paths for CNC machines and robots
- Lines of sight in surveying
Line Through a Point Practice Problems
Example 1 uses the point \((1, 2, 3)\) and the direction \(\langle 4, 5, 6 \rangle\), and Example 2 uses the origin and \(\langle 1, 0, 0 \rangle\), where two coordinates stay fixed. Examples 3 and 4 give you two more problems of the same kind to try. Write the vector, parametric and symmetric forms and compare.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute into the vector equation.
- Write the parametric equations.
- Write the symmetric equations.
Formula
Formula: Vector Equation of a Line
This formula describes every point on a line from one point and a direction. Start at the point and add any multiple t of the direction vector.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the line through \(P_{0} = \left(1,\; 2,\; 3\right)\) in the direction \(\vec{d} = \left\langle 4,\; 5,\; 6 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: Every point on the line is reached by starting at the given point and moving some multiple t of the direction vector.
Step 3
Step 3 - Substitute into the vector equation.
In this problem: Replacing \(\vec{r}_{0}\) and \(\vec{d}\) in \(\vec{r} = \vec{r}_{0} + t\vec{d}\) gives \(\vec{r} = \left\langle 1,\; 2,\; 3 \right\rangle + t\left\langle 4,\; 5,\; 6 \right\rangle\).
Step 4
Step 4 - Write the parametric equations.
In this problem: Writing each component on its own gives \(x = 1 + 4t\), \(y = 2 + 5t\) and \(z = 3 + 6t\).
Step 5
Step 5 - Write the symmetric equations.
In this problem: Solving each parametric equation for t and setting them equal gives \(\frac{x - 1}{4} = \frac{y - 2}{5} = \frac{z - 3}{6}\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute into the vector equation.
- Write the parametric equations.
- Write the symmetric equations.
Formula
Formula: Vector Equation of a Line
This formula describes every point on a line from one point and a direction. Start at the point and add any multiple t of the direction vector.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the line through \(P_{0} = \left(0,\; 0,\; 0\right)\) in the direction \(\vec{d} = \left\langle 1,\; 0,\; 0 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: Every point on the line is reached by starting at the given point and moving some multiple t of the direction vector.
Step 3
Step 3 - Substitute into the vector equation.
In this problem: Replacing \(\vec{r}_{0}\) and \(\vec{d}\) in \(\vec{r} = \vec{r}_{0} + t\vec{d}\) gives \(\vec{r} = \left\langle 0,\; 0,\; 0 \right\rangle + t\left\langle 1,\; 0,\; 0 \right\rangle\).
Step 4
Step 4 - Write the parametric equations.
In this problem: Writing each component on its own gives \(x = t\), \(y = 0\) and \(z = 0\).
Step 5
Step 5 - Write the symmetric equations.
In this problem: Only one coordinate changes along the line, so the symmetric form is just the fixed coordinates \(y = 0,\; z = 0\).
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute into the vector equation.
- Write the parametric equations.
- Write the symmetric equations.
Formula
Formula: Vector Equation of a Line
This formula describes every point on a line from one point and a direction. Start at the point and add any multiple t of the direction vector.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the line through \(P_{0} = \left(2,\; -1,\; 4\right)\) in the direction \(\vec{d} = \left\langle 3,\; 1,\; -2 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: Every point on the line is reached by starting at the given point and moving some multiple t of the direction vector.
Step 3
Step 3 - Substitute into the vector equation.
In this problem: Replacing \(\vec{r}_{0}\) and \(\vec{d}\) in \(\vec{r} = \vec{r}_{0} + t\vec{d}\) gives \(\vec{r} = \left\langle 2,\; -1,\; 4 \right\rangle + t\left\langle 3,\; 1,\; -2 \right\rangle\).
Step 4
Step 4 - Write the parametric equations.
In this problem: Writing each component on its own gives \(x = 2 + 3t\), \(y = -1 + t\) and \(z = 4 - 2t\).
Step 5
Step 5 - Write the symmetric equations.
In this problem: Solving each parametric equation for t and setting them equal gives \(\frac{x - 2}{3} = \frac{y + 1}{1} = \frac{z - 4}{-2}\).
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute into the vector equation.
- Write the parametric equations.
- Write the symmetric equations.
Formula
Formula: Vector Equation of a Line
This formula describes every point on a line from one point and a direction. Start at the point and add any multiple t of the direction vector.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the line through \(P_{0} = \left(-1,\; 0,\; 5\right)\) in the direction \(\vec{d} = \left\langle 2,\; 4,\; 1 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: Every point on the line is reached by starting at the given point and moving some multiple t of the direction vector.
Step 3
Step 3 - Substitute into the vector equation.
In this problem: Replacing \(\vec{r}_{0}\) and \(\vec{d}\) in \(\vec{r} = \vec{r}_{0} + t\vec{d}\) gives \(\vec{r} = \left\langle -1,\; 0,\; 5 \right\rangle + t\left\langle 2,\; 4,\; 1 \right\rangle\).
Step 4
Step 4 - Write the parametric equations.
In this problem: Writing each component on its own gives \(x = -1 + 2t\), \(y = 4t\) and \(z = 5 + t\).
Step 5
Step 5 - Write the symmetric equations.
In this problem: Solving each parametric equation for t and setting them equal gives \(\frac{x + 1}{2} = \frac{y}{4} = \frac{z - 5}{1}\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The Line Through a Point (3D) Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Line Through a Point (3D) Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.