Formula

Slope-intercept form

Also written: y = mx + b · y equals mx plus b · slope intercept equation

y=mx+by = mx + b

Slope-intercept form writes a line so its slope and its y-intercept can be read straight off the equation.

What each part means

mm
the slope — how much y changes per step of 1 in x
bb
the y-intercept — the y-value where the line crosses the y-axis

When to use it

You want to graph a line quickly, or compare two lines, or read a rate and a starting value out of a real-world equation.

Why this form is the useful one

Every other arrangement hides the two facts you most often want. Here they are both visible without any work:

y=3x4m=3, b=4y = 3x - 4 \quad\Rightarrow\quad m = 3,\ b = -4

To graph it, plot (0,b)(0, b), then step across 11 and up mm, and repeat. Two points fix a line.

Why b is the y-intercept

The yy-axis is the set of points where x=0x = 0. Substituting:

y=m(0)+b=by = m(0) + b = b

So the line passes through (0,b)(0, b), whatever mm is. The intercept is not a separate fact bolted on — it is what the equation says at x=0x = 0.

In a real situation

C=15h+40C = 15h + 40

The 1515 is a rate: dollars per hour. The 4040 is a fixed starting amount charged before any hours are worked. Slope is the per-unit cost and the intercept is the flat fee, in almost every problem of this shape.

Worked examples

Write the line with slope 2-2 through (0,7)(0, 7).

The point is on the yy-axis, so b=7b = 7:

y=2x+7y = -2x + 7

Put 6x+2y=106x + 2y = 10 into slope-intercept form.

2y=6x+10y=3x+52y = -6x + 10 \quad\Rightarrow\quad y = -3x + 5

Slope 3-3, intercept 55. Converting from standard form means solving for yy.

The line it cannot write

A vertical line has undefined slope, so no value of mm describes it. Vertical lines are written x=kx = k instead.

Lessons that teach this

Related