Derivative of a^x

Find the rate of change of exponential functions with any base a using the formula a^x times ln(a), essential for modeling growth.

ddxax=axlna\frac{d}{dx}a^{x} = a^{x}\ln a

Solve a problem with Derivative of a^x

Type the problem. The solver will use Derivative of a^x where Derivative of a^x is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Derivative of a^x takes
aa
xx
Derivative of a^x
SymbolMeaning
aaThe base of the exponential function, which must be a positive constant (a>0a > 0); if a0a \leq 0 or if you treat aa as a variable instead of a constant, this formula does not apply.
xxThe exponent variable with respect to which you differentiate; if you confuse this with differentiating with respect to the base aa instead, you will get a completely different answer.

When to use it

Reach for this rule when you need to find the derivative of an exponential function where the base is a constant other than e.

Level

Usually taught in: Calculus I

Worked examples

1. Differentiate a simple exponential

Problem

Find ddx(2x)\frac{d}{dx}(2^x).
  1. a=2a = 2

    The base of the exponential function is a=2a = 2.

  2. ddxax=axlna\frac{d}{dx}a^x = a^x \ln a

    We apply the derivative rule for exponential functions: ddxax=axlna\frac{d}{dx}a^x = a^x \ln a.

  3. ddx2x=2xln2\frac{d}{dx}2^x = 2^x \ln 2

    Substituting a=2a = 2 into the formula, we get 2xln22^x \ln 2.

Answer: 2xln22^x \ln 2

This is a direct application of the exponential derivative rule. The natural logarithm of the base (ln2\ln 2) appears as a constant factor multiplying the original exponential function.

2. Differentiate with a composite exponent using chain rule

Problem

Find ddx(53x)\frac{d}{dx}(5^{3x}).
  1. u=3x,f(u)=5uu = 3x, \quad f(u) = 5^u

    We recognize this as a composite function where the exponent is u=3xu = 3x (not just xx), so the chain rule applies.

  2. ddx53x=ddu5ududx\frac{d}{dx}5^{3x} = \frac{d}{du}5^u \cdot \frac{du}{dx}

    By the chain rule, ddxf(u(x))=dfdududx\frac{d}{dx}f(u(x)) = \frac{df}{du} \cdot \frac{du}{dx}, so we need the derivative of the exponential and the derivative of the exponent.

  3. ddu5u=5uln5\frac{d}{du}5^u = 5^u \ln 5

    Using the exponential formula dduau=aulna\frac{d}{du}a^u = a^u \ln a with a=5a = 5, we get 5uln55^u \ln 5.

  4. dudx=ddx(3x)=3\frac{du}{dx} = \frac{d}{dx}(3x) = 3

    The derivative of 3x3x with respect to xx is 3.

  5. 53xln53=353xln55^{3x} \ln 5 \cdot 3 = 3 \cdot 5^{3x} \ln 5

    Multiplying the chain rule components and substituting u=3xu = 3x back, we get the final answer.

Answer: 353xln53 \cdot 5^{3x} \ln 5

This problem requires both the exponential derivative rule and the chain rule. The exponent 3x3x is not simply xx, so we must account for its derivative (which is 3) as an additional factor in the final answer.

3. Applied problem: power output on a training ride

Problem

A cyclist is training on a hill and generates power according to P(t)=1001.5tP(t) = 100 \cdot 1.5^t watts, where tt is time in minutes. Find the rate at which power increases at t=2t = 2 minutes.
  1. P(t)=1001.5tP(t) = 100 \cdot 1.5^t

    The power function is P(t)=1001.5tP(t) = 100 \cdot 1.5^t. To find the rate of change, we need dPdt\frac{dP}{dt}.

  2. dPdt=100ddt(1.5t)\frac{dP}{dt} = 100 \cdot \frac{d}{dt}(1.5^t)

    Since 100 is a constant multiplier, we factor it out and differentiate only the exponential part.

  3. ddt(1.5t)=1.5tln(1.5)\frac{d}{dt}(1.5^t) = 1.5^t \ln(1.5)

    Using the exponential formula ddtat=atlna\frac{d}{dt}a^t = a^t \ln a with a=1.5a = 1.5, we get 1.5tln(1.5)1.5^t \ln(1.5).

  4. dPdt=1001.5tln(1.5)\frac{dP}{dt} = 100 \cdot 1.5^t \ln(1.5)

    Multiplying back the constant factor 100 gives the derivative of the power function.

  5. P(2)=1001.52ln(1.5)P'(2) = 100 \cdot 1.5^2 \ln(1.5)

    To find the rate of change at t=2t = 2 minutes specifically, we substitute t=2t = 2 into the derivative.

  6. 1.52=2.251.5^2 = 2.25

    Computing 1.521.5^2: 1.5×1.5=2.251.5 \times 1.5 = 2.25.

  7. 100×2.25×ln(1.5)=225ln(1.5)225×0.40591.1100 \times 2.25 \times \ln(1.5) = 225 \ln(1.5) \approx 225 \times 0.405 \approx 91.1

    With ln(1.5)0.405\ln(1.5) \approx 0.405, we calculate 225×0.40591.1225 \times 0.405 \approx 91.1 watts per minute.

