← Algebra 1

Slope-intercept form

Write the equation y = mx + b.

Start this lesson

Every straight line can be written y = mx + b, where m is the slope and b is where the line crosses the y-axis. If you know the slope and one point, plug them in to find b.

Example: slope 2, through (3, 1)

  1. y = 2x + b — Put in the slope
  2. 1 = 2(3) + b — Put in the point (3, 1)
  3. 1 = 6 + b, so b = −5 — Solve for b
  4. y = 2x − 5 — Answer

Why it works: b is the value of y when x is 0, which is where the line crosses the y axis. m says how much y grows for each step in x.

Tip: b is the y-value when x = 0.