A line's equation records its location and rate of change. Different forms emphasize different information, but they can describe the same line. Choose a form that uses what you already know.
Slope-intercept form reveals the starting value
In is the slope and is the y-intercept. At the product mx disappears, leaving From that point, each increase of one in changes by .
For the line crosses the y-axis at and rises 2 for every 1 unit right. Be careful: the intercept is the point while its y-coordinate is the number
Example: write a line from two points
A line passes through and Its slope is Start with and substitute either point. Using gives so
The equation is Check the unused point: This verifies both the slope calculation and the intercept.
The y-coordinate 5 of the first supplied point is not automatically . It becomes the intercept only when its x-coordinate is zero.
The line y equals 2x plus 3 passes through 1,5 and 4,11 and crosses the vertical axis at 0,3.
The supplied points fix a slope of 2. Extending the line to reveals its y-intercept, 3.
Describe this figure
The line y equals 2x plus 3 passes through 1, 5 and 4, 11 and crosses the vertical axis at 0, 3.
Marked points: Intercept: filled marker at (0, 3); (1, 5): filled marker at (1, 5); (4, 11): filled marker at (4, 11).
Point-slope form uses a known point directly
For a line of slope through
This says vertical change from the known point equals slope times horizontal change. A line with slope through is Expanding gives so
If the point contains a negative coordinate, preserve the subtraction: through the factor would be
Standard form groups the variables
Standard form is commonly written For example, becomes Multiplying every coefficient by the same nonzero number gives an equivalent equation, so standard form is not unique unless a convention is specified.
To read slope from solve for : hence The coefficient 3 alone is not the slope.
Horizontal and vertical exceptions
A horizontal line through has equation A vertical line through that point has equation Vertical lines cannot be written as because they do not have a finite slope and do not assign one y-value to each .
Always check the point coordinates before using the slope formula. Equal x-coordinates signal a vertical line.
Try it yourself
Write the equation of the line with slope 3 through Express it in both point-slope and slope-intercept forms.
Answer: Point-slope form is Expanding gives so Substitution of gives confirming the point.
What to remember
Use slope-intercept form for slope and axis crossing, point-slope form for a known point and slope, and standard form when the variables are grouped. Equivalent forms must describe the same points.