← Back to learning objective

Derivative of a cubic polynomial via the limit definition

Let f(x)=x3+4xf(x) = x^3 + 4x. Using the limit definition of the derivative, f′(x)=lim⁡h→0f(x+h)−f(x)h,f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}, compute f′(x)f'(x).

Hint

First expand f(x+h)=(x+h)3+4(x+h)f(x+h) = (x+h)^3 + 4(x+h) fully, then subtract f(x)f(x) and simplify before dividing by hh. Look for a common factor of hh in the numerator so it cancels with the denominator, then take the limit as h→0h \to 0.

Step-by-step solution

Start by computing f(x+h)=(x+h)3+4(x+h)=x3+3x2h+3xh2+h3+4x+4hf(x+h) = (x+h)^3 + 4(x+h) = x^3 + 3x^2h + 3xh^2 + h^3 + 4x + 4h. Subtracting f(x)=x3+4xf(x) = x^3 + 4x gives f(x+h)−f(x)=3x2h+3xh2+h3+4hf(x+h) - f(x) = 3x^2h + 3xh^2 + h^3 + 4h. Every term contains a factor of hh, which we factor out: f(x+h)−f(x)=h(3x2+3xh+h2+4)f(x+h)-f(x) = h(3x^2 + 3xh + h^2 + 4).

Dividing by hh gives f(x+h)−f(x)h=3x2+3xh+h2+4\frac{f(x+h)-f(x)}{h} = 3x^2 + 3xh + h^2 + 4. Taking the limit as h→0h \to 0, the terms with hh vanish, leaving f′(x)=3x2+4f'(x) = 3x^2 + 4.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap