Derivatives of Exponential and Logarithmic Functions
Learn to differentiate exponential and logarithmic functions the easy way, with plain English intuition, worked examples and an auto marked practice test. VCE Maths Methods Units 3 and 4.
Learn
Money is the friendliest place to meet these functions. Leave cash in an account that
grows continuously and the balance follows an exponential curve, while the time it
takes to double follows a logarithm. The remarkable thing about the exponential is
that its rate of growth at any instant is exactly equal to its current size, which is
why ex is the one function in all of mathematics that is its own derivative. Once you
believe that, every exponential and log derivative in the course becomes a short recipe.
The two base facts
Everything in this lesson grows from two results you should know cold. They are the
starting points, and the chain, product and quotient rules do the rest.
dxd(ex)=ex,dxd(logex)=x1
The first says the exponential is unchanged by differentiation. The second says the
natural log turns into a simple reciprocal. Notice the log result only makes sense for
x>0, because you can only take the log of a positive number in the first place.
For y = e^x, the tangent at x = 1 (dashed) has slope e, exactly equal to the height of the curve there, since the exponential is its own derivative.
Exponentials with a multiplier inside
The plain idea first. When the power is not just x but something like 3x or −2x,
the inside is changing faster or slower than x on its own, so that extra rate has to
be carried through. This is the chain rule doing its job.
For y=ekx, let the inside be u=kx. The outside differentiates to itself and
the inside contributes a factor of k, so
dxd(ekx)=kekx
The same reasoning handles a base other than e. Writing ax=exlogea turns
any exponential into a natural one, which gives
dxd(ax)=axlogea
The single most common mistake is dropping the inside factor and writing e3x for
the derivative of e3x. The factor of k is the whole point of the chain rule, and
examiner reports list its omission as a recurring error.
Logs with a multiplier inside
Here is a result that surprises almost everyone. The derivative of loge(kx) does not
keep the k at all. The cleanest way to see why is to split the log before you
differentiate.
loge(kx)=logek+logex
The first term is a constant, so it differentiates to zero, and the second term gives
x1. Therefore
dxd(loge(kx))=x1
Split the log first, then differentiate. Students who skip that
step often write the wrong answer of one over kx, which is the most documented log
error in the examiner reports.
Combining with the other rules
Real exam questions rarely hand you a bare ex or logex. They wrap it inside a
product or a quotient, so you choose the right rule and use the two base facts as
building blocks.
For a product such as y=x2e2x, set u=x2 and v=e2x, then apply
dxdy=u′v+uv′, remembering the chain rule gives v′=2e2x. For a
quotient such as y=xex, set u=ex and v=x, then apply
dxdy=v2u′v−uv′
Two warnings the examiner reports raise every year. First, keep brackets around each
product so the result reads as a genuine product and not a stray difference of two terms.
Second, name your answer correctly as f′(x), never as f(x), because the marker is
reading your notation as carefully as your algebra.
Lock it in with active recall
Cover the answer and say each one out loud before you flip. Rate yourself honestly — the cards you find hard come back sooner, the ones you know are spaced further out.
Active recall
Answer from memory first, then flip. Rate yourself and each card returns on a spaced schedule (1 → 3 → 7 → 16 days).
What is dxd(ex)?
ex — the exponential is the one function that is its own derivative.
What is dxd(logex), and for what values of x?
x1, valid only for x>0, since you can only take the log of a positive number.
Differentiate ekx. Where does the k go?
dxd(ekx)=kekx — the chain rule pulls the inner factor k out the front.
Why does the multiplier in loge(kx) vanish when you differentiate?
Splitting gives loge(kx)=logek+logex; the constant logek differentiates to zero, leaving x1.
Differentiate ax for a base a=e.
Rewrite ax=exlogea, so dxd(ax)=axlogea.
What is the single most common mistake when differentiating e3x?
Dropping the inner factor and writing e3x instead of 3e3x. The factor of k is the whole point of the chain rule.
Recall · Chain Rule
State the chain rule using dudy and dxdu.
dxdy=dudy×dxdu — differentiate the outside, then multiply by the derivative of the inside. This is exactly what brings the k down in ekx.
Recall · Antidifferentiation
What is the antiderivative of x1?
loge∣x∣+c — the reverse of dxd(logex)=x1, which is why this topic runs straight into integration.
See these recipes in action in the Worked Examples tab, then test yourself in
Try It.
Worked examples
Worked Example 1Cooling model with an exponential, from a real exam
A model for the temperature in a room is given by g(t)=22−10e−6t, t≥0. (i) Find the derivative g′(t). (ii) Find the value of t for which g′(t)=10, correct to three decimal places.
1
Differentiate using the chain rule. The constant 22 vanishes, and e−6t brings down a factor of −6.
g′(t)=−10⋅(−6)e−6t=60e−6t
2
For part (ii), set the derivative equal to 10 and isolate the exponential.
60e−6t=10⟹e−6t=61
3
Take the natural log of both sides and solve for t, then give a decimal as required.
t=6ln6≈0.299
Answer
g′(t)=60e−6t;t=6ln6≈0.299
VCAA 2024 Mathematical Methods Exam 2, Section B Q2c
Worked Example 2Differentiating a base-two exponential, from a real exam
For g(x)=2x+5, the derivative g′(x) can be expressed in the form g′(x)=k×2x. Find the real number k.
1
Rewrite the base-two exponential as a natural one using 2x=exloge2.
g(x)=exloge2+5
2
Differentiate. The constant 5 disappears, and the chain rule brings down the factor loge2.
g′(x)=loge2⋅exloge2=loge2⋅2x
3
Compare with k×2x. The examiner report notes some students omitted the base of the logarithm.
k=loge2
Answer
k=loge2
VCAA 2023 Mathematical Methods Exam 2, Section B Q3b
Worked Example 3An exponential with a multiplier inside
Differentiate y=e3x.
1
This is a chain rule job. The outside is eu and the inside is u=3x.
y=eu,u=3x
2
The exponential differentiates to itself, and the inside has rate of change 3.
dudy=eu,dxdu=3
3
Multiply the two pieces, then put the inside back.
dxdy=eu×3=3e3x
Answer
dxdy=3e3x
Worked Example 4A natural log of a linear inside
Differentiate y=loge(5x).
1
Split the log first using a log law, since loge(5x)=loge5+logex.
y=loge5+logex
2
The term loge5 is just a number, so its derivative is 0.
dxd(loge5)=0
3
Differentiate logex to get x1. The multiplier inside has vanished.
dxdy=0+x1=x1
Answer
dxdy=x1
Worked Example 5Product rule with an exponential
Differentiate y=x2e2x.
1
Two functions multiplied, so use the product rule with u=x2 and v=e2x.
u=x2,v=e2x
2
Differentiate each. The exponential needs the chain rule, giving a factor of 2.
u′=2x,v′=2e2x
3
Apply u′v+uv′ and keep brackets around each product.
dxdy=2x⋅e2x+x2⋅2e2x
4
Take out the common factor 2xe2x to tidy up.
dxdy=2xe2x(1+x)
Answer
dxdy=2xe2x(1+x)
Practice questions
Practice test
Try it yourself
9 questions, 12 marks
Choose your answers, then submit to see your score and the full worked solutions.
Multiple choice is marked for you, just like Exam 2 Section A.
Q1.Consider the function h(x)=aloge(bx), where a,b∈R∖{0}. Given that its derivative h′(x) has range (0,∞), which of the following must be true?
1mark
Need a hint?
Differentiate and watch what happens to b. Then think about the sign x must take for the function to be defined.
Show worked solution
Here h′(x)=xa, with domain set by bx>0. If b>0 then x>0 needs a>0; if b<0 then x<0 needs a<0. Both cases are captured by the single condition ab>0.
VCAA 2025 Mathematical Methods Exam 2, Section A Q16
Q2.Let f(x)=loge(x3−3x+2). Find f′(3).
2marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
By the chain rule, f′(x)=x3−3x+23x2−3, and evaluating at x=3 gives 27−9+227−3=2024=56. The report notes some students omitted the numerator (incorrect chain rule) or dropped brackets around the quadratic, causing errors at substitution.
VCAA 2024 Mathematical Methods Exam 1, Q1b
Q3.Let h(x)=f(x)−g(x), where f(x)=2x+7 and g(x)=Aekx. Write down an expression for the derivative of h(x).
1mark
Work this on paper. The worked solution appears once you submit.
Show worked solution
Differentiating term by term, h(x)=2x+7−Aekx, and applying the derivative of ekx gives h′(x)=21−Akekx. Some students differentiated g alone, or wrote the expression for h rather than h′.
VCAA 2025 Mathematical Methods Exam 2, Section B Q2di
Q4.The derivative of y=e4x is:
1mark
Need a hint?
Use dxd(ekx)=kekx. What is k here, and does the exponential ever change form?
Show worked solution
By the chain rule, dxd(ekx)=kekx, so with k=4 the answer is 4e4x. Option A forgets the inner factor of 4, which is the most common slip. Option D wrongly treats the exponential like a power.
Q5.The derivative of y=loge(7x) is:
1mark
Need a hint?
Split the log first using loge(7x)=loge7+logex, then ask what happens to the constant term.
Show worked solution
Since loge(7x)=loge7+logex, the constant loge7 disappears and the derivative is x1. The multiplier 7 does not survive. Option C, 7x1, is the classic error of carrying the 7 into the denominator.
Q6.If f(x)=e−2x, then f′(x) equals:
1mark
Need a hint?
Apply dxd(ekx)=kekx with a negative k. Watch the sign carefully.
Show worked solution
With k=−2, dxd(ekx)=kekx=−2e−2x. Option D drops the negative sign, and option B forgets the inner factor entirely.
Q7.The derivative of y=xlogex is:
1mark
Need a hint?
Two functions are multiplied, so reach for the product rule with u=x and v=logex.
Show worked solution
Use the product rule with u=x and v=logex, so u′=1 and v′=x1. Then dxdy=1⋅logex+x⋅x1=logex+1. Option D treats the rule as a sum of derivatives, a common product rule error.
Q8.The derivative of y=xex is:
1mark
Need a hint?
A function over a function calls for the quotient rule. Mind the order of subtraction in the numerator.
Show worked solution
Use the quotient rule with u=ex and v=x, so u′=ex and v′=1. Then
dxdy=x2ex⋅x−ex⋅1=x2ex(x−1).
Option B reverses the sign in the numerator, which happens when the quotient rule terms are subtracted in the wrong order.
Q9.Let f(x)=x2loge(3x). Find f′(x), expressing your answer in a fully simplified form.
3marks
Work this on paper. The worked solution appears once you submit.
Show worked solution
Use the product rule with u=x2 and v=loge(3x).
Differentiating each part, u′=2x, and since loge(3x)=loge3+logex we get v′=x1.
Applying f′(x)=u′v+uv′:
f′(x)=2xloge(3x)+x2⋅x1.
Simplifying the second term:
f′(x)=2xloge(3x)+x.
Frequently asked questions
Why is e to the x its own derivative?
The exponential function is defined so that its rate of growth at any point is exactly equal to its current value. That special property is what makes the derivative of e to the x equal to e to the x, with no change at all.
Why does the number in log of kx disappear when you differentiate?
Because of the log laws, the log of kx splits into the log of k plus the log of x. The log of k is just a constant, so it differentiates to zero, leaving only one over x. The multiplier never survives.
Do I need the chain rule to differentiate e to the kx?
Yes. The inside function is kx, so its derivative k must be carried out the front, giving k times e to the kx. Forgetting that factor of k is the single most common mistake in this topic.