ALG1-4.3

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: y=mx+by = mx + b. The number multiplied by xx is the slope, and the number added on the end is the yy-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 mm and bb 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 mm and bb 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 y=mx+by = mx + b, the slope mm is the coefficient of xx and the yy-intercept bb is the constant term. The intercept is the point (0,b)(0, b) — the output when the input is zero.

The catch is that equations do not always arrive in that exact order. You must rearrange until yy is alone on one side with coefficient 11, and only then read off the numbers.
Equation as writtenSlope-intercept formmmbb
y=43xy = 4 - 3xy=3x+4y = -3x + 43-344
y=x52y = \frac{x}{5} - 2y=15x2y = \frac{1}{5}x - 215\frac{1}{5}2-2
y=7xy = 7xy=7x+0y = 7x + 07700
y=6y = -6y=0x6y = 0x - 6006-6
2x+3y=122x + 3y = 12y=23x+4y = -\frac{2}{3}x + 423-\frac{2}{3}44
Two mistakes show up constantly. First, in y=43xy = 4 - 3x students grab m=4m = 4 because 44 comes first. Read the structure, not the order: the slope rides with the xx. Second, when solving 2x+3y=122x + 3y = 12, students divide only part of the right side. Subtract first to get 3y=2x+123y = -2x + 12, then divide every term by 33.

Also keep the sign attached. In y=23x+4y = -\frac{2}{3}x + 4, 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 yy-intercept at (0,b)(0, b). Write the slope as a fraction m=riserunm = \frac{\text{rise}}{\text{run}} (a whole number 55 becomes 51\frac{5}{1}). 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 y=34x2y = \frac{3}{4}x - 2. Start at (0,2)(0, -2). Rise 33 up and run 44 right to reach (4,1)(4, 1). Repeat if you want a third point as a check: (8,4)(8, 4). Connect them.

For a negative slope like m=25m = -\frac{2}{5}, put the negative sign in the numerator: go down 22 and right 55. You can also go up 22 and left 55, since 25=25\frac{-2}{5} = \frac{2}{-5} — 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 mm means a steeper line. If your sketch disagrees with the sign of mm, 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 yy-axis to get bb, then pick two lattice points (points that land exactly on grid corners) and count rise over run between them to get mm. Substitute both into y=mx+by = mx + b. If the line crosses the yy-axis between grid lines, do not guess — use the slope formula on two clean points instead, then solve for bb as described below.

From a slope and a point: you know mm, so the only unknown in y=mx+by = mx + b is bb. Substitute the point's coordinates and solve. Suppose the slope is 2-2 and the line passes through (3,1)(3, 1). Then 1=2(3)+b1 = -2(3) + b, so 1=6+b1 = -6 + b and b=7b = 7. The equation is y=2x+7y = -2x + 7.

From two points: compute m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1} first, then use either point to find bb. For (1,5)(1, 5) and (4,14)(4, 14): m=14541=3m = \frac{14 - 5}{4 - 1} = 3, and 5=3(1)+b5 = 3(1) + b gives b=2b = 2, so y=3x+2y = 3x + 2.

Always verify by substituting the other point back in: 3(4)+2=143(4) + 2 = 14. That check catches sign errors and arithmetic slips in seconds.

A frequent error is reporting the coordinates of the intercept point as bb. The yy-intercept in the equation is the single number 2-2, not the pair (0,2)(0, -2), even though both describe the same crossing.

What m and b Mean in a Real Situation

When a line models something real, bb is the initial value — the amount when the input is zero — and mm 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 C=25n+40C = 25n + 40, where nn is sessions and CC is total cost in dollars. Here b=40b = 40 means the cost is 40 dollars before any sessions happen, and m=25m = 25 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, V=4t+60V = -4t + 60: the tank starts with 60 gallons and loses 4 gallons each minute.
SymbolNameQuestion it answersUnits
bbinitial value / yy-interceptWhere does it start?units of yy
mmrate of change / slopeHow fast does it change per unit?yy-units per xx-unit
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 mm. The other is ignoring domain: in the tank problem, tt cannot be negative and the model stops at t=15t = 15 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.

Key terms

Slope-intercept form.
The equation y=mx+by = mx + b, where mm is the slope and bb is the yy-intercept; it is solved explicitly for yy.
Slope (mm).
The constant rate of change of a line, equal to riserun=y2y1x2x1\frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1} for any two points on the line.
yy-intercept (bb).
The yy-value where the line crosses the yy-axis, occurring at the point (0,b)(0, b); 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 bb, such as a startup fee or a starting amount.
Rate of change.
The real-world meaning of mm: 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 xx.
The number multiplying xx once the equation is solved for yy; 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 CC after gg gigabytes. (b) Identify mm and bb 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 gg. The equation is C=5g+25C = 5g + 25.

