PracticeVideosBlogFlashcards

5.2 Slope, Rate of Change & Graphing Lines

Key Takeaways

  • Slope (mm) quantifies the steepness and direction of a straight line, defined as the ratio of vertical change (rise, Δy\Delta y) to horizontal change (run, Δx\Delta x): m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}.

  • There are four distinct slope categories: positive (rises from left to right), negative (falls from left to right), zero (horizontal line with equation y=cy = c), and undefined (vertical line with equation x=cx = c).

  • The slope formula requires consistent point ordering in both numerator and denominator; subtracting yy-coordinates in one order and xx-coordinates in reverse creates an erroneous sign flip.

  • In real-world applications, slope represents a constant unit rate of change, expressing units of output per unit of input (e.g., dollars per hour, feet per second, gallons per mile).

  • Any linear equation can be graphed by plotting a known starting point and using the slope ratio riserun\frac{\text{rise}}{\text{run}} to locate subsequent points, or by calculating a table of coordinate values.

Last updated: September 2026

Slope, Rate of Change & Graphing Lines

Quick Summary: Slope (mm) is the fundamental measure of steepness and direction for a linear relationship, calculated as m=riserun=y2−y1x2−x1m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}. Lines with positive slope rise from left to right, while negative slope lines fall. Horizontal lines have a slope of 00 (y=cy = c), and vertical lines have an undefined slope (x=cx = c) due to division by zero.

In algebra and coordinate geometry, linearity is defined by a constant rate of change. Whether analyzing the speed of a vehicle, the depreciation of equipment, or the cost per gallon of gasoline, slope provides the quantitative connection between two changing variables.


The Concept of Slope (mm)

Slope measures how rapidly the dependent variable (yy) changes relative to a unit change in the independent variable (xx). Geometrically, it describes the tilt or incline of a line across the Cartesian coordinate plane.

m=Vertical ChangeHorizontal Change=RiseRun=ΔyΔxm = \frac{\text{Vertical Change}}{\text{Horizontal Change}} = \frac{\text{Rise}}{\text{Run}} = \frac{\Delta y}{\Delta x}
  • Rise (Δy\Delta y): The vertical difference between two points (y2−y1y_2 - y_1). Moving upward represents a positive rise; moving downward represents a negative rise.
  • Run (Δx\Delta x): The horizontal difference between two points (x2−x1x_2 - x_1). Moving right represents a positive run; moving left represents a negative run.
                                  (x₂, y₂)
                                    ▲
                                   /│
                                  / │
                                 /  │  Rise = Δy = y₂ - y₁
                                /   │  (Vertical change)
                               /    │
                      (x₁, y₁)┌─────▼
                              ◄─────►
                         Run = Δx = x₂ - x₁
                         (Horizontal change)

The Four Types of Slope

Every straight line on the coordinate plane falls into one of four distinct slope categories:

   1. Positive Slope (m > 0)          2. Negative Slope (m < 0)
          y                                  y
          │     ▲                            │  ▲
          │    /                             │   \
          │   /  Rises                       │    \  Falls
     ─────┼──/──────► x                 ─────┼─────\────► x
          │ /                                │      \
          │/                                 │       ▼
          
   3. Zero Slope (m = 0)              4. Undefined Slope (m = undef)
          y                                  y
          │                                  │   ▲
          │  Horizontal Line                 │   │ Vertical Line
     ─────┼─────────────────► x         ─────┼───┼────────► x
          │  Equation: y = c                 │   │ Equation: x = c
          │  Rise = 0, Run ≠ 0               │   │ Rise ≠ 0, Run = 0
          │  m = 0 / Δx = 0                  │   ▼ m = Δy / 0 = UNDEFINED

Detailed Comparison Table

