Differentiation from First Principles

To find the derivative function (𝑓′(𝑥)) of any function at any x-value:

𝑓′(𝑥)=limℎ→0𝑓(𝑥+ℎ)−𝑓(𝑥)ℎ

This formula works by utilising the central idea of 𝑓′(𝑥), where it works by finding the instantaneous rate of change of a function.

m=(f(b)-f(a))/(b-a)
Link to original

In this case, 𝑓(𝑏), as previously seen in DC1. Introduction to Differentiation, is the second point that is used to find the derivative. 𝑓(𝑏)=𝑓(𝑥+ℎ).

As any two points on the function, 𝑓(𝑥) and 𝑓(𝑥+ℎ) come closer together to where the distance between both points reaches 0 (limℎ→0), the derivative at one point (𝑓(𝑥)) is found, thus 𝑓′(𝑥).

ℎ is any value that creates the second point for 𝑓′(𝑥). It is important to remember that if you are only finding the derivative, ℎ is only a constant, and does not need to be found.

Example

Firstly, establish a function. Let 𝑓(𝑥) equal to 𝑥2+2𝑥.

𝑓(𝑥)=𝑥2+2𝑥

Then, you can find the derivative by first finding the numerator’s components of the following formula.

𝑓′(𝑥)=limℎ→0𝑓(𝑥+ℎ)−𝑓(𝑥)ℎ

However, this is not necessary if you’d like to evaluate straight from the formula. For simplicity’s sake, let’s find 𝑓(𝑥+ℎ).

𝑓(𝑥+ℎ)=(𝑥+ℎ)2+2(𝑥+ℎ)=𝑥2+2𝑥ℎ+ℎ2+2𝑥+2ℎ

Now that we’ve found 𝑓(𝑥+ℎ), we can find 𝑓(𝑥+ℎ)−𝑓(𝑥). This helps us complete the numerator for the formula.

𝑓(𝑥+ℎ)−𝑓(𝑥)=(𝑥2+2𝑥ℎ+ℎ2+2𝑥+2ℎ)−(𝑥2+2𝑥)=𝑥2+2𝑥ℎ+ℎ2+2𝑥+2ℎ−𝑥2−2𝑥=2𝑥ℎ+ℎ2+2ℎ

Now, you can just substitute into the formula.

𝑓′(𝑥)=limℎ→0𝑓(𝑥+ℎ)−𝑓(𝑥)ℎ=limℎ→02𝑥ℎ+ℎ2+2ℎℎ=limℎ→0(2𝑥+ℎ+2ℎ)

Now, you can resolve the limit (by substituting ℎ=0).

∴=2𝑥+2

Tip

Remember NOT to resolve the limit before the denominator has been removed, as ℎ≠0 in the denominator as a fraction cannot be divided by 0.

Tip

You’ll be able to differentiate at a much easier and more efficient way in DC4. Short-Hand Differentiation. (Please only use first principles in desperate times, such as when the question asks you to do this…)