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=m x+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−y1=m x−x1. The slope of the line is m. The point x1,y1 is on the line, as can be seen by substituting x=x1, y=y1 into the equation and observing that you get 0=0.
The two-point form of (the equation of) a line is: y−y1=y2−y1x2−x1x−x1. The points x1,y1 and x2,y2 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 y−y1y2−y1=x−x1x2−x1.
The general (or implicit) form of (the equation of) a line is: a x+b y=c, or, alternatively, a x+b y+c=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.
Download Help Document