← Back to learning objective

Slope of the tangent line using the limit definition

Consider the function f(x)=x3f(x) = x^3.

Use 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}, to find the slope of the tangent line to f(x)=x3f(x) = x^3 at x=2x = 2.

Hint

Write out f(2+h)f(2+h) and f(2)f(2), form the difference quotient f(2+h)−f(2)h\frac{f(2+h)-f(2)}{h}, expand (2+h)3(2+h)^3, simplify by canceling the factor of hh, and then take the limit as h→0h \to 0.

Step-by-step solution

Substitute into the difference quotient: f(2+h)−f(2)h=(2+h)3−23h.\frac{f(2+h) - f(2)}{h} = \frac{(2+h)^3 - 2^3}{h}. Expanding (2+h)3=8+12h+6h2+h3(2+h)^3 = 8 + 12h + 6h^2 + h^3, so the numerator becomes 8+12h+6h2+h3−8=12h+6h2+h38 + 12h + 6h^2 + h^3 - 8 = 12h + 6h^2 + h^3.

Divide every term by hh to get 12+6h+h212 + 6h + h^2, since h≠0h \ne 0 in the limit process. Taking the limit as h→0h \to 0 gives 12+0+0=1212 + 0 + 0 = 12. Therefore f′(2)=12f'(2) = 12, which is the slope of the tangent line to y=x3y = x^3 at x=2x = 2.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap