Slope: Rise Over Run

April 12, 2026

Problem

Show how the slope of a line is "rise over run" using two points and a slope triangle.

Explanation

The slope of a line measures how steeply it rises (or falls). Numerically, slope is the ratio of the vertical change ("rise") to the horizontal change ("run") between any two points on the line:

m=riserun=y2y1x2x1m = \dfrac{\text{rise}}{\text{run}} = \dfrac{y_2 - y_1}{x_2 - x_1}

The slope is a property of the line, not of the two points you pick — any two points give the same answer.

Slope Sign

  • m>0m > 0 → line goes up as xx increases
  • m<0m < 0 → line goes down as xx increases
  • m=0m = 0horizontal line
  • mm undefined → vertical line (run = 0, division by zero)

Step-by-Step Solution

Given: A line passes through (1,2)(1, 2) and (5,8)(5, 8).

Find: The slope.


Step 1 — Identify the two points.

(x1,y1)=(1,2)(x_1, y_1) = (1, 2)

(x2,y2)=(5,8)(x_2, y_2) = (5, 8)

Step 2 — Compute the rise.

rise=y2y1=82=6\text{rise} = y_2 - y_1 = 8 - 2 = 6

Step 3 — Compute the run.

run=x2x1=51=4\text{run} = x_2 - x_1 = 5 - 1 = 4

Step 4 — Divide.

m=riserun=64=1.5m = \dfrac{\text{rise}}{\text{run}} = \dfrac{6}{4} = 1.5

The slope is 1.5, meaning the line rises 1.5 units for every 1 unit of horizontal travel. Or equivalently, 3 units up for every 2 units right — that's a "3:2" slope.

Step 5 — Find the equation of the line.

Using point-slope form with the slope m=1.5m = 1.5 and point (1,2)(1, 2):

y2=1.5(x1)y - 2 = 1.5(x - 1)

y=1.5x1.5+2y = 1.5x - 1.5 + 2

y=1.5x+0.5y = 1.5x + 0.5

That's the slope-intercept form: y=1.5x+0.5y = 1.5x + 0.5, with yy-intercept at (0,0.5)(0, 0.5).

Step 6 — Verify with both points.

At x=1x = 1: y=1.5(1)+0.5=2.0y = 1.5(1) + 0.5 = 2.0

At x=5x = 5: y=1.5(5)+0.5=8.0y = 1.5(5) + 0.5 = 8.0

Step 7 — Try a different pair of points on the same line.

If you use (3,5)(3, 5) and (7,11)(7, 11) (both on this line — verify with the equation):

m=11573=64=1.5    m = \dfrac{11 - 5}{7 - 3} = \dfrac{6}{4} = 1.5 \;\;\checkmark

Same slope. Choosing different points doesn't change the answer.


Answer:

  m=riserun=8251=64=1.5  \boxed{\;m = \dfrac{\text{rise}}{\text{run}} = \dfrac{8 - 2}{5 - 1} = \dfrac{6}{4} = 1.5\;}

The line through (1,2)(1, 2) and (5,8)(5, 8) has slope 1.51.5. Its equation is y=1.5x+0.5y = 1.5x + 0.5.

Try It

  • Adjust the two points with the sliders.
  • Watch the line and the slope triangle update.
  • The HUD shows the rise, run, and resulting slope.
  • Try aligning the two points horizontally — slope becomes 0.
  • Try aligning them vertically — slope becomes undefined (the formula divides by zero).

Interactive Visualization

Parameters

1.00
2.00
5.00
8.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Slope: Rise Over Run | MathSpin