Difference quotient of a quadratic
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.
- 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.
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 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.
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.
.1A 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.
This asks for the same square rate when every output is multiplied by 5. Find the difference quotient of f(x) = 5.
- f(x + h) = 5(x + h = 5( + 2xh + ).Multiply out the square before applying its outside coefficient 5.
- f(x + h) = 5 + 10xh + 5.The 5 multiplies all three terms, including the middle term.
- Output change: (5 + 10xh + 5) − (5) = 10xh + 5.Subtract the whole original output; 5 cancels with −5.
- 10xh + 5 = h(10x + 5h).Write 10xh = h · 10x and 5 = h · 5h.
- = 10x + 5h, with h ≠ 0.Cancel the nonzero multiplier of the whole numerator.
.2A 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.
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).
- f(x + h) = 3(x + h − 6(x + h) = 3( + 2xh + ) − 6x − 6h = 3 + 6xh + 3 − 6x − 6hEvery 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.
- f(x + h) − f(x) = (3 + 6xh + 3 − 6x − 6h) − (3 − 6x) = 3 + 6xh + 3 − 6x − 6h − 3 + 6xAll of f(x) is kept in parentheses after the minus, so both of its terms change sign.
- Combine terms: 3 − 3 = 0 and −6x + 6x = 0, leaving 6xh + 3 − 6hThe terms that do not contain h cancel, as they always do in a difference quotient.
- = = 6x + 3h − 6, for h ≠ 0Every 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: 6(1) + 3(1) − 6 = 3With 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
- = 6x + 3h − 6, h ≠ 0
- x = 1, h = 1: 6 + 3 − 6 = 3
- Secant slope = 3
(a) = 6x + 3h − 6, for h ≠ 0. (b) The secant slope through (1, −3) and (2, 0) is 3.
.3A 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).
This asks for the average-rate formula for a quadratic with three terms. Find for f(x) = 3 − 4x + 1.
- f(x + h) = 3(x + h − 4(x + h) + 1.The new input replaces every x position, including the linear term.
- f(x + h) = 3( + 2xh + ) − 4x − 4h + 1.Multiply out the square first, then let −4 multiply both terms of x + h.
- f(x + h) = 3 + 6xh + 3 − 4x − 4h + 1.The coefficient 3 multiplies , 2xh, and separately.
- Output change: (3 + 6xh + 3 − 4x − 4h + 1) − (3 − 4x + 1).The whole original output stays in parentheses until its minus sign is distributed.
- = 3 + 6xh + 3 − 4x − 4h + 1 − 3 + 4x − 1.The outside −1 changes +3 to −3, −4x to +4x, and +1 to −1.
- = 6xh + 3 − 4h.The explicit matching pairs are +3 with −3, −4x with +4x, and +1 with −1.
- 6xh = h · 6x, 3 = h · 3h, and −4h = h · (−4). Therefore the output change is h(6x + 3h − 4).Each remaining term contains the same multiplier h.
- = 6x + 3h − 4, with h ≠ 0.A nonzero h multiplying the whole top cancels with h on the bottom.
.4A 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.
This asks for the rate formula when a minus sign is outside the square. Find the difference quotient of f(x) = − + 6x.
- f(x + h) = −(x + h + 6(x + h).The new input stays inside the square; the outside minus remains outside.
- = −( + 2xh + ) + 6x + 6h = − − 2xh − + 6x + 6h.The outside minus reaches all three square terms, while 6 multiplies both input pieces.
- Output change: (− − 2xh − + 6x + 6h) − (− + 6x).Subtract the whole original output in parentheses.
- = − − 2xh − + 6x + 6h + − 6x.Multiplying the starting expression by −1 changes − to + and +6x to −6x.
- = −2xh − + 6h = h(−2x − h + 6).The − and + cancel; 6x and −6x cancel. The remaining factors after taking out h are −2x, −h, and 6.
- = −2x − h + 6, with h ≠ 0.The entire numerator has a nonzero factor h that divides out.
- 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.
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.
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(x + h) = 2(x + h − 2 = 2( + 2xh + ) − 2 = 2 + 4xh + 2 − 2Replace every x by (x + h), expand with (x + h = + 2xh + , and multiply the outside coefficient 2 into every expanded term.
- A(x + h) − A(x) = (2 + 4xh + 2 − 2) − (2 − 2) = 2 + 4xh + 2 − 2 − 2 + 2Keep all of A(x) in parentheses after the minus, then flip the sign of each of its terms. The −2 becomes +2.
- 2 − 2 = 0 and −2 + 2 = 0, so the numerator is 4xh + 2.Combine matching terms. The terms that do not contain h cancel.
- = = 4x + 2h, for h ≠ 0Every 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: 4(2) + 2(1) = 8 + 2 = 10Substitute 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
- = 4x + 2h, h ≠ 0
- x = 2, h = 1: 4(2) + 2(1) = 10 per m
- Check: = 10
(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.
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.
- Plug in: A(x + h) = 5(x + h = 5( + 2xh + ) = 5 + 10xh + 5.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: A(x + h) − A(x) = (5 + 10xh + 5) − (5) = 5 + 10xh + 5 − 5.All of A(x) goes in parentheses after the minus sign, and the sign of each term inside is then flipped.
- Simplify: 5 − 5 = 0, so the numerator is 10xh + 5.Matching terms are combined. The terms with no h cancel, and every remaining term contains h.
- Cancel h: = = 10x + 5h, for h ≠ 0.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: 10(4) + 5(0.2) = 40 + 1 = 41.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
(a) = 10x + 5h, for h ≠ 0. (b) 41 square inches of area per inch of side length.
This asks for the same square rate when every output is multiplied by 5. Find the difference quotient of f(x) = 5.
- f(x + h) = 5(x + h = 5( + 2xh + ).Multiply out the square before applying its outside coefficient 5.
- f(x + h) = 5 + 10xh + 5.The 5 multiplies all three terms, including the middle term.
- Output change: (5 + 10xh + 5) − (5) = 10xh + 5.Subtract the whole original output; 5 cancels with −5.
- 10xh + 5 = h(10x + 5h).Write 10xh = h · 10x and 5 = h · 5h.
- = 10x + 5h, with h ≠ 0.Cancel the nonzero multiplier of the whole numerator.
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).
- Replace every x by (x + h): f(x + h) = 2(x + h − 4(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: (x + h = + 2xh + , so 2(x + h = 2 + 4xh + 2.The outside coefficient 2 multiplies every term of the expanded square, not just the first one.
- Distribute the −4: −4(x + h) = −4x − 4h. So f(x + h) = 2 + 4xh + 2 − 4x − 4h.The multiplier −4 applies to both x and h.
- Subtract all of f(x) in parentheses: f(x + h) − f(x) = (2 + 4xh + 2 − 4x − 4h) − (2 − 4x) = 2 + 4xh + 2 − 4x − 4h − 2 + 4x.The minus sign applies to every term of f(x), so −4x becomes +4x.
- Combine like terms: 2 − 2 = 0 and −4x + 4x = 0, leaving 4xh + 2 − 4h.The terms that do not contain h cancel. Every remaining term should contain h.
- Factor h from the whole numerator: 4xh + 2 − 4h = h(4x + 2h − 4).Each term has a factor of h. Only a factor of the entire numerator can be canceled.
- Divide: = 4x + 2h − 4, for h ≠ 0.h divided by h equals 1 only when h is not zero.
- For part (b), substitute x = 0 and h = 3: 4(0) + 2(3) − 4 = 0 + 6 − 4 = 2.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
- = h(4x + 2h − 4)
- = 4x + 2h − 4, h ≠ 0
- x = 0, h = 3: 4(0) + 2(3) − 4 = 2
(a) = 4x + 2h − 4, for h ≠ 0. (b) The secant slope through (0, 0) and (3, 6) is 2.
This asks for the average-rate formula for a quadratic with three terms. Find for f(x) = 3 − 4x + 1.
- f(x + h) = 3(x + h − 4(x + h) + 1.The new input replaces every x position, including the linear term.
- f(x + h) = 3( + 2xh + ) − 4x − 4h + 1.Multiply out the square first, then let −4 multiply both terms of x + h.
- f(x + h) = 3 + 6xh + 3 − 4x − 4h + 1.The coefficient 3 multiplies , 2xh, and separately.
- Output change: (3 + 6xh + 3 − 4x − 4h + 1) − (3 − 4x + 1).The whole original output stays in parentheses until its minus sign is distributed.
- = 3 + 6xh + 3 − 4x − 4h + 1 − 3 + 4x − 1.The outside −1 changes +3 to −3, −4x to +4x, and +1 to −1.
- = 6xh + 3 − 4h.The explicit matching pairs are +3 with −3, −4x with +4x, and +1 with −1.
- 6xh = h · 6x, 3 = h · 3h, and −4h = h · (−4). Therefore the output change is h(6x + 3h − 4).Each remaining term contains the same multiplier h.
- = 6x + 3h − 4, with h ≠ 0.A nonzero h multiplying the whole top cancels with h on the bottom.
This asks for the rate formula when a minus sign is outside the square. Find the difference quotient of f(x) = − + 6x.
- f(x + h) = −(x + h + 6(x + h).The new input stays inside the square; the outside minus remains outside.
- = −( + 2xh + ) + 6x + 6h = − − 2xh − + 6x + 6h.The outside minus reaches all three square terms, while 6 multiplies both input pieces.
- Output change: (− − 2xh − + 6x + 6h) − (− + 6x).Subtract the whole original output in parentheses.
- = − − 2xh − + 6x + 6h + − 6x.Multiplying the starting expression by −1 changes − to + and +6x to −6x.
- = −2xh − + 6h = h(−2x − h + 6).The − and + cancel; 6x and −6x cancel. The remaining factors after taking out h are −2x, −h, and 6.
- = −2x − h + 6, with h ≠ 0.The entire numerator has a nonzero factor h that divides out.
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.
- f(x + h) = 6(x + h − 7(x + h) + 2.Replace every x by the whole new input.
- = 6( + 2xh + ) − 7x − 7h + 2 = 6 + 12xh + 6 − 7x − 7h + 2.The square expansion is multiplied term by term by 6, and −7 reaches both input pieces.
- Output change: (6 + 12xh + 6 − 7x − 7h + 2) − (6 − 7x + 2).Keep all three original terms grouped for subtraction.
- = 6 + 12xh + 6 − 7x − 7h + 2 − 6 + 7x − 2.The starting terms +6, −7x, and +2 all reverse signs.
- = 12xh + 6 − 7h = h(12x + 6h − 7).The matching h-independent polynomial terms cancel. Each remaining term is h times 12x, 6h, or −7.
- = 12x + 6h − 7, with h ≠ 0.Cancel the nonzero multiplier of the whole numerator.
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).
- Plug in: f(x + h) = 4(x + h = 4( + 2xh + ) = 4 + 8xh + 4.Every x is replaced by (x + h). The square expands as + 2xh + , and the outside coefficient 4 multiplies every expanded term.
- Subtract: f(x + h) − f(x) = (4 + 8xh + 4) − (4) = 4 + 8xh + 4 − 4.All of f(x) goes in parentheses after the minus sign, so its sign flips.
- Simplify: 4 − 4 = 0, so the numerator is 8xh + 4.The terms that do not contain h cancel, which always happens in a difference quotient.
- Cancel h: = = 8x + 4h, for h ≠ 0.Factor h from the whole numerator first, then cancel it. The cancellation is allowed only because h ≠ 0.
- Use the negative step: with x = 2 and h = −1, 8x + 4h = 8(2) + 4(−1) = 16 − 4 = 12.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
- = 8x + 4h, h ≠ 0
- x = 2, h = −1: 8(2) + 4(−1) = 12
(a) = 8x + 4h, h ≠ 0. (b) With x = 2 and h = −1, the value is 12.
- 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.