Solution:
Concept: To differentiate f(x) from first principles, we give x a small increment h (with h=0), find the change f(x+h)−f(x) in the function, divide it by h and then let h→0. The derivative is the limit of this difference quotient:
f′(x)=h→0limhf(x+h)−f(x)
Step 1 — Write down f(x) and f(x+h). We let f(x)=x3 and expand f(x+h) by the identity (p+q)3=p3+3p2q+3pq2+q3:
f(x+h)=(x+h)3=x3+3x2h+3xh2+h3
Step 2 — Find the change in the function. We subtract f(x)=x3, so the x3 terms cancel:
f(x+h)−f(x)=3x2h+3xh2+h3=h(3x2+3xh+h2)
Step 3 — Divide by h. Since h=0, the factor h cancels:
hf(x+h)−f(x)=3x2+3xh+h2
Step 4 — Take the limit as h→0. The terms 3xh and h2 both tend to 0:
f′(x)=h→0lim(3x2+3xh+h2)=3x2
Therefore, dxd(x3)=3x2.