All articles
Mathematics
alevel-differentiation

Mastering Differentiating Exponentials and Logarithms for A-Level Maths

Unlock the secrets of calculus with our guide to differentiating exponentials and logarithms. Learn the essential rules and techniques to ace your A-Level Maths exams.

Math Instructor AI 22 September 2026 8 min read

Mastering Differentiating Exponentials and Logarithms for A-Level Maths

In A-Level Mathematics, the ability to differentiate exponential and logarithmic functions is a cornerstone of calculus. These functions appear frequently in modelling real-world phenomena, from population growth to radioactive decay. Understanding how to manipulate them is not just an exam requirement; it is a fundamental skill for any student pursuing STEM subjects at university.

This article will guide you through the core rules for differentiating $e^x$ and $\ln x$, show you how to handle more complex expressions using the chain rule, and provide clear, step-by-step worked examples to ensure you are exam-ready.

The Natural Exponential Function: $e^x$

The number $e$, known as Euler's number (approximately 2.718), is unique in calculus. The function $f(x) = e^x$ is the only function whose derivative is equal to itself. That is, if $y = e^x$, then $\frac{dy}{dx} = e^x$.

When the exponent is a function of $x$, such as $e^{kx}$, we must apply the chain rule. The rule states that if $y = e^{g(x)}$, then $\frac{dy}{dx} = g'(x)e^{g(x)}$.

Worked Example 1

Differentiate $y = e^{5x^2}$.

  1. Identify the inner function: $g(x) = 5x^2$.
  2. Differentiate the inner function: $g'(x) = 10x$.
  3. Apply the rule: $\frac{dy}{dx} = g'(x)e^{g(x)} = 10x e^{5x^2}$.

The Natural Logarithm: $\ln x$

The natural logarithm, $\ln x$, is the inverse of the exponential function $e^x$. A fundamental result in A-Level calculus is that the derivative of $\ln x$ is $\frac{1}{x}$ for $x > 0$.

For more complex arguments, we use the chain rule again. If $y = \ln(g(x))$, then the derivative is given by $\frac{dy}{dx} = \frac{g'(x)}{g(x)}$.

Worked Example 2

Differentiate $y = \ln(3x^2 + 4)$.

  1. Identify the inner function: $g(x) = 3x^2 + 4$.
  2. Differentiate the inner function: $g'(x) = 6x$.
  3. Apply the rule: $\frac{dy}{dx} = \frac{g'(x)}{g(x)} = \frac{6x}{3x^2 + 4}$.

Differentiating General Bases: $a^x$ and $\log_a x$

While $e$ and $\ln$ are the most common, you may encounter other bases. To differentiate $y = a^x$, we rewrite it using the identity $a^x = e^{x \ln a}$. Applying the chain rule gives $\frac{dy}{dx} = a^x \ln a$.

Similarly, for logarithms with a base other than $e$, we use the change of base formula: $\log_a x = \frac{\ln x}{\ln a}$. Since $\ln a$ is a constant, the derivative is simply $\frac{1}{x \ln a}$.

Combining Rules: Product and Quotient Rules

Often, you will need to differentiate functions that are products or quotients of exponentials and logarithms. For example, to differentiate $y = x^2 e^x$, you must use the product rule: $\frac{dy}{dx} = u \frac{dv}{dx} + v \frac{du}{dx}$.

Let $u = x^2$ and $v = e^x$. Then $u' = 2x$ and $v' = e^x$. The derivative is $x^2 e^x + 2x e^x$, which can be factorised as $xe^x(x + 2)$.

Common Mistakes

  1. Forgetting the Chain Rule: Students often differentiate $e^{3x}$ as $e^{3x}$ instead of $3e^{3x}$. Always check if the exponent is more than just $x$.
  2. Confusing $\ln x$ with $1/x$: Remember that $\frac{d}{dx}(\ln x) = 1/x$, but the derivative of $1/x$ (or $x^{-1}$) is $-x^{-2}$.
  3. Incorrect Log Laws: Ensure you simplify expressions using log laws (e.g., $\ln(x^2) = 2\ln x$) before differentiating to make the process much simpler.

Frequently Asked Questions

What is the derivative of $e^{kx}$? The derivative is $k e^{kx}$. The constant $k$ comes down due to the chain rule.

Does the derivative of $\ln x$ change if there is a coefficient? Yes, if $y = \ln(kx)$, then $\frac{dy}{dx} = \frac{k}{kx} = \frac{1}{x}$. The constant cancels out.

Can I use the power rule for $e^x$? No, the power rule ($nx^{n-1}$) only applies to polynomials where the variable is the base. For $e^x$, the variable is in the exponent.

Conclusion

Mastering these derivatives is essential for success in your A-Level Maths exams. By practising the chain rule and remembering the unique properties of $e$ and $\ln$, you will be able to tackle even the most complex calculus problems with confidence. For more practice, head over to MathInstructor AI to generate a free, narrated animated lesson on this topic and see these concepts come to life.

Topics

alevel-differentiation
differentiating exponentials
derivative of ln x
a level maths
exponential derivative
logarithm derivative
calculus
chain rule
euler's number

Want this explained out loud?

Turn any question into a narrated, animated lesson in seconds.

Try the Studio free