Add Maths · 6 Logarithmic and exponential functions
6 Logarithmic and exponential functions
Before you start
- The laws of indices: , , , , , .
- Solving quadratic equations by factorising.
- What an inverse function is: it undoes the original, and its graph is the reflection of the original in the line .
- Sketching a graph from its key features: where it meets the axes and what happens for large positive and negative .
Syllabus objectives covered (3)
- Know and use simple properties and graphs of the logarithmic and exponential functions, including ln x and eˣ.
- Know and use the laws of logarithms, including change of base of logarithms.
- Solve equations of the form aˣ = b.
Part 1 of 8
What a logarithm is
- A logarithm answers one question: what power? asks 'what power of gives ?' The answer is , because .
- So every log statement is an index statement written the other way round. Switching between the two forms is the core skill of this whole topic.
- Work some out by asking the question. because . because .
- Know two values on sight: because , and because .
- The base is positive and not , and you can only take the log of a positive number, because no power of a positive base is ever zero or negative. So does not exist.
- Logarithms can have any base. Two have their own names: means , and means , the natural logarithm, which comes later in this lesson.
Part 2 of 8
The laws of logarithms
- You must recall these; they are not on the List of formulas. Each one is an index law in disguise, which is how you rebuild it if you forget.
- Why the first law holds: if and , then , so . Multiplying numbers adds their powers, so it adds their logs.
- The power law is the most useful of the three, because it brings an unknown down out of a power: . That is how logs solve equations like .
- Two identities come straight from the definition. They say that and 'raise to the power' undo each other.
- Know what the laws do not say. There is no law for . And is one number divided by another; it is not .
Part 3 of 8
Writing an expression as a single logarithm
- The order that avoids mistakes: first use the power law to move every coefficient up into an index, then combine with the product and quotient laws.
- A plain number has to become a log in the same base before it can combine. In base , because . In base , .
- Write as a single logarithm. Power law first, , and replace by .
- Subtracting a log divides, and adding a log multiplies.
- The same laws turn a log equation into an ordinary one. To solve , combine to , then switch to index form: .
- That gives or . **Reject **: it would need of a negative number, which does not exist. The answer is only. Always test the solutions of a log equation in the original logs.
Part 4 of 8
Change of base
- Logs in different bases cannot be combined directly. The change of base law rewrites a log in any base you choose. You must recall this one too.
- It comes from the power law. If , then . Take of both sides: , so .
- Choosing gives a special case worth spotting, because it turns a log upside down.
- So . Taking the reciprocal of a log swaps its base and the number inside it.
- For mixed bases in one equation, rewrite everything in the smallest base. . So becomes , giving and .
- The same law evaluates awkward logs by hand: .
Part 5 of 8
The number e, and ln x and eˣ as inverses
- is a constant, about , and is the exponential function. On a non-calculator paper you never need its decimal value: answers stay in terms of and .
- is , so every law above applies to it unchanged: , , and .
- The syllabus wants you to understand that and are each the inverse of the other. In symbols, each one undoes the other.
- That is how you undo either one in an equation. gives . gives . gives , so .
- Because they are inverses, the graph of is the reflection of in the line . Every point swaps its coordinates: on becomes on , and becomes .
The asymptotes swap too: for becomes for . - Read the key features off that reflection. is always positive, crosses the -axis at , and gets closer and closer to the -axis as becomes large and negative without ever reaching it. Its asymptote is .
- exists only for , crosses the -axis at , and drops steeply alongside the -axis as gets close to . Its asymptote is . It keeps increasing, slowly, for ever.
Part 6 of 8
Graphs of y = keⁿˣ + a
- The exponential graphs in this syllabus have the form , with , and integers. Four features describe any of them, and each comes from a short piece of algebra, not from plotting.
- Asymptote. gets closer and closer to on one side: as if , or as if . On that side gets closer and closer to , so the asymptote is . The moves it off the -axis.
- **-intercept.** Put . Since , .
- **-intercept.** Solve , so . This has a solution only if is positive, because is always positive. Otherwise the curve never crosses the -axis.
- Direction. increases if and decreases if . A negative reverses that, and the curve then approaches its asymptote from below instead of from above.
- Put it together for . The asymptote is , approached as . The -intercept is . The -intercept comes from , so and . With and both positive, the curve rises more and more steeply to the right.
The asymptote is , here , not the -axis, and the intercepts are labelled exactly. - On a sketch, label exact values such as , not decimals, and draw the asymptote as a dashed line with its equation written beside it.
Part 7 of 8
Graphs of y = k ln(ax + b)
- The logarithmic graphs in this syllabus have the form , with , and integers. One rule drives everything: only accepts positive inputs, so the graph exists only where .
- Asymptote. The graph drops (or rises, if ) steeply at the edge of that region, where . The vertical asymptote is .
- **-intercept.** is zero only at , so solve , which gives .
- **-intercept.** Put to get . This only exists if is inside the region, which needs . Otherwise the curve does not meet the -axis.
- For : the graph exists for and the asymptote is . The -intercept is where , which is . The -intercept is .
Nothing exists to the left of the asymptote, because of a negative number is undefined. - If is negative, the region is on the left instead. exists for , its asymptote is on the right, and the curve decreases as increases.
Part 8 of 8
Solving aˣ = b
- First look for a common base. is , so and . When both sides are powers of the same number, compare the powers.
- With no common base, take logs of both sides (any base) and use the power law to bring down. From , .
- On a non-calculator paper that is the answer. , and are equal, exact forms. Do not 'simplify' to : that is a different number. As a sanity check, , so lies between and .
- With in both powers, take logs, expand, collect the terms and factorise. From : , so .
- Some equations hide a quadratic. In , notice that . Let : , so or . Each becomes a simple : gives , and gives .
- The trap in a hidden quadratic: is always positive. For , gives . Keep , so . Reject and say why: for every .
Worked examples
Example 1. Solve .
Show the working
- Combine the two logs with the quotient law, so there is a single log to undo.
- Switch to index form: the base , raised to the right-hand side, equals what is inside the log.
- Multiply both sides by : , so and .
- Check the logs exist: and . Their ratio is , so the equation holds.
Answer: .
Example 2. Solve .
Show the working
- The bases differ, and one log is the other turned upside down: by change of base, .
- Let so the structure is easy to see.
- Keep both. A log can be negative; it is the number inside a log that must be positive. Switch each to index form: gives , and gives .
- Check . The left side is . On the right, because , and . Both solutions stand.
Answer: or .
Example 3. Solve , giving exactly.
Show the working
- There is no common base, so take natural logs of both sides and bring the powers down. Keep the bracket round .
- Expand, then collect the terms on one side.
- Factorise out . This is the step that isolates it.
- Tidy the bracket into a single log: .
- A sanity check with no calculator: at the left side is and the right side is ; at they are and . The sides swap order, so the solution lies between and . Since , the fraction is less than , which fits.
Answer: , or equivalently .
Example 4. A curve has equation . State the equation of its asymptote, find where it meets the axes, and describe its shape.
Show the working
- Match it to : , and .
- Asymptote: , so as , and then . The asymptote is .
- -intercept: gives , so the point is .
- -intercept: gives , so and . It exists because is positive.
- Shape: increases, and is negative, so decreases as increases. The curve starts just below on the far left, passes through and , then falls more and more steeply.
- Why 'just below'? is always positive, so is always less than . The curve never reaches its asymptote.
Answer: Asymptote . It meets the -axis at and the -axis at . It is decreasing, approaching from below as .
Where people go wrong
Mistake: Writing .
Instead: There is no law for the log of a sum. It is that equals .
The product law comes from adding powers when numbers are multiplied. Nothing like that happens when numbers are added.
Mistake: 'Simplifying' to or to .
Instead: Leave , or write it as .
is the log of a quotient. is a quotient of logs, which by change of base is , a different number.
Mistake: Writing as .
Instead: .
The power law moves the coefficient up into a power, not into a product.
Mistake: Giving the asymptote of as .
Instead: The asymptote is .
As , . The constant moves the asymptote along with the rest of the graph.
Mistake: Keeping a solution that puts a negative number inside a log, or accepting .
Instead: Test every solution in the original equation. Reject values that need the log of a number that is not positive, or a power equal to a negative number.
for every , and a log accepts only positive inputs. The algebra can produce values that were never possible.
Check yourself
- Find the exact value of (a) (b) (c) (d) .
Answer
(a) (b) , since (c) (d) . - Write as a natural logarithm.
Answer
, because . - Write as a single logarithm.
Answer
. - Solve .
Answer
Write both as powers of : , so and . - Solve , giving your answer exactly, and state which two whole numbers it lies between.
Answer
. Since , it lies between and . - Solve .
Answer
Let : , so or . Both are positive, so or . - For , state the equation of the asymptote and the -intercept.
Answer
Here , so as , and the asymptote is . The -intercept is . - State the equation of the asymptote of and find where the curve meets the -axis.
Answer
It needs , so the asymptote is . Setting gives , so it meets the -axis at .
Exam questions
Try each part first. Open the mark scheme after you have written your answer.
Question 1.
(a) Write as a single base 10 logarithm, simplifying your answer. 3 marks No calculator
Mark scheme
- B1 soi
- M1 power law and at least one of the product or quotient laws applied correctly
- A1 cao
(b) Use the change of base law to solve . 3 marks No calculator
Mark scheme
- M1 oe
- A1 oe
- A1
Question 2.
(a) Solve , giving your answer in the form , where and are rational numbers. 4 marks No calculator
Mark scheme
- M1 takes logs of both sides and brings the powers down: oe
- M1 collects the terms and factorises: oe
- A1 oe
- A1 cao
(b) Solve , giving your answer exactly. 4 marks No calculator
Mark scheme
- B1 and used, e.g.
- M1 solves their three-term quadratic in
- A1 , with rejected because
- A1 oe, e.g. or
Question 3. The curve has equation .
(a) State the equation of the asymptote of . 1 mark No calculator
Mark scheme
- B1
(b) Sketch , showing the asymptote and the coordinates of any point where meets the axes. 3 marks No calculator
Mark scheme
- B1 increasing logarithmic shape, entirely to the right of
- B1 asymptote drawn and labelled, with the curve falling steeply towards it
- B1 labelled, and no intersection with the -axis
(c) Solve , giving your answer exactly. 2 marks No calculator
Mark scheme
- M1 and
- A1 oe
How this is examined
- Solving an exponential equation exactly, by taking logs or by spotting a hidden quadratic: a four- or five-mark Solve, sometimes asking for the answer in a stated form such as Logs taken of both sides with the powers brought down in brackets (M), the terms collected and factorised (M), and an exact final answer. For a hidden quadratic: stated, both values of found, and the negative one rejected with the reason .
- Combining logs and solving a log equation: a Solve with two or three log terms in one base, or a Write as a single logarithm The power law used before the product and quotient laws, plain numbers written as logs of the same base (e.g. ), the single log converted to index form, and any solution that puts a non-positive number inside a log rejected.
- Key features of or : a State the asymptote, then a Sketch worth two or three marks, sometimes with intercepts to Find The correct shape on the correct side of a dashed asymptote labelled with its equation ( or ), with intercepts labelled exactly, e.g. .
- Changing base to handle mixed bases: a Solve such as , or a Use the change of base law The change of base written out explicitly, e.g. , before the terms are combined.
- Undoing with , and with : a one- or two-mark step inside a longer question rewritten as , or rewritten as , with the answer left exact.
Words to know
- Logarithm
- is the power to which must be raised to give .
- lg
- Shorthand for .
- Natural logarithm
- , the inverse function of .
- e
- A constant, about , which is the base of the exponential function and of .
- Asymptote
- A line that a curve gets closer and closer to without reaching, stated as an equation such as or .
- Change of base
- , which rewrites a log in any base.
- Exponential equation
- An equation with the unknown in a power, such as .