(b) Here m=5m = 5 and b=25b = 25. 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 gg on the horizontal axis and CC on the vertical axis. Plot the intercept at (0,25)(0, 25). Write the slope as 51\frac{5}{1}: from (0,25)(0, 25) move right 11 and up 55 to (1,30)(1, 30), then again to (2,35)(2, 35). Connect the points. Because negative data usage is impossible, graph only the part with g0g \ge 0 — a ray starting at (0,25)(0, 25).

(d) For 6 gigabytes substitute g=6g = 6: C=5(6)+25=30+25=55C = 5(6) + 25 = 30 + 25 = 55, so the bill is 55 dollars. For a 70 dollar bill substitute C=70C = 70: 70=5g+2570 = 5g + 25. Subtract 2525 to get 45=5g45 = 5g, then divide by 55 to get g=9g = 9. Nine gigabytes were used.

Check: 5(9)+25=705(9) + 25 = 70. The two questions in part (d) are opposites — one substitutes for the input, the other solves for it.

Practice questions

Rewrite 4x+2y=104x + 2y = 10 in slope-intercept form. What are the slope and yy-intercept?
  1. m=2m = -2, b=5b = 5
  2. m=4m = 4, b=10b = 10
  3. m=2m = 2, b=5b = 5
  4. m=4m = -4, b=10b = 10

Answer: m=2m = -2, b=5b = 5

Isolate yy: subtract 4x4x from both sides to get 2y=4x+102y = -4x + 10, then divide every term by 22 to get y=2x+5y = -2x + 5. So m=2m = -2 and b=5b = 5. Choosing m=4m = 4 and b=10b = 10 means reading numbers straight off the original standard-form equation without solving for yy; choosing m=2m = 2 means dropping the negative sign that comes from moving 4x4x across the equals sign.
A line passes through the points (0,3)(0, -3) and (4,3)(4, 3). Write its equation in slope-intercept form and describe how you would graph it.

Answer: y=32x3y = \frac{3}{2}x - 3

One of the given points has x=0x = 0, so it is the yy-intercept: b=3b = -3. The slope is m=3(3)40=64=32m = \frac{3 - (-3)}{4 - 0} = \frac{6}{4} = \frac{3}{2}. The equation is y=32x3y = \frac{3}{2}x - 3. To graph it, plot (0,3)(0, -3), then rise 33 and run 22 to reach (2,0)(2, 0), and again to reach (4,3)(4, 3) — the second given point, which confirms the work. Leaving the slope as 64\frac{6}{4} is not wrong, but reducing to 32\frac{3}{2} 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 hh after tt hours, interpret mm and bb, and state a reasonable domain.

Answer: h=2.5t+20h = -2.5t + 20; b=20b = 20 is the starting height in centimeters and m=2.5m = -2.5 means the candle loses 2.5 centimeters of height each hour; a reasonable domain is 0t80 \le t \le 8.

The candle starts at 20 centimeters, which is the value when t=0t = 0, so b=20b = 20. It is shrinking, so the rate of change is negative: m=2.5m = -2.5 centimeters per hour. The equation is h=2.5t+20h = -2.5t + 20. Setting h=0h = 0 gives 0=2.5t+200 = -2.5t + 20, so t=8t = 8: the candle is gone after 8 hours. Negative time and negative height are meaningless here, so the graph is a segment from (0,20)(0, 20) to (8,0)(8, 0) 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 11. A slope of 66 is 61\frac{6}{1}, so from the yy-intercept you move up 66 and right 11. A slope of 4-4 is 41\frac{-4}{1}: down 44, right 11. Writing the 11 prevents the common mistake of counting the same number in both directions.
What if the equation has no visible bb, like y=3xy = 3x?
Then b=0b = 0 and the line passes through the origin. Similarly, if there is no visible xx-term, as in y=7y = 7, the slope is 00 and the graph is a horizontal line through (0,7)(0, 7). Equations like x=7x = 7 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 yy-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 yy-axis. Either way you can convert: solving a point-slope equation for yy produces y=mx+by = mx + b, 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 (0,b)(0, b) correctly, and that the vertical change matches the numerator of the slope. A quick test is to substitute an xx-value into the equation and confirm your graph shows that same yy.

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.