Graphing with Slope-Intercept Form
Learn to read slope and y-intercept from y = mx + b, graph a line in seconds, write equations from graphs or a point, and explain what m and b mean in real situations.
What you'll do in this lesson
A voice-first session with the Crimsora tutor on Graphing with Slope-Intercept Form, then targeted practice and FRQs — with the tutor adapting to where you get stuck.
What this lesson covers
You already know how to compute slope between two points. Slope-intercept form takes that idea and packs it into an equation you can graph almost instantly: . The number multiplied by is the slope, and the number added on the end is the -intercept. Once you trust that, graphing stops being a table-of-values chore — you plot one point, count a rise and a run, and you are done.
This lesson covers four connected skills: pulling and out of an equation (even when the equation is disguised), graphing from those two numbers, running the process backward to write an equation from a graph or from a slope and one point, and explaining in words what and mean when the line describes something real like a phone bill, a savings account, or a filling water tank.
This lesson covers four connected skills: pulling and out of an equation (even when the equation is disguised), graphing from those two numbers, running the process backward to write an equation from a graph or from a slope and one point, and explaining in words what and mean when the line describes something real like a phone bill, a savings account, or a filling water tank.
Reading m and b Out of the Equation
In , the slope is the coefficient of and the -intercept is the constant term. The intercept is the point — the output when the input is zero.
The catch is that equations do not always arrive in that exact order. You must rearrange until is alone on one side with coefficient , and only then read off the numbers.
Two mistakes show up constantly. First, in students grab because comes first. Read the structure, not the order: the slope rides with the . Second, when solving , students divide only part of the right side. Subtract first to get , then divide every term by .
Also keep the sign attached. In , the slope is negative two-thirds, not two-thirds. That single sign decides whether your line rises or falls, so it is worth circling before you graph.
The catch is that equations do not always arrive in that exact order. You must rearrange until is alone on one side with coefficient , and only then read off the numbers.
| Equation as written | Slope-intercept form | ||
|---|---|---|---|
Also keep the sign attached. In , the slope is negative two-thirds, not two-thirds. That single sign decides whether your line rises or falls, so it is worth circling before you graph.
Graphing a Line Directly from y = mx + b
Graphing takes three moves. Plot the -intercept at . Write the slope as a fraction (a whole number becomes ). From the intercept, count the rise vertically and the run horizontally to land on a second point. Draw the line through both points, extending past them with arrows.
Take . Start at . Rise up and run right to reach . Repeat if you want a third point as a check: . Connect them.
For a negative slope like , put the negative sign in the numerator: go down and right . You can also go up and left , since — both give points on the same line. What you must not do is make both the rise and the run negative; that produces a line rising to the right, which is wrong for a negative slope.
A quick self-check before you commit: positive slope goes up left-to-right, negative slope goes down left-to-right, zero slope is horizontal, and a larger absolute value of means a steeper line. If your sketch disagrees with the sign of , you miscounted a direction.
Where students most often go wrong is counting the run vertically and the rise horizontally, which flips the slope to its reciprocal. Say it out loud each time — "rise over run, vertical over horizontal" — until the order is automatic. A line drawn from an intercept and a correctly counted second point never needs a table of values.
Take . Start at . Rise up and run right to reach . Repeat if you want a third point as a check: . Connect them.
For a negative slope like , put the negative sign in the numerator: go down and right . You can also go up and left , since — both give points on the same line. What you must not do is make both the rise and the run negative; that produces a line rising to the right, which is wrong for a negative slope.
A quick self-check before you commit: positive slope goes up left-to-right, negative slope goes down left-to-right, zero slope is horizontal, and a larger absolute value of means a steeper line. If your sketch disagrees with the sign of , you miscounted a direction.
Where students most often go wrong is counting the run vertically and the rise horizontally, which flips the slope to its reciprocal. Say it out loud each time — "rise over run, vertical over horizontal" — until the order is automatic. A line drawn from an intercept and a correctly counted second point never needs a table of values.
Writing the Equation from a Graph or from a Slope and a Point
Running the process backward is the same two numbers in reverse order.
From a graph: find where the line crosses the -axis to get , then pick two lattice points (points that land exactly on grid corners) and count rise over run between them to get . Substitute both into . If the line crosses the -axis between grid lines, do not guess — use the slope formula on two clean points instead, then solve for as described below.
From a slope and a point: you know , so the only unknown in is . Substitute the point's coordinates and solve. Suppose the slope is and the line passes through . Then , so and . The equation is .
From two points: compute first, then use either point to find . For and : , and gives , so .
Always verify by substituting the other point back in: . That check catches sign errors and arithmetic slips in seconds.
A frequent error is reporting the coordinates of the intercept point as . The -intercept in the equation is the single number , not the pair , even though both describe the same crossing.
From a graph: find where the line crosses the -axis to get , then pick two lattice points (points that land exactly on grid corners) and count rise over run between them to get . Substitute both into . If the line crosses the -axis between grid lines, do not guess — use the slope formula on two clean points instead, then solve for as described below.
From a slope and a point: you know , so the only unknown in is . Substitute the point's coordinates and solve. Suppose the slope is and the line passes through . Then , so and . The equation is .
From two points: compute first, then use either point to find . For and : , and gives , so .
Always verify by substituting the other point back in: . That check catches sign errors and arithmetic slips in seconds.
A frequent error is reporting the coordinates of the intercept point as . The -intercept in the equation is the single number , not the pair , even though both describe the same crossing.
What m and b Mean in a Real Situation
When a line models something real, is the initial value — the amount when the input is zero — and is the rate of change, how much the output changes for each one-unit increase in the input.
Suppose a tutoring service charges a 40 dollar registration fee plus 25 dollars per session, so , where is sessions and is total cost in dollars. Here means the cost is 40 dollars before any sessions happen, and means each additional session adds 25 dollars. A complete interpretation names the number, the units, and the direction: "the cost increases by 25 dollars per session."
Negative slopes describe decrease. If a 60-gallon tank drains at 4 gallons per minute, : the tank starts with 60 gallons and loses 4 gallons each minute.
Two things trip students up here. One is swapping the roles and calling the startup fee the rate. Ask yourself which quantity repeats each time the input grows by one — that is . The other is ignoring domain: in the tank problem, cannot be negative and the model stops at when the tank is empty, so the graph is a segment, not an endless line. Real contexts usually restrict the sensible inputs even though the equation itself would keep going.
Suppose a tutoring service charges a 40 dollar registration fee plus 25 dollars per session, so , where is sessions and is total cost in dollars. Here means the cost is 40 dollars before any sessions happen, and means each additional session adds 25 dollars. A complete interpretation names the number, the units, and the direction: "the cost increases by 25 dollars per session."
Negative slopes describe decrease. If a 60-gallon tank drains at 4 gallons per minute, : the tank starts with 60 gallons and loses 4 gallons each minute.
| Symbol | Name | Question it answers | Units |
|---|---|---|---|
| initial value / -intercept | Where does it start? | units of | |
| rate of change / slope | How fast does it change per unit? | -units per -unit |
Key terms
- Slope-intercept form.
- The equation , where is the slope and is the -intercept; it is solved explicitly for .
- Slope ().
- The constant rate of change of a line, equal to for any two points on the line.
- -intercept ().
- The -value where the line crosses the -axis, occurring at the point ; in a context it is the initial value.
- Rise and run.
- The vertical change and the horizontal change between two points on a line; slope is rise divided by run, in that order.
- Initial value.
- The output of a linear model when the input is zero — the real-world meaning of , such as a startup fee or a starting amount.
- Rate of change.
- The real-world meaning of : how many output units are gained or lost for each one-unit increase in the input.
- Lattice point.
- A point on a graph whose coordinates are both integers, landing exactly on a grid intersection; these give exact slope counts.
- Coefficient of .
- The number multiplying once the equation is solved for ; this number, sign included, is the slope.
Worked example
A phone plan charges a flat 25 dollar monthly fee plus 5 dollars for each gigabyte of data used. (a) Write an equation in slope-intercept form for the monthly cost after gigabytes. (b) Identify and and interpret each in context. (c) Describe how to graph the line. (d) Find the cost for 6 gigabytes, and find how much data was used in a month that cost 70 dollars.
(a) The flat fee happens once no matter what, so it is the constant term. The 5 dollars repeats for every gigabyte, so it attaches to . The equation is .
(b) Here and . The intercept means that with zero gigabytes used the bill is still 25 dollars. The slope means the bill rises by 5 dollars for each additional gigabyte. Notice the units of the slope: dollars per gigabyte.
(c) Put on the horizontal axis and on the vertical axis. Plot the intercept at . Write the slope as : from move right and up to , then again to . Connect the points. Because negative data usage is impossible, graph only the part with — a ray starting at .
(d) For 6 gigabytes substitute : , so the bill is 55 dollars. For a 70 dollar bill substitute : . Subtract to get , then divide by to get . Nine gigabytes were used.
Check: . The two questions in part (d) are opposites — one substitutes for the input, the other solves for it.
(b) Here and . The intercept means that with zero gigabytes used the bill is still 25 dollars. The slope means the bill rises by 5 dollars for each additional gigabyte. Notice the units of the slope: dollars per gigabyte.
(c) Put on the horizontal axis and on the vertical axis. Plot the intercept at . Write the slope as : from move right and up to , then again to . Connect the points. Because negative data usage is impossible, graph only the part with — a ray starting at .
(d) For 6 gigabytes substitute : , so the bill is 55 dollars. For a 70 dollar bill substitute : . Subtract to get , then divide by to get . Nine gigabytes were used.
Check: . The two questions in part (d) are opposites — one substitutes for the input, the other solves for it.
Practice questions
Rewrite in slope-intercept form. What are the slope and -intercept?
- ,
- ,
- ,
- ,
Answer: ,
Isolate : subtract from both sides to get , then divide every term by to get . So and . Choosing and means reading numbers straight off the original standard-form equation without solving for ; choosing means dropping the negative sign that comes from moving across the equals sign.
A line passes through the points and . Write its equation in slope-intercept form and describe how you would graph it.
Answer:
One of the given points has , so it is the -intercept: . The slope is . The equation is . To graph it, plot , then rise and run to reach , and again to reach — the second given point, which confirms the work. Leaving the slope as is not wrong, but reducing to gives smaller counting steps.
A candle is 20 centimeters tall and burns down at a steady rate of 2.5 centimeters per hour. Write an equation for the height after hours, interpret and , and state a reasonable domain.
Answer: ; is the starting height in centimeters and means the candle loses 2.5 centimeters of height each hour; a reasonable domain is .
The candle starts at 20 centimeters, which is the value when , so . It is shrinking, so the rate of change is negative: centimeters per hour. The equation is . Setting gives , so : the candle is gone after 8 hours. Negative time and negative height are meaningless here, so the graph is a segment from to rather than a full line. Forgetting the negative sign on the slope is the most common error in decreasing situations.
FAQ
- How do I graph a line when the slope is a whole number?
- Rewrite it as a fraction over . A slope of is , so from the -intercept you move up and right . A slope of is : down , right . Writing the prevents the common mistake of counting the same number in both directions.
- What if the equation has no visible , like ?
- Then and the line passes through the origin. Similarly, if there is no visible -term, as in , the slope is and the graph is a horizontal line through . Equations like are not functions and cannot be written in slope-intercept form at all; that line is vertical and its slope is undefined.
- Should I use slope-intercept form or point-slope form?
- Use slope-intercept when you already know the -intercept or when you need to graph quickly. Use point-slope when you are handed a slope and a point that is not on the -axis. Either way you can convert: solving a point-slope equation for produces , and both describe the exact same line.
- Why does my line look different from my classmate's when we have the same equation?
- Almost always the axis scales differ, or the rise and run were counted in the wrong order. Check two things: that both of you plotted correctly, and that the vertical change matches the numerator of the slope. A quick test is to substitute an -value into the equation and confirm your graph shows that same .
Learn this with a teacher, not a page
The Crimsora tutor teaches Graphing with Slope-Intercept Form live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.