Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

the two-point form for a line in 2d is $$y-y_1 = \left(\frac{y_2-y_1}{x_2-x_1}\right)(x-x_1);$$ what is it for 3d lines/planes?

share|cite|improve this question
For your RHS, you could add parentheses to show the $(x-x_1)$ is intended to be in the numerator. With the slash, it can be confusing. (Fixed by Arturo Magidin) – Ross Millikan Apr 29 '11 at 16:25

For lines, you need two equations, so it is just duplicated: $y-y_1 = \frac{y_2-y_1}{x_2-x_1} (x-x_1)$ and $z-z_1 = \frac{z_2-z_1}{x_2-x_1} (x-x_1)$

For planes, you need three points.
Three approaches are shown in Wikipedia under "Define a plane through three points"

share|cite|improve this answer

For a line, one can express it in parametric form. To give you an idea on how to derive it, note that the expression


gives $x_1$ for $t=0$ and $x_2$ for $t=1$. You can do this for the $y$ and $z$ components as well to arrive at a parametric equation of a line.

Another way to go about representing a line is to represent it in symmetric form (from which a parametric form can also be obtained by equating to a parameter each of the components):




and $a,b,c$ are so-called direction cosines, cosines of the angles the line makes with the positive axes.

This notation is sometimes (ab)used even when any of the direction cosines are 0; this just means that the line is parallel to an axis. From the symmetric form, taking any two of the three implied equations determines two planes whose intersection is the line in question.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.