Unit 3 · Topic 1.2 · Differentiation of exponential and logarithmic functions
Logarithmic functions
Logs are the other half of Topic 1. In this guide you will graph them, solve equations with them, and differentiate them, with the real QCAA questions for each skill. Work through it in order, and tick off each skill once you can do it without help.
Skills in this topic
Calculus of logarithmic functions, about 8 hours of class time. Only tick a skill when you could do it in an exam.
Recognise and determine the features of the graph of $y=\ln x=\log_e x$, including its asymptote and intercept. Part 1
Recognise and use the inverse relationship between $y=e^x$ and $y=\ln x$. Part 1
Solve equations involving exponential and logarithmic functions with base $e$, with and without technology. Part 2
Use the rules $\frac{d}{dx}\ln x=\frac{1}{x}$ and $\frac{d}{dx}\ln f(x)=\frac{f'(x)}{f(x)}$. Part 3
Model and solve problems involving derivatives of exponential and logarithmic functions, with and without technology. Part 3
A syllabus change to know about
In the old syllabus, logs in bases other than $e$ were part of Unit 3. In the new syllabus they have moved to Unit 2. The QCAA can still expect you to use Unit 1 and 2 knowledge in the external, but they aim to examine Unit 3 and 4 content directly.
So I would expect base $e$ to be the main log you meet in your external. Other bases used to be a big part of early exams, which is why some of the past questions below still use them.
Part 1
Graphing logarithmic functions
$y=\ln x$ is the inverse of $y=e^x$. Every point $(a,b)$ on one graph becomes $(b,a)$ on the other, so the graph of $\ln x$ is $e^x$ reflected in the line $y=x$. Its horizontal asymptote turns into a vertical one, and its $y$-intercept $(0,1)$ turns into the $x$-intercept $(1,0)$.
Watch it first
Fold $e^x$ along $y=x$ and you get $\ln x$
Because they undo each other, $e^{\ln x}=x$ and $\ln(e^x)=x$. You will use that in Part 2 to solve equations.
You probably will not sketch one from scratch
Just like exponentials, plotting a point on a log graph beyond the $x$-intercept needs a calculator or an estimate. That leaves the exam writers stuck: it is too easy in a technology-active paper and hard to mark in a technology-free one. So I think it is unlikely you will be asked to graph one directly.
What matters more is knowing the general form, $y=a\ln(x-h)+k$, and the four basic shapes well enough to pick the right graph in a multiple choice question. In short: a negative $a$ reflects the graph in the $x$-axis, and a negative in front of $x$ reflects it in the $y$-axis.
$y=\ln x$$y=-\ln x$$y=\ln(-x)$$y=-\ln(-x)$
The dashed line is the vertical asymptote, $x=0$, in every case.
Watch it first
Reading the equation off a graph
Most graph-to-equation questions come down to two features: the vertical asymptote and the $x$-intercept. Watch how each one gives you an unknown, then try it yourself below.
From a graph to an equation
Try it yourself
From a graph to an equation
1Find the vertical asymptote. That gives you $h$, because the log is undefined where $x-h=0$.
2Find the $x$-intercept by letting $y=0$.
3Use the general shape to check your signs: which way does it rise or fall, and which side of the asymptote is it on?
Move the sliders and watch the two features. The asymptote only depends on $h$. The $x$-intercept is where $a\ln(x-h)+k=0$, so it moves with all three.
Inside the log
Asymptote
$x$-intercept
Practise
Exam questions: graphing log functions
Some of these are not in base $e$. The three steps above still work whatever the base, so I have included them to show you how the QCAA approach these questions.
For the written-answer questions, the solutions show where each mark goes, based on the QCAA marking guides. Many marks allow follow-through: if an earlier step is wrong but you use your wrong answer correctly, you can still get the later marks. That is another reason to show every step.
2022 Paper 1, Question 6
Multiple choice · Technology-free · [1 mark]
Which graph represents the function $f(x)=-3-\ln(x+3)$?
Asymptote first: $x+3=0$, so $x=-3$. That rules out (C) and (D).
The $-\ln$ reflects the graph in the $x$-axis, so it falls from left to right. That is (B). Check the $y$-intercept: $f(0)=-3-\ln 3\approx -4.1$.
Answer
(B)
2022 Paper 2, Question 8
Multiple choice · Technology-active · [1 mark]
Determine the equation of the asymptote of the function $f(x)=\log_9(x-3)-4$.
A log is undefined at 0, so the vertical asymptote is where the inside equals 0: $x-3=0$. The base and the $-4$ do not move it.
Answer
(C) $x=3$
2020 Paper 1, Question 18
Short response · Technology-free · [6 marks]
The function $f(x)$ has the form $f(x)=3\log_2(x+a)+b$. The function $g(x)$ has the form $g(x)=-\log_3(x+c)+5$. A section of the graphs of the two functions is shown.
Determine the values of $a$, $b$ and $c$.
Read the points you can trust off the grid. $f$ passes through $(0,1)$ and the intersection $(2,4)$. $g$ passes through $(0,5)$ and $(2,4)$.
Start with $g$, because it has one unknown. $g(0)=-\log_3 c+5=5$, so $\log_3 c=0$ and $c=1$. Check: $g(2)=-\log_3 3+5=4$.
1 markFinding $c$.
For $f$, write one equation for each point:
$$3\log_2 a+b=1,\qquad 3\log_2(2+a)+b=4$$
1 markTwo equations in $a$ and $b$. Any equivalent pair is fine.
Subtract them to get rid of $b$:
$$3\log_2\frac{2+a}{a}=3$$
1 markChoosing a way to remove one unknown. Substituting $b=1-3\log_2 a$ into the other equation works too.
1 markFinding $b$. If an earlier answer was wrong, you can still get this mark for using it correctly.
1 markClear communication. Use equals signs and connecting words, and say where you used each piece of information. This mark is for the whole response.
Answer
$a=2,\ b=-2,\ c=1$
2020 Paper 2, Question 4
Multiple choice · Technology-active · [1 mark]
Consider the function $f(x)=\log_p(x+q)$ where $p>1$ and $0
The asymptote is $x=-q$, and with $0
Now the $y$-intercept: $f(0)=\log_p q$. With $p>1$ and $q<1$, that is negative. (A) goes through the origin, which would need $q=1$, and (D) has a positive $y$-intercept, which would need $q>1$.
Answer
(C)
Part 2
Solving log and exponential equations
These used to be everywhere in early exams. Lots of technology-free papers opened with a couple of log equations you would recognise from Years 10 and 11. You still need the log laws, but these days they tend to sit inside a more complicated situation.
Watch for equations that turn into a quadratic once you substitute. The QCAA have always loved those. And always check your answers in the original equation, because a log of a negative number does not exist.
Practise
Exam questions: solving log equations
2025 Paper 1, Question 4
Multiple choice · Technology-free · [1 mark]
Solve for $x$ in the equation $\ln(x)+\ln(2)=\ln(8)$.
Combine the left side with the first law: $\ln(2x)=\ln 8$, so $2x=8$. Option (D) is the trap: it adds instead of multiplies.
Answer
(B) $x=4$
2023 Paper 2, Question 5
Multiple choice · Technology-active · [1 mark]
Solve $\ln(x)+\ln(3.70)=\ln(9.25)$ for $x$.
Same structure as the one above, with uglier numbers: $\ln(3.70x)=\ln 9.25$, so $x=\dfrac{9.25}{3.70}$. Option (D) subtracts instead of divides.
1 markThe quadratic. Any equivalent form, like $4x^{2}-4x-24=0$, is fine.
So $(x-3)(x+2)=0$, giving $x=3$ or $x=-2$.
1 markBoth values of $x$. If an earlier answer was wrong, you can still get this mark for using it correctly.
There is no mark for checking here, but do it anyway. At $x=3$ the insides are 28 and 7. At $x=-2$ they are 8 and 2. Both are positive, so both solutions stand. That surprises a lot of students, who throw out the negative one out of habit.
Answer
(a) $x=\dfrac{e^{5}}{2}$ · (b) $x=3$ or $x=-2$
2025 Paper 1, Question 15
Short response · Technology-free · [6 marks]
Determine all possible solutions for the equation $\left(\log_2(x)\right)^{2}=\log_2\left(x^{2}\right)+8$. Evaluate the reasonableness of one solution.
It is not in base $e$, but it reduces to a quadratic, which the QCAA have always loved.
Use the third law on the right: $\log_2\left(x^{2}\right)=2\log_2 x$.
1 markUsing a log law to turn $\log_2\left(x^{2}\right)$ into a term in $\log_2 x$. Markers can also see this from your later working.
Now let $u=\log_2 x$:
$$u^{2}=2u+8\ \Rightarrow\ u^{2}-2u-8=0$$
1 markSeeing that it is a quadratic. Any letter for the substitution is fine. If an earlier answer was wrong, you can still get this mark for using it correctly.
$$(u-4)(u+2)=0$$
So $\log_2 x=4$ or $\log_2 x=-2$, giving $x=16$ or $x=\frac{1}{4}$.
2 marksOne mark for each solution.
Reasonableness, for $x=16$. Substitute into each side of the original equation. The left side is $\left(\log_2 16\right)^{2}=4^{2}=16$, and the right side is $\log_2 256+8=8+8=16$.
1 markSubstituting a solution into the original equation. Checking $x=\frac{1}{4}$ instead is also fine.
Both sides match, and $x$ and $x^{2}$ are positive so the logs exist. $x=16$ is reasonable.
1 markSaying whether it is reasonable. This only counts if your working backs it up.
Answer
$x=16$ or $x=\frac{1}{4}$
Sample paper, Paper 1, Question 13
Short response · Technology-free · [4 marks]
Solve the following.
(a) $\log_5(2x+4)=2$[2 marks]
(b) $\ln(7-x)-\ln 10=\ln(x)$[2 marks]
(a) Swap forms: $2x+4=5^{2}=25$, so $2x=21$.
(b) Combine the left side: $\ln\dfrac{7-x}{10}=\ln x$, so $7-x=10x$ and $11x=7$. Check: $7-\frac{7}{11}$ and $\frac{7}{11}$ are both positive.
Answer
(a) $x=10.5$ · (b) $x=\frac{7}{11}$
Practise
Exam questions: solving exponential equations
2023 Paper 1, Question 16
Short response · Technology-free · [5 marks]
Solve for $x$ in the equation $4+7e^{-2x}=3e^{2x}$.
This is a hidden quadratic. Multiply every term by $e^{2x}$ to clear the negative power, remembering $e^{-2x}\times e^{2x}=1$:
$$4e^{2x}+7=3e^{4x}$$
1 markRemoving the negative index. Any equivalent equation is fine.
Let $u=e^{2x}$, so $e^{4x}=u^{2}$, and move everything to one side:
$$3u^{2}-4u-7=0$$
1 markRearranging so one side is zero.
$$(3u-7)(u+1)=0$$
1 markFactorising. The quadratic formula is also accepted.
$u=-1$ is impossible, because $e^{2x}$ is always positive.
1 markRejecting the solution that cannot work, with the reason.
So $e^{2x}=\frac{7}{3}$, $2x=\ln\frac{7}{3}$ and $x=\frac{1}{2}\ln\frac{7}{3}$.
1 markFinding $x$. Equivalent forms are fine. If an earlier answer was wrong, you can still get this mark for using it correctly.
Answer
$x=\dfrac{1}{2}\ln\dfrac{7}{3}$
2020 Paper 1, Question 15
Short response · Technology-free · [4 marks]
Solve the following equations.
(a) $4e^{x}=100$[1 mark]
(b) $2\log_4 x-\log_4(x-1)=1$[3 marks]
(a) Divide by 4 first: $e^{x}=25$, so $x=\ln 25$.
1 markFinding $x$.
(b) Use the third law, then the second, to get a single log:
$$\log_4\frac{x^{2}}{x-1}=1$$
1 markAn equation using the log laws. $\log_4\frac{x^{2}}{x-1}=\log_4 4$ is fine too.
Same warning as with exponentials: being able to differentiate in this form is not enough on its own. Methods questions build through four phases, and you want to be confident at every one. Pick a phase to see the real questions that match it.
Phase 1 · Apply the rules
Straight use of the two rules. Simplify with the log laws first when you can. It often turns a chain rule into something much easier.
2023 Paper 2, Question 6
Multiple choice · Technology-active · [1 mark]
$\displaystyle\int_a^{5a}\frac{1}{x+a}\,dx,\ a\neq 0$ is
This one runs the rule backwards. Because $\frac{d}{dx}\ln(x+a)=\frac{1}{x+a}$, the antiderivative of $\frac{1}{x+a}$ is $\ln|x+a|$:
1 markThe value at $x=e$. If an earlier answer was wrong, you can still get this mark for using it correctly.
Answer
$g'(e)=0$
Phase 3 · Model with a known equation
Worded does not mean hard. When the whole equation is given and you just need a derivative at a point, you can usually finish on your calculator. Read carefully, though: these questions love a distractor.
2024 Paper 2, Question 14
Short response · Technology-active · [6 marks]
A football coach offered a 12-day intensive training clinic. During the clinic, the height that each player could kick a football was monitored. One player's kick heights could be modelled by $H(t)=\log_{10}(10t+10)+5,\ 0\le t\le 12$, where $H(t)$ is vertical height (m) and $t$ is the time (days) spent in training.
(a) Determine the initial height that the player could kick the ball.[1 mark]
(b) Determine the training time needed for the player to be able to kick the ball to a height of 7 m.[1 mark]
(c) Determine the overall improvement in kick height achieved by completing the clinic.[2 marks]
(d) Determine the rate of change in kick height when $t=1.5$ days.[1 mark]
(e) Determine the training time (as a decimal) when the rate of change in kick height is 0.09 m/day.[1 mark]
(a) Initial means $t=0$: $H(0)=\log_{10}10+5=6$ m.
1 markThe initial height.
(b) $\log_{10}(10t+10)=2$, so $10t+10=100$ and $t=9$ days.
1 markThe time.
(c) At the end of the course, $H(12)=\log_{10}130+5\approx 7.11$ m.
1 markThe height at the end of the course.
"Overall improvement" is a change, so subtract: $7.11-6\approx 1.11$ m. Giving $H(12)$ on its own is the common slip here.
1 markThe improvement. Saying it is about 1.19 times the starting height is also accepted. If an earlier answer was wrong, you can still get this mark for using it correctly.
(e) Solve $H'(t)=0.09$ on your calculator: $t\approx 3.83$ days.
1 markThe time, as a decimal.
Answer
(a) 6 m · (b) 9 days · (c) 1.11 m · (d) 0.174 m/day · (e) 3.83 days
2023 Paper 2, Question 8
Multiple choice · Technology-active · [1 mark]
The number of koalas in a conservation park is modelled by $N=15\ln(7t+1),\ t\ge 1$, where $t$ represents the time (years) since the park opened. There were 20 koalas in the park when it opened. Determine the approximate rate of change in the number of koalas when $t=3$.
"Rate of change" means differentiate. The 20 koalas is a distractor: you do not need it.
(A) is $N(3)$, the number of koalas rather than the rate.
Answer
(D) about 5 koalas per year
2021 Paper 1, Question 14
Short response · Technology-free · [4 marks]
Consider the function $f(x)=\ln(3x+4)$, for $x>\frac{-4}{3}$.
(a) Determine $f'(x)$.[1 mark]
(b) Determine the $x$-intercept of the graph of $f(x)$.[2 marks]
(c) Determine the gradient of the tangent to the graph of $f(x)$ at the $x$-intercept.[1 mark]
(a) $f'(x)=\dfrac{3}{3x+4}$.
1 markThe derivative.
(b) Let $f(x)=0$: $\ln(3x+4)=0$, so $3x+4=e^{0}=1$.
1 markThe linear equation.
So $x=-1$.
1 markThe $x$-intercept.
(c) Substitute the intercept into the derivative: $f'(-1)=\dfrac{3}{1}=3$.
1 markThe gradient. If an earlier answer was wrong, you can still get this mark for using it correctly.
Answer
(a) $\dfrac{3}{3x+4}$ · (b) $x=-1$ · (c) $3$
2021 Paper 2, Question 15
Short response · Technology-active · [4 marks]
A new internet search engine gives a ranking $R$ to each website based on the function $R=\log_{10}\left(50h^{2}\right)$, where $h$ is the number of hits (visits) the website has received.
If a website currently has 100 hits, determine how many more hits they need to increase their ranking by 1.
No derivative here, even though it sits in a calculus context. Find the current ranking, add 1, and solve backwards.
Now: $R(100)=\log_{10}500\,000\approx 5.699$, so the new ranking is $6.699$.
1 markThe number of hits for the new ranking. If an earlier answer was wrong, you can still get this mark for using it correctly.
Hits are whole numbers, so the site needs 317 hits, which is 217 more than it has.
1 markA sensible number of extra hits.
A quick check: adding 1 to a $\log_{10}$ multiplies the inside by 10, so $h^{2}$ goes up by a factor of 10 and $h$ by $\sqrt{10}$.
1 markClear communication. Use equals signs and connecting words, and say where you used each piece of information. This mark is for the whole response.
Answer
217 more hits
2020 Paper 2, Question 9
Multiple choice · Technology-active · [1 mark]
The displacement of a particle (in metres) at time $t$ (in seconds) is represented by the function $s(t)=t\ln(t)-t,\ 0
Acceleration is the second derivative of displacement. The product rule on $t\ln t$ gives $\ln t+1$, and the $-t$ takes away the 1:
This is the one to aim for. The QCAA often give you a constant to find first, and you need it before you can go any further. It is a very common short response style, so make sure you are well practised before you sit your exam in November.
2025 Paper 2, Question 12(d)–(e)
Short response · Technology-active · [3 marks]
This continues the cockroach question from Topic 1.1. To decrease the growth rate of the cockroach population, a pest control treatment was trialled. The new function to model the cockroach population $t$ weeks after using the treatment is $I(t)=c\ln(t+8)+172$, where $c$ is a constant. Three weeks after using the treatment, the rate of population growth was five cockroaches per week.
(d) Determine the value of $c$.[2 marks]
(e) Determine the cockroach population when the treatment began.[1 mark]
(d) "Rate of population growth" is $I'(t)$, so differentiate before you substitute anything:
$$I'(t)=\frac{c}{t+8}$$
1 markThe derivative.
$$I'(3)=\frac{c}{11}=5\ \Rightarrow\ c=55$$
1 markFinding $c$. If an earlier answer was wrong, you can still get this mark for using it correctly.
(e) "When the treatment began" is $t=0$: $I(0)=55\ln 8+172\approx 286.4$.
1 markThe starting population.
Answer
(d) $c=55$ · (e) about 286 cockroaches
2024 Paper 2, Question 12
Short response · Technology-active · [5 marks]
The magnitude of an earthquake can be modelled by the logarithmic equation $M_A=\log_{10}\left(\dfrac{I_A}{I_0}\right)$, where $M_A$ is the magnitude at a location A, $I_A$ is the intensity of the earthquake at location A and $I_0$ is a constant. An earthquake at location P had a magnitude of 5.2. A different earthquake at location Q had a magnitude of 3.5.
(a) Determine an equation involving logarithms that expresses the difference in magnitudes between the earthquakes at locations P and Q.[1 mark]
(b) How many times more intense was the earthquake at location P than the earthquake at location Q?[4 marks]
(a) Write one equation for each location and subtract:
1 markAn equation for the difference in magnitudes. Any equivalent form is fine.
(b) The second log law gets rid of $I_0$:
$$\log_{10}\frac{I_P}{I_Q}=M_P-M_Q$$
1 markA single log equation.
Swap to exponential form, so the intensities are the subject:
$$\frac{I_P}{I_Q}=10^{M_P-M_Q}$$
1 markChanging to exponential form.
$$\frac{I_P}{I_Q}=10^{5.2-3.5}=10^{1.7}$$
1 markSubstituting the magnitudes. Markers can also see this or the previous step from your later working.
So $\dfrac{I_P}{I_Q}\approx 50.1$.
1 markHow many times more intense, rounded sensibly. If an earlier answer was wrong, you can still get this mark for using it correctly.
Answer
About 50 times more intense
2023 Paper 1, Question 19
Short response · Technology-free · [7 marks]
Jaxon and Shari each own a shop and have recorded the number of customers entering their shop on two consecutive days.
Day 1Day 2
Jaxon's customers4030
Shari's customers1020
Total5050
The number of daily customers for each shop can be modelled by the equation $y=A\ln(Bx)$, where $x$ is the day and $y$ is the number of customers. The constants $A$ and $B$ are different for each shop.
Determine algebraically whether the total number of customers for Jaxon and Shari's shops will be the same every day in the future.
1 markShowing why the total is 50 using the log laws. Trying a few days and getting 50 each time does not earn this mark.
The $x$ cancels inside the log, so the total does not depend on the day. It will be 50 every day in the future.
1 markAnswering the question, based on your working.
Answer
Yes. The $\ln x$ terms cancel, so the total is 50 every day.
Game plan
Your game plan for differentiation questions
Ask yourself these, in order, every time. They take you from reading the question to knowing exactly what to do. Try them on any Phase 3 or 4 question above.
1Check that you need to differentiate. The question will want a rate of change.
2What are you asked to find? A maximum, a rate of change, a velocity, a gradient or a tangent line.
3Is your equation ready to differentiate? If not, find the unknown first.
4How many times do you need to differentiate? Your answer to step 2 decides this.
5Which differentiation rules apply here?
6What units is the question in? Give your answer in those units.
Words that mean "differentiate"
rate of change, or instantaneous rate of change
"the rate at which … is changing", "how fast … is changing"
velocity (first derivative) and acceleration (second derivative)
gradient of the tangent, or of the curve, at a point
"increasing or decreasing by [rate] per [unit]"
The clue: if the answer needs a rate unit, like m/day or koalas per year, you differentiate.
Practice
Practice questions
Eight questions of my own, covering every skill. Each one is labelled with the skill it practises, so if one goes wrong you know which part of the guide to go back to. Try them with the game plan beside you.
Question 1 of 8
Skill 1: graph features · Technology-free · [2 marks]
State the equation of the asymptote and the exact coordinates of the $x$-intercept of $y=\ln(x+4)-2$.
1Find the vertical asymptote. The log is undefined where $x+4=0$, so the asymptote is $x=-4$.
The graph of $y=\ln x$ is the reflection of the graph of $y=e^{x}$ in
$y=e^{x}$ and $y=\ln x$ are inverses, and inverse functions are always reflections of each other in $y=x$. You can see it in the points: $(0,1)$ on $y=e^{x}$ swaps to $(1,0)$ on $y=\ln x$.
A population of bees is modelled by $P=200e^{0.15t}$, where $t$ is the time in weeks. Determine how long it takes for the population to reach 1000 bees.
The number of wallabies in a sanctuary is modelled by $N=40\ln(3t+1)+25$, where $t$ is the time in years since the sanctuary opened. Determine the rate of change in the number of wallabies when $t=3$.
1Check that you need to differentiate. The question asks for a rate of change.
2What are you asked to do? Find $\dfrac{dN}{dt}$ at $t=3$.
3Is the equation ready? Yes. There are no unknowns in the model.
6Units. The number of wallabies is increasing at 12 wallabies per year.
Answer
12 wallabies per year
Keep practising
Ready for something harder?
Once Phase 4 feels comfortable, try the full walkthrough of 2023 Paper 1, Question 19. You will build two log models from a table, then show why their total never changes.