In the plane a line is : a slope and an intercept. In space there is no slope — a line can lean in two independent ways at once — and no single equation of the form describes a line, because such an equation describes a whole plane. What a line has, in any dimension, is a point on it and a direction along it. Start at the point , walk any multiple of the direction vector , and you trace the line:
The number is a parameter: each value of names one point of the line, names itself, and negative values run backward through to the other side. Adding a point and a vector means adding coordinates to components, and the result is a point, so the equation splits into one parametric equation per coordinate.
The figure takes and , and puts the parameter on a slider.
Explore in 3D (opens in a new tab)The line through with direction , drawn dashed, and the point marked by a ball on a slider . The thick arrow is with its tail at ; the thin rod from to the ball is copies of it. From the origin, a thin arrow reaches and a thinner rod reaches the ball. Two hidden points, and , are on and off the line.
Explore the figure
At the starting value the ball sits exactly at the tip of : . One copy of the direction vector, laid from .
Drag to and reveal the hidden point . The ball lands exactly on it: , so is on the line, three direction vectors along from .
Drag to . The ball has passed back through to : the line does not stop at , and negative parameters reach the other half of it.
Reveal the hidden point and try to reach it with the slider. Its first coordinate would need , but is not . No value of works, so is not on the line — it only looks close from some viewpoints.
Watch the rod from the origin as you sweep . It always ends at the ball, and it is always the arrow to followed by the rod along the line: the position of , read as a vector from the origin, is . That is the vector equation of the line, and it is the parametric equations written as one line.
Reading the equations
With and , the vector equation says, coordinate by coordinate,
The coefficients of are the components of the direction, and the constants are the coordinates of the point at . In there are such equations; in the plane, two — and eliminating between them recovers with slope , so nothing has been lost.
A line has many descriptions. Any other point of the line will serve as , and any nonzero multiple of will serve as the direction: the point with direction describes the figure's line as well as with does, only with the parameter running twice as fast and starting one step along. Two points also determine the line through them: use one as and their difference, head minus tail, as .
Whether a point lies on a line is a question about a single parameter value: does one satisfy all the coordinate equations at once? That is a small system of equations in the one unknown , consistent when the point is on the line and inconsistent when it is not — a preview of Chapter 1, where systems like this are the subject.
Q is on the figure's line ✓ Computed · mojocas 0.1.0✓ Agrees with the text Q is on the figure's line, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.
The three coordinate equations for reaching from — , , — as an augmented matrix with the direction's components on the left and the displacement to on the right, reduced by a computer algebra system. One pivot, one solution: , and the two zero rows say the other two equations agreed with it.
R is not ✓ Computed · mojocas 0.1.0✓ Agrees with the text R is not, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.
The same system for , whose displacement from is . The reduced form has a pivot in the right-hand column — the row that reads — so the three equations contradict one another and no parameter value reaches .
S is on the worked example's line ✓ Computed · mojocas 0.1.0✓ Agrees with the text S is on the worked example's line, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.
The direction and the displacement to , stacked as rows. Rank means the displacement is a multiple of the direction — the same test as Section 0.4's parallel vectors — so lies on the line.
T is not ✓ Computed · mojocas 0.1.0✓ Agrees with the text T is not, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.
For the displacement is , and the two rows have rank : not parallel, so is off the line.
An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.
These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.