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)=(x−1)2; replacing x by x+h gives:
f(x+h)=(x+h−1)2
Step 2 — Find the change in the function. We treat x−1 as one quantity and expand ((x−1)+h)2 by the identity (p+q)2=p2+2pq+q2:
f(x+h)−f(x)=(x−1)2+2h(x−1)+h2−(x−1)2=2h(x−1)+h2
Step 3 — Divide by h. Every term now has the factor h, and h=0, so we can cancel it:
hf(x+h)−f(x)=hh(2(x−1)+h)=2(x−1)+h
Step 4 — Take the limit as h→0. What is left is a polynomial in h, so we simply put h=0:
f′(x)=h→0lim(2(x−1)+h)=2(x−1)
Therefore, dxd(x−1)2=2(x−1).