We never substitute x=2 into the original fraction (that gives 00); we simplify first, then take the limit.
Worked example: first principles
For f(x)=2x2−3x:
f(x+h)=2(x+h)2−3(x+h)=2x2+4xh+2h2−3x−3h
f(x+h)−f(x)=4xh+2h2−3h
hf(x+h)−f(x)=4x+2h−3⟶f′(x)=4x−3
The rules
dxd[axn]=anxn−1,dxd[c]=0
Derivatives of sums are the sums of derivatives. Before differentiating, rewrite every term as a power of x: x2=2x−1 and x=x21.
For f(x)=4x3−x2+5=4x3−2x−1+5:
f′(x)=12x2+2x−2=12x2+x22
Determine f′(x)from first principles if f(x)=3x2−1. Give the simplified expression.
Determine Dx[(2x−1)(x+3)].
The volume of water (in kilolitres) in a reservoir is modelled by f(x)=4x3−x2+5 for x>0 hours. Calculate f′(1), the instantaneous rate of change after 1 hour.