Slope and Intercepts
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Read and straight off
- Derive the form from point-slope using
- Graph by plotting the intercept, then stepping by the slope
- Convert a 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 works with any point on a nonvertical line. Choosing the -intercept makes the algebra especially short: it lies on the -axis, so its -coordinate is . Write it as , where is the crossing height.
Deriving slope-intercept form from point-slope form#
Take slope and the point . Point-slope form gives
The slope and crossing height appear directly in the result. For any slope and -intercept , use the same steps:
We can check both meanings from this equation. Set : it gives , so is on the line. For any other point , we have , and its slope from is
Thus describes a line with slope and -intercept .
Reading the slope and the intercept
Once an equation is written as , you can read the slope and the intercept straight off. 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 |
|---|---|---|
Several of these rows need care. 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 .
You can also work backward: given the slope and -intercept, put their values into . Try this with the figure’s controls. Start with rise , run and crossing to get .
Change the crossing to : the constant term disappears, leaving . Next set the rise to : the -term disappears too, giving the horizontal line . Finally make the rise negative. The negative sign now belongs to the coefficient of , and the line falls to the right. Watch which term each control changes.
Build the equation from its slope and intercept
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
The -intercept gives a point without calculation, and two different points fix a line. Plot the -intercept , then read the slope as rise over run. Step across by the run and up or down by the rise to reach a second point. Draw the line through those two points and extend it in both directions.
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.
Check your understanding
Starting from the -intercept , which point do you reach by stepping the slope of the line ?
Read the slope as a run of and a rise of , a step right and down .
The minus sign moves with the rise, so the step goes down instead of up; the run itself stays positive.
Converting to slope-intercept form
To convert a nonvertical line’s equation to , solve for . Isolate the -term, then divide by its coefficient so stands alone. Standard form hides the slope and intercept; point-slope form already shows the slope but may hide the -intercept.
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 also displays the -intercept directly.
Check your understanding
Rewrite in slope-intercept form.
Solve for . Subtract from both sides, then divide every term by .
Dividing by turns into and into . If you stop at , is not yet alone.
Finding the intercepts
The -intercept is in slope-intercept form. In any form, setting finds the intersection with the -axis, if there is a single one. The -intercept is where the line meets the -axis, so its -coordinate is . Set and solve for to find that crossing.
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 .
In a real situation, the intercepts often have a meaning. Suppose a tank starts with liters and drains steadily at liters per minute. Until it empties, its volume after minutes is
With time on the horizontal axis, the vertical intercept means liters at the start. For the horizontal intercept, solve to get : the tank empties after minutes. The line describes this situation only from the start until the tank empties; negative volumes after that have no meaning here.
Special cases
Three kinds of line need extra care with slope-intercept form.
A horizontal line has slope . In slope-intercept form that reads , which collapses to . So a horizontal line meets the -axis at and stays at height . When is not , the line has no -intercept, because it 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 nonvertical line through the origin has -intercept , so its is and its equation is simply . When the slope is not , the -intercept and the -intercept are the same point, the origin, because setting and setting both land there. So the intercepts give you only one point; step out to a second point using the slope. A slope of instead gives , the flat line from the horizontal case above, which has no single -intercept at all.
Check your understanding
Which of these lines cannot be written in slope-intercept form ?
The line is vertical, so its slope is undefined and there is no to use. It meets the -axis at and never meets the -axis.
The horizontal line can be written
Its slope is , its -intercept is , and it has no -intercept.
Finally, is ; both intercepts are the same point , so use its slope to find a second point before drawing it.