The difference quotient: average rate of change from x to x + h
Quick review (2 minutes)
The difference quotient has two ordinary actions hidden in its name.
Difference quotient = , 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.
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.
Plug in the whole input x + h.
Subtract the whole starting output f(x).
Simplify using the right arithmetic for the formula.
Cancel only a whole nonzero common factor, and state the restrictions.
This asks for the average rate over any nonzero input step h starting at any input x. Find for g(x) = 6 − 2x. The plan is plug in, subtract, simplify, then cancel h.
−2, with h ≠ 0.
For each 1 unit right, g drops 2 output units. This rate holds for both positive and negative signed steps.
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.
Rate of change
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.
Average rate of change
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.
Difference quotient
The average rate from a starting input x to an ending input x + h: . The signed step h is nonzero, and both inputs must be allowed.
Constant
A function is constant on an interval when its output stays the same for every input there. Its graph is a flat, horizontal piece.
Input
The value you feed into a function. On its graph, it is the horizontal coordinate.
Output
The value a function returns for an allowed input. On its graph, it is the vertical coordinate.
Function
A rule that assigns exactly one output to each allowed input.
Solve
Find every allowed input that makes an equation true.
Interval
A stretch of real numbers between boundaries. It may include or exclude a finite endpoint and may continue without bound.
Endpoint
A boundary of a graph piece or interval. A finite endpoint can be included or excluded. Course local comparisons need inputs on both sides.
Slope
A line’s vertical change divided by the matching horizontal change. It is undefined when the horizontal change is zero.
Rise
The signed vertical change between two points, using the same end-minus-start order as the run.
Difference
The result of subtraction, retaining its sign. In a rate it measures an end value minus a start value.
Quotient
The result of division. A rate quotient divides output change by a nonzero input change.
Parabola
The U-shaped graph of a quadratic function, opening upward or downward.
Vertex
The turning point of a parabola, or the corner of a V-shaped absolute-value graph. Its coordinates give both location and height.
Numerator
The top of a fraction. It counts how many equal pieces are being represented.
Factor
One of the quantities being multiplied in a product. A factor can cancel only when it multiplies an entire numerator or denominator.
Factoring
Rewriting a sum or difference as a product. It reverses distribution and makes shared factors visible.
Expand
Multiply out a product or power and combine like terms. Every factor must reach every term it multiplies.
Distributive property
A multiplier outside parentheses multiplies each term inside. It works with positive and negative multipliers.
Term
A piece of an expression separated from other pieces by plus or minus signs. Its sign belongs with it.
Like terms
Terms with the same variable factors and powers. Their numerical multipliers can combine; different variable patterns cannot.
Power
A repeated multiplication of the same base. The exponent records how many factors are used for a positive whole-number power.
Undefined
Having no value under the rule being used. Division by zero is undefined.
Average speed
Distance traveled divided by elapsed time. If distance from home increases throughout a trip without reversals, its rate gives the same average speed.
Per
For each one unit of another quantity. It names the division used in a rate.
Secant line
A straight line through two distinct points on a graph. Its slope is the average rate between the two inputs.
Constant function
A function returning one fixed output c for every allowed input. c names one chosen number.
Polynomial
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.
Coefficient
The numerical multiplier of a term, including its sign.
Expression
Numbers, variables, and operations that describe a value. An equation sets two expressions equal.
Constant term
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
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 and x cannot be combined.
- Canceling a nonzero factor. = −2 · = −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 , with and both outputs defined.
It is the average rate on if h > 0, and on the sorted interval if h < 0.
The same idea, five ways
Say 'difference in outputs divided by the input step'. Read f(x + h) as 'f of x plus h'.
Start at input x, change the input by a nonzero signed amount h, and compare the two outputs per input unit.
- [x, x + h] if h > 0; [x + h, x] if h < 0
Average climb per mile between a chosen road marker and another marker a signed step away.
The same idea, other ways
For starting at 3, a step 1 gives = 7. A step 0.5 gives = 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.
For g(x) = 6 − 2x, start at 1 and step 1: = −2. Start at 3 and step 2: = −2. Start at −2 and step 0.5: = −2. All give −2; the worked subtraction shows why.
If d(t) is miles driven after t hours, gives the average speed across those times when h > 0. For positive s and h on a growing square tile, 2sh + 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.
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.
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.
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.
Worked example
Difference quotient starting at x = 3
Let f(x) = − 4x + 1. (a) Find and simplify the difference quotient , 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
- Find the fixed output first: .The start is the number 3, so f(3) is a single number. Computing it once keeps the subtraction simple.
- Plug in: .Every x is replaced by the whole input (3 + h). The square (3 + h is multiplied out to 9 + 6h + , and −4 is distributed over both terms of (3 + h).
- Subtract: .Writing −(f(3)) in parentheses lets the minus sign reach the whole value. Subtracting −2 means adding 2.
- Simplify: .The terms that do not depend on h, −2 and +2, cancel. This always happens for a fully expanded polynomial.
- Cancel h: , for .Factor h shows that h multiplies the entire numerator. Since h ≠ 0, we may divide it out. The restriction h ≠ 0 stays.
- Part (b): put into to get . The interval runs from 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].
Work to write
- 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 + . 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.
Worked example
Difference quotient of a quadratic starting at x = 2
Let f(x) = 2 + 4x − 2. (a) Find and simplify the difference quotient , with h ≠ 0. (b) Use your result with h = to find the average rate of change of f on the matching interval, and name that interval.
Show the steps and the answer
- Find f(2) first: .The fixed output f(2) is needed for the subtraction, and the start is a plain number.
- Plug in : . Expand , so .Every x is replaced by the whole input (2 + h). The square must be multiplied out before it is doubled.
- Subtract: .The parentheses let the minus reach the whole of f(2). The constant terms, which do not depend on h, cancel.
- Factor and cancel h: , for .h multiplies the entire numerator, so the nonzero factor h divides out. The restriction h ≠ 0 stays.
- Part (b): with , the rate is . Because h > 0, the interval is .The difference quotient is the average rate on [x, x + h] when h > 0.
Work to write
- f(2) = 14
- h = : average rate = 13 on [2, ]
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].
Worked example
Difference quotient of a downward parabola, then a step backward with h = −3
Let f(x) = − + 6x − 5. (a) Find and simplify the difference quotient , 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
- (xh ) xh Plug 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.
- (xh ) xh Subtract: f(x) goes in parentheses so the minus reaches every term. − becomes +, +6x becomes −6x, and −5 becomes +5.
- Numerator xh Simplify: − + = 0, 6x − 6x = 0 and −5 + 5 = 0. The terms independent of h cancel, as they must for a fully expanded polynomial.
- , with Cancel h: h is a factor of the entire numerator and h ≠ 0, so it divides out. The restriction h ≠ 0 stays.
- With x = 5 and h = −3: Substitute the given values into the simplified quotient. Subtracting a negative h adds 3.
- , 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.
Work to write
- f(x + h) = − − 2xh − + 6x + 6h − 5
- f(x + h) − f(x) = −2xh − + 6h
- 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 .
- Growing the side by h adds 2sh + square units.
- For s > 0 and h > 0, area gain per side-length gain is 2s + 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
- Starting area: square inches. Ending area: square inches.A square's area is its side times itself.
- Area change: square inches. Side change: inch.Subtract matching endpoints in the same order.
- square inches per inch.The difference quotient divides the area difference by the side-length difference.
5 How
- Plug in: replace every x in the formula by the whole input (x + h); multiply out the needed products.
- Subtract: write −(f(x)) with parentheses, then let that minus reach every term.
- Simplify: combine like terms; for a fully expanded polynomial, the terms independent of h cancel.
- Cancel h: when h multiplies the entire numerator, divide that nonzero factor out; keep every original restriction.
The difference quotient in four moves
- Plug in the whole input x + h.
- Subtract the whole starting output f(x).
- Simplify using the right arithmetic for the formula.
- 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 for g(x) = 6 − 2x. The plan is plug in, subtract, simplify, then cancel h.
Show the steps and the answer
- Require . Write .x + h is one whole input. The −2 must multiply all of it; writing 6 − 2x + h would multiply only x.
- .The distributive property means the multiplier reaches each term: (−2) · x = −2x and (−2) · h = −2h.
- Write the output change as .Subtract the entire starting output, not one selected term.
- , so the output change is .The hidden sign on 6 is +. Multiplying the whole starting expression by −1 changes +6 to −6 and −2x to +2x.
- .The +6 and −6 cancel, and −2x and +2x cancel. The expanded polynomial contains a copy of g(x), removed by subtraction.
- .The nonzero factor h divides by itself to give 1.
- −2, with h ≠ 0.
- For each 1 unit right, g drops 2 output units. This rate holds for both positive and negative signed steps.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
Difference quotient with numbers: f(x) = − 3x + 5 at x = 1, h = 3
Let f(x) = − 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 and state the interval it is the average rate of change on.
Show the steps and the answer
- Plug in: . Multiply out: , and . So .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.
- Subtract: .Writing −(f(x)) with parentheses lets the minus sign reach every term of f(1) = 1 − 3 + 5.
- Simplify: the pairs and cancel, leaving . So the numerator is 6. As a check, .The terms that do not involve h (the pieces of f(1)) cancel. Only terms built from h = 3 remain.
- Cancel h: . Here , 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].
Work to write
- x + h = 1 + 3 = 4
- f(4) = 16 − 12 + 5 = 9 and f(1) = 1 − 3 + 5 = 3
- = 2, with h = 3 ≠ 0
- 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 , 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.
Show the steps and the answer
- Plug in: .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.
- Subtract with parentheses: .Writing −(f(x)) with parentheses makes the minus sign reach the whole output f(x) = 4.
- Simplify the numerator: , so the difference quotient is .The two outputs are equal, so they cancel completely. Every term is independent of h, so nothing is left.
- Divide: for .Zero divided by any nonzero number is 0. The restriction h ≠ 0 stays, because the quotient is undefined at h = 0.
- Part (b): with and , the difference quotient is 0. Since h < 0, sort the endpoints and to get the interval .The rule says that when h < 0, the quotient is the average rate on the sorted interval [x + h, x].
Work to write
- f(x + h) = 4
- h = −5 < 0, so the interval is [−2, 3]
- 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
- .The whole new input replaces x, and 4 multiplies each piece.
- Output change: .Subtract the entire original output; +4x and −4x cancel.
- , with .A common nonzero multiplier h divides out.
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 for g(x) = 6 − 2x. The plan is plug in, subtract, simplify, then cancel h.
Show the steps and the answer
- Require . Write .x + h is one whole input. The −2 must multiply all of it; writing 6 − 2x + h would multiply only x.
- .The distributive property means the multiplier reaches each term: (−2) · x = −2x and (−2) · h = −2h.
- Write the output change as .Subtract the entire starting output, not one selected term.
- , so the output change is .The hidden sign on 6 is +. Multiplying the whole starting expression by −1 changes +6 to −6 and −2x to +2x.
- .The +6 and −6 cancel, and −2x and +2x cancel. The expanded polynomial contains a copy of g(x), removed by subtraction.
- .The nonzero factor h divides by itself to give 1.
- −2, with h ≠ 0.
- For each 1 unit right, g drops 2 output units. This rate holds for both positive and negative signed steps.
Rung 5 of 6
Difference quotient of a downward parabola starting at x = 1
Let f(x) = − − 2x + 5. Its graph is the downward-opening parabola y = −(x + 1 + 6, with vertex (−1, 6). It passes through (1, 2) and (3, −10). (a) Find and simplify the difference quotient , 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.
Show the steps and the answer
- Find the starting output: .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.
- Plug in 1 + h: .Every x is replaced by the whole input (1 + h). The square is expanded before the leading minus sign is distributed.
- Subtract: .Writing −(f(1)) with parentheses makes the minus sign reach the whole starting output.
- Simplify the numerator: .The terms that do not depend on h cancel, as they must for a fully expanded polynomial.
- Factor and cancel h: , for .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.
- For (b), substitute : . The inputs are 1 and , so the interval is [1, 3].With h > 0, the difference quotient is the average rate of change on [x, x + h] = [1, 3].
Work to write
- f(1) = 2
- Interval: [1, 3]; average rate of change = −6
Rung 6 of 6
Difference quotient with a negative step on y = + 2x − 3
Let f(x) = + 2x − 3. Its graph is the upward-opening parabola y = (x + 1 − 4, with vertex (−1, −4). It passes through (−1, −4) and (2, 5). (a) Find and simplify the difference quotient , 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.
Show the steps and the answer
- xh Plug in: every x becomes the whole input (x + h). Then (x + h = + 2xh + , and 2(x + h) = 2x + 2h.
- xh xh Subtract: f(x) goes in parentheses, so the minus reaches every one of its terms. This turns −3 into +3.
- xh Simplify: − = 0, 2x − 2x = 0 and −3 + 3 = 0. The terms independent of h cancel, as they must for a fully expanded polynomial.
- , with Cancel h: h is a factor of the entire numerator and h ≠ 0, so it divides out. The restriction h ≠ 0 still holds.
- With x = 2 and h = −3: Substitute into the simplified quotient. Here −3 ≠ 0, so this value of h is allowed.
- , so the interval is The step h is negative, so x + h lies to the left of x. Sorting the endpoints gives [x + h, x] = [−1, 2].
Work to write
- f(x + h) = + 2xh + + 2x + 2h − 3
- f(x + h) − f(x) = + 2xh + + 2x + 2h − 3 − ( + 2x − 3) = 2xh + + 2h
- = 2x + h + 2, h ≠ 0
- x + h = −1, so the interval is [−1, 2]
- Average rate of change on [−1, 2] = 3
Counterexamples
What it is not, and the tempting wrong moves.
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.