Difference quotient of a quadratic
Quick review (2 minutes)
A quadratic polynomial uses constants, multiples of the input, and a nonzero multiple of the squared input.
(x + h = + 2xh + . For f(x) = , the difference quotient is 2x + h, with h ≠ 0. Multiply any outside coefficient into every expanded term, subtract all of f(x), then factor the whole numerator before canceling h.
1. Plug in: replace every x by (x + h), multiply out the square, and apply each outside multiplier.
2. Subtract: keep all of f(x) in parentheses after a minus, then flip every term's sign.
3. Simplify: combine matching polynomial terms; the terms independent of h cancel.
4. Cancel h: write every remaining term as h times something, factor h from the whole numerator, and cancel only for h ≠ 0.
Plug in and multiply the square into four products.
Subtract the complete original formula with parentheses.
Simplify by grouping like terms.
Factor a whole nonzero h and keep the original restriction.
A rectangular garden plot is x meters wide and 2x meters long. A 2 square-meter corner is set aside for a compost bin, so the planted area is A(x) = 2 − 2 square meters. The graph of y = 2 − 2 passes through (2, 6) and (3, 16), and its lowest point is (0, −2). (a) Find and simplify the difference quotient for h ≠ 0. (b) Use your result with x = 2 and h = 1 to find the average rate of change of the planted area as the width grows from 2 m to 3 m.
(a) = 4x + 2h, for h ≠ 0. (b) 10 square meters per meter. The planted area grows by 10 for each meter of added width, on average, from 2 m to 3 m.
Losing the middle term, squaring an outside coefficient, or forgetting that ÷ h = h. Show the full square expansion before subtracting.
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.
Evaluate
Find an output by substituting an allowed input into every variable position and following the operations.
Interval
A stretch of real numbers between boundaries. It may include or exclude a finite endpoint and may continue without bound.
Slope
A line’s vertical change divided by the matching horizontal change. It is undefined when the horizontal change is zero.
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.
Denominator
The bottom of a fraction. It names the equal-piece size and must be nonzero.
Factor
One of the quantities being multiplied in a product. A factor can cancel only when it multiplies an entire numerator or denominator.
Expand
Multiply out a product or power and combine like terms. Every factor must reach every term it multiplies.
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.
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.
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.
Linear term
A numerical multiple of the input to the first power.
Constant term
A term with no changing variable. It stays fixed as the input changes.
1 In plain words
A quadratic polynomial uses constants, multiples of the input, and a nonzero multiple of the squared input. Think of enlarging a square carpet: the old square stays in one corner, two strips appear beside it, and a corner fills the gap. Multiplying out (x + h records all four pieces: , xh, xh, and . That is why + loses something. Subtracting the old output removes the old square, leaving the pieces due to the input change. If every remaining term contains h, write each as h times something and divide out that common multiplier. A number in front multiplies every piece. The final rate can depend on where you start and how far you step.
2 Picture it
Reminder
Reminder: Dividing powers, Distributing a multiplier, Subtracting a whole expression
- Dividing powers. ÷ h = (h · h) ÷ h = h for h ≠ 0. One of the two h factors is removed.
- Distributing a multiplier. 3( + 2xh + ) = 3 + 6xh + 3. The 3 reaches every term.
- Subtracting a whole expression. −(3 − 4x + 1) = −3 + 4x − 1. The outside −1 changes all three signs.
3 Why
Multiplying (x + h)(x + h) gives + xh + hx + = + 2xh + . Subtracting leaves h(2x + h), so dividing by h gives 2x + h. For a fully expanded polynomial, the terms independent of h reproduce the original f(x) and cancel when it is subtracted. This is a polynomial check, not a universal description of all functions. The rate varies on a curve: for 3 − 4x + 1, steps of 1 beginning at 1 and at 2 give different rates, 5 and 11.
4 The rule
xh .
For , the difference quotient is , with . Multiply any outside coefficient into every expanded term, subtract all of f(x), then factor the whole numerator before canceling h.
The same idea, five ways
Say 'multiply out the square, subtract the old output, factor the step, then divide'.
The extra square pieces produce the output change, and dividing by the input step gives the average rate.
- (x + h = + 2xh +
- For f(x) = : = 2x + h, h ≠ 0
- [x, x + h] if h > 0; [x + h, x] if h < 0
A square carpet grows by two strips and a corner, then its added area is compared with the side-length change.
The same idea, other ways
The old square, two xh strips, and corner account for the entire new square. The picture describes positive lengths; the algebraic identity still holds when x or h is negative.
For 3 − 4x + 1, subtracting the original output creates +3 with −3, −4x with +4x, and +1 with −1. Each pair adds to 0, leaving 6xh + 3 − 4h.
+3 and −3 cancel
−4x and +4x cancel
+1 and −1 cancel
For the harder function, from 1 to 2 the rate is = 5. From 2 to 3 it is = 11. The same step h = 1 gives a different rate because the curve is steeper in a different place.
Part 1: A coefficient outside the square
Multiplying a square by a number means multiplying its entire area by that number. It does not mean moving that number inside the square and squaring it too.
- 5(x + h = 5 + 10xh + 5.
- The outside coefficient acts after the square is computed.
Worked example
A coefficient multiplies every square piece
This asks for the same square rate when every output is multiplied by 5. Find the difference quotient of f(x) = 5.
Show the steps and the answer
= 5 + 10xh + 5
rate = 10x + 5h
- (xh ).Multiply out the square before applying its outside coefficient 5.
- xh .The 5 multiplies all three terms, including the middle term.
- Output change: (xh ) xh .Subtract the whole original output; 5 cancels with −5.
- 10xh .Write 10xh = h · 10x and 5 = h · 5h.
- , with .Cancel the nonzero multiplier of the whole numerator.
Part 2: A square plus a linear term
Each appearance of x needs the new input. The square gives 2xh + after subtraction; the extra linear term gives another 2h.
- For f(x) = + 2x, rate = 2x + h + 2, with h ≠ 0.
Worked example
Difference quotient of f(x) = 3 − 6x and a secant slope
Let f(x) = 3 − 6x. The graph of y = 3 − 6x passes through (0, 0) and (2, 0), and its lowest point is (1, −3). (a) Find and simplify the difference quotient for h ≠ 0. (b) Use your result with x = 1 and h = 1 to find the slope of the secant line through (1, −3) and (2, 0).
Show the steps and the answer
- (xh ) xh Every x is replaced by (x + h). The square expands as + 2xh + , and the outside multipliers 3 and −6 must reach every term inside their parentheses.
- (xh ) xh All of f(x) is kept in parentheses after the minus, so both of its terms change sign.
- Combine terms: and , leaving 6xh The terms that do not contain h cancel, as they always do in a difference quotient.
- , for Every remaining term contains h, so h factors out of the whole numerator. It cancels with the denominator only when h ≠ 0.
- For part (b), substitute x = 1 and h = 1: With x = 1 and h = 1 the difference quotient is the slope between the inputs 1 and 2, and these are the points (1, −3) and (2, 0).
Work to write
- f(x + h) = 3 + 6xh + 3 − 6x − 6h
- f(x + h) − f(x) = 6xh + 3 − 6h
- Secant slope = 3
Part 3: A three-term quadratic
A three-term function needs every substitution and every subtraction sign. The constant term disappears in the difference, while the linear term leaves a multiple of h.
- For f(x) = 3 − 4x + 1, rate = 6x + 3h − 4, with h ≠ 0.
- 6xh = h · 6x; 3 = h · 3h; −4h = h · (−4).
Worked example
Difference quotient with a number in front of
This asks for the average-rate formula for a quadratic with three terms. Find for f(x) = 3 − 4x + 1.
Show the steps and the answer
- .The new input replaces every x position, including the linear term.
- (xh ) .Multiply out the square first, then let −4 multiply both terms of x + h.
- xh .The coefficient 3 multiplies , 2xh, and separately.
- Output change: (xh ) .The whole original output stays in parentheses until its minus sign is distributed.
- xh .The outside −1 changes +3 to −3, −4x to +4x, and +1 to −1.
- xh .The explicit matching pairs are +3 with −3, −4x with +4x, and +1 with −1.
- 6xh , and . Therefore the output change is .Each remaining term contains the same multiplier h.
- , with .A nonzero h multiplying the whole top cancels with h on the bottom.
Part 4: A negative squared term
The minus outside negates the entire square after it has been multiplied out. Subtracting the starting negative square then adds a matching positive .
- −(x + h = − − 2xh − .
- For − + 6x, rate = −2x − h + 6, with h ≠ 0.
Worked example
A negative square coefficient
This asks for the rate formula when a minus sign is outside the square. Find the difference quotient of f(x) = − + 6x.
Show the steps and the answer
= − − 2xh −
rate = −2x − h + 6
- .The new input stays inside the square; the outside minus remains outside.
- (xh ) xh .The outside minus reaches all three square terms, while 6 multiplies both input pieces.
- Output change: (xh ) .Subtract the whole original output in parentheses.
- xh .Multiplying the starting expression by −1 changes − to + and +6x to −6x.
- xh .The − and + cancel; 6x and −6x cancel. The remaining factors after taking out h are −2x, −h, and 6.
- , with .The entire numerator has a nonzero factor h that divides out.
5 How
- Plug in: replace every x by (x + h), multiply out the square, and apply each outside multiplier.
- Subtract: keep all of f(x) in parentheses after a minus, then flip every term's sign.
- Simplify: combine matching polynomial terms; the terms independent of h cancel.
- Cancel h: write every remaining term as h times something, factor h from the whole numerator, and cancel only for h ≠ 0.
The quadratic difference quotient in four moves
- Plug in and multiply the square into four products.
- Subtract the complete original formula with parentheses.
- Simplify by grouping like terms.
- Factor a whole nonzero h and keep the original restriction.
6 Worked example
Worked example
Difference quotient for a garden plot with a compost corner
A rectangular garden plot is x meters wide and 2x meters long. A 2 square-meter corner is set aside for a compost bin, so the planted area is A(x) = 2 − 2 square meters. The graph of y = 2 − 2 passes through (2, 6) and (3, 16), and its lowest point is (0, −2). (a) Find and simplify the difference quotient for h ≠ 0. (b) Use your result with x = 2 and h = 1 to find the average rate of change of the planted area as the width grows from 2 m to 3 m.
Show the steps and the answer
- (xh ) xh Replace every x by (x + h), expand with (x + h = + 2xh + , and multiply the outside coefficient 2 into every expanded term.
- (xh ) xh Keep all of A(x) in parentheses after the minus, then flip the sign of each of its terms. The −2 becomes +2.
- and , so the numerator is 4xh .Combine matching terms. The terms that do not contain h cancel.
- , for Every remaining term contains h. Factor h from the whole numerator, then cancel it, which is allowed only because h ≠ 0.
- With x = 2 and h = 1: Substitute into the simplified difference quotient. The result is the average rate of change of A on [2, 3].
Work to write
- A(x + h) = 2 + 4xh + 2 − 2
- A(x + h) − A(x) = (2 + 4xh + 2 − 2) − (2 − 2) = 4xh + 2
- x = 2, h = 1: 4(2) + 2(1) = 10 per m
- Check: = 10
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 7
Difference quotient for the area of a strip of five square tiles
A decorative border is a straight strip of 5 identical square tiles placed side by side. If each tile has side length x inches, the total area of the strip is A(x) = 5 square inches. (a) Find and simplify the difference quotient for h ≠ 0. (b) Use your result to find the average rate of change of the area when the side length grows from x = 4 inches to x = 4.2 inches, so h = 0.2.
Show the steps and the answer
- Plug in: (xh ) xh .Every x is replaced by (x + h). The square expands as (x + h = + 2xh + , and the outside coefficient 5 must multiply every expanded term.
- Subtract: (xh ) xh .All of A(x) goes in parentheses after the minus sign, and the sign of each term inside is then flipped.
- Simplify: , so the numerator is 10xh .Matching terms are combined. The terms with no h cancel, and every remaining term contains h.
- Cancel h: , for .Write each term as h times something and factor h from the whole numerator. The common factor h may be canceled only because h ≠ 0.
- Evaluate at x = 4 and h = 0.2: .The simplified difference quotient is the average rate of change from x to x + h, so the numbers are substituted directly.
Work to write
- A(x + h) = 5(x + h = 5 + 10xh + 5
- A(x + h) − A(x) = 5 + 10xh + 5 − 5 = 10xh + 5
- = = 10x + 5h, h ≠ 0
- At x = 4, h = 0.2: 10(4) + 5(0.2) = 41
Rung 2 of 7
A coefficient multiplies every square piece
This asks for the same square rate when every output is multiplied by 5. Find the difference quotient of f(x) = 5.
Show the steps and the answer
= 5 + 10xh + 5
rate = 10x + 5h
- (xh ).Multiply out the square before applying its outside coefficient 5.
- xh .The 5 multiplies all three terms, including the middle term.
- Output change: (xh ) xh .Subtract the whole original output; 5 cancels with −5.
- 10xh .Write 10xh = h · 10x and 5 = h · 5h.
- , with .Cancel the nonzero multiplier of the whole numerator.
Rung 3 of 7
Difference quotient of f(x) = 2 − 4x
Let f(x) = 2 − 4x. The graph of y = 2 − 4x passes through (0, 0) and (3, 6), and its lowest point is (1, −2). (a) Find and simplify the difference quotient for h ≠ 0. (b) Use your result with x = 0 and h = 3 to find the slope of the secant line through (0, 0) and (3, 6).
Show the steps and the answer
- Replace every x by (x + h): .f(x + h) means the input x + h goes into each place x appears, in both the square term and the linear term.
- Expand the square: xh , so xh .The outside coefficient 2 multiplies every term of the expanded square, not just the first one.
- Distribute the : . So xh .The multiplier −4 applies to both x and h.
- Subtract all of f(x) in parentheses: (xh ) xh .The minus sign applies to every term of f(x), so −4x becomes +4x.
- Combine like terms: and , leaving 4xh .The terms that do not contain h cancel. Every remaining term should contain h.
- Factor h from the whole numerator: 4xh .Each term has a factor of h. Only a factor of the entire numerator can be canceled.
- Divide: , for .h divided by h equals 1 only when h is not zero.
- For part (b), substitute x = 0 and h = 3: .The difference quotient with x = 0 and h = 3 is the slope from the point at x = 0 to the point at x = 0 + 3 = 3.
Work to write
- f(x + h) = 2(x + h − 4(x + h) = 2 + 4xh + 2 − 4x − 4h
- f(x + h) − f(x) = 2 + 4xh + 2 − 4x − 4h − (2 − 4x) = 4xh + 2 − 4h
Rung 4 of 7
A coefficient, a linear term, and a constant
This asks for the average-rate formula for a quadratic with three terms. Find for f(x) = 3 − 4x + 1.
Show the steps and the answer
- .The new input replaces every x position, including the linear term.
- (xh ) .Multiply out the square first, then let −4 multiply both terms of x + h.
- xh .The coefficient 3 multiplies , 2xh, and separately.
- Output change: (xh ) .The whole original output stays in parentheses until its minus sign is distributed.
- xh .The outside −1 changes +3 to −3, −4x to +4x, and +1 to −1.
- xh .The explicit matching pairs are +3 with −3, −4x with +4x, and +1 with −1.
- 6xh , and . Therefore the output change is .Each remaining term contains the same multiplier h.
- , with .A nonzero h multiplying the whole top cancels with h on the bottom.
Rung 5 of 7
A negative square coefficient
This asks for the rate formula when a minus sign is outside the square. Find the difference quotient of f(x) = − + 6x.
Show the steps and the answer
= − − 2xh −
rate = −2x − h + 6
- .The new input stays inside the square; the outside minus remains outside.
- (xh ) xh .The outside minus reaches all three square terms, while 6 multiplies both input pieces.
- Output change: (xh ) .Subtract the whole original output in parentheses.
- xh .Multiplying the starting expression by −1 changes − to + and +6x to −6x.
- xh .The − and + cancel; 6x and −6x cancel. The remaining factors after taking out h are −2x, −h, and 6.
- , with .The entire numerator has a nonzero factor h that divides out.
Rung 6 of 7
A fresh three-term quadratic
This asks for the rate expression when a square coefficient, a negative linear coefficient, and a constant all occur. Find the difference quotient of f(x) = 6 − 7x + 2.
Show the steps and the answer
change = 12xh + 6 − 7h
rate = 12x + 6h − 7
- .Replace every x by the whole new input.
- (xh ) xh .The square expansion is multiplied term by term by 6, and −7 reaches both input pieces.
- Output change: (xh ) .Keep all three original terms grouped for subtraction.
- xh .The starting terms +6, −7x, and +2 all reverse signs.
- xh .The matching h-independent polynomial terms cancel. Each remaining term is h times 12x, 6h, or −7.
- , with .Cancel the nonzero multiplier of the whole numerator.
Rung 7 of 7
Difference quotient of 4 with a negative step
Let f(x) = 4. The graph of y = 4 passes through (1, 4) and (2, 16). (a) Find and simplify the difference quotient for h ≠ 0. (b) Use your result with x = 2 and the negative step h = −1. This gives the slope of the secant line through (2, 16) and (1, 4).
Show the steps and the answer
- Plug in: (xh ) xh .Every x is replaced by (x + h). The square expands as + 2xh + , and the outside coefficient 4 multiplies every expanded term.
- Subtract: (xh ) xh .All of f(x) goes in parentheses after the minus sign, so its sign flips.
- Simplify: , so the numerator is 8xh .The terms that do not contain h cancel, which always happens in a difference quotient.
- Cancel h: , for .Factor h from the whole numerator first, then cancel it. The cancellation is allowed only because h ≠ 0.
- Use the negative step: with and .The formula holds for any nonzero h, negative values included. Here x + h = 1, so the result is the slope between x = 2 and x = 1.
Work to write
- f(x + h) = 4(x + h = 4 + 8xh + 4
- f(x + h) − f(x) = 4 + 8xh + 4 − 4 = 8xh + 4
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Square first, multiply the outside number second. Keep those two actions on separate lines.
- Write the matching pairs in the subtraction so each canceled term has a visible partner.
- Meaning matters: x is where you start, and h is the signed amount the input changes.
- A square-area picture uses positive lengths; an algebraic square identity also accepts negative values.
- Keep h ≠ 0 beside the answer, even after h has canceled.
7 The trap
Losing the middle term, squaring an outside coefficient, or forgetting that ÷ h = h. Show the full square expansion before subtracting.