Skip to main content

Derivatives of exponential and logarithmic functions (VCE Maths Methods Unit 2)

Syllabus dot point

“Differentiate exponential (exe^x, axa^x) and logarithmic (ln⁡x\ln x, log⁡bx\log_b x) functions, including composite functions via the chain rule”

7 min read

Quick answer

Key results: ddxex=ex\frac{d}{dx} e^x = e^x, ddxax=axln⁡a\frac{d}{dx} a^x = a^x \ln a, ddxln⁡x=1/x\frac{d}{dx} \ln x = 1/x, ddxlog⁡bx=1/(xln⁡b)\frac{d}{dx} \log_b x = 1/(x\ln b); for composites the chain rule gives ddxeu=u′eu\frac{d}{dx} e^u = u'e^u and ddxln⁡u=u′/u\frac{d}{dx} \ln u = u'/u.

Jump to a section
  1. What this dot point is asking
  2. Standard derivatives
  3. Chain rule extensions
  4. Applications
  5. Combining rules: product, quotient and chain
  6. Logarithmic functions and their domain
  7. In one sentence
  8. Examples in context
  9. Try this
  10. Exam-style questions

What this dot point is asking

VCAA wants you to differentiate exponential and logarithmic functions, including composite functions via the chain rule.

Standard derivatives

ddxex=ex\frac{d}{dx} e^x = e^x

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

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

ddxlog⁡bx=1xln⁡b\frac{d}{dx} \log_b x = \frac{1}{x \ln b}

exe^x is the unique function (up to scaling) whose derivative equals itself.

Chain rule extensions

ddxeu(x)=u′(x)⋅eu(x)\frac{d}{dx} e^{u(x)} = u'(x) \cdot e^{u(x)}

ddxln⁡∣u(x)∣=u′(x)u(x)\frac{d}{dx} \ln |u(x)| = \frac{u'(x)}{u(x)}

The absolute value extends the natural log to negative arguments (the derivative is the same form on both sides of zero).

Applications

For continuous decay N=N0e−λtN = N_0 e^{-\lambda t}:

dNdt=−λN0e−λt=−λN\frac{dN}{dt} = -\lambda N_0 e^{-\lambda t} = -\lambda N

The decay rate is proportional to the current amount; this is the differential-equation definition of exponential decay.

For population growth P=P0ektP = P_0 e^{kt}:

dPdt=kP\frac{dP}{dt} = k P

The growth rate is proportional to current population.

Combining rules: product, quotient and chain

Most exam derivatives mix an exponential or logarithm with another function, so you must choose the right combination of rules. A product such as x2e2xx^2 e^{2x} needs the product rule; a quotient such as exx\dfrac{e^x}{x} needs the quotient rule; a composite such as e3x2−2e^{3x^2 - 2} needs the chain rule. When two rules are needed (for example xesin⁡xx e^{\sin x}), apply the product rule first, then the chain rule on the inner composite. A useful habit is to factor the common exponential out of the final answer, since eue^{u} is never zero and factoring makes solving f′(x)=0f'(x) = 0 for stationary points immediate.

Logarithmic functions and their domain

The derivative ddxln⁡x=1x\dfrac{d}{dx}\ln x = \dfrac{1}{x} holds for x>0x > 0, matching the domain of ln⁡x\ln x. Using ln⁡∣x∣\ln|x| extends the rule to x≠0x \ne 0 with the same derivative 1x\dfrac{1}{x}. For a composite ln⁡(u(x))\ln(u(x)), the chain rule gives u′(x)u(x)\dfrac{u'(x)}{u(x)}, and the result is only valid where u(x)>0u(x) > 0. VCAA expects you to state the implied domain when differentiating logarithmic functions, because the gradient function inherits the restriction.

Differentiating a product with an exponential

Step 1: Identify the rule needed

For h(x)=x2e2xh(x) = x^2 e^{2x}, the function is the product of two separate parts: u=x2u = x^2 (a polynomial) and v=e2xv = e^{2x} (an exponential composite). Because neither factor can be absorbed into the other, we must use the product rule, which states that the derivative of a product is the first factor times the derivative of the second, plus the second factor times the derivative of the first:

h′(x)=u′v+uv′h'(x) = u'v + uv'

Step 2: Differentiate each factor separately

We differentiate uu and vv in turn before combining them. For u=x2u = x^2, the power rule gives u′=2xu' = 2x. For v=e2xv = e^{2x}, the argument 2x2x is itself a function of xx, so the chain rule applies: the derivative of ef(x)e^{f(x)} is f′(x)⋅ef(x)f'(x) \cdot e^{f(x)}, and the inner derivative of 2x2x is 22:

u′=2x,v′=2e2xu' = 2x, \qquad v' = 2e^{2x}

Step 3: Combine using the product rule

Substituting both derivatives and both original factors into h′=u′v+uv′h' = u'v + uv':

h′(x)=2x⋅e2x+x2⋅2e2x=2xe2x+2x2e2xh'(x) = 2x \cdot e^{2x} + x^2 \cdot 2e^{2x} = 2xe^{2x} + 2x^2 e^{2x}

Step 4: Factor the result

Both terms share the factor 2xe2x2xe^{2x}. Factoring this out simplifies the expression and immediately reveals where the derivative equals zero. Since e2xe^{2x} is never zero, the stationary points come only from the polynomial factor:

h′(x)=2xe2x(1+x)h'(x) = 2xe^{2x}(1 + x)

The stationary points are at x=0x = 0 and x=−1x = -1.

Final answer: h′(x)=2xe2x(1+x)h'(x) = 2xe^{2x}(1 + x).

Common traps
Treating eu(x)e^{u(x)} as ex⋅u(x)e^x \cdot u(x)
It is a composite function, so use the chain rule, not the product rule.
Forgetting the chain factor on ln⁡u\ln u
ddxln⁡(3x)=33x=1x\dfrac{d}{dx}\ln(3x) = \dfrac{3}{3x} = \dfrac{1}{x}; the inner derivative must appear in the numerator first.
Confusing axa^x and xax^a
axa^x is exponential with derivative axln⁡aa^x \ln a; xax^a is a power with derivative axa−1a x^{a-1}.
Dropping the domain on logarithmic derivatives
State x>0x > 0 (or u(x)>0u(x) > 0) where it applies.

In one sentence

ddxex=ex\frac{d}{dx} e^x = e^x, ddxln⁡x=1/x\frac{d}{dx} \ln x = 1/x, ddxax=axln⁡a\frac{d}{dx} a^x = a^x \ln a, ddxlog⁡bx=1/(xln⁡b)\frac{d}{dx} \log_b x = 1/(x \ln b), with chain-rule extensions ddxeu=u′eu\frac{d}{dx} e^u = u' e^u and ddxln⁡u=u′/u\frac{d}{dx} \ln u = u'/u.

Examples in context

Example 1. Rate of cooling. A cup of coffee cools according to T(t)=20+60e−0.05tT(t) = 20 + 60e^{-0.05t} degrees Celsius, tt minutes after pouring. The rate of cooling is T′(t)=60×(−0.05)e−0.05t=−3e−0.05tT'(t) = 60 \times (-0.05) e^{-0.05t} = -3e^{-0.05t} degrees per minute. At t=10t = 10: T′(10)=−3e−0.5=−3×0.6065=−1.82T'(10) = -3e^{-0.5} = -3 \times 0.6065 = -1.82 degrees per minute (still cooling, but slowing).

Example 2. Marginal log-utility. An economic model uses U(x)=40ln⁡(x+1)U(x) = 40\ln(x + 1) for the satisfaction from xx units of a good. The marginal utility is U′(x)=40x+1U'(x) = \frac{40}{x + 1}. At x=3x = 3, U′(3)=404=10U'(3) = \frac{40}{4} = 10 units of satisfaction per extra good; at x=9x = 9, U′(9)=4010=4U'(9) = \frac{40}{10} = 4, illustrating diminishing returns as the chain factor shrinks the rate.

Try this

Q1. Differentiate f(x)=e4xf(x) = e^{4x} and g(x)=ln⁡(2x+5)g(x) = \ln(2x + 5). [2+2 marks]

  • Cue. f′(x)=4e4xf'(x) = 4e^{4x}; g′(x)=22x+5g'(x) = \frac{2}{2x + 5}.

Q2. Find the gradient of y=xexy = xe^{x} at x=1x = 1. [3 marks]

  • Cue. Product rule: y′=ex+xex=ex(1+x)y' = e^x + xe^x = e^x(1 + x); at x=1x = 1, y′=2ey' = 2e.

Q3. A radioactive sample has mass M=50e−0.1tM = 50e^{-0.1t} grams. (a) Find dMdt\frac{dM}{dt}. (b) Find the rate of decay at t=5t = 5. [2+2 marks]

  • Cue. (a) dMdt=−5e−0.1t\frac{dM}{dt} = -5e^{-0.1t}. (b) At t=5t = 5, −5e−0.5=−3.03-5e^{-0.5} = -3.03 g per unit time.

Exam-style questions

Questions in the style of VCAA 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.

Practice4 marks
Differentiate (a) f(x)=e3x2−2f(x) = e^{3x^2 - 2} and (b) g(x)=ln⁡(5x+1)g(x) = \ln(5x + 1).
Show worked answer →

(a) Chain rule. Let u=3x2−2u = 3x^2 - 2. du/dx=6xdu/dx = 6x. ddxeu=eu⋅du/dx\frac{d}{dx} e^u = e^u \cdot du/dx.

f′(x)=6x⋅e3x2−2f'(x) = 6x \cdot e^{3x^2 - 2}.

(b) Chain rule on ln⁡\ln. ddxln⁡u=(1/u)⋅du/dx\frac{d}{dx} \ln u = (1/u) \cdot du/dx.

g′(x)=55x+1g'(x) = \dfrac{5}{5x + 1}.

Markers reward chain-rule structure, eue^u unchanged on differentiation, and the 1/u1/u form for ln⁡u\ln u.

Practice5 marks
Let f(x)=x2e−xf(x) = x^2 e^{-x} for x≥0x \ge 0. (a) Find f′(x)f'(x). (b) Determine the coordinates of any stationary points and classify them. (c) State the maximum value of ff on [0,∞)[0, \infty).
Show worked answer →

(a) Product rule with u=x2u = x^2, v=e−xv = e^{-x}: f′(x)=2xe−x+x2(−e−x)=e−x(2x−x2)=x(2−x)e−xf'(x) = 2x e^{-x} + x^2(-e^{-x}) = e^{-x}(2x - x^2) = x(2 - x)e^{-x}.

(b) Stationary points where f′(x)=0f'(x) = 0. Since e−x>0e^{-x} > 0, set x(2−x)=0x(2 - x) = 0, giving x=0x = 0 and x=2x = 2. At x=0x = 0, f(0)=0f(0) = 0; at x=2x = 2, f(2)=4e−2≈0.541f(2) = 4e^{-2} \approx 0.541.

Sign of f′f': for 0<x<20 < x < 2, x(2−x)>0x(2 - x) > 0 so ff increases; for x>2x > 2, x(2−x)<0x(2 - x) < 0 so ff decreases. Hence (2,4e−2)(2, 4e^{-2}) is a local maximum and (0,0)(0, 0) is a minimum at the endpoint.

(c) The maximum value on [0,∞)[0, \infty) is f(2)=4e−2≈0.541f(2) = 4e^{-2} \approx 0.541.

Markers reward the product rule, factoring out e−xe^{-x}, locating both stationary points, and classifying via the sign of f′f'.

Practise this

Sources & how we know this

ExamExplained