30% off your first 3 months

Get the deal

Slope-intercept form

Slope-intercept form writes a line as y=mx+by = mx + b.

Guide 5 of 12
A graph of y equals two thirds x plus 1. A dot at 0, 1 is labelled b equals 1. From it, blue steps go right 3 and up 2 to 3, 3, then right 3 and up 2 to 6, 5. The line runs through all three dots.xy−22462460
y = ⅔x + 1. Start at b = 1, then right 3 and up 2, again.

Why it works. When x is 0, the mx part is 0, so y is b: that is exactly where the line meets the y-axis. Each time x goes up by 1, y goes up by m, which is what slope means.


Move it yourself

Move m and b: b slides the line up and down, m tips it.

A graph of y equals two thirds x plus 1. A dot at 0, 1 is labelled b equals 1. From it, blue steps go right 3 and up 2 to 3, 3, then right 3 and up 2 to 6, 5. The line runs through all three dots.xy−22462460

Your turn

Write 6x+2y=86x + 2y = 8 in slope-intercept form. What are m and b?

Or just show the answer

y=−3x+4y = -3x + 4, so m=−3m = -3 and b=4b = 4

Subtract 6x6x from both sides: 2y=−6x+82y = -6x + 8. Divide every term by 2: y=−3x+4y = -3x + 4.


Watch out for

  • Mistake 1. Struck through: 6x + 2y = 8: m = 6; written over it: y = −3x + 4: m = −3.

    Reading m before y is alone: in 6x+2y=86x + 2y = 8, calling the slope 6.

    Solve for y first: y=−3x+4y = -3x + 4, so the slope is −3-3.

  • Mistake 2. Struck through: b = 1 → (1, 0); written over it: b = 1 → (0, 1).

    Putting b on the x-axis: a dot at (1,0)(1, 0) for b=1b = 1.

    b is on the y-axis: (0,1)(0, 1).

  • Mistake 3. Struck through: 2 over 3: up 3, right 2; written over it: 2 over 3: up 2, right 3.

    Going up 3 and right 2 for a slope of 23\frac{2}{3}.

    The top number is the rise (up), the bottom is the run (right).


Stuck on your own homework?

Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.

“Graph this equation step by step and show me where b is.”

Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.


Read the whole guide as text

Slope-intercept form writes a line as y=mx+by = mx + b. The number m is the slope, and b is the y-intercept, where the line crosses the y-axis. With those two numbers you can graph a line fast: put a dot at b on the y-axis, then use the slope to step to the next point.

Worked example

Graph y=23x+1y = \frac{2}{3}x + 1.

  1. The y-intercept is b=1b = 1, so put a dot at (0,1)(0, 1).
  2. The slope is 23\frac{2}{3}: rise 2 for a run of 3. From (0,1)(0, 1) go right 3 and up 2 to the next dot.
    (0+3, 1+2)=(3,3)(0 + 3,\ 1 + 2) = (3, 3)
  3. Do it again to get a third dot, then draw the line through all three.
    (3+3, 3+2)=(6,5)(3 + 3,\ 3 + 2) = (6, 5)
  4. Check a dot in the equation: x=3x = 3 should give y=3y = 3.
    23(3)+1=3\frac{2}{3}(3) + 1 = 3

Answer: The line through (0,1)(0, 1), (3,3)(3, 3) and (6,5)(6, 5)

Algebra 1: all 12 guides
Questions and jobs

Do anything

Ask it a question or hand it a job, in any app.

Doing jobs for you is in the Mac app. Asking works on Mac, Windows and Linux.