Why Calculate a Cubic Derivative from a Limit?
A derivative at a particular input describes the instantaneous rate of change there. In the limit definition, it is obtained by bringing the slope between two nearby points toward the slope at the input. For a cubic, the calculation is manageable but requires care: expand the difference in function values, identify a factor of the increment, and only then take the limit.
This process makes the meaning of the derivative concrete. It also shows how the algebra of a function determines the value of its derivative, without relying on a rule for differentiating cubic expressions.
The Difference Quotient at an Input
Let \(f\) be a function and let \(a\) be an input in its domain. For a nonzero increment \(h\), the quotient \(\frac{f(a+h)-f(a)}{h}\) is the slope of the secant line through the points on the graph with inputs \(a\) and \(a+h\). If these slopes approach a finite limit as \(h\) approaches zero from both sides, that limit is the derivative at \(a\).
The numerator is a change in function output, and the denominator is the corresponding change in input. At \(h=0\), both changes would be zero, so direct substitution gives the indeterminate form \(\frac{0}{0}\). The method is to simplify the quotient for nonzero \(h\), then find its limit.
A General Cubic Calculation
Start with a cubic polynomial \(P(x)=Ax^3+Bx^2+Cx+D\), where \(A\), \(B\), \(C\), and \(D\) are constants and \(A\neq 0\). We can obtain its derivative at any real input \(a\) using the definition. The key expansions are \((a+h)^3=a^3+3a^2h+3ah^2+h^3\) and \((a+h)^2=a^2+2ah+h^2\).
Find \(P(a+h)\) by expanding each power, and find \(P(a)\) by substituting \(a\).
Form \(P(a+h)-P(a)\). The constant terms cancel, leaving terms that contain \(h\).
Divide the simplified numerator by \(h\), which is allowed because the difference quotient assumes \(h\neq 0\).
Terms that still contain \(h\) approach zero as \(h\to 0\); the remaining constant is \(P'(a)\).
Deriving the Cubic Polynomial Formula
This expansion gives a general result and explains why the procedure works. First substitute \(a+h\) into \(P\), using the binomial expansions shown above:
Since \(P(a)=Aa^3+Ba^2+Ca+D\), subtracting \(P(a)\) cancels exactly those constant terms. The numerator then has a factor of \(h\):
Now take the limit. The constants \(A\), \(B\), and \(a\) are fixed, so \((3Aa+B)h\) and \(Ah^2\) approach zero as \(h\to 0\). Therefore the difference quotient approaches a finite value:
The formula is a consequence of the limit calculation, not an assumption needed to do it. In the examples below, we will use the definition directly so that the expansion, cancellation, and limiting step remain visible.
Worked Example: Find the Derivative of \(f(x)=x^3\) at \(x=2\)
Use the limit definition with \(a=2\). First, \(f(2)=2^3=8\), and \(f(2+h)=(2+h)^3=8+12h+6h^2+h^3\). Thus:
Check: The simplified quotient \(12+6h+h^2\) gives the exact original quotient whenever \(h\neq 0\): multiplying it by \(h\) recovers \(12h+6h^2+h^3=(2+h)^3-8\). Its limit as \(h\to 0\) is \(12\), so \(f'(2)=12\).
Worked Example: Find the Derivative of \(g(x)=2x^3-3x^2+x+4\) at \(x=1\)
Evaluate the function at the specified input: \(g(1)=2-3+1+4=4\). Expand the function at \(1+h\), keeping like powers of \(h\) together:
Subtract \(g(1)=4\), divide by \(h\neq 0\), and take the limit:
Check: Multiplying the simplified quotient by \(h\) gives \(h+3h^2+2h^3=g(1+h)-g(1)\), so the cancellation is valid for nonzero \(h\). The simplified quotient approaches \(1\); hence \(g'(1)=1\).
Worked Example: Find the Derivative of \(q(x)=(x-1)^3\) at \(x=3\)
Here \(q(3)=(3-1)^3=8\). At the nearby input \(3+h\), expand the cube:
Use these two function values in the difference quotient:
Check: For \(h\neq 0\), multiplying \(12+6h+h^2\) by \(h\) recovers \(q(3+h)-q(3)\). The limit of that simplified quotient is \(12\), so the derivative at \(3\) is \(12\).
Why the Order of the Steps Matters
The increment \(h\) represents a nonzero change in input while the quotient is being formed. It is not permissible to set \(h=0\) in the original fraction. The limit asks what happens as nonzero increments get arbitrarily close to zero. After cancellation, the resulting expression may be evaluated in the limit.
A frequent error is to substitute \(h=0\) immediately. For the first example, that gives the incorrect attempt:
This does not produce a derivative value; division by zero is undefined. The correction is to keep \(h\neq 0\), expand and simplify first:
Only now can we let \(h\) approach zero and conclude that the limit is \(12\). Another common error is to omit the subtraction of \(f(a)\). The numerator must be \(f(a+h)-f(a)\); without that subtraction, it is not the change in output used in the derivative definition.
What the Calculation Shows
For any cubic polynomial, subtracting the function value at \(a\) removes the terms that do not depend on the increment. The remaining difference contains a factor of \(h\). Dividing by that factor leaves a constant term plus terms that vanish in the limit. This is why the derivative at a specified input can be found exactly from the limit even though the original quotient is undefined at \(h=0\).
For an AP problem, keep the work organized: state the function value at \(a\), expand \(f(a+h)\), subtract, factor or cancel \(h\) only under the condition \(h\neq 0\), and then evaluate the limit. Showing these steps makes the reasoning checkable and helps catch errors in signs or coefficients.
Check Your Understanding
For each question, use the difference-quotient definition and keep the increment nonzero until after cancellation.
- Find the derivative of \(f(x)=x^3\) at \(x=1\).
- For \(p(x)=x^3-2x\), calculate \(p(0)\), then find \(p'(0)\) from the limit definition.
- For \(r(x)=3x^3+x^2-5\), expand \(r(a+h)-r(a)\) and simplify the quotient for nonzero \(h\).
- Why is substituting \(h=0\) into the original difference quotient not a valid way to find the derivative?
- In the general cubic formula, why does the constant term \(D\) disappear?