How to find the scalar equations of a line in 3D

A point tells us where to start, and a direction vector tells us which way the line runs. We’ll use those two pieces to write an equation for each coordinate. The video works through the same method using a line through the origin.

Write one equation for each coordinate

Let P0=(x0,y0,z0) be a point on the line and v=⟨a,b,c⟩ be a nonzero direction vector. If the vector is written as ai+bj+ck, the coefficients of i, j, and k are the same three components.

x=x0+aty=y0+btz=z0+ct

These are the scalar parametric equations. All three use the same real parameter t. At t=0 we are at P0; a positive or negative t moves us along the direction vector or opposite it.

Example: Use the given point and direction

Find the line through (2,3,1) parallel to ⟨2,-1,5⟩. We add 2t to the x-coordinate, subtract t from the y-coordinate, and add 5t to the z-coordinate.

x=2+2ty=3-tz=1+5t

At t=0 the equations give (2,3,1). At t=1 they give (4,2,6). Subtracting the starting coordinates from those new coordinates gives ⟨2,-1,5⟩, which is the direction we were given.

One step along a line in three-dimensional spaceThe line goes through two, three, one at t equals zero. One step in direction two, negative one, five reaches four, two, six at t equals one.t = 0t = 1(2, 3, 1)(4, 2, 6)One step along v
Changing t changes how far we move along the same direction vector.

Read a zero direction component as a fixed coordinate

If one component of the direction vector is zero, the matching coordinate doesn’t change. For example, a direction vector with a=0 gives x=x0 for every t. The other equations still use the same parameter.