Marbleslides
All lessons

Slope & Intercept

In y = mx + b, m controls how steeply the track rises or falls, and b controls where the line crosses the y-axis. A marble released on a line with negative slope can roll down toward the right.

Play three linear puzzles

  1. Tilt the track

    Change the slope while keeping the y-intercept fixed. Use two stars to calculate rise divided by run.

    Play Tilt the track
  2. Raise the line

    Shift a line vertically. The star on the y-axis shows the height of the intercept.

    Play Raise the line
  3. Build from two points

    Work out the slope, then substitute a star’s coordinates into y = mx + b to find the intercept.

    Play Build from two points

For the classroom

Share the link to a specific puzzle and ask students to predict the path before launching. After solving, have them explain which coefficient they changed, what happened to the track, and why the marble reached the next star.

For a quick worked example, a line crossing the y-axis at 3 and falling 1 unit for every 2 it moves right has equation y = -0.5x + 3.