The derivative by its definition
In What a derivative is, we found the speed of a car as a limit: the change in distance divided by a short time Δt, as Δt goes towards 0. That is the definition of the derivative. In exams, and in the app, the short step is usually called h instead of Δt or Δx, but it means the same.
So the derivative of a function f at a point a is the limit, as h goes to 0, of the change f(a + h) − f(a) divided by h. It is the slope of the line through two points on the graph, h apart, as they close in on each other.
An example
Take f(x) = x squared plus 3 x at the point 2. There, f(2) is 4 plus 6, which is 10, and f(2 + h) is the quantity 2 plus h, squared plus 3 the quantity 2 plus h. So the derivative at 2 is
Putting h equals 0 in straight away gives 0 over 0, so as in Factorise and cancel, we rewrite first. Multiplying out the top:
Now h is a common factor on the top, and it cancels:
So the slope of the graph at 2 is 7.
At every point at once
We can do the same at any x instead of 2:
The top multiplies out to 2 x h plus h squared plus 3 h, everything else cancels, and dividing by h leaves
That is the derivative everywhere: at x equals 2 it gives 7 again. And it is what the power rule gives straight away. The rules are shortcuts for this limit.
The derivative at a point is the limit, as h goes to 0, of the change in the function divided by h. Multiply out, cancel the h, and then let h be 0.