Representations of a Line in Two Dimensions
Forms of the Equation of a Line
The slope-intercept form of (the equation of) a line is: $y\=mxplus;b$. The slope of the line is $m$. The y-intercept of the line is b, as can be seen by substituting $x\=0$ into the equation.
The point-slope form of (the equation of) a line is: $y-{y}_{1}\=m\left(x-{x}_{1}\right)$. The slope of the line is $m$. The point $\left({x}_{1}\,{y}_{1}\right)$ is on the line, as can be seen by substituting $x\={x}_{1}\,yequals;{y}_{1}$ into the equation and observing that you get $0\=0$.
The two-point form of (the equation of) a line is: $y-{y}_{1}\=\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\left(x-{x}_{1}\right)$. The points $\left({x}_{1}\,{y}_{1}\right)$ and $\left({x}_{2}\,{y}_{2}\right)$ are on the line, as can be seen by substituting them into the equation and observing that the equality holds. It may be easier to remember this form when rewritten in the symmetrical form $\frac{y-{y}_{1}}{{y}_{2}-{y}_{1}}\=\frac{x-{x}_{1}}{{x}_{2}-{x}_{1}}$.
The general (or implicit) form of (the equation of) a line is: $axplus;byequals;c$, or, alternatively, $axplus;byplus;cequals;0$. (Note that the c's in these two versions of this form are not the same - one is the negative of the other.) By convention, the coefficient of the x term, a, is taken to be positive, but this is a convenience, not a rule.
Create a line using different representations
Define a line by selecting a method and entering the necessary data. Click Update to see the plot of the line. The other ways to describe the line will also be updated, when possible.
${}$
More MathApps
MathApps/NaturalSciences
Download Help Document