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 be a point on the line and be a nonzero direction vector. If the vector is written as , the coefficients of , , and are the same three components.
These are the scalar parametric equations. All three use the same real parameter . At we are at ; a positive or negative moves us along the direction vector or opposite it.
Example: Use the given point and direction
Find the line through parallel to . We add to the x-coordinate, subtract from the y-coordinate, and add to the z-coordinate.
At the equations give . At they give . Subtracting the starting coordinates from those new coordinates gives , which is the direction we were given.
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 gives for every . The other equations still use the same parameter.