Quarry School

Difference quotient of a quadratic

Subject: MathematicsLeans on: Dividing powersLeans on: Distributing a multiplierLeans on: Subtracting a whole expression
Level 2 · BuildingAbout 24 min read13 new terms
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

    A quadratic polynomial uses constants, multiples of the input, and a nonzero multiple of the squared input.

    Rule

    (x + h)2 = x2 + 2xh + h2. For f(x) = x2, 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.

    Step

    1. 1. Plug in: replace every x by (x + h), multiply out the square, and apply each outside multiplier.

    2. 2. Subtract: keep all of f(x) in parentheses after a minus, then flip every term's sign.

    3. 3. Simplify: combine matching polynomial terms; the terms independent of h cancel.

    4. 4. Cancel h: write every remaining term as h times something, factor h from the whole numerator, and cancel only for h ≠ 0.

    Strategy

    1. Plug in and multiply the square into four products.

    2. Subtract the complete original formula with parentheses.

    3. Simplify by grouping like terms.

    4. Factor a whole nonzero h and keep the original restriction.

    Question

    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) = 2x2 − 2 square meters. The graph of y = 2x2 − 2 passes through (2, 6) and (3, 16), and its lowest point is (0, −2). (a) Find and simplify the difference quotient A(x+h)−A(x)h 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.

    Answer

    (a) A(x+h)−A(x)h = 4x + 2h, for h ≠ 0. (b) 10 square meters per meter. The planted area grows by 10 m2 for each meter of added width, on average, from 2 m to 3 m.

    Trap

    Losing the middle term, squaring an outside coefficient, or forgetting that h2 ÷ h = h. Show the full square expansion before subtracting.

    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

    Evaluate

    Definition

    Find an output by substituting an allowed input into every variable position and following the operations.

    Term

    Interval

    Definition

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

    Term

    Slope

    Definition

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

    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

    Denominator

    Definition

    The bottom of a fraction. It names the equal-piece size and must be nonzero.

    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

    Expand

    Definition

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

    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

    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

    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

    Linear term

    Definition

    A numerical multiple of the input to the first power.

    Term

    Constant term

    Definition

    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)2 records all four pieces: x2, xh, xh, and h2. That is why x2 + h2 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

    x²xhxxhh²hxh
    An area model with sides x + h and x + h.

    Reminder

    Reminder: Dividing powers, Distributing a multiplier, Subtracting a whole expression
    • Dividing powers. h2 ÷ h = (h · h) ÷ h = h for h ≠ 0. One of the two h factors is removed.
    • Distributing a multiplier. 3(x2 + 2xh + h2) = 3x2 + 6xh + 3h2. The 3 reaches every term.
    • Subtracting a whole expression. −(3x2 − 4x + 1) = −3x2 + 4x − 1. The outside −1 changes all three signs.

    3 Why

    Multiplying (x + h)(x + h) gives x2 + xh + hx + h2 = x2 + 2xh + h2. Subtracting x2 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 3x2 − 4x + 1, steps of 1 beginning at 1 and at 2 give different rates, 5 and 11.

    4 The rule

    (x+h)2=x2+2xh +h2.

    For f(x)=x2, 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.

    The same idea, five ways

    Say it

    Say 'multiply out the square, subtract the old output, factor the step, then divide'.

    Write it

    The extra square pieces produce the output change, and dividing by the input step gives the average rate.

    In math
    • (x + h)2 = x2 + 2xh + h2
    • For f(x) = x2: f(x+h)−f(x)h = 2x + h, h ≠ 0
    • [x, x + h] if h > 0; [x + h, x] if h < 0
    Like

    A square carpet grows by two strips and a corner, then its added area is compared with the side-length change.

    See it
    x²xhxxhh²hxh
    The same picture again: An area model with sides x + h and x + h.

    The same idea, other ways

    Four pieces in the square

    The old x2 square, two xh strips, and h2 corner account for the entire new square. The picture describes positive lengths; the algebraic identity still holds when x or h is negative.

    x²xhxxhh²hxh
    The same picture a third time: An area model with sides x + h and x + h.
    Follow the matching pairs

    For 3x2 − 4x + 1, subtracting the original output creates +3x2 with −3x2, −4x with +4x, and +1 with −1. Each pair adds to 0, leaving 6xh + 3h2 − 4h.

    +3x2 and −3x2 cancel

    −4x and +4x cancel

    +1 and −1 cancel

    Give the letters numerical meaning

    For the harder function, from 1 to 2 the rate is 5−01 = 5. From 2 to 3 it is 16−51 = 11. The same step h = 1 gives a different rate because the curve is steeper in a different place.

    (1, 0)(2, 5)2261014
    y = 3(x − 0.6667)2 − 0.3333, solid, beside y = 5x − 5, dashed.

    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)2 = 5x2 + 10xh + 5h2.
    • The outside coefficient acts after the square is computed.
    start x = 1end x + h = 3246183042
    y = 5x2, solid, beside y = 20x − 15, dashed.

    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) = 5x2.

    Show the steps and the answer
    start x = 1end x + h = 3246183042
    The same picture again: y = 5x2, solid, beside y = 20x − 15, dashed.

    5(x+h)2

    = 5x2 + 10xh + 5h2

    rate = 10x + 5h

    start x = 1end x + h = 3246183042
    The same picture a third time: y = 5x2, solid, beside y = 20x − 15, dashed.
    1. f(x+h)=5(x+h)2=5(x2+2xh +h2).Multiply out the square before applying its outside coefficient 5.
    2. f(x+h)=5x2+10xh +5h2.The 5 multiplies all three terms, including the middle term.
    3. Output change: (5x2+10xh +5h2) −(5x2)=10xh +5h2.Subtract the whole original output; 5x2 cancels with −5x2.
    4. 10xh +5h2=h(10x+5h).Write 10xh = h · 10x and 5h2 = h · 5h.
    5. h(10x+5h)h=10x+5h, with h≠0.Cancel the nonzero multiplier of the whole numerator.
    Answer
    10x + 5h, with h ≠ 0.
    Double-check With x = 1 and h = 2, f(3) = 45 and f(1) = 5. The direct rate is 45−52 = 402 = 20, and 10(1) + 5(2) = 20.

    Part 2: A square plus a linear term

    Each appearance of x needs the new input. The square gives 2xh + h2 after subtraction; the extra linear term gives another 2h.

    • For f(x) = x2 + 2x, rate = 2x + h + 2, with h ≠ 0.
    start x = 2end x + h = 5246515253545
    For x = 2 and h = 3, the dashed ruler joins outputs 8 and 35 with slope 9.

    Worked example

    Difference quotient of f(x) = 3x2 − 6x and a secant slope

    Let f(x) = 3x2 − 6x. The graph of y = 3x2 − 6x passes through (0, 0) and (2, 0), and its lowest point is (1, −3). (a) Find and simplify the difference quotient f(x+h)−f(x)h 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).

    (1, −3)(2, 0)−224−4−22468
    The parabola y = 3x2 − 6x = 3(x − 1)2 − 3 with lowest point (1, −3) and the point (2, 0).
    Show the steps and the answer
    1. f(x+h)=3(x+h)2−6(x+h)=3(x2+2xh +h2) −6x−6h=3x2+6xh +3h2−6x−6hEvery x is replaced by (x + h). The square expands as x2 + 2xh + h2, and the outside multipliers 3 and −6 must reach every term inside their parentheses.
    2. f(x+h)−f(x)= (3x2+6xh +3h2−6x−6h) −(3x2−6x)=3x2+6xh +3h2−6x−6h−3x2+6xAll of f(x) is kept in parentheses after the minus, so both of its terms change sign.
    3. Combine terms: 3x2−3x2=0 and −6x+6x=0, leaving 6xh +3h2−6hThe terms that do not contain h cancel, as they always do in a difference quotient.
    4. 6xh+3h2−6hh=h(6x+3h−6)h=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.
    5. 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).
    Answer
    (a) f(x+h)−f(x)h = 6x + 3h − 6, for h ≠ 0. (b) The secant slope through (1, −3) and (2, 0) is 3.
    Double-check Compute directly: f(1) = 3 − 6 = −3 and f(2) = 12 − 12 = 0, so 0−(−3)2−1 = 3, which matches. A second check uses x = 2 and h = 1: f(3) = 27 − 18 = 9, so 9−01 = 9, and the formula gives 12 + 3 − 6 = 9.

    Work to write

    1. f(x + h) = 3x2 + 6xh + 3h2 − 6x − 6h
    2. f(x + h) − f(x) = 6xh + 3h2 − 6h
    3. h(6x+3h−6)h=6x+3h−6,h≠0
    4. x=1,h=1:6+3−6=3
    5. 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) = 3x2 − 4x + 1, rate = 6x + 3h − 4, with h ≠ 0.
    • 6xh = h · 6x; 3h2 = h · 3h; −4h = h · (−4).
    (1, 0)(2, 5)2261014
    The same picture again: y = 3(x − 0.6667)2 − 0.3333, solid, beside y = 5x − 5, dashed.

    Worked example

    Difference quotient with a number in front of x2

    This asks for the average-rate formula for a quadratic with three terms. Find f(x+h)−f(x)h for f(x) = 3x2 − 4x + 1.

    Show the steps and the answer
    (1, 0)(2, 5)2261014
    The same picture a third time: y = 3(x − 0.6667)2 − 0.3333, solid, beside y = 5x − 5, dashed.
    1. f(x+h)=3(x+h)2−4(x+h)+1.The new input replaces every x position, including the linear term.
    2. f(x+h)=3(x2+2xh +h2) −4x−4h+1.Multiply out the square first, then let −4 multiply both terms of x + h.
    3. f(x+h)=3x2+6xh +3h2−4x−4h+1.The coefficient 3 multiplies x2, 2xh, and h2 separately.
    4. Output change: (3x2+6xh +3h2−4x−4h+1) −(3x2−4x+1).The whole original output stays in parentheses until its minus sign is distributed.
    5. =3x2+6xh +3h2−4x−4h+1−3x2+4x−1.The outside −1 changes +3x2 to −3x2, −4x to +4x, and +1 to −1.
    6. =6xh +3h2−4h.The explicit matching pairs are +3x2 with −3x2, −4x with +4x, and +1 with −1.
    7. 6xh =h·6x,3h2=h·3h, and −4h=h·(−4). Therefore the output change is h(6x+3h−4).Each remaining term contains the same multiplier h.
    8. h(6x+3h−4)h=6x+3h−4, with h≠0.A nonzero h multiplying the whole top cancels with h on the bottom.
    Answer
    6x + 3h − 4, with h ≠ 0.
    Double-check Use x = 2 and h = 3. f(5) = 75 − 20 + 1 = 56 and f(2) = 12 − 8 + 1 = 5, so 56−53 = 513 = 17. The result gives 6(2) + 3(3) − 4 = 17. The wrong expression 6x + 3h2 − 4 gives 35, so this check catches the power error.

    Part 4: A negative squared term

    The minus outside x2 negates the entire square after it has been multiplied out. Subtracting the starting negative square then adds a matching positive x2.

    • −(x + h)2 = −x2 − 2xh − h2.
    • For −x2 + 6x, rate = −2x − h + 6, with h ≠ 0.
    start x = 2end x + h = 5246481216
    y = −(x − 3)2 + 9, solid, beside y = −x + 10, dashed.

    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) = −x2 + 6x.

    Show the steps and the answer
    start x = 2end x + h = 5246481216
    The same picture again: y = −(x − 3)2 + 9, solid, beside y = −x + 10, dashed.

    −(x+h)2

    = −x2 − 2xh − h2

    rate = −2x − h + 6

    start x = 2end x + h = 5246481216
    The same picture a third time: y = −(x − 3)2 + 9, solid, beside y = −x + 10, dashed.
    1. f(x+h)=−(x+h)2+6(x+h).The new input stays inside the square; the outside minus remains outside.
    2. =−(x2+2xh +h2) +6x+6h=−x2−2xh −h2+6x+6h.The outside minus reaches all three square terms, while 6 multiplies both input pieces.
    3. Output change: (−x2−2xh −h2+6x+6h) −(−x2+6x).Subtract the whole original output in parentheses.
    4. =−x2−2xh −h2+6x+6h+x2−6x.Multiplying the starting expression by −1 changes −x2 to +x2 and +6x to −6x.
    5. =−2xh −h2+6h=h(−2x−h+6).The −x2 and +x2 cancel; 6x and −6x cancel. The remaining factors after taking out h are −2x, −h, and 6.
    6. h(−2x−h+6)h=−2x−h+6, with h≠0.The entire numerator has a nonzero factor h that divides out.
    Answer
    −2x − h + 6, with h ≠ 0.
    Double-check At x = 2 and h = 3, f(5) = −25 + 30 = 5 and f(2) = −4 + 12 = 8. The direct rate 5−83 = −1 matches −2(2) − 3 + 6 = −1.

    5 How

    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

    1
    Is there a number in front of the square?
    YesSquare the whole input first, then multiply every resulting term by that number.
    NoUse x2 + 2xh + h2.
    ↓
    2
    Is there a minus outside the square?
    YesAfter expanding, change every square term's sign.
    NoKeep the signs from the square expansion.
    ↓
    3
    Have all original-output signs been reversed in the subtraction?
    YesCombine the matching terms.
    NoRewrite −(f(x)) before removing the parentheses.
    ↓
    4
    In this fully expanded polynomial, does a term without h remain?
    YesRecheck the expansion and subtraction; the copy of f(x) should cancel.
    NoWrite each term as h times something.
    ↓
    5
    Does the whole numerator now have a factor h?
    YesCancel it for h ≠ 0 and interpret the average rate.
    NoRecheck the algebra rather than canceling selected pieces.
    1. Plug in and multiply the square into four products.
    2. Subtract the complete original formula with parentheses.
    3. Simplify by grouping like terms.
    4. 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) = 2x2 − 2 square meters. The graph of y = 2x2 − 2 passes through (2, 6) and (3, 16), and its lowest point is (0, −2). (a) Find and simplify the difference quotient A(x+h)−A(x)h 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
    (2, 6)(3, 16)(0, −2)24481216
    Graph of the planted area A(x) = 2x2 − 2, with lowest point (0, −2) and the points (2, 6) and (3, 16) that…
    1. A(x+h)=2(x+h)2−2=2(x2+2xh +h2) −2=2x2+4xh +2h2−2Replace every x by (x + h), expand with (x + h)2 = x2 + 2xh + h2, and multiply the outside coefficient 2 into every expanded term.
    2. A(x+h)−A(x)= (2x2+4xh +2h2−2) −(2x2−2)=2x2+4xh +2h2−2−2x2+2Keep all of A(x) in parentheses after the minus, then flip the sign of each of its terms. The −2 becomes +2.
    3. 2x2−2x2=0 and −2+2=0, so the numerator is 4xh +2h2.Combine matching terms. The terms that do not contain h cancel.
    4. 4xh+2h2h=h(4x+2h)h=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.
    5. 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].
    Answer
    (a) A(x+h)−A(x)h = 4x + 2h, for h ≠ 0. (b) 10 square meters per meter. The planted area grows by 10 m2 for each meter of added width, on average, from 2 m to 3 m.
    Double-check From the graph points, A(2) = 2(4) − 2 = 6 and A(3) = 2(9) − 2 = 16. So 16−63−2 = 10, which matches 4(2) + 2(1) = 10.

    Work to write

    1. A(x + h) = 2x2 + 4xh + 2h2 − 2
    2. A(x + h) − A(x) = (2x2 + 4xh + 2h2 − 2) − (2x2 − 2) = 4xh + 2h2
    3. h(4x+2h)h=4x+2h,h≠0
    4. x = 2, h = 1: 4(2) + 2(1) = 10 m2 per m
    5. Check: 16−63−2 = 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) = 5x2 square inches. (a) Find and simplify the difference quotient A(x+h)−A(x)h 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
    (4, 80)2461133557799
    Graph of the strip's area A(x) = 5x2, marking the point (4, 80).
    1. Plug in: A(x+h)=5(x+h)2=5(x2+2xh +h2) =5x2+10xh +5h2.Every x is replaced by (x + h). The square expands as (x + h)2 = x2 + 2xh + h2, and the outside coefficient 5 must multiply every expanded term.
    2. Subtract: A(x+h)−A(x)= (5x2+10xh +5h2) −(5x2)=5x2+10xh +5h2−5x2.All of A(x) goes in parentheses after the minus sign, and the sign of each term inside is then flipped.
    3. Simplify: 5x2−5x2=0, so the numerator is 10xh +5h2.Matching terms are combined. The terms with no h cancel, and every remaining term contains h.
    4. Cancel h: 10xh+5h2h=h(10x+5h)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.
    5. 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.
    Answer
    (a) A(x+h)−A(x)h = 10x + 5h, for h ≠ 0. (b) 41 square inches of area per inch of side length.
    Double-check Compute the change in area directly. A(4.2) = 5(4.2)2 = 5(17.64) = 88.2, and A(4) = 5(16) = 80. Then 88.2−800.2 = 8.20.2 = 41, which matches 10(4) + 5(0.2) = 41.

    Work to write

    1. A(x + h) = 5(x + h)2 = 5x2 + 10xh + 5h2
    2. A(x + h) − A(x) = 5x2 + 10xh + 5h2 − 5x2 = 10xh + 5h2
    3. 10xh+5h2h = h(10x+5h)h = 10x + 5h, h ≠ 0
    4. 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) = 5x2.

    Show the steps and the answer
    start x = 1end x + h = 3246183042
    The same picture, shown 4 times now: y = 5x2, solid, beside y = 20x − 15, dashed.

    5(x+h)2

    = 5x2 + 10xh + 5h2

    rate = 10x + 5h

    start x = 1end x + h = 3246183042
    The same picture, shown 5 times now: y = 5x2, solid, beside y = 20x − 15, dashed.
    1. f(x+h)=5(x+h)2=5(x2+2xh +h2).Multiply out the square before applying its outside coefficient 5.
    2. f(x+h)=5x2+10xh +5h2.The 5 multiplies all three terms, including the middle term.
    3. Output change: (5x2+10xh +5h2) −(5x2)=10xh +5h2.Subtract the whole original output; 5x2 cancels with −5x2.
    4. 10xh +5h2=h(10x+5h).Write 10xh = h · 10x and 5h2 = h · 5h.
    5. h(10x+5h)h=10x+5h, with h≠0.Cancel the nonzero multiplier of the whole numerator.
    Answer
    10x + 5h, with h ≠ 0.
    Double-check With x = 1 and h = 2, f(3) = 45 and f(1) = 5. The direct rate is 45−52 = 402 = 20, and 10(1) + 5(2) = 20.

    Rung 3 of 7

    Difference quotient of f(x) = 2x2 − 4x

    Let f(x) = 2x2 − 4x. The graph of y = 2x2 − 4x passes through (0, 0) and (3, 6), and its lowest point is (1, −2). (a) Find and simplify the difference quotient f(x+h)−f(x)h 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).

    (0, 0)(3, 6)(1, −2)−224−22468
    Parabola y = 2x2 − 4x = 2(x − 1)2 − 2 with vertex (1, −2).
    Show the steps and the answer
    1. Replace every x by (x + h): f(x+h)=2(x+h)2−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.
    2. Expand the square: (x+h)2=x2+2xh +h2, so 2(x+h)2=2x2+4xh +2h2.The outside coefficient 2 multiplies every term of the expanded square, not just the first one.
    3. Distribute the −4: −4(x+h)=−4x−4h. So f(x+h)=2x2+4xh +2h2−4x−4h.The multiplier −4 applies to both x and h.
    4. Subtract all of f(x) in parentheses: f(x+h)−f(x)= (2x2+4xh +2h2−4x−4h) −(2x2−4x)=2x2+4xh +2h2−4x−4h−2x2+4x.The minus sign applies to every term of f(x), so −4x becomes +4x.
    5. Combine like terms: 2x2−2x2=0 and −4x+4x=0, leaving 4xh +2h2−4h.The terms that do not contain h cancel. Every remaining term should contain h.
    6. Factor h from the whole numerator: 4xh +2h2−4h=h(4x+2h−4).Each term has a factor of h. Only a factor of the entire numerator can be canceled.
    7. Divide: h(4x+2h−4)h=4x+2h−4, for h≠0.h divided by h equals 1 only when h is not zero.
    8. 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.
    Answer
    (a) f(x+h)−f(x)h = 4x + 2h − 4, for h ≠ 0. (b) The secant slope through (0, 0) and (3, 6) is 2.
    Double-check Compute the slope directly. f(0) = 2(0)2 − 4(0) = 0 and f(3) = 2(9) − 12 = 6. Then 6−03−0 = 63 = 2, which matches 4(0) + 2(3) − 4 = 2. A second test with x = 1 and h = 1: f(2) = 8 − 8 = 0 and f(1) = 2 − 4 = −2, so 0−(−2)1 = 2. The formula gives 4(1) + 2(1) − 4 = 2. ✓

    Work to write

    1. f(x + h) = 2(x + h)2 − 4(x + h) = 2x2 + 4xh + 2h2 − 4x − 4h
    2. f(x + h) − f(x) = 2x2 + 4xh + 2h2 − 4x − 4h − (2x2 − 4x) = 4xh + 2h2 − 4h
    3. =h(4x+2h−4)
    4. f(x+h)−f(x)h=4x+2h−4,h≠0
    5. x=0,h=3:4(0)+2(3)−4=2

    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 f(x+h)−f(x)h for f(x) = 3x2 − 4x + 1.

    Show the steps and the answer
    (1, 0)(2, 5)2261014
    The same picture, shown 4 times now: y = 3(x − 0.6667)2 − 0.3333, solid, beside y = 5x − 5, dashed.
    1. f(x+h)=3(x+h)2−4(x+h)+1.The new input replaces every x position, including the linear term.
    2. f(x+h)=3(x2+2xh +h2) −4x−4h+1.Multiply out the square first, then let −4 multiply both terms of x + h.
    3. f(x+h)=3x2+6xh +3h2−4x−4h+1.The coefficient 3 multiplies x2, 2xh, and h2 separately.
    4. Output change: (3x2+6xh +3h2−4x−4h+1) −(3x2−4x+1).The whole original output stays in parentheses until its minus sign is distributed.
    5. =3x2+6xh +3h2−4x−4h+1−3x2+4x−1.The outside −1 changes +3x2 to −3x2, −4x to +4x, and +1 to −1.
    6. =6xh +3h2−4h.The explicit matching pairs are +3x2 with −3x2, −4x with +4x, and +1 with −1.
    7. 6xh =h·6x,3h2=h·3h, and −4h=h·(−4). Therefore the output change is h(6x+3h−4).Each remaining term contains the same multiplier h.
    8. h(6x+3h−4)h=6x+3h−4, with h≠0.A nonzero h multiplying the whole top cancels with h on the bottom.
    Answer
    6x + 3h − 4, with h ≠ 0.
    Double-check Use x = 2 and h = 3. f(5) = 75 − 20 + 1 = 56 and f(2) = 12 − 8 + 1 = 5, so 56−53 = 513 = 17. The result gives 6(2) + 3(3) − 4 = 17. The wrong expression 6x + 3h2 − 4 gives 35, so this check catches the power error.

    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) = −x2 + 6x.

    Show the steps and the answer
    start x = 2end x + h = 5246481216
    The same picture, shown 4 times now: y = −(x − 3)2 + 9, solid, beside y = −x + 10, dashed.

    −(x+h)2

    = −x2 − 2xh − h2

    rate = −2x − h + 6

    start x = 2end x + h = 5246481216
    The same picture, shown 5 times now: y = −(x − 3)2 + 9, solid, beside y = −x + 10, dashed.
    1. f(x+h)=−(x+h)2+6(x+h).The new input stays inside the square; the outside minus remains outside.
    2. =−(x2+2xh +h2) +6x+6h=−x2−2xh −h2+6x+6h.The outside minus reaches all three square terms, while 6 multiplies both input pieces.
    3. Output change: (−x2−2xh −h2+6x+6h) −(−x2+6x).Subtract the whole original output in parentheses.
    4. =−x2−2xh −h2+6x+6h+x2−6x.Multiplying the starting expression by −1 changes −x2 to +x2 and +6x to −6x.
    5. =−2xh −h2+6h=h(−2x−h+6).The −x2 and +x2 cancel; 6x and −6x cancel. The remaining factors after taking out h are −2x, −h, and 6.
    6. h(−2x−h+6)h=−2x−h+6, with h≠0.The entire numerator has a nonzero factor h that divides out.
    Answer
    −2x − h + 6, with h ≠ 0.
    Double-check At x = 2 and h = 3, f(5) = −25 + 30 = 5 and f(2) = −4 + 12 = 8. The direct rate 5−83 = −1 matches −2(2) − 3 + 6 = −1.

    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) = 6x2 − 7x + 2.

    Show the steps and the answer
    start x = 1end x + h = 324515253545
    y = 6(x − 0.5833)2 − 0.0417, solid, beside y = 17x − 16, dashed.

    change = 12xh + 6h2 − 7h

    =h(12x+6h−7)

    rate = 12x + 6h − 7

    start x = 1end x + h = 324515253545
    The same picture again: y = 6(x − 0.5833)2 − 0.0417, solid, beside y = 17x − 16, dashed.
    1. f(x+h)=6(x+h)2−7(x+h)+2.Replace every x by the whole new input.
    2. =6(x2+2xh +h2) −7x−7h+2=6x2+12xh +6h2−7x−7h+2.The square expansion is multiplied term by term by 6, and −7 reaches both input pieces.
    3. Output change: (6x2+12xh +6h2−7x−7h+2) −(6x2−7x+2).Keep all three original terms grouped for subtraction.
    4. =6x2+12xh +6h2−7x−7h+2−6x2+7x−2.The starting terms +6x2, −7x, and +2 all reverse signs.
    5. =12xh +6h2−7h=h(12x+6h−7).The matching h-independent polynomial terms cancel. Each remaining term is h times 12x, 6h, or −7.
    6. h(12x+6h−7)h=12x+6h−7, with h≠0.Cancel the nonzero multiplier of the whole numerator.
    Answer
    12x + 6h − 7, with h ≠ 0.
    Double-check At x = 1 and h = 2, f(1) = 6 − 7 + 2 = 1 and f(3) = 54 − 21 + 2 = 35. The direct rate 35−12 = 342 = 17 matches 12(1) + 6(2) − 7 = 17.

    Rung 7 of 7

    Difference quotient of 4x2 with a negative step

    Let f(x) = 4x2. The graph of y = 4x2 passes through (1, 4) and (2, 16). (a) Find and simplify the difference quotient f(x+h)−f(x)h 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).

    (1, 4)(2, 16)−22481216
    The parabola y = 4x2 with the points (2, 16) and (1, 4).
    Show the steps and the answer
    1. Plug in: f(x+h)=4(x+h)2=4(x2+2xh +h2) =4x2+8xh +4h2.Every x is replaced by (x + h). The square expands as x2 + 2xh + h2, and the outside coefficient 4 multiplies every expanded term.
    2. Subtract: f(x+h)−f(x)= (4x2+8xh +4h2) −(4x2)=4x2+8xh +4h2−4x2.All of f(x) goes in parentheses after the minus sign, so its sign flips.
    3. Simplify: 4x2−4x2=0, so the numerator is 8xh +4h2.The terms that do not contain h cancel, which always happens in a difference quotient.
    4. Cancel h: 8xh+4h2h=h(8x+4h)h=8x+4h, for h≠0.Factor h from the whole numerator first, then cancel it. The cancellation is allowed only because h ≠ 0.
    5. 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.
    Answer
    (a) f(x+h)−f(x)h = 8x + 4h, h ≠ 0. (b) With x = 2 and h = −1, the value is 12.
    Double-check Compute directly: f(1) = 4(1)2 = 4 and f(2) = 4(2)2 = 16. Then f(1)−f(2)−1 = 4−16−1 = −12−1 = 12. This matches 8(2) + 4(−1) = 12. As a second check, the pattern 2x + h for x2, multiplied by 4, gives 8x + 4h.

    Work to write

    1. f(x + h) = 4(x + h)2 = 4x2 + 8xh + 4h2
    2. f(x + h) − f(x) = 4x2 + 8xh + 4h2 − 4x2 = 8xh + 4h2
    3. h(8x+4h)h=8x+4h,h≠0
    4. x=2,h=−1:8(2)+4(−1)=12

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: (x+h)2=x2+h2.
    Multiplying the two parentheses also creates xh and hx. For x = 3 and h = 1, the wrong shortcut gives 10 instead of 16.
    ✓ Instead: (x + h)2 = x2 + 2xh + h2.
    ✗ Not this: 3(x+h)2=(3x+3h)2.
    The left squares first then multiplies by 3; the right puts 3 inside the square and squares that factor too. At x = 1, h = 1, they give 12 and 36.
    ✓ Instead: 3(x + h)2 = 3x2 + 6xh + 3h2.
    ✗ Not this: 3h2÷h=3h2.
    h2 = h · h, so dividing out one nonzero h leaves h. With h = 2, 12 ÷ 2 = 6, not 12.
    ✓ Instead: 3h2 ÷ h = 3h, for h ≠ 0.
    ✗ Not this: A check at x = 1 and h = 1 proves the h power is correct.
    At 1, h and h2 have the same value. The wrong 6x + 3h2 − 4 can match the correct result there.
    ✓ Instead: Use x = 2 and h = 3: the correct result is 17, while that wrong expression gives 35.

    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 h2 ÷ h = h. Show the full square expansion before subtracting.