How to find vector and parametric equations of a line segment
If you know the two endpoints of a line segment, you can describe every point in between with one parameter. We’ll write the vector equation first, then read the three parametric equations directly from its coordinates.
Use the endpoints to write a vector equation
Let and be the position vectors of the first and second endpoints. To reach a point on the segment, start at and move a fraction of the way toward .
At we get the first endpoint, and at we get the second. Values between them trace the segment, including its midpoint at .
Substitute the two points and combine components
Let’s use the endpoints and . Their coordinates give us the two position vectors.
Substitute the vectors into the formula. Multiply each vector by its scalar, then add the matching components.
In unit-vector notation, the three components are the coefficients of , , and .
Read off the parametric equations and check the endpoints
The first component is , the second is , and the third is . Each coordinate is a function of the same parameter .
Plugging in gives , and plugging in gives . The -coordinate stays at throughout, so the whole segment lies in the plane .