Slope-Intercept Form
Slope-intercept form describes a whole line with just two numbers: . The is the slope — how steeply the line climbs or falls — and the is the -intercept, the height where the line crosses the -axis.
Once you can read and , equations and graphs become two views of the same thing. Given the equation, you can sketch the line in seconds; given the graph, you can write its equation. This lesson is the bridge between them.
What m and b tell you
In , the slope is the number multiplying , and is the constant on the end. The line crosses the -axis at the point — substitute and the term vanishes, leaving .
So is a line that crosses the -axis at and rises for every step right. That is the line drawn below.
Reading m and b from an equation
For an equation already in the form , just read the two numbers: in , the slope is and the -intercept is . Keep the sign with the number it belongs to.
Two cases trip students up. When appears alone, as in , the coefficient is , so and . And when the terms come in the other order, as in , rewrite it with the -term first: , so and — the is not the slope just because it comes first.
Writing the equation from a graph
Work in two reads. First find : look where the line crosses the -axis. Then find : starting from that crossing point, count the rise and run to the next clean grid point on the line.
Always start with the intercept — it anchors the line. If the line crosses at and rises for every steps right, the equation is .
Worked examples
Example 1: read m and b from the equation
Name the slope and -intercept of .
Answer: ,
Example 2: write the equation from a graph
A line crosses the -axis at and rises units for every unit right. Write its equation.
Answer:
Example 3: a real-world equation
A gym charges a $20 sign-up fee plus $15 per month. Write an equation for the total cost after months.
Answer:
Try one yourself
Common questions
What if there is no constant term?
Then and the line passes through the origin. An equation like is still in slope-intercept form — it is also a proportional relationship, with the slope playing the role of the constant of proportionality.
Is b where the line crosses the x-axis?
No — the -axis. The -intercept is the point , where . The spot where the line crosses the -axis is a different point with its own name, the -intercept.
What if the equation is written like ?
Rewrite it with the -term first: . The slope is and the intercept is . The slope is always the coefficient of , no matter where the term sits.
What does a negative slope mean for the graph?
The line falls as you read it left to right. In the line starts high on the left, crosses the -axis at , and drops for every step right.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.