- Modelling with exponentials
- Differentiating eˣ, ln x, sin x and cos x · coming soon
- Integrating standard functions · coming soon
A number the last lecture could not name
The last lecture ended with a number it could not name. The gradient multiplier of base 2 is about 0.693, and a calculator shows that . So 0.693 is the power of that gives 2. The lecture promised that this number has a name. Here it is. The number 0.693… is , the natural logarithm of 2.
Now try a harder question. Solve .
The index laws cannot do it. The number 7 is not a tidy power of , so no rewriting will make the two sides match. You could guess and check: and , so is somewhere between 1.9 and 2. But a guess is not an answer. What is missing is a name for "the power of that gives 7". That name is the natural logarithm. Once we have it, this equation takes two lines.
Running e to the x backwards
Think of as a machine. You put in a number , and it gives out . Two facts from the last two lectures make this machine special. First, it never gives the same output twice, because an exponential keeps rising. Second, every positive number comes out of it for some input. So for any positive output, there is exactly one input that made it.
That means the machine can be run backwards. The backwards machine is the inverse function of , and it has its own name.
is the power of that gives . So means exactly the same as .
for every real number , and for every .
This is the definition of a logarithm from Upper Secondary, with base : is . It is read "the natural log of ". The two identities in the box say the same thing twice: run one machine, then the other, and you are back where you started.
Why do the conditions differ? The first identity works for every , because accepts any input. The second needs , because only accepts numbers that can produce, and those are all positive.
Some values follow straight from the definition. , because . , because . , because . And , because .
The graph of ln x is a mirror image
The graph of an inverse function is the reflection of the original graph in the line . The reason is that an inverse swaps input and output, so it swaps the coordinates of every point. The point (0, 1) on becomes (1, 0) on . The point becomes .
Each feature of turns into a feature of in the mirror.
- Domain. The outputs of are all positive, so the inputs of must be positive: the domain is . There is no value for or , because no power of is zero or negative.
- Range. accepts every real number, so gives out every real number.
- Asymptote. has the horizontal asymptote . In the mirror, has the vertical asymptote . As closes in on 0 from above, falls without limit.
- Sign. is negative for and positive for . A negative logarithm is fine. A logarithm of a negative number is not.
- Speed. grows fast, so grows slowly. It reaches 10 only at . The natural log of one million is only about 13.8.
grows so slowly. Does it level off at some height, like a curve approaching an asymptote?
Show the answer
No. Pick any height, say 100. The number has , so the curve reaches that height. It reaches every height, just very late. Slow growth is not the same as a limit. Compare , which really does close in on 0 and never passes it.
The promise kept: the multiplier is ln a
The last lecture found that the gradient of is a fixed multiple of its height: gradient . It also showed that has gradient . The natural logarithm joins these two facts.
Any positive base can be written as a power of . The second identity in the box says . So, by the power-of-a-power law,
This is with . Its gradient is times its height. This means that
Check it against the last lecture's chords. and . These are exactly the numbers the chords closed in on. A base between 0 and 1 has a negative logarithm, for example . So its gradient is negative, and the curve shows decay.
That is it. That is the whole idea. Every exponential is the curve squeezed sideways by the factor . And tells you how steep the curve is compared with its height.
The gradient of ln x, read from the mirror
The mirror gives one more result. Take a point P on . Its mirror partner Q lies on . At Q the gradient of equals its height. Reflection in swaps "up" and "across". So a tangent that rises for every 1 across becomes a tangent that rises 1 for every across. Use the explorer to watch this happen.
Move x, or use − and +. P is the point (x, ln x) on the ink curve. Q is its mirror image on y = eˣ. The short lines are the tangents at P and Q. Compare the two gradients.
Points P on , their mirror images Q on , and the gradients at both. The gradient of was found from a very short chord.
| P | Gradient of at Q | Gradient of at P | |
|---|---|---|---|
| 0.5 | (0.5, −0.693) | 0.5 | 2.000 |
| 1 | (1, 0) | 1 | 1.000 |
| 2 | (2, 0.693) | 2 | 0.500 |
| 4 | (4, 1.386) | 4 | 0.250 |
In every row the two gradients multiply to 1.
Look at what the explorer shows. Wherever P is, the two gradients multiply to 1. At Q the gradient of is . So at P the gradient of is .
This holds for every , the whole domain. It also explains the slow growth. Near 0 the curve is steep: at its gradient is 5. Far out it is almost flat: at its gradient is only 0.01. It never stops rising, because is never 0. The differentiation topic proves this result again, by a different route.
The laws of logarithms, read for ln
Upper Secondary proved three laws of logarithms for any base. They hold for , because is the logarithm with base . Here is the product law once more, as a reminder of where the laws come from. Let and , so and . Then . Read that back as a logarithm: . The law is the index law , read through the logarithm.
For positive numbers and , and any real number :
To undo , take of both sides. To undo , raise to the power of both sides.
The two moves in the last line are allowed because each machine is a function. Equal inputs give equal outputs, so doing the same thing to two equal sides keeps them equal. And because never takes the same value twice, means .
The laws also show that is enough for every base. If , then . Take of both sides: . So . For example, , the value Upper Secondary used.
Worked examples
Solve (a) and (b) . Give exact answers, then decimals.
Thinking. Get the exponential alone first. Then take of both sides, so that gives back the index.
(a) The exponential is already alone. Take : , so .
(b) Subtract 2, then divide by 3: . Take : , so . Since , this can also be written .
Check. . And . Keep the exact answers unless a decimal is asked for. They are shorter and they carry no rounding error.
Solve .
Thinking. The logarithm is alone, so undo it: raise to the power of both sides.
, so , and .
Check. The domain needs . Here , which is positive, so the answer is allowed. In fact, undoing always gives a positive inside, because it gives a power of . Numerically, and .
The next equation has two logarithms. Combining them gives a quadratic with two roots. Before you read the working, decide what happens to the roots.
Combining the logarithms in ln(x + 2) + ln(x − 1) = ln 4 gives (x + 2)(x − 1) = 4. Its roots are x = −3 and x = 2. Which of these solve the original equation?
The graph compares the original left-hand side with the combined one, and the line . Neither has a value in the shaded strip.
The combined logarithm has a value for as well as for , because there both brackets are negative and their product is positive. The original needs each bracket to be positive, so it exists only for . The line meets the original curve once, at . The root belongs only to the combined equation.
Solve .
Thinking. Write down the domain before any algebra. Then combine the left side with the product law.
Domain: and , so .
Combine: . Because never takes the same value twice, . Expand: , so , which factorises as .
The roots are and . Only satisfies . So the solution is .
Check. . Correct. The extra root appeared because the combined equation has a larger domain than the original. Writing the domain first catches it every time.
Write as a single logarithm, as simply as possible.
Thinking. Move every number in front inside first, using the power law. Then combine with the product and quotient laws.
. So the expression is . Since , this is also .
Check. With decimals: , and . They agree to rounding.
Solve .
Thinking. Taking now would not help, because the left side is a sum. But . So this is a quadratic in .
Let . Then , so and or .
Now undo: gives , and gives . Both values of are positive, so both are allowed. A negative value of would be rejected, because is never negative.
Check. At : and , so . At : .
Three traps
The product law turns the logarithm of a product into a sum. Nothing turns the logarithm of a sum into anything simpler. So is not . One test with numbers shows it: , but .
Solve . Raising gives , so or . Both work, because is positive either way. A student who first writes finds only , and loses . The power law needs , and here is . The safe form is .
To solve , some students write . That is wrong, because acts on a whole side, not on each term. Get the exponential alone first: , so . The wrong method gives , and then , not 10.
Work each one on paper first. Open a hint only when you are stuck.
-
Solve . Give the exact answer, then a decimal to 3 significant figures.
Hint 1
Get alone before you take any logarithm.
Hint 2
. Now take of both sides.
Full answer
, so . Taking : , so . Since , this is also . Check: , and . Correct.
-
Solve .
Hint 1
Write the domain first. Both and must be positive.
Hint 2
Combine the left side: . Solve the quadratic, then test each root against the domain.
Full answer
Domain: . Combining, , so , which gives . The root is outside the domain, so the only solution is . Check: . Correct.
-
Solve .
Hint 1
Multiply every term by . This is allowed because is never zero.
Hint 2
You get . Put , as in Worked Example 5.
Full answer
Multiplying by gives , so . With : , so . The root is impossible, because is always positive. So and . Check: and , and . Correct.
-
An invented model of a town's population is , with in years. (a) Find the exact time for the population to double. (b) Use your answer to explain the "rule of 70": a quantity growing at a year doubles in about years. (c) Compare with growth of 3% added once a year.
Hint 1
Doubling means . The cancels.
Hint 2
For a rate as a decimal, the doubling time is . Write and use .
Full answer
(a) , so and years. (b) In general . The number 69.3 is rounded to 70 because 70 divides easily by many rates. So the rule of 70 is really a rule of . (c) Once a year: , so years. This is a little longer, because is a little less than 0.03. Continuous growth at the same rate is slightly faster, as the last lecture showed. Check (a): .
The natural logarithm was found as an area before anyone saw it as an inverse. Grégoire de Saint-Vincent studied the area under the curve . He found that stretching an interval by any factor, from to , leaves the area underneath unchanged. In 1649 his student Alphonse Antonio de Sarasa pointed out what this means. The area from 1 to turns multiplication into addition, so it behaves exactly like a logarithm. Today we know that this area is . It is the gradient result of this lecture seen from the other side: has gradient , so adding up gives back . The integration topic builds this in full. It is also why is the natural base. With , the gradient would be , and the extra would appear in every calculation.
In 1668 Nicolaus Mercator published, in his book Logarithmotechnia, a series for the natural logarithm:
It works for . At it gives , but very slowly: ten terms give 0.6456 and a thousand terms give 0.6926. At the series falls without limit, which matches the fact that has no value. The series topic shows where this series comes from.
- The natural logarithm is the power of that gives , so for every real and for every .
- The graph of is the reflection of in , so it has domain , every real number as its range, and the vertical asymptote .
- Writing shows that , so the gradient multiplier of base is , with .
- Reflection in turns a gradient into , so the gradient of is .
- To solve an equation, get the exponential or logarithm alone, undo it with or with , and check every root against the domain, because combining logarithms can create extra roots.