Answer: P(2)=225ln(1.5)91.1 watts per minuteP'(2) = 225 \ln(1.5) \approx 91.1 \text{ watts per minute}

In this real-world scenario, the exponential derivative rule tells us that at the 2-minute mark, the cyclist's power output is increasing at approximately 91.1 watts per minute. This type of analysis is essential in sports science for understanding how quickly an athlete's performance accelerates during training.

Common mistakes

Where Derivative of a^x usually goes wrong
Answer came out wrong
Confusing this with the power rule and writing ddx2x=x2x1\frac{d}{dx}2^x = x \cdot 2^{x-1}
Use only the exponential rule: ddx2x=2xln2\frac{d}{dx}2^x = 2^x \ln 2, with no terms like x2x1x \cdot 2^{x-1}.
Writing ddxax=ax\frac{d}{dx}a^x = a^x and omitting the lna\ln a factor
Always include the logarithmic factor: ddxax=axlna\frac{d}{dx}a^x = a^x \ln a.
When differentiating a2xa^{2x}, forgetting the chain rule and writing a2xlnaa^{2x} \ln a instead of 2a2xlna2a^{2x} \ln a
Apply the chain rule by multiplying by the derivative of the exponent: ddxa2x=a2xlna2=2a2xlna\frac{d}{dx}a^{2x} = a^{2x} \ln a \cdot 2 = 2a^{2x} \ln a.
The mistakeWhy it is wrongThe fix
Confusing this with the power rule and writing ddx2x=x2x1\frac{d}{dx}2^x = x \cdot 2^{x-1}This mixes the power rule (for xax^a) with the exponential rule (for axa^x); the power rule applies when the base is the variable, not when the exponent is the variable.Use only the exponential rule: ddx2x=2xln2\frac{d}{dx}2^x = 2^x \ln 2, with no terms like x2x1x \cdot 2^{x-1}.
Writing ddxax=ax\frac{d}{dx}a^x = a^x and omitting the lna\ln a factorStudents sometimes forget that differentiating axa^x introduces a factor of lna\ln a; without it, the derivative is incomplete and gives the wrong answer.Always include the logarithmic factor: ddxax=axlna\frac{d}{dx}a^x = a^x \ln a.
When differentiating a2xa^{2x}, forgetting the chain rule and writing a2xlnaa^{2x} \ln a instead of 2a2xlna2a^{2x} \ln aThe inner exponent 2x2x has a derivative of 2, which must be included as an additional factor when applying the chain rule; omitting it gives an incomplete answer.Apply the chain rule by multiplying by the derivative of the exponent: ddxa2x=a2xlna2=2a2xlna\frac{d}{dx}a^{2x} = a^{2x} \ln a \cdot 2 = 2a^{2x} \ln a.

Tips and when to use something else

  • This formula applies only when the base aa is a constant; if the base is also a variable (like xxx^x) or if the exponent contains operations on aa, use logarithmic differentiation instead.
  • Remember that lna\ln a appears as a multiplicative factor, not as an exponent; ddxax=axlna\frac{d}{dx}a^x = a^x \ln a, not (alna)x(a \ln a)^x or axlnaa^{x \ln a}.
  • When the exponent is more complex than just xx (like 3x3x or x2+1x^2 + 1), always use the chain rule: multiply by the derivative of that exponent.
  • If the base is ee, the formula simplifies dramatically to ddxex=ex\frac{d}{dx}e^x = e^x because lne=1\ln e = 1; see Derivative of e^x for this special case.

Frequently asked questions

What's the difference between the power rule and the exponential derivative rule?
The power rule applies when the exponent is constant and the base is the variable, like ddxx3=3x2\frac{d}{dx}x^3 = 3x^2. The exponential derivative rule applies when the base is constant and the exponent is the variable, like ddx3x=3xln3\frac{d}{dx}3^x = 3^x \ln 3. They work in opposite directions: power rule moves the exponent down, while exponential rule keeps the exponential and multiplies by lna\ln a.
Why does ln(a) show up in the formula?
The natural logarithm appears because every exponential axa^x can be rewritten as exlnae^{x \ln a}. When you differentiate exlnae^{x \ln a} using the chain rule, the lna\ln a factor emerges from differentiating the exponent xlnax \ln a. This is why lna\ln a is always a factor in the derivative of axa^x.
What if a = 1?
If a=1a = 1, then 1x=11^x = 1 for all xx, which is a constant function. Its derivative is ddx(1)=0\frac{d}{dx}(1) = 0. Using the formula: 1xln(1)=10=01^x \ln(1) = 1 \cdot 0 = 0, which confirms this result because ln(1)=0\ln(1) = 0.
Can the base a be negative?
In the real numbers, axa^x is typically not defined for negative bases and non-integer exponents (for example, (2)0.5(-2)^{0.5} is not a real number). The exponential derivative formula assumes a>0a > 0 and real-valued functions. If you encounter a negative base in a problem, you may need to work in the complex numbers or reconsider your problem setup.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18