DR Frost Exponentials Logarithms
DR Frost Exponentials Logarithms
You know the inverse of many mathematical operations; we can undo an addition by 2 for
example by subtracting 2. But is there an inverse function for an exponential function?
Function Inverse
12
4 𝑥 ×3 𝑥÷
? 3 4
7
4 𝑥+ 3 𝑥−
? 3 4
16
4 𝑥
2
√ ?𝑥 4
1024
4 𝑥
5
√ ?𝑥
5
4
81
4 3
𝑥
log?3 𝑥 4
Such functions are known as logarithms, and exist in
order to provide an inverse to exponential functions.
Interchanging between exponential and log form
! (“said log base of ”) is equivalent to .
The log function outputs the missing power.
3 =9
2 log 3 9= 2
Here are two methods of interchanging between these forms.
Pick your favourite!
Method 2: Do same operation
Method 1: ‘Missing Power’
to each side of equation.
• Note first the base of the log must Since KS3 you’re used to the idea of doing the same
match the base of the exponential. thing to each side of the equation that ‘undoes’
• for example asks the question “2 to whatever you want to get rid of.
what power gives 8?”
We can imagine inserting the (−2 ) (−2 )
output of the log just after
the base. Click the button!
“log base ” undoes “ to the power of” and vice versa,
𝑙𝑜𝑔8¿ 3 ¿
3 Click to start
as they are inverse functions.
()
1 negative numbers.
log 2 =−𝟏
? Strictly Just For Your Interest: However, if we were to expand the
range (i.e. output) of the log function to allow complex numbers
I couldn’t think of a
𝑙𝑛ln10=𝟐.𝟑𝟎𝟐𝟓𝟖…
?
? is the “natural log of ”,
meaning “log to the base ”,
𝑙𝑜𝑔
i.e. it the inverse of .
log 100=𝟐
?
We will use it more
extensively later this chapter.
Just like the symbol without a number is by default,
without a base is base 10 by default when used on
your calculator (although confusingly “” can mean “”
in mathematical papers)
Laws of Logs
! Three main laws:
The logs must have a
Special cases: consistent base.
a ? a
?
b ?
c ? b
?
d ?
c
?
d ?
Anti Laws
These are NOT LAWS OF LOGS, but are mistakes students often make:
FAIL
Solving Equations with Logs
Solve the equation
This is a very common type of exam question.
The strategy is to combine the logs into one and isolate on one side.
2
We’ve used the laws of logs to combine
log 10 4+log10 𝑥 =2
them into one.
Solve
?
Solving equations with exponential terms
Solve
𝑥 𝑥+1
the variable is in the power, because laws of logs
log3 =log2
allow us to move the power down.
? ?
! The inverse of is
Since “ to the power of” and
𝑥 ?
ln 𝑒 =? 𝒙
“ of” are inverse functions,
they cancel each other out!
Solve Solve
ln 𝑥=2
“ln both sides”.
𝑥 =ln?5 On the LHS it
cancels out the “
? Do “ to the power
to the power of” of” each side. On
the LHS it cancels
out the ln.
Quadratics in
In previous chapters we’ve already dealt with quadratics in disguise, e.g.
“quadratic in sin”. We therefore just apply our usual approach: either make a
suitable substitution so the equation is then quadratic, or (strongly
recommended!) go straight for the factorisation.
Solve Solve
Solve Solve
2 2𝑥 𝑥
3 𝑥+1=𝑒 ?
𝑒 +5𝑒 −6=0 ?
𝑥 𝑥+1
ln2 𝑒 =ln3 ?
Graphs for Exponential Data
In Science and Economics, experimental data often has exponential growth, e.g.
bacteria in a sample, rabbit populations, energy produced by earthquakes, my Twitter
followers over time, etc.
Because exponential functions increase rapidly, it tends to look a bit rubbish if we
tried to draw a suitable graph:
But suppose we took the log of the number of transistors
for each computer. Suppose the number of transistors one
Take for example “Moore’s Law”, which hypothesised year was , then doubled 2 years later to get .
that the processing power of computers would When we log (base 2) these:
double every 2 years. Suppose we tried to plot this
for computers we sampled over time: The logged value only increased by 1! Thus taking the log
of the values turns exponential growth into linear growth
(because each time we would have doubled, we’re now
just adding 1), and the resulting graph is a straight line.
Number of transistors
If we tried to force
all the data onto the
graph, we would end
log(transistors)
up making most of
the data close to the
horizontal axis. This
is not ideal.
Year Year
1970 1980 1990 2000 1970 1980 1990 2000
Graphs for Exponential Data
If , then the graph of against will be If , then the graph of against will be
a straight line wih gradient and a straight line with gradient and
vertical intercept . vertical intercept .
log 𝑦 log 𝑦
log 𝑎 log 𝑎
log 𝑥 𝑥
* We could also allow non-integer ; the term would The key difference compared to Case 1 is that we’re only logging the values (e.g. number
then not strictly be polynomial, but we’d still say the of transistors), not the values (e.g. years elapsed). Note that you do not need to
function had “polynomial growth”. memorise the contents of these boxes and we will work out from scratch each time…
In summary, logging the -axis turns an exponential graph into a linear one.
Logging both the and -axis turns a polynomial graph into a linear one.
Example
[Textbook] The graph represents the growth of a population of log ( 𝑃 )
bacteria, , over hours. The graph has a gradient of 0.6 and meets
the vertical axis at as shown.
A scientist suggest that this growth can be modelled by the
equation , where and are constants to be found.
a. Write down an equation for the line. 2
b. Using your answer to part (a) or otherwise, find the values of 𝑡
and , giving them to 3 sf where necessary.
c. Interpret the meaning of the constant in this model.
Comparing with our straight line equation in (a): Recall that means
?
3.372 ?
3.565 3.855 𝑚= ? =0.322 roughly forms a straight line, and
2.2− 0.7
then we can then draw a
(straight) line of best fit.
5. The gradient and -intercept of
this line then allows us to
c d estimate the parameters and in
𝑡
𝑃=𝑎 𝑏
the original model that best fit
? When ? the data.
The process of finding parameters in a
model, that best fits the data, is known
as regression.
The End