To find the derivative from first principles, we use the formula:
f’(x)=limh→0hf(x+h)−f(x)
First, we compute f(x+h):
f(x+h)=(x+h)2−5=(x2+2xh+h2−5)
Now, substituting into the derivative formula:
f’(x)=limh→0h(x2+2xh+h2−5)−(x2−5)
Simplifying, we obtain:
f’(x)=limh→0h2xh+h2=limh→0(2x+h)=2x