Differentiation from first principles
Differentiation from first principles essentially involves finding the derivative ‘manually’, without using the power rule.
Normally, we could differentiate a function like
f'(x)=2x^{2-1} =2x
But from first principles, we would do it like this:
f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}h =\lim_{h\to0}\frac{(x+h)^2 - x^2}h =\lim_{h\to0}\frac{x^2 + 2xh + h^2 - x^2}h =\lim_{h\to0}\frac{2xh + h^2}h =\lim_{h\to0}(2x + h) =2x + 0 =2x
So we get the same answer of
The meaning of \lim_{h\to0}
The notation
Some examples of differentiation from first principles
Differentiate f(x)=3x^2+2 from first principles
f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}h =\lim_{h\to0}\frac{3(x+h)^2 + 2 - (3x^2 + 2)}h =\lim_{h\to0}\frac{3(x^2 + 2xh + h^2) + 2 - 3x^2 - 2}h =\lim_{h\to0}\frac{3x^2 + 6xh + 3h^2 + 2 - 3x^2 - 2}h =\lim_{h\to0}\frac{6xh + 3h^2}h =\lim_{h\to0}(6x + 3h) =6x + 0 =6x - Answer:
f'(x)=6x
Differentiate f(x)=x^3 - x from first principles
f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}h =\lim_{h\to0}\frac{(x+h)^3 - (x+h) - (x^3 - x)}h =\lim_{h\to0}\frac{(x^3 + 3x^2h + 3xh^2 + h^3) - x - h - x^3 + x}h =\lim_{h\to0}\frac{3x^2h + 3xh^2 + h^3 - h}h =\lim_{h\to0}(3x^2 + 3xh + h^2 - 1) =3x^2 + 0 + 0 - 1 =3x^2 - 1 - Answer:
f'(x)=3x^2 - 1
Proof that the derivative of a constant is zero
One nice thing about differentiation from first principles is that it allows us to prove some stuff that otherwise we just have to accept as true! For example, you may have realised that the derivative of a constant function is always zero. But why is that true?
The power rule answer
One answer is that, with the power rule, we multiply the coefficient of
So when we differentiate it, we take the power of
That’s one explanation as to why the derivative of a constant is zero.
The first principles answer
Let’s try our first principles method on a constant function, say
f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}h =\lim_{h\to0}\frac{5 - 5}h =\lim_{h\to0}\frac{0}h =\lim_{h\to0}0 =0
So we see that the derivative of a constant function is indeed zero, as we expected!
In fact, we don’t even need the condition that
This is important, because it shows us that the gradient of a constant function
is always zero, even if we consider values of
flashcards
| Question | Answer |
|---|---|
| What is differentiation from first principles? | Finding the derivative of a function manually using the limit definition, rather than using the power rule. |
| What is the formula for differentiation from first principles? | |
| What does | ‘The limit as |
| Why can’t we substitute | Because it would result in a division by zero. |
| Differentiate | |
| Differentiate | |
| According to the power rule, why is the derivative of a constant zero? | A constant function is like having a coefficient of |
| Differentiate | |
| Why is the derivative of a constant function always zero, even if | Because a constant function is a flat horizontal line, so its gradient is always zero. |