Math Lessons / Grade 8 Geometry / Slope-Intercept Form
Read the line in two pieces

What Is Slope-Intercept Form?

Slope-intercept form writes a line as y = mx + b. In that equation, m is the slope and b is the y-intercept, the value where the line crosses the y-axis.

Interactive diagram

Slope-Intercept Form Diagram

Move the line, watch the intercept and slope update, and compare each value with its place in the equation.
m tilts and b starts

How y = mx + b maps to a graph

This form is efficient for graphing because it starts with a visible reference point on the axis and then uses slope to build the rest of the line. It is also easy to read from a graph when the intercept is clear.

This page keeps the intercept mark, the rise-over-run pattern, and the equation in sync so the graph can explain the algebra rather than merely accompany it.

For y = 2x - 1, start at (0, -1), then use a rise of 2 and a run of 1 to find another point. The coefficient 2 controls the tilt while -1 controls the starting height. Changing one without the other produces a different line, so the roles should stay separate.

  • Slope-intercept form writes a line as y equals mx plus b.
  • The coefficient m controls the slope of the line.
  • The constant b gives the y-value of the point where the line crosses the y-axis.
  • Not every line is naturally best expressed in slope-intercept form, especially vertical lines, which cannot be written as y = mx + b.
A quick form for graphing

Where slope-intercept form helps

  • Use slope-intercept form when graphing a line from its equation quickly.
  • Use it in algebra and analytic geometry to compare rates of change and intercept values.
  • Use it when converting between graph information and symbolic line equations.
Do not swap the roles

Slope-intercept checks

  • Do not confuse the y-intercept b with the x-coordinate of the intercept point; it is the y-value on the y-axis.
  • Do not read m as the intercept and b as the slope; their jobs are different.
  • Do not force vertical lines into slope-intercept form, because they do not have a defined slope.

Plot the intercept, then use the slope

Worked example

Example 1: Read y = 2x + 1

The coefficient of x gives the slope and the constant gives the y-intercept.

  • Identify m.
  • Identify b.
  • Plot the intercept and use the rise and run.

The equation becomes a graphing plan.

Worked example

Example 2: Find the intercept from a graph

A line's crossing with the y-axis supplies b directly.

  • Locate x = 0.
  • Read the vertical coordinate.
  • Combine it with the slope.

The graph and equation describe the same line.

Share this lesson