Skip to content
Worked Examples · Example 28

Q.Differentiate axa^x w.r.t. xx, where aa is a positive constant.

Uttarakhand UbseTextbookSubjective· 3mImportance★★★★★
35% · 97/281 Questions
✓ Free question

The derivative of axa^x with respect to xx is axlog⁡aa^x \log a. This follows from rewriting axa^x as exlog⁡ae^{x \log a} and applying the chain rule — the constant log⁡a\log a emerges from the derivative of the exponent.

The function axa^x is an exponential with a constant base. Unlike exe^x, whose derivative is itself, axa^x has a base that isn't the natural base ee. The trick is to express any exponential in terms of ee, because we know exactly how to differentiate esomethinge^{\text{something}}.

The key identity is a=elog⁡aa = e^{\log a}, so ax=(elog⁡a)x=exlog⁡aa^x = (e^{\log a})^x = e^{x \log a}. Now the exponent is a simple linear function of xx, and the derivative becomes straightforward.

  1. Rewrite the function

    Since a>0a > 0, we can write ax=exlog⁡aa^x = e^{x \log a}. This is valid for all real xx.

  2. Apply the chain rule

    Let u=xlog⁡au = x \log a. Then ax=eua^x = e^u.

    The chain rule gives:

ddxeu=eu⋅dudx.\frac{d}{dx} e^u = e^u \cdot \frac{du}{dx}.

  1. Differentiate the exponent

    dudx=log⁡a\frac{du}{dx} = \log a, because log⁡a\log a is a constant.

  2. Combine the results

ddxax=exlog⁡a⋅log⁡a=axlog⁡a.\frac{d}{dx} a^x = e^{x \log a} \cdot \log a = a^x \log a.

Tip

A quick way to remember: the derivative of axa^x is just axa^x times the natural log of the base. If the base were ee, then log⁡e=1\log e = 1, and you get back exe^x — a nice consistency check.

Watch out

A common mistake is to write xax−1x a^{x-1} as if axa^x were a power function like xnx^n. That rule only applies when the variable is in the base and the exponent is constant. Here the variable is in the exponent, so the exponential rule is needed.

✓Final answer

The derivative is axlog⁡a\boxed{a^x \log a}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.