Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Maths Advanced (2027) Differential calculus

Differentiating Exponentials & Logs with Other Bases

20 practice questions 0 video lessons Theory + worked examples
NSW · Year 12 Mathematics Advanced · Differential calculus

Other bases extend the rules to \(a^{x}\) and \(\log_a x\), using \(\dfrac{d}{dx}a^{x}=a^{x}\ln a\) and \(\dfrac{d}{dx}\log_a x=\dfrac{1}{x\ln a}\).

Part of the NSW Year 12 Mathematics Advanced course, in the Calculus area of study (Differential calculus focus area) of the 2024 syllabus. Work through practice questions with fully worked solutions and video lessons, or scroll down for the theory summary and worked examples.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Exponentials and logs to a base other than \(e\) pick up a factor of \(\ln a\). This Year 12 Mathematics Advanced topic (MAV-12-04) differentiates \(a^{x}\) and \(\log_a x\).

\(\dfrac{d}{dx}a^{x}=a^{x}\ln a\) and \(\dfrac{d}{dx}\log_a x=\dfrac{1}{x\ln a}\). With the chain rule, \(\dfrac{d}{dx}a^{f(x)}=f'(x)a^{f(x)}\ln a\).

When \(a=e\), \(\ln e=1\), so these collapse to \(e^{x}\) and \(\dfrac1x\).

Exponential with base 2The curve y = 2 to the x, an exponential with base other than e. x y=2^x
\(y=2^{x}\): an exponential with base other than \(e\).
\[\dfrac{d}{dx}a^{x}=a^{x}\ln a,\qquad \dfrac{d}{dx}\log_a x=\dfrac{1}{x\ln a}\]
derivative of a to the x is a to the x times ln a; derivative of log base a of x is 1 over x ln a

Method

  1. Identify the base \(a\).
  2. For \(a^{x}\) multiply by \(\ln a\); for \(\log_a x\) divide by \(\ln a\).
  3. Apply the chain rule for a function in the exponent.
Example 1 — Base 2
Differentiate \(y=2^{x}\).
Solution
\(\dfrac{dy}{dx}\)\(=\)\(2^{x}\ln2\)
Example 2 — Base 10 log
Differentiate \(y=\log_{10}x\).
Solution
\(\dfrac{dy}{dx}\)\(=\)\(\dfrac{1}{x\ln10}\)
Example 3 — Chain rule
Differentiate \(y=3^{2x}\).
Solution
\(\dfrac{dy}{dx}\)\(=\)\(2\cdot3^{2x}\ln3\)
Example 4 — Evaluate
For \(y=5^{x}\): find \(\dfrac{dy}{dx}\) and its value at \(x=0\).
Solution
\(\dfrac{dy}{dx}\)\(=\)\(5^{x}\ln5\)
\(\text{at }x=0\)\(=\)\(\ln5\)

Common pitfalls

Don't forget \(\ln a\). \(\dfrac{d}{dx}2^{x}=2^{x}\ln2\), not \(2^{x}\).
For logs the \(\ln a\) is on the bottom. \(\dfrac{d}{dx}\log_{10}x=\dfrac{1}{x\ln10}\).
Base \(e\) is special. There \(\ln e=1\), so the factor disappears.

Frequently asked questions

What is the derivative of a to the x?

It is a to the x times ln a, where a is the base.

What is the derivative of 2 to the x?

It is 2 to the x times ln 2.

What is the derivative of log base 10 of x?

It is 1 divided by x times ln 10.

Why does base e not need the ln a factor?

Because ln e equals 1, so the factor of ln a is just 1 and disappears.