3.5 Slope-Intercept Form of a Line
Learning Objectives
After completing this section, you should be able to:
- Recognize the relationship between a line’s graph and its equation in slope-intercept form.
- Identify the slope and y-intercept from an equation.
- Graph a line using its slope and intercept.
- Write an equation in slope-intercept form from given information.
The Slope-Intercept Form
The slope-intercept form of a line is:
where:
- m is the slope (rise/run), and
- b is the y-intercept (where the line crosses the y-axis).
This form is very useful because it gives both the slope and intercept directly.
Example 3.5.1 — Identify Slope and y-Intercept
Find the slope and y-intercept of each equation.
a) 
Solution
Slope: 
y-intercept: 
b) 
Solution
Slope: 
y-intercept: 
c) 
Solution
Slope: 
y-intercept: 
Try It
Finding Slope and Intercept from Standard Form
If the equation is not already in slope-intercept form, solve for y.
Example 3.5.2 — Convert to Slope-Intercept Form
Convert
to slope-intercept form, then identify the slope and y-intercept.
Solution
Subtract
from both sides:
Slope: 
y-intercept: 
Example 3.5.3 — Convert to Slope-Intercept Form
Convert
to slope-intercept form, then identify the slope and y-intercept.
Solution
Subtract
from both sides:
Divide by
:
Slope: 
y-intercept: 
Try It
Graphing a Line Using Slope and Intercept
- Plot the y-intercept
.
- From that point, use the slope (rise/run) to find another point.
- Draw the line through the two points.
Example 3.5.4 — Graph using slope and y-intercept
Graph 
Step 1: Plot the y-intercept
The y-intercept is
. Plot the point
on the y-axis.
Step 2: Use the slope to find another point
The slope is
, which means rise 2 and run 1.
From
, move up 2 and right 1 to reach
.
Step 3: Draw the line
Draw a straight line through
and
.

Example 3.5.5
Graph 
Step 1: Plot the y-intercept
The y-intercept is
. Plot the point
on the y-axis.
Step 2: Use the slope to find another point
The slope is
, which means down 1 and right 2.
From
, move down 1 and right 2 to reach
.
Step 3: Draw the line
Draw a straight line through
and
.

Try It
Writing the Equation from a Graph
You can write the equation of a line directly from a graph by reading its slope and y-intercept.
Example 3.5.6
Write the equation of the line from the graph below.

Solution
The line crosses the y-axis at
, so
.
From the graph, the line rises 3 for every 1 to the right, so
.
Equation: 
Tip: Start by finding the y-intercept, then locate another clear grid point to compute slope.
Try It
Writing the Equation from Given Information
If you are given the slope and y-intercept, substitute directly into
.
Example 3.5.7
Write the equation with slope
and y-intercept
.
Solution
We often are not given the y-intercept, but just another point. In this case, we substitute that point for x and y and solve for b. Note the example below.
Example 3.5.8
Given slope
and point
, write the equation in slope-intercept form.
Solution
Start with
and substitute the point:
Equation: 
We will explore this more in the next section.
Try It
Special Cases
- If the slope is 0 → horizontal line → equation is
.
- If the slope is undefined → vertical line → equation is
.
Example 3.5.9 — Horizontal and Vertical Lines
a) Slope = 0, point (0, 5)
Solution
b) Slope undefined, point (4, 1)
Solution
Tip: Horizontal lines:
Vertical lines: 
Summary Table
| Equation | Slope (m) | y-intercept (b) | Notes |
|---|---|---|---|
| 2 | 3 | Positive slope | |
| -3 | 1 | Negative slope | |
| 0 | 5 | Horizontal line | |
| Undefined | None | Vertical line |
Key Takeaways
- The slope-intercept form of a line is
.
- The slope (m) shows how steep the line is.
- The y-intercept (b) shows where the line crosses the y-axis.
- Horizontal lines have slope 0.
- Vertical lines have undefined slope.