Quarry School

The difference quotient: average rate of change from x to x + h

Subject: MathematicsLeans on: Distributive propertyLeans on: Subtracting a whole expressionLeans on: Like termsLeans on: Canceling a nonzero factor
Level 2 · BuildingAbout 25 min read12 new termsKeystone idea. Later lessons build on this one.
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    The difference quotient has two ordinary actions hidden in its name.

    Rule

    Difference quotient = f(x+h)−f(x)h, with h ≠ 0 and both outputs defined. It is the average rate on [x, x + h] if h > 0, and on the sorted interval [x + h, x] if h < 0.

    Step

    1. 1. Plug in: replace every x in the formula by the whole input (x + h); multiply out the needed products.

    2. 2. Subtract: write −(f(x)) with parentheses, then let that minus reach every term.

    3. 3. Simplify: combine like terms; for a fully expanded polynomial, the terms independent of h cancel.

    4. 4. Cancel h: when h multiplies the entire numerator, divide that nonzero factor out; keep every original restriction.

    Strategy

    1. Plug in the whole input x + h.

    2. Subtract the whole starting output f(x).

    3. Simplify using the right arithmetic for the formula.

    4. Cancel only a whole nonzero common factor, and state the restrictions.

    Question

    This asks for the average rate over any nonzero input step h starting at any input x. Find g(x+h)−g(x)h for g(x) = 6 − 2x. The plan is plug in, subtract, simplify, then cancel h.

    Answer

    −2, with h ≠ 0.
    For each 1 unit right, g drops 2 output units. This rate holds for both positive and negative signed steps.

    Trap

    Adding h to the old output, treating f as a multiplier, or allowing a zero input step. Substitute x + h into the whole function formula and keep h ≠ 0.

    Term

    Rate of change

    Definition

    How much an output changes per unit change in the input. Units are output units per input unit, such as miles per hour, dollars per year, or amperes per volt.

    Term

    Average rate of change

    Definition

    The output change divided by the matching nonzero input change between two inputs. It is the slope of the straight ruler line joining their graph points, regardless of the path between.

    Term

    Difference quotient

    Definition

    The average rate from a starting input x to an ending input x + h: f(x+h)−f(x)h. The signed step h is nonzero, and both inputs must be allowed.

    Term

    Constant

    Definition

    A function is constant on an interval when its output stays the same for every input there. Its graph is a flat, horizontal piece.

    Term

    Input

    Definition

    The value you feed into a function. On its graph, it is the horizontal coordinate.

    Term

    Output

    Definition

    The value a function returns for an allowed input. On its graph, it is the vertical coordinate.

    Term

    Function

    Definition

    A rule that assigns exactly one output to each allowed input.

    Term

    Solve

    Definition

    Find every allowed input that makes an equation true.

    Term

    Interval

    Definition

    A stretch of real numbers between boundaries. It may include or exclude a finite endpoint and may continue without bound.

    Term

    Endpoint

    Definition

    A boundary of a graph piece or interval. A finite endpoint can be included or excluded. Course local comparisons need inputs on both sides.

    Term

    Slope

    Definition

    A line’s vertical change divided by the matching horizontal change. It is undefined when the horizontal change is zero.

    Term

    Rise

    Definition

    The signed vertical change between two points, using the same end-minus-start order as the run.

    Term

    Difference

    Definition

    The result of subtraction, retaining its sign. In a rate it measures an end value minus a start value.

    Term

    Quotient

    Definition

    The result of division. A rate quotient divides output change by a nonzero input change.

    Term

    Parabola

    Definition

    The U-shaped graph of a quadratic function, opening upward or downward.

    Term

    Vertex

    Definition

    The turning point of a parabola, or the corner of a V-shaped absolute-value graph. Its coordinates give both location and height.

    Term

    Numerator

    Definition

    The top of a fraction. It counts how many equal pieces are being represented.

    Term

    Factor

    Definition

    One of the quantities being multiplied in a product. A factor can cancel only when it multiplies an entire numerator or denominator.

    Term

    Factoring

    Definition

    Rewriting a sum or difference as a product. It reverses distribution and makes shared factors visible.

    Term

    Expand

    Definition

    Multiply out a product or power and combine like terms. Every factor must reach every term it multiplies.

    Term

    Distributive property

    Definition

    A multiplier outside parentheses multiplies each term inside. It works with positive and negative multipliers.

    Term

    Term

    Definition

    A piece of an expression separated from other pieces by plus or minus signs. Its sign belongs with it.

    Term

    Like terms

    Definition

    Terms with the same variable factors and powers. Their numerical multipliers can combine; different variable patterns cannot.

    Term

    Power

    Definition

    A repeated multiplication of the same base. The exponent records how many factors are used for a positive whole-number power.

    Term

    Undefined

    Definition

    Having no value under the rule being used. Division by zero is undefined.

    Term

    Average speed

    Definition

    Distance traveled divided by elapsed time. If distance from home increases throughout a trip without reversals, its rate gives the same average speed.

    Term

    Per

    Definition

    For each one unit of another quantity. It names the division used in a rate.

    Term

    Secant line

    Definition

    A straight line through two distinct points on a graph. Its slope is the average rate between the two inputs.

    Term

    Constant function

    Definition

    A function returning one fixed output c for every allowed input. c names one chosen number.

    Term

    Polynomial

    Definition

    An expression formed by adding constants and numerical multiples of positive whole-number powers of its variable. Its expanded form has no variable in a denominator or root.

    Term

    Coefficient

    Definition

    The numerical multiplier of a term, including its sign.

    Term

    Expression

    Definition

    Numbers, variables, and operations that describe a value. An equation sets two expressions equal.

    Term

    Constant term

    Definition

    A term with no changing variable. It stays fixed as the input changes.

    1 In plain words

    The difference quotient has two ordinary actions hidden in its name. A difference is the result of subtracting: how much the output changed. A quotient is the result of dividing: share that change over the input change. Picture starting at a road marker and walking a chosen distance. Call your starting input x and your signed step h. A positive h goes right on the number line; a negative h goes left. Your ending input is x + h. The difference quotient measures average climb per input unit over that trip. It is the same average rate you already know, written so one answer can cover many starts and steps.

    2 Picture it

    x + h6 − 2 · inputinputoutput6 − 2(x + h)
    The whole expression x + h replaces the input of g.

    Reminder

    Reminder: Distributive property, Subtracting a whole expression, Like terms, Canceling a nonzero factor
    • Distributive property. A number outside parentheses multiplies each term: −2(x + h) = −2x − 2h.
    • Subtracting a whole expression. The minus means multiply by −1: −(6 − 2x) = −6 + 2x.
    • Like terms. Like terms have the same letters with the same powers: −2x + 2x = 0. Terms x2 and x cannot be combined.
    • Canceling a nonzero factor. −2hh = −2 · hh = −2 only for h ≠ 0.

    3 Why

    Put starting input x and ending input x + h into the endpoint formula. The bottom is (x + h) − x = h, and the top is f(x + h) − f(x). That is why the formula has this form. For an expanded polynomial, f(x + h) contains a copy of f(x); subtracting removes that copy, leaving terms with h. For g(x) = 6 − 2x, that is 6 − 2x − 2h minus 6 − 2x. Other kinds of functions may require combining fractions first, rather than showing cancellation term by term.

    4 The rule

    Difference quotient =f(x+h)−f(x)h, with h≠0 and both outputs defined.

    It is the average rate on [x,x+h] if h > 0, and on the sorted interval [x+h,x] if h < 0.

    The same idea, five ways

    Say it

    Say 'difference in outputs divided by the input step'. Read f(x + h) as 'f of x plus h'.

    Write it

    Start at input x, change the input by a nonzero signed amount h, and compare the two outputs per input unit.

    In math
    • f(x+h)−f(x)h,h≠0
    • h=(x+h)−x
    • [x, x + h] if h > 0; [x + h, x] if h < 0
    Like

    Average climb per mile between a chosen road marker and another marker a signed step away.

    See it
    0123456+3lands on 5
    The starting input 2 plus step 3 gives ending input 5.

    The same idea, other ways

    With numbers first

    For x2 starting at 3, a step 1 gives 16−91 = 7. A step 0.5 gives 12.25−90.5 = 6.5. Steps 0.1 and 0.01 give 6.1 and 6.01. The table shows every rate is 6 + h. The fully worked first rung computes every column.

    input houtput average rate170.56.50.16.10.016.01↓ evaluate: input given, read the output below it
    h: 1, 0.5, 0.1, 0.01; average rate: 7, 6.5, 6.1, 6.01.
    A line before its algebra

    For g(x) = 6 − 2x, start at 1 and step 1: 2−41 = −2. Start at 3 and step 2: −4−02 = −2. Start at −2 and step 0.5: 9−100.5 = −2. All give −2; the worked subtraction shows why.

    (x, g(x))(x + h, g(x + h))check startcheck endrun 1rise −224−448
    y=−2x+6.
    What it is for

    If d(t) is miles driven after t hours, d(t+h)−d(t)h gives the average speed across those times when h > 0. For positive s and h on a growing square tile, 2sh + h2 is the extra area and 2s + h is extra area per inch of growth. At s = 10 and h = 1, that rate is 21. A reusable answer also covers many intervals: 2x + h at x = 3, h = 0.5 gives 6.5.

    s²shsshh²hsh
    An area model with sides s + h and s + h.
    The same function machine

    In f(x + h), f names the machine and x + h is its one input. It is not f multiplied by x + h. For a square machine, put in 3 + 1 = 4 and get 16, rather than adding 1 to the old output 9.

    x + hsquare inputinputoutput(x + h)²
    The parentheses contain one input for the named function.
    A smaller observation window

    The square table's rates 7, 6.5, 6.1, and 6.01 move toward 6 as the positive step shrinks. For smoothly changing travel, shrinking the time window makes an average speed approach the speedometer reading at the starting time. Here the immediate task is building reusable interval rates; no zero step is ever divided by.

    input houtput average rate170.56.50.16.10.016.01↓ evaluate: input given, read the output below it
    The same picture again: h: 1, 0.5, 0.1, 0.01; average rate: 7, 6.5, 6.1, 6.01.

    Part 1: When the start is a number

    The letter x only names the starting input. Replacing it by 4 gives an interval between 4 and 4 + h; the method is unchanged.

    • For h > 0, the interval is [4, 4 + h]. For h < 0, it is [4 + h, 4].
    • The input difference in starting-to-ending order is always h.
    (4, 19)(6, 29)run 1rise 5461620242832
    Choosing the starting input 4 leaves the same average line rate 5.

    Worked example

    Difference quotient starting at x = 3

    Let f(x) = x2 − 4x + 1. (a) Find and simplify the difference quotient f(3+h)−f(3)h, with h ≠ 0. (b) Use your result with h = −1 to find the average rate of change of f on the matching interval, and name that interval.

    Show the steps and the answer
    (3, −2)(2, −3)−2246−4−2246
    Graph of f(x) = x2 − 4x + 1 = (x − 2)2 − 3, marking the start point (3, −2) and the point (2, −3) reached…
    1. Find the fixed output first: f(3)=32−4(3)+1=9−12+1=−2.The start is the number 3, so f(3) is a single number. Computing it once keeps the subtraction simple.
    2. Plug in: f(3+h)=(3+h)2−4(3+h)+1=(9+6h+h2)−12−4h+1=h2+2h−2.Every x is replaced by the whole input (3 + h). The square (3 + h)2 is multiplied out to 9 + 6h + h2, and −4 is distributed over both terms of (3 + h).
    3. Subtract: f(3+h)−f(3)=(h2+2h−2)−(−2)=h2+2h−2+2.Writing −(f(3)) in parentheses lets the minus sign reach the whole value. Subtracting −2 means adding 2.
    4. Simplify: h2+2h−2+2=h2+2h.The terms that do not depend on h, −2 and +2, cancel. This always happens for a fully expanded polynomial.
    5. Cancel h: h2+2hh=h(h+2)h=h+2, for h≠0.Factor h shows that h multiplies the entire numerator. Since h ≠ 0, we may divide it out. The restriction h ≠ 0 stays.
    6. Part (b): put h=−1 into h+2 to get −1+2=1. The interval runs from 3+(−1)=2 to 3. Since h < 0, write it in sorted order as [2, 3].When h is negative, x + h lies to the left of x. The average rate therefore belongs to the interval [x + h, x].
    Answer
    (a) f(3+h)−f(3)h = h + 2, h ≠ 0. (b) With h = −1, the average rate of change is 1 on the interval [2, 3].
    Double-check Compute directly: f(2) = 4 − 8 + 1 = −3 and f(3) = −2. The average rate on [2, 3] is −2−(−3)3−2 = 11 = 1, which matches h + 2 at h = −1. A second check with h = 1: f(4) = 16 − 16 + 1 = 1, so 1−(−2)1 = 3, and h + 2 = 3. ✓

    Work to write

    1. f(3)=9−12+1=−2
    2. f(3+h)=(3+h)2−4(3+h)+1=h2+2h−2
    3. f(3+h)−f(3)=(h2+2h−2)−(−2)=h2+2h
    4. h2+2hh=h(h+2)h=h+2,h≠0
    5. h = −1: h + 2 = 1; interval [2, 3] since h < 0

    Part 2: When the start is 3 for a square

    Use the same replacement in a square formula. Multiplying out creates the output change 6h + h2. Factoring h turns this into the reusable rate 6 + h.

    • The rate is 6 + h, with h ≠ 0.
    • This is 2x + h with the starting input set to x = 3.
    • Section 1.1 used a and a + h; here the general start is named x.
    x²xhxxhh²hxh
    For positive lengths x and h, the four areas explain the square expansion.

    Worked example

    Difference quotient of a quadratic starting at x = 2

    Let f(x) = 2x2 + 4x − 2. (a) Find and simplify the difference quotient f(2+h)−f(2)h, with h ≠ 0. (b) Use your result with h = 12 to find the average rate of change of f on the matching interval, and name that interval.

    Show the steps and the answer
    (2, 14)(2.5, 20.5)−4−224−66121824
    The parabola f(x) = 2x2 + 4x − 2 = 2(x + 1)2 − 4, with the points (2, 14) and (2.5, 20.5).
    1. Find f(2) first: f(2)=2(2)2+4(2)−2=8+8−2=14.The fixed output f(2) is needed for the subtraction, and the start is a plain number.
    2. Plug in 2+h: f(2+h)=2(2+h)2+4(2+h)−2. Expand (2+h)2=4+4h+h2, so f(2+h)=8+8h+2h2+8+4h−2=2h2+12h+14.Every x is replaced by the whole input (2 + h). The square must be multiplied out before it is doubled.
    3. Subtract: f(2+h)−f(2)=(2h2+12h+14)−(14)=2h2+12h.The parentheses let the minus reach the whole of f(2). The constant terms, which do not depend on h, cancel.
    4. Factor and cancel h: 2h2+12hh=h(2h+12)h=2h+12, for h≠0.h multiplies the entire numerator, so the nonzero factor h divides out. The restriction h ≠ 0 stays.
    5. Part (b): with h=12, the rate is 2(12)+12=13. Because h > 0, the interval is [2,2+12]=[2,52].The difference quotient is the average rate on [x, x + h] when h > 0.
    Answer
    (a) f(2+h)−f(2)h = 2h + 12, h ≠ 0. (b) The average rate of change is 13 on the interval [2, 52].
    Double-check Direct computation gives f(52) = 2(254) + 4(52) − 2 = 252 + 10 − 2 = 412. Then f(52)−f(2)52−2 = 412−1412 = 13212 = 13, which matches 2h + 12 at h = 12.

    Work to write

    1. f(2) = 14
    2. f(2+h)=2(4+4h+h2)+4(2+h)−2=2h2+12h+14
    3. f(2+h)−f(2)=(2h2+12h+14)−(14)=2h2+12h
    4. h(2h+12)h=2h+12,h≠0
    5. h = 12: average rate = 13 on [2, 52]

    Part 3: A negative h goes left

    h is a signed input change, not necessarily a positive length. The ending input is still start plus h. Keep the output subtraction in that same travel order; sorting the interval reverses both differences and preserves the ratio.

    • h < 0 means the ending input is smaller than the starting input.
    • For x = 4 and h = −3, the endpoints are 4 and 1, so the sorted interval is [1, 4].
    012345−3lands on 1
    A signed step h = −3 goes left from 4 to 1; the sorted interval is [1, 4].

    Worked example

    Difference quotient of a downward parabola, then a step backward with h = −3

    Let f(x) = −x2 + 6x − 5. (a) Find and simplify the difference quotient f(x+h)−f(x)h, with h ≠ 0. (b) Use your result with x = 5 and h = −3 to find the average rate of change of f on the matching interval, and name that interval.

    Show the steps and the answer
    (2, 3)(5, 0)246−4−2246
    Graph of f(x) = −x2 + 6x − 5 = −(x − 3)2 + 4, with vertex (3, 4).
    1. f(x+h)=−(x+h)2+6(x+h)−5=−(x2+2xh +h2) +6x+6h−5=−x2−2xh −h2+6x+6h−5Plug in: every x is replaced by the whole input (x + h). The square is expanded before the leading minus is applied to all three of its terms.
    2. f(x+h)−(f(x))= (−x2−2xh −h2+6x+6h−5) −(−x2+6x−5)=−x2−2xh −h2+6x+6h−5+x2−6x+5Subtract: f(x) goes in parentheses so the minus reaches every term. −x2 becomes +x2, +6x becomes −6x, and −5 becomes +5.
    3. Numerator =−2xh −h2+6hSimplify: −x2 + x2 = 0, 6x − 6x = 0 and −5 + 5 = 0. The terms independent of h cancel, as they must for a fully expanded polynomial.
    4. −2xh−h2+6hh=h(−2x−h+6)h=−2x−h+6, with h≠0Cancel h: h is a factor of the entire numerator and h ≠ 0, so it divides out. The restriction h ≠ 0 stays.
    5. With x = 5 and h = −3: −2(5)−(−3)+6=−10+3+6=−1Substitute the given values into the simplified quotient. Subtracting a negative h adds 3.
    6. x+h=5+(−3)=2, so the interval is [2, 5]Since h < 0, the step goes left from x = 5 to x + h = 2. The interval is written sorted, from the smaller endpoint to the larger.
    Answer
    (a) f(x+h)−f(x)h = −2x − h + 6, for h ≠ 0. (b) The average rate of change of f on [2, 5] is −1.
    Double-check Compute directly: f(5) = −25 + 30 − 5 = 0 and f(2) = −4 + 12 − 5 = 3. Then f(5)−f(2)5−2 = 0−33 = −1, which matches. The original form gives the same value: f(2)−f(5)−3 = 3−0−3 = −1.

    Work to write

    1. f(x + h) = −x2 − 2xh − h2 + 6x + 6h − 5
    2. f(x + h) − f(x) = −2xh − h2 + 6h
    3. f(x+h)−f(x)h=−2x−h+6,h≠0
    4. x=5,h=−3:−10+3+6=−1
    5. Interval [2, 5]; average rate of change = −1

    Part 4: An area-growth use

    A difference quotient compares the growth of a square's area with the growth of its side. The picture splits the added area into two strips and a corner when the lengths and growth are positive.

    • A square of side s has area s2.
    • Growing the side by h adds 2sh + h2 square units.
    • For s > 0 and h > 0, area gain per side-length gain is 2s + h.
    s²shsshh²hsh
    The same picture again: An area model with sides s + h and s + h.

    Worked example

    What the difference quotient measures on a tile

    This asks how much area is gained per inch of side growth. A square tile's side grows from 10 inches to 11 inches. Find the average area gain per inch.

    Show the steps and the answer
    s²shsshh²hsh
    The same picture a third time: An area model with sides s + h and s + h.
    1. Starting area: 102=100 square inches. Ending area: 112=121 square inches.A square's area is its side times itself.
    2. Area change: 121−100=21 square inches. Side change: 11−10=1 inch.Subtract matching endpoints in the same order.
    3. 211=21 square inches per inch.The difference quotient divides the area difference by the side-length difference.
    Answer
    21 square inches per inch of side growth.
    Double-check The two strips add 10 · 1 + 1 · 10 = 20 square inches, and the corner adds 12 = 1, giving 21. The general result 2s + h gives 2(10) + 1 = 21.

    5 How

    1. Plug in: replace every x in the formula by the whole input (x + h); multiply out the needed products.
    2. Subtract: write −(f(x)) with parentheses, then let that minus reach every term.
    3. Simplify: combine like terms; for a fully expanded polynomial, the terms independent of h cancel.
    4. Cancel h: when h multiplies the entire numerator, divide that nonzero factor out; keep every original restriction.

    The difference quotient in four moves

    1
    Is the starting input a fixed number instead of x?
    YesUse that number in f(start + h) and f(start); the bottom is still h.
    NoKeep x as the unspecified starting input.
    ↓
    2
    Is there a squared input?
    YesMultiply (x + h)(x + h) into x2 + 2xh + h2 before applying any outside coefficient.
    NoCheck whether another power or a fraction needs work.
    ↓
    3
    Is there a cubed input?
    YesUse the cubing-a-sum refresher to get x3 + 3x2h + 3xh2 + h3.
    NoContinue with the given formula.
    ↓
    4
    Is the input in a fraction bottom?
    YesKeep each whole bottom grouped, find a common bottom, and subtract the tops before dividing by h.
    NoCombine polynomial like terms directly.
    ↓
    5
    After full polynomial expansion, does a term independent of h remain?
    YesRecheck substitution and signs. This check applies to expanded polynomials; other functions can need different simplification.
    NoFactor h from the whole numerator if possible.
    ↓
    6
    Is h negative?
    YesKeep its sign in the quotient and describe the sorted interval [x + h, x].
    NoFor h > 0 use [x, x + h]; h = 0 is excluded.
    1. Plug in the whole input x + h.
    2. Subtract the whole starting output f(x).
    3. Simplify using the right arithmetic for the formula.
    4. Cancel only a whole nonzero common factor, and state the restrictions.

    6 Worked example

    Worked example

    Difference quotient of a line

    This asks for the average rate over any nonzero input step h starting at any input x. Find g(x+h)−g(x)h for g(x) = 6 − 2x. The plan is plug in, subtract, simplify, then cancel h.

    Show the steps and the answer
    (x, g(x))(x + h, g(x + h))check startcheck endrun 1rise −224−448
    The same picture again: y = −2x + 6.
    1. Require h≠0. Write g(x+h)=6−2(x+h).x + h is one whole input. The −2 must multiply all of it; writing 6 − 2x + h would multiply only x.
    2. g(x+h)=6−2x−2h.The distributive property means the multiplier reaches each term: (−2) · x = −2x and (−2) · h = −2h.
    3. Write the output change as (6−2x−2h)−(6−2x).Subtract the entire starting output, not one selected term.
    4. −(6−2x)=−6+2x, so the output change is 6−2x−2h−6+2x.The hidden sign on 6 is +. Multiplying the whole starting expression by −1 changes +6 to −6 and −2x to +2x.
    5. 6−2x−2h−6+2x=−2h.The +6 and −6 cancel, and −2x and +2x cancel. The expanded polynomial contains a copy of g(x), removed by subtraction.
    6. −2hh=−2·hh=−2·1=−2.The nonzero factor h divides by itself to give 1.
    Answer
    • −2, with h ≠ 0.
    • For each 1 unit right, g drops 2 output units. This rate holds for both positive and negative signed steps.
    Double-check Use x = 2 and h = 3: g(2) = 6 − 4 = 2 and g(5) = 6 − 10 = −4, so −4−23 = −63 = −2. Also g(0) = 6 and g(1) = 4 show a drop of 2 for a move of 1 right.

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 6

    Difference quotient with numbers: f(x) = x2 − 3x + 5 at x = 1, h = 3

    Let f(x) = x2 − 3x + 5. Use x = 1 and h = 3, so x + h = 4. The table lists f(1) = 3 and f(4) = 9. Find the difference quotient f(x+h)−f(x)h and state the interval it is the average rate of change on.

    input xoutput f(x) = x² − 3x + 51349
    x:1,4;f(x)=x2−3x+5:3,9.
    Show the steps and the answer
    input xoutput f(x) = x² − 3x + 51349↓ evaluate: input given, read the output below it
    Values of f(x) = x2 − 3x + 5 at x = 1 and x + h = 4.
    1. Plug in: f(1+3)=(1+3)2−3(1+3)+5. Multiply out: (1+3)2=1+2·1·3+32=1+6+9, and −3(1+3)=−3−9. So f(1+3)=1+6+9−3−9+5=9.Every x in the formula is replaced by the whole input (x + h) = (1 + 3). Expanding before adding shows which pieces come from h. The total matches the table value f(4) = 9.
    2. Subtract: f(1+3)−(f(1))=(1+6+9−3−9+5)−(1−3+5)=1+6+9−3−9+5−1+3−5.Writing −(f(x)) with parentheses lets the minus sign reach every term of f(1) = 1 − 3 + 5.
    3. Simplify: the pairs 1−1,−3+3 and 5−5 cancel, leaving 6+9−9=6. So the numerator is 6. As a check, 9−3=6.The terms that do not involve h (the pieces of f(1)) cancel. Only terms built from h = 3 remain.
    4. Cancel h: 63=2. Here h=3≠0, and both f(1) and f(4) are defined.Dividing by h needs h ≠ 0. Since h > 0, the interval is [x, x + h] = [1, 4].
    Answer
    f(4)−f(1)3 = 9−33 = 2. This is the average rate of change of f on [1, 4].
    Double-check The general difference quotient is (x+h)2−3(x+h)+5−(x2−3x+5)h = 2xh+h2−3hh = 2x + h − 3 for h ≠ 0. At x = 1, h = 3 this gives 2 + 3 − 3 = 2, which matches. The slope of the secant line through (1, 3) and (4, 9) is 9−34−1 = 2.

    Work to write

    1. x + h = 1 + 3 = 4
    2. f(4) = 16 − 12 + 5 = 9 and f(1) = 1 − 3 + 5 = 3
    3. f(4)−(f(1))=9−3=6
    4. 63 = 2, with h = 3 ≠ 0
    5. Average rate of change on [1, 4] is 2

    Rung 2 of 6

    Difference quotient of the constant function f(x) = 4

    Let f(x) = 4 for every real number x. Its graph is the horizontal line y = 4, which passes through (−2, 4) and (3, 4). (a) Find and simplify the difference quotient f(x+h)−f(x)h, with h ≠ 0. (b) Use your result with x = 3 and h = −5, so x + h = −2. Find the average rate of change of f on the matching interval, and name that interval.

    (−2, 4)(3, 4)−6−4−2246−2246
    The horizontal line y = 4, the graph of the constant function f(x) = 4, through (−2, 4) and (3, 4).
    Show the steps and the answer
    1. Plug in: f(x+h)=4.The rule for f has no x in it. Replacing every x by (x + h) changes nothing, so the output is 4 for any input.
    2. Subtract with parentheses: f(x+h)−(f(x))=4−(4).Writing −(f(x)) with parentheses makes the minus sign reach the whole output f(x) = 4.
    3. Simplify the numerator: 4−4=0, so the difference quotient is 0h.The two outputs are equal, so they cancel completely. Every term is independent of h, so nothing is left.
    4. Divide: 0h=0 for h≠0.Zero divided by any nonzero number is 0. The restriction h ≠ 0 stays, because the quotient is undefined at h = 0.
    5. Part (b): with x=3 and h=−5, the difference quotient is 0. Since h < 0, sort the endpoints x+h=−2 and x=3 to get the interval [−2,3].The rule says that when h < 0, the quotient is the average rate on the sorted interval [x + h, x].
    Answer
    (a) f(x+h)−f(x)h = 0 for all h ≠ 0. (b) The average rate of change of f on [−2, 3] is 0.
    Double-check Compute directly from the two points: f(−2)−f(3)−2−3 = 4−4−5 = 0−5 = 0. This matches part (b). It also agrees with the graph, because a horizontal line has slope 0 and the output never changes.

    Work to write

    1. f(x + h) = 4
    2. f(x+h)−(f(x))=4−(4)=0
    3. f(x+h)−f(x)h=0h=0,h≠0
    4. h = −5 < 0, so the interval is [−2, 3]
    5. Average rate of change on [−2, 3] = 0

    Rung 3 of 6

    Multiplication changes the whole input

    This asks for a rate formula for every start and every nonzero step. Find the difference quotient of f(x) = 4x.

    Show the steps and the answer
    startendrun 1rise 42462610141822
    This line rises 4 for each unit right.
    1. f(x+h)=4(x+h)=4x+4h.The whole new input replaces x, and 4 multiplies each piece.
    2. Output change: (4x+4h)−(4x)=4x+4h−4x=4h.Subtract the entire original output; +4x and −4x cancel.
    3. 4hh=4·hh=4, with h≠0.A common nonzero multiplier h divides out.
    Answer
    4, with h ≠ 0.
    Double-check At x = 2 and h = 3, f(5) = 20 and f(2) = 8, so 20−83 = 123 = 4.

    Rung 4 of 6

    A negative slope with a constant term

    This asks for the average rate over any nonzero input step h starting at any input x. Find g(x+h)−g(x)h for g(x) = 6 − 2x. The plan is plug in, subtract, simplify, then cancel h.

    Show the steps and the answer
    (x, g(x))(x + h, g(x + h))check startcheck endrun 1rise −224−448
    The same picture a third time: y = −2x + 6.
    1. Require h≠0. Write g(x+h)=6−2(x+h).x + h is one whole input. The −2 must multiply all of it; writing 6 − 2x + h would multiply only x.
    2. g(x+h)=6−2x−2h.The distributive property means the multiplier reaches each term: (−2) · x = −2x and (−2) · h = −2h.
    3. Write the output change as (6−2x−2h)−(6−2x).Subtract the entire starting output, not one selected term.
    4. −(6−2x)=−6+2x, so the output change is 6−2x−2h−6+2x.The hidden sign on 6 is +. Multiplying the whole starting expression by −1 changes +6 to −6 and −2x to +2x.
    5. 6−2x−2h−6+2x=−2h.The +6 and −6 cancel, and −2x and +2x cancel. The expanded polynomial contains a copy of g(x), removed by subtraction.
    6. −2hh=−2·hh=−2·1=−2.The nonzero factor h divides by itself to give 1.
    Answer
    • −2, with h ≠ 0.
    • For each 1 unit right, g drops 2 output units. This rate holds for both positive and negative signed steps.
    Double-check Use x = 2 and h = 3: g(2) = 6 − 4 = 2 and g(5) = 6 − 10 = −4, so −4−23 = −63 = −2. Also g(0) = 6 and g(1) = 4 show a drop of 2 for a move of 1 right.

    Rung 5 of 6

    Difference quotient of a downward parabola starting at x = 1

    Let f(x) = −x2 − 2x + 5. Its graph is the downward-opening parabola y = −(x + 1)2 + 6, with vertex (−1, 6). It passes through (1, 2) and (3, −10). (a) Find and simplify the difference quotient f(1+h)−f(1)h, with h ≠ 0. (b) Use your result with h = 2 to find the average rate of change of f on the matching interval, and name that interval.

    (1, 2)(3, −10)−4−224−12−8−448
    The parabola y = −(x + 1)2 + 6 with vertex (−1, 6).
    Show the steps and the answer
    1. Find the starting output: f(1)=−(1)2−2(1)+5=−1−2+5=2.The difference quotient needs f(1), so the fixed start x = 1 is evaluated first. The result matches the point (1, 2) on the graph.
    2. Plug in 1 + h: f(1+h)=−(1+h)2−2(1+h)+5=−(1+2h+h2)−2−2h+5=−1−2h−h2−2−2h+5=2−4h−h2.Every x is replaced by the whole input (1 + h). The square is expanded before the leading minus sign is distributed.
    3. Subtract: f(1+h)−f(1)=(2−4h−h2)−(2)=2−4h−h2−2.Writing −(f(1)) with parentheses makes the minus sign reach the whole starting output.
    4. Simplify the numerator: 2−2−4h−h2=−4h−h2.The terms that do not depend on h cancel, as they must for a fully expanded polynomial.
    5. Factor and cancel h: −4h−h2h=h(−4−h)h=−4−h, for h≠0.h multiplies the entire numerator. It is a nonzero factor, so it can be divided out. The restriction h ≠ 0 stays attached to the result.
    6. For (b), substitute h=2: −4−2=−6. The inputs are 1 and 1+2=3, so the interval is [1, 3].With h > 0, the difference quotient is the average rate of change on [x, x + h] = [1, 3].
    Answer
    (a) f(1+h)−f(1)h = −4 − h, for h ≠ 0. (b) With h = 2, the average rate of change of f on [1, 3] is −6. On average, f falls 6 units for each 1-unit increase in x.
    Double-check Compute directly from the given points: f(3) = −9 − 6 + 5 = −10 and f(1) = 2. Then −10−23−1 = −122 = −6, which matches −4 − 2 = −6.

    Work to write

    1. f(1) = 2
    2. f(1+h)=−(1+h)2−2(1+h)+5=2−4h−h2
    3. f(1+h)−f(1)=(2−4h−h2)−(2)=−4h−h2
    4. −4h−h2h=h(−4−h)h=−4−h,h≠0
    5. h=2:−4−2=−6
    6. Interval: [1, 3]; average rate of change = −6

    Rung 6 of 6

    Difference quotient with a negative step on y = x2 + 2x − 3

    Let f(x) = x2 + 2x − 3. Its graph is the upward-opening parabola y = (x + 1)2 − 4, with vertex (−1, −4). It passes through (−1, −4) and (2, 5). (a) Find and simplify the difference quotient f(x+h)−f(x)h, with h ≠ 0. (b) Use your result with x = 2 and h = −3 to find the average rate of change of f on the matching interval, and name that interval.

    (−1, −4)(2, 5)−4−224−44
    The parabola y = x2 + 2x − 3 = (x + 1)2 − 4, with vertex (−1, −4) and the point (2, 5).
    Show the steps and the answer
    1. f(x+h)=(x+h)2+2(x+h)−3=x2+2xh +h2+2x+2h−3Plug in: every x becomes the whole input (x + h). Then (x + h)2 = x2 + 2xh + h2, and 2(x + h) = 2x + 2h.
    2. f(x+h)−f(x)=x2+2xh +h2+2x+2h−3−(x2+2x−3)=x2+2xh +h2+2x+2h−3−x2−2x+3Subtract: f(x) goes in parentheses, so the minus reaches every one of its terms. This turns −3 into +3.
    3. f(x+h)−f(x)=2xh +h2+2hSimplify: x2 − x2 = 0, 2x − 2x = 0 and −3 + 3 = 0. The terms independent of h cancel, as they must for a fully expanded polynomial.
    4. 2xh+h2+2hh=h(2x+h+2)h=2x+h+2, with h≠0Cancel h: h is a factor of the entire numerator and h ≠ 0, so it divides out. The restriction h ≠ 0 still holds.
    5. With x = 2 and h = −3: 2(2)+(−3)+2=4−3+2=3Substitute into the simplified quotient. Here −3 ≠ 0, so this value of h is allowed.
    6. x+h=2+(−3)=−1, so the interval is [−1,2]The step h is negative, so x + h lies to the left of x. Sorting the endpoints gives [x + h, x] = [−1, 2].
    Answer
    (a) f(x+h)−f(x)h = 2x + h + 2, for h ≠ 0. (b) The average rate of change of f on [−1, 2] is 3.
    Double-check Use the graph's points directly. f(2) = 4 + 4 − 3 = 5 and f(−1) = 1 − 2 − 3 = −4. Then f(2+(−3))−f(2)−3 = −4−5−3 = −9−3 = 3. In left-to-right order, 5−(−4)2−(−1) = 93 = 3. Both match the formula's value.

    Work to write

    1. f(x + h) = x2 + 2xh + h2 + 2x + 2h − 3
    2. f(x + h) − f(x) = x2 + 2xh + h2 + 2x + 2h − 3 − (x2 + 2x − 3) = 2xh + h2 + 2h
    3. 2xh+h2+2hh = 2x + h + 2, h ≠ 0
    4. x=2,h=−3:2(2)+(−3)+2=3
    5. x + h = −1, so the interval is [−1, 2]
    6. Average rate of change on [−1, 2] = 3

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: f(x + h) = f · x + f · h.
    f is the function's name, not a number multiplying its input.
    ✓ Instead: For f(x) = x2, f(x + h) = (x + h)2.
    ✗ Not this: f(x + h) = f(x) + f(h).
    With f(x) = x2, x = 3 and h = 1, f(4) = 16, but f(3) + f(1) = 9 + 1 = 10.
    ✓ Instead: Feed the whole new input x + h into the formula.
    ✗ Not this: f(x + h) = f(x) + h.
    For the same square example, f(4) = 16, but f(3) + 1 = 10. Adding to an input happens before the rule runs.
    ✓ Instead: For g(x) = 6 − 2x, g(x + h) = 6 − 2x − 2h.
    ✗ Not this: A leftover 12 − 2h is the correct output change for g(x) = 6 − 2x.
    The starting +6 was added rather than subtracted. The proper subtraction removes the copy 6 − 2x.
    ✓ Instead: (6−2x−2h)−(6−2x)=−2h.
    ✗ Not this: h must always be positive, and [x, x + h] is ordered for every h.
    If x = 4 and h = −3, x + h = 1 lies to the left of 4.
    ✓ Instead: The quotient allows h < 0; use the sorted interval [1, 4]. Only h = 0 is always forbidden.

    Tips and tricks

    • Remember the name: difference means subtraction, quotient means division.
    • Here x names the starting input, not an unknown you automatically solve for. h names the signed input change.
    • The four moves are plug in, subtract, simplify, cancel a valid whole factor.
    • For a fully expanded polynomial numerator, every term independent of h cancels. Do not apply that wording blindly to square roots or other unexpanded functions.
    • Check algebra with x = 2 and h = 3; values 0 and 1 often hide missing factors and wrong powers.
    • The assigned algebra skill is an interval ending at a letter or having step h. This is the same endpoint-rate idea from section 1.1.

    7 The trap

    Adding h to the old output, treating f as a multiplier, or allowing a zero input step. Substitute x + h into the whole function formula and keep h ≠ 0.