If €5 grows by 3% each year, how fast is it growing at year ten?
You start with five euro in savings. Suppose the balance grows smoothly and is three per cent higher after each year than it was at the start of that year. At exactly ten years, how fast is it rising? You're looking for the slope of the growth curve at that point.
Start on the square root curve at four, two. The grey secant joins that point to a second point on the curve. If you bring the second point closer, the secant slope approaches the orange tangent's slope, one quarter. That's the derivative at x equals four.
Follow the blue curve, y equals e to the x. At zero, the height and the orange tangent's slope are both one. At one, the height and the green tangent's slope are both e. That match holds everywhere: the derivative of e to the x is e to the x.
Move along the curve y equals e to the x until x equals two. The height there is e squared. What is the slope of the tangent at that point? Pick an answer.
For any positive base a, rewrite a to the x as e to the power x times natural log of a. The chain rule keeps the exponential and multiplies by the slope of its exponent, natural log of a. So a to the x has slope a to the x times natural log of a.
For positive x, natural log has slope one over x. Log base a divides natural log by the constant natural log of a, so its slope is divided by that constant too. The base must be positive and can't equal one. Below one, a valid base gives a negative slope.
Model the balance in euro as five times one point zero three to the x, where x counts years. Differentiate and keep the natural log of one point zero three. Put in ten and round only at the end. The balance is rising at about twenty cent per year at that instant.
Now start with four euro and use five per cent yearly growth. The balance is four times one point zero five to the x. Which expression gives the exact instantaneous growth rate at year two? Pick an answer.
Look at y equals two to the x. If you copy the rule for e to the x, you'll wrongly get a slope of one at zero. Keep the natural log of two as a factor, and the slope at zero is about zero point six nine three.
An exam might ask you to find the slope of the tangent to y equals log base three of x at x equals three. Differentiate for positive x. Then substitute three to get the exact slope: one divided by the product of three and the natural log of three.