Maths · 3 Functions
3.7 The logarithmic function
Before you start
- Inverse functions and what it means for one function to undo another (3.3).
- The shape of an exponential graph and that it passes through (3.1).
- Using the log button on a graphic display calculator.
Syllabus objectives covered (1)
- Understand and use: • the logarithmic function as the inverse of the exponential function • y = aˣ as equivalent to x = logₐ y • the solution to aˣ = b as x = (log b)/(log a).
Part 1 of 3
A logarithm answers a question about a power
- A logarithm asks: to what power must I raise this base to get that number? That sentence is the whole idea, and everything else follows from it.
- So , because you must raise 2 to the power 3 to get 8. Read it as 'log, base 2, of 8'.
- The two statements below say exactly the same thing, written two ways:
- Being able to move between those forms is most of what this subtopic asks of you. Practise converting in both directions until it is automatic.
- This is why the log is the inverse of the exponential function. If then — one raises to a power, the other retrieves the power.
- The syllabus notes say all logs are base 10 unless otherwise stated, so a plain means . That is the `log` button on your calculator.
- Two values are worth knowing on sight: , because ; and , because .
Part 2 of 3
Solving an exponential equation
- The reason logarithms are on this syllabus is that they let you get at an unknown exponent, which ordinary algebra cannot reach.
- The syllabus gives you the result directly:
- Note carefully: it is divided by , not and not . Those are different and both are wrong here.
- For : to 3 significant figures.
- Check by substituting back: . Doing this once per question catches most calculator-entry errors.
- If the equation is not already in the form , rearrange it first. For , divide by 5 to get , and only then apply the rule.
- When the answer comes out exact, say so: gives exactly, and there is no need to write .
Part 3 of 3
Growth, decay, and interpreting the answer
- The syllabus notes point at where these equations come from: compound interest, and exponential growth and decay problems.
- Compound interest at per year on an initial amount gives, after years:
- Growth means the multiplier is greater than 1; decay means it is between 0 and 1. A 15% annual fall gives a multiplier of , not .
- To find when something reaches a certain value, set up the equation, isolate the exponential part, and use the log rule.
- Then interpret the answer in context, which is where marks are most often lost. A calculator value of years usually means 8 whole years, because at 7 years the target has not yet been reached.
- So read the question's wording carefully: 'after how many complete years' means round up, not to the nearest.
- You can also solve these on the graphic display calculator by graphing both sides and finding the intersection, as in 3.2. Either method is acceptable — but show what you did.
Worked examples
Example 1. Solve , giving your answer correct to 3 significant figures.
Show the working
- The equation is already in the form , with and .
- Apply the rule from the syllabus.
- Evaluate on the calculator without rounding the two logs separately.
- Round only at the end, to 3 significant figures: .
- Check: , close to 30. And a sanity check on size — and , so the answer must lie between 2 and 3. It does.
Answer: (3 s.f.).
Example 2. is invested at compound interest per year. Find the number of complete years before the investment first exceeds .
Show the working
- Set up the compound interest equation with a multiplier of per year.
- Isolate the exponential part by dividing both sides by 2000.
- Now it is in the form , so apply the log rule.
- Interpret in context. After 6 years the investment has not yet reached ; it passes it partway through year 7.
- So the answer is 7 complete years. Rounding to the nearest whole number happens to give 7 here, but the reasoning — round up — is what matters and is what earns the mark.
Answer: complete years.
Example 3. Write in exponential form, and write in logarithmic form.
Show the working
- Use the equivalence , and identify the parts each time.
- In , the base is 5, the answer (the power) is 3, and 125 is the result.
- So in exponential form: . Check: . Correct.
- In , the base is 2, the power is 6, and 64 is the result.
- So in logarithmic form the power becomes the answer: .
Answer: , and .
Where people go wrong
Mistake: Writing as or as .
Instead: It is a division of two separate logarithms, not a log of a quotient.
, whereas . Completely different answers.
Mistake: Using a multiplier of for a 15% decrease.
Instead: The multiplier is .
Each year the quantity becomes 85% of what it was. A negative multiplier would make the value alternate in sign, which is meaningless here.
Mistake: Rounding an answer like to by habit, without checking the context.
Instead: Ask whether the question wants the value rounded, or the first whole year past the target.
'Complete years' means round up. A value of would round to 7 but the correct answer would be 8.
Mistake: Rounding and before dividing them.
Instead: Do the whole calculation in one go on the calculator.
The syllabus accuracy rules require it, and rounding two intermediate values can shift the final digit.
Mistake: Applying the log rule before isolating the exponential term.
Instead: Rearrange first so the equation reads with nothing else attached.
In , taking logs immediately makes the algebra far harder. Divide by 5 first.
Check yourself
- Write in exponential form.
Answer
. - What is the value of , and why?
Answer
, because . - Solve , correct to 3 significant figures.
Answer
. - Solve .
Answer
Divide by 3 to get , so exactly. - What is the multiplier for a quantity that decreases by 8% each year?
Answer
. - Explain why the logarithmic function is the inverse of the exponential function.
Answer
An exponential raises a base to a power; a logarithm returns the power that produced a given result. Each undoes the other.
Exam questions
Try each part first. Open the mark scheme after you have written your answer.
Question 1. A population of bacteria is modelled by , where is the time in hours.
(a) Work out the population after hours, correct to the nearest whole number. 2 marks
Mark scheme
- M1 500 × 1.12⁵ seen oe
- A1 881 cao
(b) Find the time taken for the population to reach , giving your answer correct to 3 significant figures. 3 marks
Mark scheme
- M1 1.12^t = 4 seen oe
- M1 t = log 4 / log 1.12 oe
- A1 12.2 awrt
(c) Write down the number of complete hours after which the population first exceeds . 1 mark No calculator
Mark scheme
- B1 13; FT their (b) rounded up
Question 2. Two statements are given: and .
(a) Find the value of . 2 marks No calculator
Mark scheme
- M1 a² = 64 seen
- A1 a = 8
(b) Solve , giving your answer correct to 3 significant figures. 2 marks
Mark scheme
- M1 x = log 300 / log 7 oe
- A1 2.93 awrt
Question 3. A car bought for loses of its value each year.
(a) Write down the multiplier for one year's depreciation. 1 mark No calculator
Mark scheme
- B1 0.82
(b) Find the number of complete years after which the car is first worth less than . 4 marks
Mark scheme
- M1 24000 × 0.82ⁿ = 10000 formed; FT their multiplier
- M1 0.82ⁿ = 0.41666… oe
- M1 n = log 0.41666… / log 0.82 oe
- A1 5 (complete years); dep on a value between 4 and 5 seen
Words to know
- Logarithm
- The power to which a base must be raised to give a number: means .
- Base
- The number being raised to a power. Assume base 10 unless stated otherwise.
- Exponential function
- A function of the form , whose inverse is .
- Multiplier
- The number a quantity is multiplied by each period: for a 6% rise, for an 18% fall.
- Compound interest
- Interest calculated on the running total, giving .