Hi, I’m Martin Lindsay from the Study and Learning Centre at RMIT University. This is a short movie on differentiation from first principles.
The process of finding the derivative f-x is equal to the limit as h approaches zero of f, of x plus h, minus f of x, divided by h, is called differentiation from first principles. Just be aware that f-x is the same as dydx.
Let’s look at an example. We want to differentiate f of x as equal to s² minus x from first principles. Notice in the formula that we have three terms to investigate. We have the f of x plus h term, the f of x term, and the h term. So let’s start with the f of x plus h term first. Knowing f of x is equal to x² minus x what we do is we substitute x plus h wherever we see x. In other words, x² becomes x plus h all squared, and x becomes x plus h. So we have x plus h all squared, minus x plus h, which on expansion gives u x² plus 2xh, plus h² minus x minus h.
Now let’s look at the fx term. Well we already know that f of x is equal to s² minus x, so we can simply leave this expression alone. In other words, s² minus x is x² minus x. So, let’s substitute f of x plus h and f of x into the numerator of the formula at the top of the slide, and we get this. Notice on removing the brackets the negative sign at the end of the line two becomes a plus x in line three. Notice also that the x² terms disappear and the h terms cancel out. So we’re left with 2xh plus h² minus h. So let’s now return to the formula and substitute. We have in our numerator 2xh plus h² minus h.
Notice also that the numerator factorises, so we can take h out, giving h brackets 2x plus h minus one. Notice also that there’s an h on the bottom of this fraction, so the h’s cancel, leaving us the bottom line f-x is equal to the limit as h approaches zero of 2x plus h minus one.
Now let’s look at the h approaches zero part of our formula. And what that means is that as h approaches zero, the value of h gets smaller and smaller and smaller. So working your way down the slide notice h gets smaller and smaller and smaller until it approaches zero. So we’re left with f-x is equal to 2x minus one.
So, to conclude, the derivative of fx is equal to a² minus x using first principles is f-x equals 2x minus one.
Now try some questions for yourself. The answers to these questions are on the next slide. Thanks for watching this short movie.