1. Home
  2. Explore
  3. Mathematics
  4. Derivatives of Exponential Functions

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Derivatives of Exponential Functions

Speaker 1Speaker 2

Derivatives of Exponential Functions

12:14
0:00-12:14
  1. Anna

    There’s a story—no one knows whether it’s true—about a math teacher who was exhausted from grading exams. The teacher decided to give a one-question calculus final: “What is the derivative of e to the x?” It sounds like the easiest calculus question ever. But imagine opening your final and wondering, “Is this a trick? Am I forgetting something?”

  2. Michael

    And the answer really is e to the x. That simple fact is important, but it also points us toward a broader rule: how to differentiate an exponential function with any positive base other than one.

  3. Anna

    Let’s call that base b, and let f of x equal b to the x. The base b is a constant; the variable x is in the exponent. That makes this an exponential function. If b were one, the function would just be one for every x, so its derivative would be zero—a true but uninteresting special case.

  4. Michael

    The first goal is to use the limit definition of the derivative to show that the derivative of b to the x has the form c times b to the x, where c is some constant. Then we’ll identify c. The limit definition starts with the difference quotient: the limit, as h approaches zero, of f of x plus h minus f of x, divided by h.

  5. Anna

    That quotient represents the slope of a secant line. As h approaches zero, the secant line approaches the tangent line, so the limit gives the derivative—if the limit exists. For our function, substitute b to the x plus h and b to the x into the quotient.

  6. Michael

    At first, that gives us b to the x plus h minus b to the x, all over h. It may look hard to simplify, because we don’t have an obvious factor of h to cancel. But exponent rules give us a useful way to reorganize the numerator.

  7. Anna

    Use b to the sum of two exponents equals b to the first exponent times b to the second. So b to the x plus h becomes b to the x times b to the h. Now both terms in the numerator have a factor of b to the x, which we can factor out.

  8. Michael

    That leaves b to the x times the quantity b to the h minus one, all divided by h. In the limit, x is held fixed while h approaches zero, so b to the x is constant with respect to that limit. We can move it outside.

  9. Anna

    Now the derivative is b to the x times the limit, as h approaches zero, of b to the h minus one over h. That remaining limit doesn’t depend on x. It’s the constant c we were looking for, provided the limit exists.

  10. Michael

    The limit does exist, and its value is the natural log of b. We’re taking that value as a known fact here, rather than deriving it. So the general rule is: the derivative of b to the x is natural log of b times b to the x.

  11. Anna

    Now the famous e case follows immediately. Put b equal to e, and the rule says the derivative of e to the x is natural log of e times e to the x. Since natural log of e is one, the derivative is simply e to the x.

  12. Michael

    That’s why the one-question exam has such a neat answer. And the general rule is useful because it tells us that an exponential function’s derivative is a constant multiple of the original function. The constant is determined by the base.

  13. Anna

    There’s a subtle point about how to use that rule: the variable needs to be in the exponent, and the exponent needs to be just x for the rule in this form. Let’s test that distinction with a few functions and see when the exponential rule, linearity, and the power rule are enough.

  14. Michael

    In the first example, one term is x to the pi squared, and another is pi squared to the x. Those look similar, but the variable is in a different place. In x to the pi squared, x is the base, so that is a power function, not an exponential function.

  15. Anna

    For that first term, use the power rule: bring down pi squared, then subtract one from the exponent. Its derivative is pi squared times x to the pi squared minus one. For the second term, pi squared is the base and x is the exponent, so use the exponential rule.

  16. Michael

    That gives natural log of pi squared times pi squared to the x. Because the original function is a sum, linearity lets us add the derivatives of the two terms. You can simplify natural log of pi squared to two times natural log of pi, but the unsimplified form is already correct.

  17. Anna

    Now consider two to the quantity three x plus five. It resembles an exponential function, but the exponent isn’t just x. Rather than applying a rule that doesn’t quite fit, rewrite it using exponent properties.

  18. Michael

    Split the exponent: two to the three x plus five is two to the three x times two to the fifth. That second factor is 32. Also, two to the three x is the same as two cubed to the x, or eight to the x. So the whole function is 32 times eight to the x.

  19. Anna

    Now it’s in a form we can differentiate. The constant 32 carries along, and the derivative of eight to the x is natural log of eight times eight to the x. So the derivative is 32 times natural log of eight times eight to the x.

  20. Michael

    The next example is three to the x squared. That means we square x first and then use the result as the exponent of three. It is not the same as a constant times a base raised to x, so the exponential rule we’ve learned doesn’t apply directly.

  21. Anna

    And we can’t get its derivative with just the rules we’ve introduced so far. It is possible to differentiate using additional rules, especially the chain rule, but that’s beyond these rules. The key is to recognize what we can and cannot do with the tools we currently have.

  22. Michael

    Here’s a longer example that shows how exponent properties can help us avoid needing the product rule. Suppose a function is a sum of terms including two x cubed, negative seven times three to the x, two to the x times five to the x, four times e to the two x, e to the negative x, pi to the x, and the constant e.

  23. Anna

    Start with linearity: differentiate each term separately. The derivative of two x cubed is six x squared, and negative seven stays out front while we differentiate three to the x. That gives negative seven times natural log of three times three to the x.

  24. Michael

    For the product two to the x times five to the x, we don’t need a product rule. Combine the exponentials using the exponent property: two to the x times five to the x equals ten to the x. Its derivative is natural log of ten times ten to the x.

  25. Anna

    For four times e to the two x, rewrite e to the two x as e squared raised to x. Then the exponential rule gives four times natural log of e squared times e squared to the x. Natural log of e squared is two, so that term simplifies to eight e to the two x.

  26. Michael

    Similarly, e to the negative x is e to the negative one raised to x. Its derivative is natural log of e to the negative one times e to the negative x. That logarithm is negative one, so the derivative is negative e to the negative x.

  27. Anna

    The derivative of pi to the x is natural log of pi times pi to the x. And e by itself is a constant—there’s no x in it—so its derivative is zero. Putting the pieces together gives six x squared, minus seven natural log of three times three to the x, plus natural log of ten times ten to the x, plus eight e to the two x, minus e to the negative x, plus natural log of pi times pi to the x.

  28. Michael

    Next, let’s use derivatives to build a quadratic that fits e to the two x near x equals zero. We’re looking for g of x equal to a x squared plus b x plus c. To fit at zero in the sense described, the functions should have the same value, the same slope, and the same second derivative there.

  29. Anna

    First match their values. At x equals zero, g is c. The function e to the two x has value e to the zero, which is one. So c must equal one.

  30. Michael

    Now match slopes. The derivative of g is two a x plus b, so g prime at zero is b. To differentiate e to the two x using our current exponential rule, write it as e squared raised to x. Its derivative is natural log of e squared times e to the two x, which simplifies to two e to the two x.

  31. Anna

    At zero, that derivative is two. So b equals two. Notice that the factor of two comes from natural log of e squared; we’re using the exponential rule, not the power rule.

  32. Michael

    Finally, match the second derivatives. The second derivative of g is two a. Differentiating two e to the two x gives four e to the two x, so the second derivative of the exponential function at zero is four. Therefore, two a equals four, and a equals two.

  33. Anna

    Putting a, b, and c together gives g of x equals two x squared plus two x plus one. It has the same value, slope, and second derivative as e to the two x at zero. When you graph both functions, they match quite well near zero, though they don’t match everywhere.

  34. Michael

    At zero, both have value one, and both have slope two. Their curvature—or, more precisely here, their second derivatives—also agrees there. That’s why the quadratic is a good approximation to the exponential function when x is close to zero.

  35. Anna

    Let’s finish with an application: depreciation. Suppose a car bought in 2022 has value, in thousands of dollars, modeled by V of t equals 35 times 0.88 to the t. Here t is the number of years since purchase. Because 0.88 is between zero and one, the model describes exponential decay.

  36. Michael

    To find the modeled value two years after purchase, substitute t equals two: 35 times 0.88 squared. The squared factor is 0.7744, and multiplying by 35 gives 27.104. That’s about 27.1 thousand dollars in 2024.

  37. Anna

    That’s the value predicted by the model, not necessarily the exact market value of the car. Next, differentiate to find the rate of change. The constant 35 carries along, and the derivative rule contributes natural log of 0.88, giving V prime of t equals 35 times natural log of 0.88 times 0.88 to the t.

  38. Michael

    The derivative should be negative for decay, and it is: the natural log of a number between zero and one is negative. At t equals two, the value is about negative 3.465. Since V is measured in thousands of dollars and t in years, the derivative’s units are thousands of dollars per year.

  39. Anna

    That number is the instantaneous rate of change of the modeled car value two years after purchase. The tangent line is sloping downward there. In practical terms, around that time the model says the car is losing value at roughly 3.465 thousand dollars per year.

  40. Michael

    We can use that rate for a linear estimate one year later: start at about 27.1 thousand dollars and subtract roughly 3.465 thousand, giving a prediction near 23.6 thousand dollars at year three.

  41. Anna

    But the graph of this exponential decay is concave up. The tangent-line estimate lies below the curve, so that estimate is a little too small. Evaluating the model directly at t equals three gives 35 times 0.88 cubed, or about 23.85 thousand dollars.

  42. Michael

    So we’ve gone from the memorable derivative of e to the x to the general rule for b to the x, then used that rule to handle sums, rewrite expressions, approximate an exponential near a point, and interpret a rate of change in a real-world model.

  43. Anna

    And the central rule to keep is: the derivative of b to the x is natural log of b times b to the x. When the base is e, natural log of e is one, and the derivative is simply e to the x.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent