Skip to main content

Derivatives of exponential and logarithmic functions (QCE Mathematical Methods Unit 3)

Syllabus dot point

“Differentiate exponential and logarithmic functions, including compositions of the form ef(x)e^{f(x)} and ln⁡(f(x))\ln(f(x)), and apply the derivatives to model and analyse rates of change”

8 min read

Quick answer

The exponential function exe^x is its own derivative and the natural log differentiates to 1x\frac{1}{x}, and applying the chain rule turns these into ddxef(x)=f′(x)ef(x)\frac{d}{dx} e^{f(x)} = f'(x) e^{f(x)} and ddxln⁡(f(x))=f′(x)f(x)\frac{d}{dx} \ln(f(x)) = \frac{f'(x)}{f(x)}, with non-ee bases handled by writing ax=exln⁡aa^x = e^{x \ln a}.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions

What this dot point is asking

QCAA wants you to differentiate exponential and logarithmic functions, including compositions like ef(x)e^{f(x)} and ln⁡(f(x))\ln(f(x)), and apply those derivatives to model rates of change in context. Exponential and logarithmic derivatives appear in Paper 1 (technology-free), in Paper 2 modelling questions, and in PSMTs that involve growth, decay, or any process where the rate is proportional to the current quantity.

The answer

The base case

The exponential function with base ee is its own derivative.

ddx(ex)=ex\frac{d}{dx}(e^x) = e^x

This is the defining property of ee and is the reason exe^x appears in every growth and decay model in Unit 3.

The natural logarithm is the inverse of exe^x and differentiates to the reciprocal.

ddx(ln⁡x)=1x,x>0\frac{d}{dx}(\ln x) = \frac{1}{x}, \quad x > 0

Chain-rule generalisations

For any differentiable inner function f(x)f(x):

ddx(ef(x))=f′(x)ef(x)\frac{d}{dx}\bigl(e^{f(x)}\bigr) = f'(x) e^{f(x)}

ddx(ln⁡(f(x)))=f′(x)f(x),f(x)>0\frac{d}{dx}\bigl(\ln(f(x))\bigr) = \frac{f'(x)}{f(x)}, \quad f(x) > 0

These two formulas cover almost every Methods question. Memorise them in this form.

Other bases

For a>0a > 0 and a≠1a \neq 1, use the change of base ax=exln⁡aa^x = e^{x \ln a}, which gives

ddx(ax)=(ln⁡a) ax.\frac{d}{dx}(a^x) = (\ln a) \, a^x.

Similarly, log⁡ax=ln⁡xln⁡a\log_a x = \dfrac{\ln x}{\ln a}, so

ddx(log⁡ax)=1xln⁡a.\frac{d}{dx}(\log_a x) = \frac{1}{x \ln a}.

QCAA frequently rewards students who recognise that axa^x is not differentiated by the power rule. The power rule applies to xnx^n (variable base, constant exponent), not axa^x (constant base, variable exponent).

Logarithm laws first

Before differentiating a complicated logarithm, simplify using logarithm laws. For example,

ln⁡(x2x+1)=2ln⁡x+12ln⁡(x+1),\ln\bigl(x^2 \sqrt{x + 1}\bigr) = 2 \ln x + \frac{1}{2} \ln(x + 1),

which differentiates to 2x+12(x+1)\dfrac{2}{x} + \dfrac{1}{2(x + 1)} in one step, with no quotient rule needed.

Proportional rate of change

The reason ekte^{kt} models growth and decay is that its derivative is proportional to itself: if Q(t)=Q0ektQ(t) = Q_0 e^{kt} then Q′(t)=kQ0ekt=kQQ'(t) = kQ_0 e^{kt} = kQ. So the rate of change at any instant is exactly kk times the current amount, which is the defining feature of exponential change. A positive kk gives growth (the rate rises as the quantity rises) and a negative kk gives decay (the rate of loss shrinks as the quantity shrinks). Recognising Q′=kQQ' = kQ as the signature of an exponential model is a recurring QCAA theme and connects this dot point to differential equations.

Combining with the product and quotient rules

Exponential and logarithmic derivatives rarely appear alone; they are usually one factor in a product or quotient. For y=x2exy = x^2 e^{x} the product rule gives y′=2xex+x2ex=xex(2+x)y' = 2x e^x + x^2 e^x = xe^x(2 + x), and for y=ln⁡xxy = \dfrac{\ln x}{x} the quotient rule gives y′=(1/x)x−ln⁡xx2=1−ln⁡xx2y' = \dfrac{(1/x)x - \ln x}{x^2} = \dfrac{1 - \ln x}{x^2}. The exponential or logarithm is differentiated with its own rule, and the surrounding structure dictates whether the product or quotient rule wraps around it. Factorising the result is often worth a final mark.

Worked example

Five differentiation tasks on exponential and logarithmic functions, each showing how to identify the inner function and apply the appropriate rule.

Step 1: Apply the chain rule to y=e−2xy = e^{-2x}

The function has the form ef(x)e^{f(x)}, so we use ddxef(x)=f′(x)ef(x)\frac{d}{dx} e^{f(x)} = f'(x) e^{f(x)}. The inner function is f(x)=−2xf(x) = -2x, which has derivative f′(x)=−2f'(x) = -2.

dydx=−2e−2x\frac{dy}{dx} = -2 e^{-2x}

Step 2: Differentiate a logarithm of a polynomial, y=ln⁡(x2+4)y = \ln(x^2 + 4)

The function has the form ln⁡(f(x))\ln(f(x)), so we use ddxln⁡(f(x))=f′(x)f(x)\frac{d}{dx} \ln(f(x)) = \frac{f'(x)}{f(x)}. The inner function is f(x)=x2+4f(x) = x^2 + 4, giving f′(x)=2xf'(x) = 2x.

dydx=2xx2+4\frac{dy}{dx} = \frac{2x}{x^2 + 4}

Step 3: Handle a non-ee exponential, y=5xy = 5^x

The power rule does not apply here because the base is constant and the exponent is variable. We recognise 5x=exln⁡55^x = e^{x \ln 5} and apply the chain rule, bringing ln⁡5\ln 5 out as the constant factor.

dydx=(ln⁡5)⋅5x≈1.6094⋅5x\frac{dy}{dx} = (\ln 5) \cdot 5^x \approx 1.6094 \cdot 5^x

Step 4: Use logarithm laws before differentiating y=ln⁡ ⁣(x3x2+1)y = \ln\!\left( \dfrac{x^3}{x^2 + 1} \right)

Differentiating this quotient inside a logarithm directly would require the quotient rule inside the chain rule. It is much cleaner to split using ln⁡(a/b)=ln⁡a−ln⁡b\ln(a/b) = \ln a - \ln b first.

y=3ln⁡x−ln⁡(x2+1)y = 3 \ln x - \ln(x^2 + 1)

Now each term differentiates immediately.

dydx=3x−2xx2+1\frac{dy}{dx} = \frac{3}{x} - \frac{2x}{x^2 + 1}

Step 5: Apply the derivative in a modelling context

A quantity decays according to Q(t)=200e−0.05tQ(t) = 200 e^{-0.05 t} milligrams, with tt in days. The chain rule gives the rate of change, where the inner function −0.05t-0.05t contributes a factor of −0.05-0.05.

Q′(t)=200×(−0.05) e−0.05t=−10e−0.05tQ'(t) = 200 \times (-0.05) \, e^{-0.05 t} = -10 e^{-0.05 t}

Substituting t=10t = 10 gives the instantaneous rate.

Q′(10)=−10e−0.5≈−6.07 mg/dayQ'(10) = -10 e^{-0.5} \approx -6.07 \text{ mg/day}

Final answer: the quantity is decreasing at approximately 6.076.07 mg per day when t=10t = 10 days. The negative sign confirms decay and its magnitude gives the current rate of loss.

Common traps
Treating axa^x like xnx^n
ddx(3x)≠x⋅3x−1\frac{d}{dx}(3^x) \neq x \cdot 3^{x-1}. The correct answer is (ln⁡3)⋅3x(\ln 3) \cdot 3^x.
Forgetting the chain rule factor
ddx(e2x)=2e2x\frac{d}{dx}(e^{2x}) = 2 e^{2x}, not e2xe^{2x}. The factor of 22 comes from f′(x)=2f'(x) = 2.
Missing the domain on ln⁡x\ln x
The natural log is only defined for x>0x > 0. If a domain crosses zero, you may need ln⁡∣x∣\ln|x| instead. In Paper 1, state the domain when QCAA asks for it.
Skipping logarithm laws
Differentiating ln⁡(uv)\ln(uv) directly with the chain rule still works but is slower and more error-prone than splitting first to ln⁡u+ln⁡v\ln u + \ln v.
Forgetting the sign in decay
A decay model Q(t)=Ae−ktQ(t) = A e^{-kt} with k>0k > 0 has derivative −kAe−kt-k A e^{-kt}, which is negative. The negative sign carries through and is part of the answer.

Exam-style questions

Questions in the style of QCAA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

Practice3 marks
Paper 1 (technique). Differentiate y=e3x2+2y = e^{3x^2 + 2} with respect to xx.
Show worked answer →

This is a composition, so use the chain rule generalisation ddxef(x)=f′(x)ef(x)\frac{d}{dx} e^{f(x)} = f'(x) e^{f(x)}.

Let f(x)=3x2+2f(x) = 3x^2 + 2, so f′(x)=6xf'(x) = 6x.

dydx=6x⋅e3x2+2.\frac{dy}{dx} = 6x \cdot e^{3x^2 + 2}.

Markers reward explicit identification of f(x)f(x) and f′(x)f'(x), application of the rule, and a tidy final answer with the exponential factor on the right.

Practice4 marks
Paper 2 (complex familiar). A population of bacteria is modelled by N(t)=500e0.15tN(t) = 500 e^{0.15 t} where tt is hours after measurement. (a) Determine the rate of change of the population at t=6t = 6 hours. (b) Interpret this rate in context.
Show worked answer →

A 4-mark answer needs the derivative, the substituted value, and a contextual interpretation.

(a) N′(t)=500⋅0.15⋅e0.15t=75e0.15tN'(t) = 500 \cdot 0.15 \cdot e^{0.15 t} = 75 e^{0.15 t}.

At t=6t = 6: N′(6)=75e0.9≈75×2.4596≈184.5N'(6) = 75 e^{0.9} \approx 75 \times 2.4596 \approx 184.5 bacteria per hour.

(b) Six hours after measurement, the population is growing at about 184 bacteria per hour. Because the model is exponential, the rate of growth itself increases with time; this rate would be about 214 per hour an hour later.

Markers reward the chain-rule derivative, an accurate numerical value (3 significant figures is fine on Paper 2), and a sentence interpreting the rate in context with correct units.

Practise this

Sources & how we know this

ExamExplained