The definition of the derivative (which is based on the slope formula, or rate of change) is limh->0 [f(x+h) - f(x)]/h
- Substituting the particular function and value of x into the derivative gives limh->0 [((2+h)^3-2) - (2^3-2)]/h
- We'd like to be able to directly evaluate the limit by setting h=0, but that would result in 0/0. To deal with this we need to simplify it down until we are able to cancel out the h in the denominator
- Expanding and simplifying the numerator gives limh->0 [12h +6h^2+h^3]/h
- Since every remaining term in the numerator has an h, simplify to limh->0 12 +6h+h^2
- Now we can directly evaluate the limit: limh->0 12 +6h+h^2 = 12 + 6(0) + (0)^2 = 12
The final answer is f'(2) = 12