Slope-intercept form means writing a non-vertical line as y=mx+by = mx + b. In this equation, mm is the slope and bb is the y-intercept, so you can read the line's steepness and starting point right away.

That gives you a quick graphing rule: plot (0,b)(0, b) first, then use the slope to find another point. If m>0m > 0, the line rises from left to right. If m<0m < 0, it falls. If m=0m = 0, the line is horizontal.

Use The Explorer To Separate mm And bb

Move one slider at a time: change mm to see the line pivot, then change bb to see the whole line slide up or down without changing tilt.

Slope-intercept form explorer

Use the sliders to change the slope m, the y-intercept b, and a sample x-value. Watch how the line follows the rule y = mx + b: start at the y-intercept, then move right by the run and up or down by the rise.

run = 1rise = 1.5(0, 2)(1, 3.5)xy
What the equation says
y = 1.5x + 2

Here, m = 1.5 and b = 2. The value of b tells you where the line crosses the y-axis, and the value of m tells you how much y changes when x increases by 1.

Current point

For x = 1, the rule gives y = 1.5(1) + 2 = 3.5.

The marked point is (1, 3.5). If you slide x while keeping m and b fixed, the point moves along the same line because every point on the line satisfies the same equation.

What to notice

A positive slope means the line rises as x increases.

The dashed orange step shows one valid slope move from the y-intercept: run = 1, rise = 1.5. Because slope = rise / run, this step has slope 1.5/1 = 1.5.

How To Graph Slope-Intercept Form

For a line in slope-intercept form, graphing usually takes two steps:

  1. Plot (0,b)(0, b) on the yy-axis.
  2. Use the slope as rise over run to locate another point.

For example, if m=3m = 3, move right 11 and up 33. If m=2m = -2, move right 11 and down 22. This works for non-vertical lines. A vertical line has equation x=cx = c, so it cannot be rewritten as y=mx+by = mx + b.

Worked Example: y=2x3y = 2x - 3

Here m=2m = 2 and b=3b = -3.

The y-intercept is (0,3)(0, -3), so start there. Since the slope is 22, you can read it as 2/12/1: move right 11 and up 22. That gives another point at (1,1)(1, -1). Repeating the same move gives (2,1)(2, 1).

Those points all lie on the same line, so the graph rises steadily as xx increases. You can check them in the equation:

if x=0,y=2(0)3=3\text{if } x = 0, \quad y = 2(0) - 3 = -3 if x=1,y=2(1)3=1\text{if } x = 1, \quad y = 2(1) - 3 = -1 if x=2,y=2(2)3=1\text{if } x = 2, \quad y = 2(2) - 3 = 1

Set m=2m = 2 and b=3b = -3 in the explorer, then compare the intercept and sample points to the graph. That is the quickest way to connect the equation to the picture.

What To Notice In The Graph

  1. Changing only mm changes the steepness and direction.
  2. Changing only bb shifts the line up or down.
  3. Lines with the same slope are parallel.
  4. A larger absolute value of mm means a steeper line.

Try A Similar Line

Try your own version by choosing a line such as y=12x+4y = -\frac{1}{2}x + 4. Predict the intercept and whether the line rises or falls before you touch the widget, then use the graph to check your prediction.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →