Slope Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Slope.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

A measure of the steepness and direction of a line, calculated as the ratio of vertical change (rise) to horizontal change (run) between any two points on the line. Slope is written as m=y2โˆ’y1x2โˆ’x1m = \frac{y_2 - y_1}{x_2 - x_1} and indicates how much yy changes for each unit increase in xx.

How much the line goes up for every step to the right. Steeper = bigger slope.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Slope is the steady rate a straight line climbs or falls.

Common stuck point: The procedure for slope is the easy part; the trap is computing ฮ”xฮ”y\frac{\Delta x}{\Delta y} instead of ฮ”yฮ”x\frac{\Delta y}{\Delta x}. Asking "Does the output change by the same amount for each equal step in the input?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Does the output change by the same amount for each equal step in the input?

Worked Examples

Example 1

easy
Find the slope of the line passing through points (2,3)(2, 3) and (6,11)(6, 11).

Answer

m=2m = 2

First step

1
Use the slope formula: m=y2โˆ’y1x2โˆ’x1m = \frac{y_2 - y_1}{x_2 - x_1}.

Full solution

  1. 2
    Substitute: m=11โˆ’36โˆ’2=84=2m = \frac{11 - 3}{6 - 2} = \frac{8}{4} = 2.
  2. 3
    The slope is 2, meaning the line rises 2 units for every 1 unit to the right.
Slope measures steepness: the ratio of vertical change (rise) to horizontal change (run). A positive slope means the line goes upward from left to right.

Example 2

medium
A line passes through (3,7)(3, 7) and (3,โˆ’2)(3, -2). What is its slope?

Example 3

medium
Find the slope of the line passing through (2,5)(2, 5) and (6,13)(6, 13).

Example 4

easy
A ramp rises 33 ft over a 1515 ft horizontal run. What is its slope?

Example 5

medium
A table shows (1,4),(2,7),(3,10),(4,13)(1, 4), (2, 7), (3, 10), (4, 13). Is the relationship linear, and if so, what is the slope?

Example 6

medium
A car's distance after tt hours is 60t+2060t + 20 miles. What does the slope 6060 represent?

Example 7

medium
A staircase has 77 steps; each step is 88 in tall and 1111 in deep. What is the staircase's slope?

Example 8

hard
A line has xx-intercept 44 and yy-intercept โˆ’6-6. Find its slope.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Find the slope of the line through (1,4)(1, 4) and (5,12)(5, 12).

Example 2

hard
A line has slope โˆ’34-\frac{3}{4} and passes through (0,5)(0, 5). Find the yy-value when x=8x = 8.

Example 3

easy
Find the slope of the line through (1,2)(1, 2) and (4,8)(4, 8).

Example 4

easy
Find the slope of the line through (0,5)(0, 5) and (2,1)(2, 1).

Example 5

easy
Find the slope of the line through (3,7)(3, 7) and (5,7)(5, 7).

Example 6

easy
Find the slope of the line through (2,3)(2, 3) and (2,8)(2, 8).

Example 7

easy
Slope of y=3x+2y = 3x + 2.

Example 8

easy
Slope of y=โˆ’12x+4y = -\frac{1}{2}x + 4.

Example 9

easy
Find the slope of the line y=5y = 5.

Example 10

easy
A roof rises 44 feet over a horizontal distance of 1010 feet. What is the slope?

Example 11

medium
Find the slope of 2x+3y=122x + 3y = 12.

Example 12

medium
Are lines y=2x+1y = 2x + 1 and y=2xโˆ’5y = 2x - 5 parallel?

Example 13

medium
Are lines with slopes 33 and โˆ’13-\frac{1}{3} perpendicular?

Example 14

medium
A line has slope 23\frac{2}{3} and passes through (3,1)(3, 1). Find its equation.

Example 15

medium
Find the slope between (โˆ’2,5)(-2, 5) and (3,โˆ’10)(3, -10).

Example 16

medium
A line has slope โˆ’2-2 and yy-intercept 77. Write its equation.

Example 17

medium
A line passes through (1,4)(1, 4) and (3,10)(3, 10). Where does it cross the yy-axis?

Example 18

medium
Find the slope of the line perpendicular to y=14x+3y = \frac{1}{4}x + 3.

Example 19

medium
What's the slope of a wheelchair ramp that rises 22 ft over a 2424-ft run?

Example 20

challenge
Lines y=2x+3y = 2x + 3 and y=mxโˆ’1y = mx - 1 are perpendicular. Find mm.

Example 21

challenge
A line passes through (2,5)(2, 5) with slope 33. What's its xx-intercept?

Example 22

challenge
Three points (1,2)(1, 2), (4,8)(4, 8), (k,14)(k, 14) are collinear. Find kk.

Example 23

easy
Find the slope of the line through (0,0)(0, 0) and (4,12)(4, 12).

Example 24

easy
What is the slope of the line y=โˆ’7x+9y = -7x + 9?

Example 25

easy
Find the slope of the line through (โˆ’1,โˆ’4)(-1, -4) and (2,5)(2, 5).

Example 26

medium
Find the slope of 4xโˆ’2y=104x - 2y = 10.

Example 27

medium
A line passes through (2,โˆ’1)(2, -1) and has slope 44. Find yy when x=5x = 5.

Example 28

medium
Are the lines y=12x+3y = \frac{1}{2}x + 3 and 2xโˆ’4y=72x - 4y = 7 parallel?

Example 29

medium
Find the slope of the line perpendicular to one with slope 53\frac{5}{3}.

Example 30

medium
Find the slope between (12,3)(\tfrac{1}{2}, 3) and (52,11)(\tfrac{5}{2}, 11).

Example 31

medium
If (4,k)(4, k) and (6,13)(6, 13) lie on a line with slope 55, find kk.

Example 32

hard
Find the slope of the line containing the midpoint of (0,0)(0, 0) and (8,4)(8, 4) and the point (10,9)(10, 9).

Example 33

hard
A line through (1,2)(1, 2) and (5,k)(5, k) is perpendicular to a line of slope 22. Find kk.

Example 34

hard
A line passes through (2,3)(2, 3) with slope โˆ’25-\frac{2}{5}. Find its xx-intercept.

Example 35

hard
Lines y=(2aโˆ’1)x+3y = (2a - 1)x + 3 and y=(a+5)xโˆ’1y = (a + 5)x - 1 are parallel. Find aa.

Example 36

hard
A pool drains at a steady rate. After 22 minutes it holds 480480 gallons; after 77 minutes it holds 355355 gallons. What is the slope (gallons per minute)?

Example 37

challenge
Points A(0,0)A(0, 0), B(6,8)B(6, 8), and C(c,0)C(c, 0) form a right triangle with the right angle at BB. Find cc.

Example 38

challenge
Points (2,5)(2, 5), (4,11)(4, 11), and (t,2t+1)(t, 2t + 1) are collinear. Find tt.

Background Knowledge

These ideas may be useful before you work through the harder examples.

coordinate planerates