try
←

Differentiating aˣ and logₐ x

Practice this lesson in the app →

Any exponential differentiates to itself times the log of its base

Any positive base is a power of e

Let a > 0. Then ln a is defined: it is the power to which e must be raised to give a. So . For example, ln 2 = 0.6931 to four decimal places, and .

Raise both sides to the power x: . So , which is about . The base must be positive, because ln a has no value for .

The chain rule on

In , the inner function is x ln a, where ln a is a constant, so its derivative is ln a. The outer function is eᵘ, which is its own derivative. The chain rule gives .

Written back with base a, is . So the derivative of is .

Check at x = 3: the rule gives 8 ln 2 = 5.5452, and the chord from 3 to 3.001 has gradient 5.5471. Check at x = 2: the rule gives 9 ln 3 = 9.8875, and a chord with a step of 0.000001 gives 9.8875.

The multiplier is ln a

The gradient of is its height times the constant ln a. Chords at x = 0 give that constant as about 0.6931 for and 1.0986 for , and those are ln 2 and ln 3.

ln 2 = 0.6931 is less than 1, so has a gradient less than its height at every point, and from the same start at (0, 1) it climbs more slowly than . ln 3 = 1.0986 is more than 1, so climbs faster than its height. For the multiplier is ln 10 = 2.3026.

xy

The gold curve and the dashed curve , both through (0, 1). The gold line is the tangent to there, with gradient ln 2 = 0.6931; the dashed line is the tangent to , with gradient 1. At x = 2 the heights are 4 and 7.389.

Checks with other bases

With a = e, ln e = 1, and the rule gives : is its own derivative, as before.

With a = 1, ln 1 = 0, and the rule gives 0. That is right: for every x, a horizontal line.

With 0 < a < 1, ln a is negative, and falls. For at x = 1, the gradient is .

By the change of base, / ln a, for x > 0 and a positive base . Here is a constant multiplier, so the derivative of is .

For at x = 4 that is , and a chord with a step of 0.000001 gives 0.3607. For at x = 10 it is .

At x = 1, has gradient , steeper than ln x, whose gradient there is 1. The graph of is the graph of ln x stretched vertically by the factor 1.4427.

A coefficient in the exponent

For , the inner function is 3x ln 2, with derivative 3 ln 2, so the derivative is . At x = 1 that is 24 ln 2 = 16.636.

For , the inner derivative is −ln 10, so the derivative is : the function falls at 2.3026 times its own height.

The usual mistakes

Using the power rule, as . The power rule needs the variable in the base and a fixed power; in the base is fixed and the variable is in the exponent.

Giving as its own derivative. Only base e has a gradient equal to its height; has ln 2 times its height.

Dividing by ln a instead of multiplying. The derivative of is .

Giving as the derivative of . That is the derivative of ln x; is ln x divided by ln 2, so its derivative is .

A tracer that halves every six hours

In the application below, a tracer’s activity is . Its derivative needs the factor ln 2, and writing the same activity with base e shows where the ln 2 comes from.

Rules of Differentiation · A Radioactive Tracer That Halves Every Six Hours: the Same Decay Written with Base Two and with Base e

QuestionA hospital's radioactive tracer halves in activity every 6 hours, so its activity x hours after it is made is A = 800 × 2−x/6 becquerel. (a) At what rate is the activity falling after 6 hours? (b) The same activity can be written A = 800e−kx. Find k, and check that it gives the same rate.

  1. 1.Let x be the number of hours. Every 6 hours the index −x6 falls by 1 and the activity halves, so A = 800 × 2−x/6 becquerel.

    020040060080006121824hours, xactivity, becquerel(6, 400)A = 800 × 2−x/6every 6 hours the activity halves
    The activity halves every 6 hours: 800, 400, 200, 100 becquerel at 0, 6, 12 and 18 hours.
  2. 2.Differentiate au as au ln a × dudx, with a = 2 and u = −x6, so dudx = −16. This gives dAdx = −ln 26 × 800 × 2−x/6.

    020040060080006121824hours, xactivity, becquerel(6, 400)d(au)/dx = auln a × du/dxdA/dx = −(ln 2)A/6
    A power of 2 differentiates to itself times ln 2 times the derivative of the index, and here that index is −x6.
  3. 3.After 6 hours the activity is 800 × 2−1 = 400 becquerel.

    020040060080006121824hours, xactivity, becquerel(6, 400)x = 6: A = 800 × 2−1= 400
    After 6 hours the activity is 800 × 2−1 = 400 becquerel, the point the tangent is drawn at.
  4. 4.(a) dAdx = −400ln 26 ≈ −46.21, so the activity is falling at about 46.21 becquerel an hour.

    020040060080006121824hours, xactivity, becquerelrun 4fall 185(6, 400)dA/dx = −400 ln 2/6about −46.21 becquerel an hour
    (a) dAdx = −400ln 26 ≈ −46.21: the tangent falls about 185 becquerel in 4 hours.
  5. 5.Every base is e in disguise: 2−x/6 = e−xln 2/6, so A = 800e−kx with k = ln 26 ≈ 0.1155 per hour.

    020040060080006121824hours, xactivity, becquerelrun 4fall 185(6, 400)2−x/6= e−x ln 2/6k = ln 2/6 ≈ 0.1155 per hour
    The same decay with base e: 2−x/6 = e−xln 2/6, so k = ln 26 ≈ 0.1155 per hour.
  6. 6.(b) Then dAdx = −kA = −0.1155 × 400 ≈ −46.21, the same rate. Check: between 6 and 6.1 hours the activity falls from 400 to about 395.4 becquerel.

    020040060080006121824hours, xactivity, becquerel(6, 400)dA/dx = −kA = −0.1155 × 400about −46.21, the same rate
    (b) dAdx = −kA = −0.1155 × 400 ≈ −46.21 becquerel an hour, the rate found before.

Answer: (a) The activity is falling at about 46.21 becquerel an hour; (b) k = ln 26 ≈ 0.1155 per hour

Watch out for

  • Differentiating 2−x/6 by the power rule, as though the index were fixed and the base were the variable. The variable is in the index here, so the rule for ax applies and a factor of ln 2 appears.
  • Taking k to be 16 because the activity halves every 6 hours. The index of e carries a factor of ln 2, so k = ln 26, which is about 0.1155 rather than 0.1667.

Your turn

1.Differentiate  

the base rewritten, then the chain rule
Practice Differentiating aˣ and logₐ x in the app