Slope TypeSign / ValueGraph BehaviorStandard EquationFunction Status
Positive Slopem>0m > 0Rises from lower-left to upper-right as xx increasesy=mx+by = mx + b (m>0m > 0)Valid Function
Negative Slopem<0m < 0Falls from upper-left to lower-right as xx increasesy=mx+by = mx + b (m<0m < 0)Valid Function
Zero Slopem=0m = 0Perfectly horizontal; no vertical changey=cy = c (e.g., y=4y = 4)Valid Function (Constant)
Undefined SlopeUndefined\text{Undefined}Perfectly vertical; no horizontal changex=cx = c (e.g., x=−3x = -3)NOT a Function (Fails VLT)

The Algebraic Slope Formula

Given any two distinct coordinate points on a line, (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) where x1≠x2x_1 \neq x_2, the slope mm is calculated using the official Slope Formula:

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}

Essential Rules for Applying the Slope Formula

  1. Consistent Point Ordering: You may assign either point as (x1,y1)(x_1, y_1) and the other as (x2,y2)(x_2, y_2), but you must subtract in the exact same sequence: m=y2−y1x2−x1=y1−y2x1−x2m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{y_1 - y_2}{x_1 - x_2} Trap: Subtracting yy-values in one order and xx-values in the reverse order (e.g., y2−y1x1−x2\frac{y_2 - y_1}{x_1 - x_2}) produces the opposite sign and is mathematically invalid.
  2. Handling Double Negatives: When subtracting a negative coordinate, enclose it in parentheses to properly execute the sign change: y2−(−y1)=y2+y1y_2 - (-y_1) = y_2 + y_1.
  3. Simplifying Fractions: Always express slope as a fully simplified proper or improper fraction (e.g., 34\frac{3}{4} or −52-\frac{5}{2}), rather than a rounded decimal, unless requested in a specific real-world context.

Step-by-Step Worked Examples

Example 1: Standard Two-Point Slope Calculation

Find the slope of the line passing through (−3,8)(-3, 8) and (5,−4)(5, -4).

  1. Assign coordinates: (x1,y1)=(−3,8)(x_1, y_1) = (-3, 8) and (x2,y2)=(5,−4)(x_2, y_2) = (5, -4).
  2. Set up the slope formula: m=−4−85−(−3)m = \frac{-4 - 8}{5 - (-3)}
  3. Simplify numerator and denominator: m=−125+3=−128m = \frac{-12}{5 + 3} = \frac{-12}{8}
  4. Reduce the fraction by dividing by gcd⁡(12,8)=4\gcd(12, 8) = 4: m=−32m = -\frac{3}{2}

Example 2: Horizontal Line Slope Verification

Find the slope of the line passing through (−4,5)(-4, 5) and (7,5)(7, 5).

m=5−57−(−4)=011=0m = \frac{5 - 5}{7 - (-4)} = \frac{0}{11} = 0

Since the yy-coordinates are identical (y=5y = 5), the vertical rise is zero. The slope is 00, representing a horizontal line.

Example 3: Vertical Line Slope Verification

Find the slope of the line passing through (6,−2)(6, -2) and (6,9)(6, 9).

m=9−(−2)6−6=110=Undefinedm = \frac{9 - (-2)}{6 - 6} = \frac{11}{0} = \text{Undefined}

Because division by zero is undefined in real arithmetic, the slope is undefined, representing a vertical line with equation x=6x = 6.

Loading diagram...
Four Slope Classifications and Equation Structures

Slope as a Real-World Rate of Change

In applied word problems on the HiSET, slope represents the constant rate of change of one physical quantity with respect to another:

Rate of Change=Change in Output Quantity (with units)Change in Input Quantity (with units)\text{Rate of Change} = \frac{\text{Change in Output Quantity (with units)}}{\text{Change in Input Quantity (with units)}}

Interpreting Slope in Context

  • Distance vs. Time: If distance dd (miles) is graphed against time tt (hours), the slope represents speed (velocity) in miles per hour (mph).
  • Cost vs. Usage: If total utility bill CC (dollars) is graphed against electricity consumed kk (kilowatt-hours), the slope represents the unit price per kWh.
  • Fluid Depletion: If water remaining in a reservoir VV (gallons) decreases over time tt (minutes), the slope is negative, representing the drainage rate in gallons per minute.

