Slope and Intercepts
Learning goals
- Read and straight off
- Derive the form from point-slope using
- Graph by plotting the intercept, then stepping by the slope
- Convert any linear equation by solving for
- Find the -intercept by setting
- Handle the horizontal, vertical and through-the-origin special cases
From point-slope to slope-intercept form
Point-slope form asks for a point and a slope, and any point on the line will serve. Some points, though, are more convenient than others. The most convenient point of all is the one where the line crosses the -axis, because its -coordinate is . That zero coordinate makes the algebra collapse to almost nothing. Building point-slope form on that point produces the cleanest equation of a line there is.
That crossing point has a name. The y-intercept is the point where the line crosses the -axis. Every point on the -axis has , so the -intercept has the form for some number . That number is the height at which the line meets the axis.
Deriving slope-intercept form from point-slope form#
Start with a line whose slope is and which crosses the -axis at the point . That crossing point is an ordinary point on the line, so point-slope form applies to it. Substitute the point and the slope into :
The run is just , and that is the whole trick: the zero coordinate erases the parenthesis and leaves
Add to both sides to get alone:
This is slope-intercept form. Reading it back, is the slope of the line and is the -coordinate of the point where the line meets the -axis. Both facts are guaranteed by the way the equation was built, but they are worth confirming straight from . Setting gives , so the point really does lie on the line, which makes the -intercept. And taking any other point on the line, the slope between it and is
so the line really does have slope . The single equation carries the line’s slope and its -intercept on its face.
Reading the slope and the intercept
Once an equation is written as , the slope and the intercept require no work at all. In that form the slope is the number multiplying , and is the constant, which fixes the -intercept at . The only care needed is to read each number with its own sign, and to make sure the equation is actually in this form before you read it.
Worked example 1 Read the slope and -intercept from an equation
Each line below is written as (or can be with one small step), so match the pieces to and .
| Equation | Slope | -intercept |
|---|---|---|
Three of these rows hide a small trap. In the constant is , so the intercept is , not : carry the minus sign. The line lists its terms out of order, and the slope is the coefficient of , which is , not the leading . Rewriting it as puts the slope back where you expect it. In there is no visible constant, so and the line passes through the origin. And can be read as , a slope of with intercept .
Writing an equation is the same reading in reverse. If you are told a line’s slope and its -intercept, you have and already, so drop them into and you are done.
That reversal is what the figure below is for. Its three controls are and themselves, with the slope split into the rise and the run that make it. The figure’s readout writes the equation back out for whatever you set. So you can work the lesson in either direction: choose the numbers and read the equation, or pick an equation and hunt for the numbers that produce it.
Start at a rise of over a run of with the crossing at , and the readout says . Now step the crossing up to : the constant disappears from the equation, because a line through the origin has . The equation then reads with nothing added. Take the rise down to next. The term vanishes instead and the readout reads , a flat line along the horizontal axis. That is the same shape as the table’s row, a slope of with the constant left standing. But this figure’s crossing point stops at , so the constant it can reach is not itself. Finally set the rise negative and watch the minus sign move into the coefficient rather than the constant. Those are the three places a sign or a missing term can hide.
Line explorer
y = (3/4)x - 2. Rise 3 over run 4 is a slope of 3/4, so from any point on the line, 4 to the right and 3 up lands back on it. And it crosses the vertical axis at -2.
Worked example 2 Write from a slope and a -intercept
Suppose a line has slope and crosses the -axis at . Here and , so substitute directly:
Now suppose a graph shows a line crossing the -axis at and climbing with slope . Read the two numbers off the picture, and , and write
No point-slope step is needed, because the -intercept is the one point the form is built to use.
Check your understanding
Written as , what are the slope and -intercept of the line ?
Slope-intercept form lists the -term first, so reorder the equation before reading it.
Now the slope is the coefficient of , which is , and the constant is , so the -intercept is . The trap is to read the leading as the slope; it is the intercept.
Graphing from slope-intercept form
Slope-intercept form is built for fast graphing, because the two numbers it hands you are exactly the two things you need to draw a line. Those two things are a point to start from and a direction to head in. The recipe is short. Plot the -intercept first, since it sits right on the -axis and takes no calculation. Then read the slope as rise over run and step from that point to a second one. That step means moving across by the run and up or down by the rise. Two points fix a line, so lay a ruler across them and draw.
Worked example 3 Graph from slope-intercept form
Match the equation to : the slope is and the intercept is . Plot the -intercept on the -axis. Then read the slope as a run of and a rise of , and step from two units right and one unit up:
Plot , then draw the straight line through the two points and extend it both ways. That line is the graph of , exactly the figure above. If you want a check, step once more, right and up from to reach , and confirm it too lands on the line.
Converting to slope-intercept form
Not every equation arrives in slope-intercept form. Standard form and point-slope form both hide the slope and intercept until you rearrange them. Getting to is always the same goal: solve the equation for , so that stands alone on one side with a coefficient of . Then the slope and intercept read straight off.
Worked example 4 Convert to slope-intercept form
Slope-intercept form has by itself, so solve the equation for . First subtract from both sides to isolate the -term:
The coefficient of is , so divide every term by :
Now the slope and intercept are in plain sight: the slope is and the -intercept is . As a check, the original equation at gives , so , matching .
A point-slope equation converts the same way, by distributing the slope and then moving the constant across. Take . Distribute the on the right, then add to both sides:
The line has slope and -intercept . Both forms describe one line; slope-intercept form just displays the slope and intercept that point-slope form kept folded up.
Check your understanding
Rewrite in slope-intercept form.
Solve for . Subtract from both sides, then divide every term by .
The division by must reach every term, turning into and into . Stopping at leaves the line only half solved.
Finding the intercepts
The lesson is named for slope and intercepts, and slope-intercept form already hands you one of the two intercepts for free. The -intercept is , read straight from the constant, or found by setting in any form of the equation. The other crossing, the x-intercept, is the point where the line meets the -axis. Every point on the -axis has , so to find it you set and solve for . The two rules are mirror images: zero the coordinate of the axis you are crossing, which is always the opposite letter from the one you keep.
Worked example 5 Find both intercepts of a line
Start with , already in slope-intercept form. The -intercept is the constant, so it is . For the -intercept, set and solve for :
so the -intercept is .
Now take , which is in standard form. The intercepts are just as quick without first solving for . Set for the -intercept:
so the -intercept is . Set for the -intercept:
so the -intercept is . With both crossings in hand, you can plot the line from its intercepts, the quick two-point method from the graphing lesson.
Check your understanding
What is the -intercept of the line ?
The -intercept is where the line crosses the -axis, so set and solve for .
So the -intercept is . Setting instead gives the -intercept .
Special cases
Three lines stretch slope-intercept form to its edges, or past them, and each is worth a moment.
A horizontal line has slope . In slope-intercept form that reads , which collapses to . So a horizontal line is its own -intercept turned into an equation: it meets the -axis at and never tilts. When is not , the line has no -intercept, because it holds the height and never reaches the -axis. When , the line is the -axis itself and lies flat along it.
A vertical line is the one case slope-intercept form cannot describe. Its slope is undefined, so there is no to write, and its equation is instead. A vertical line has an -intercept at but no -intercept, unless , when the line is the -axis.
A line through the origin has -intercept , so its is and its equation is simply . Here the -intercept and the -intercept are the same point, the origin, because setting and setting both land there. Because both intercepts land on that same point, plotting such a line from intercepts alone is not enough; step out to a second point using the slope.