How do you find the derivative of f(x)=(x-2)^3?

1 Answer
Dec 20, 2016

It depends on whether you have learned the chain rule yet or not.

Explanation:

With the chain rule:

For u a function of x and n an integer,

d/dx(u^n) = n u^(n-1) (du)/dx.

So, f'(x) = 3(x-2)^2 * d/dx(x-2)

= 3(x-2)^2 * 1 = 3(x-2)^2.

Without the chain rule

Expand,

f(x) = (x+2)^3 = x^3+6x^2+12x+8.

So, f'(x) = 3x^2+12x+12