Worked Example: Vehicle Fuel Depletion Rate

A delivery truck driver starts a route with 32 gallons32\text{ gallons} of fuel at odometer reading 120 miles120\text{ miles}. After driving to odometer reading 330 miles330\text{ miles}, the fuel tank contains 18 gallons18\text{ gallons}. What is the vehicle's rate of fuel consumption in gallons per mile, and what is its fuel economy in miles per gallon?

  1. Identify the coordinate points (x=miles,y=gallons)(x = \text{miles}, y = \text{gallons}): (x1,y1)=(120,32)and(x2,y2)=(330,18)(x_1, y_1) = (120, 32) \quad \text{and} \quad (x_2, y_2) = (330, 18)
  2. Calculate the rate of fuel change (gallons per mile): m=18−32330−120=−14 gallons210 miles=−115 gallons per mile≈−0.067 gal/mim = \frac{18 - 32}{330 - 120} = \frac{-14\text{ gallons}}{210\text{ miles}} = -\frac{1}{15}\text{ gallons per mile} \approx -0.067\text{ gal/mi} Interpretation: The truck consumes 115\frac{1}{15} of a gallon for every mile driven.
  3. Compute fuel economy (miles per gallon): Fuel Economy=Δx∣Δy∣=210 miles14 gallons=15 miles per gallon (mpg)\text{Fuel Economy} = \frac{\Delta x}{|\Delta y|} = \frac{210\text{ miles}}{14\text{ gallons}} = 15\text{ miles per gallon (mpg)}

Graphing Lines: Step-by-Step Techniques

There are two primary methods for graphing a line given a point and slope or an algebraic equation:

Method 1: The Point-Slope Staircase Method

  1. Plot the starting point: Plot the known point (x1,y1)(x_1, y_1) or the yy-intercept (0,b)(0, b) on the grid.
  2. Interpret the slope fraction: Express m=riserunm = \frac{\text{rise}}{\text{run}}. If mm is an integer such as −3-3, write it as −31\frac{-3}{1}.
  3. Count the rise and run:
    • From your starting point, move vertically by the rise (up for positive, down for negative).
    • From that position, move horizontally by the run (always right for a positive denominator).
  4. Plot the second point and draw the line: Plot the new coordinate and use a straightedge to connect the points across the grid with arrows at both ends.

Method 2: The Table of Values Method

  1. Choose at least three convenient input values for xx (typically −2,0,2-2, 0, 2 or multiples of the slope's denominator to avoid fractions).
  2. Calculate the corresponding yy-values using the equation.
  3. Plot all ordered pairs and draw the line through them.
Test Your Knowledge

What is the slope of the line that passes through the coordinates (-4, 7) and (6, -8)?

A

3/2

B

-3/2

C

-2/3

D

-1/2

Test Your Knowledge

Which of the following statements correctly characterizes the graph of the linear equation x = -5?

A

It is a horizontal line with a slope of 0 and a y-intercept at (0, -5).

B

It is a diagonal line passing through the origin with a slope of -5.

C

It is a horizontal line with an undefined slope that passes through (-5, 0).

D

It is a vertical line with an undefined slope that passes through (-5, 0) and has no y-intercept.

Test Your Knowledge

A municipal storage tank contained 1,450 gallons of water at 8:00 AM (t = 0 hours). By 2:00 PM (t = 6 hours), the water volume had decreased at a constant rate to 970 gallons. What is the constant rate of change in water volume per hour?

A

-80 gallons per hour

B

-60 gallons per hour

C

-480 gallons per hour

D

80 gallons per hour

Test Your Knowledge

A line with a slope of m = 3/4 passes through the points (-2, y) and (6, 5). What is the value of the unknown coordinate y?

A

y = 11

B

y = 2

C

y = -1

D

y = -3

Sections you finish are checked off in the contents.