Level 5 · Mathematics M5.2

Exponentials and logarithms

Use the number e and logarithms to model growth and to solve equations where the unknown is a power.

Study the exponential function aˣ and its inverse, the logarithm. Prove and use the laws of logarithms and the change of base formula. Solve equations with the unknown in a power, including disguised quadratics. Meet the number e and natural logarithms, model growth and decay with half lives and doubling times, and turn power and exponential laws into straight lines by taking logs.

You are ready for this book if

You can sketch y = 2ˣ and simplify 2³ × 2⁴.

Written and drawn by attnom. Free to read, print and share.

M5.2.1 Chapter 1

Exponential functions

Can a number such as 2ˣ ever be zero or negative, and what does its graph look like between the whole numbers?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

You have met 2ˣ for whole numbers x, such as 2⁵ = 32 and 2⁻² = 1/4. Now x may be any real number. The rule f(x) = aˣ is an exponential function. The number a is its base, and x is the power.

The base must be above 0 and not equal to 1. Take a = −2. Then (−2)² = 4 and (−2)³ = −8, but the power 0.5 would need the square root of −2, which is not a real number. Take a = 1. Then 1ˣ = 1 for every x, a flat line and not a new function. So we always write a > 0 and a ≠ 1.

A table with the heads x, 3ˣ and 0.5ˣ. Rows: −3, 1/27 and 8; −2, 1/9 and 4; −1, 1/3 and 2; 0, 1 and 1; 1, 3 and 0.5; 2, 9 and 0.25; 3, 27 and 0.125.x3ˣ0.5ˣ−31/278−21/94−11/32011130.5290.253270.125
Values of 3ˣ and 0.5ˣ. Each step right multiplies the first column by 3 and the second by 0.5.

Between the whole numbers the rule keeps the laws of powers. A power of 1/2 means a square root, so 2 to the power 0.5 is the square root of 2. A power of 3/2 means a square root, then a cube. For a power such as √2, which has endless digits, we use closer and closer decimals. The values settle on one number, so aˣ has a value for every real x.

A table with the heads x and 2ˣ. Rows: 1.4 and 2.6390; 1.41 and 2.6574; 1.414 and 2.6647; 1.4142 and 2.6651.x2ˣ1.42.63901.412.65741.4142.66471.41422.6651
As x gets closer to √2, which is about 1.41421, the value of 2ˣ settles at 2.6651 to 4 decimal places. So 2 to the power √2 is about 2.665.

Worked example

y = 4ˣ. Find y when x = 1.5, and when x = −0.5.

  1. A power of 1.5 is 3/2. Take the square root of 4 first: 4 to the power 0.5 is 2.
  2. Then cube it: 4 to the power 1.5 is 2³ = 8.
  3. A negative power means one over the positive power: 4 to the power −0.5 is 1 ÷ 4 to the power 0.5.
  4. So 4 to the power −0.5 is 1 ÷ 2 = 0.5.

Answer: When x = 1.5, y = 8. When x = −0.5, y = 0.5.

Draw it first

The graph of y = 3ˣ

  1. A graph with the x axis x and the y axis y. Step 1 plots five dots: (−2, 1/9), (−1, 1/3), (0, 1), (1, 3) and (2, 9). Step 2 joins them with one smooth curve that is almost flat on the left and climbs steeply on the right.−3−2−11233690xy

    1 Plot the points from the table. On the left they sit very close to the x axis.

  2. A graph with the x axis x and the y axis y. Step 1 plots five dots: (−2, 1/9), (−1, 1/3), (0, 1), (1, 3) and (2, 9). Step 2 joins them with one smooth curve that is almost flat on the left and climbs steeply on the right.−3−2−11233690xy

    2 Join them with one smooth curve. It passes through (0, 1) and rises faster and faster.

A graph with the x axis x and the y axis y. A solid curve for y = 3ˣ rises from the left to the right. A dashed curve for y = 0.5ˣ falls from the left to the right. They cross at the point A, (0, 1). A key under the graph names the solid curve y = 3ˣ and the dashed curve y = 0.5ˣ.A−3−2−11233690xyy = 3ˣy = 0.5ˣ
The growth curve y = 3ˣ and the decay curve y = 0.5ˣ, which is the same as y = (1/2)ˣ. Both pass through A at (0, 1).

Read the graph. With a above 1 the curve is a growth curve: it rises as x rises. With a between 0 and 1 it is a decay curve: it falls as x rises. In both cases the curve crosses the y axis at (0, 1), because a⁰ = 1. It also gets as close as you like to the x axis on one side, without touching it. A line that a curve approaches but never reaches is an asymptote. Here the asymptote is the x axis, the line y = 0.

A graph with the x axis x and the y axis y. A solid curve for y = 2ˣ rises from the left to the right. A dashed curve for y = 0.5ˣ falls from the left to the right. They are mirror images in the y axis. The point P is (−1, 2) on the dashed curve and the point Q is (1, 2) on the solid curve. A key under the graph names the solid curve y = 2ˣ and the dashed curve y = 0.5ˣ.PQ−3−2−112324680xyy = 2ˣy = 0.5ˣ
The curves y = 2ˣ and y = 0.5ˣ are mirror images in the y axis. P is (−1, 2) and Q is (1, 2).

The two curves in the last picture are mirror images because 0.5ˣ = (2⁻¹)ˣ = 2⁻ˣ. Swapping x for −x reflects a graph in the y axis. In general y = (1/a)ˣ is the reflection of y = aˣ in the y axis. For x above 0 a bigger base gives a steeper curve. For x below 0 the order is reversed, and 3ˣ lies below 2ˣ.

Now the reason aˣ is always positive. For a whole x above 0, aˣ is a product of positive numbers. For x below 0, aˣ is one over a positive number. A fractional power is a positive root, by our definition. For the rest, here is one argument that works for every x. First, aˣ is the square of a to the power x/2, and a square is never negative. Second, aˣ × a⁻ˣ = a⁰ = 1. A product equal to 1 has no zero factor, so aˣ is not 0. A number that is not negative and not zero is above zero. So aˣ > 0 for all real x.

Worked example

Sketch y = 2ˣ − 4. Give where it crosses each axis, its asymptote and its range.

  1. The graph of y = 2ˣ − 4 is the graph of y = 2ˣ moved down 4 units.
  2. Cross the y axis: put x = 0. Then y = 2⁰ − 4 = 1 − 4 = −3. The point is (0, −3).
  3. Cross the x axis: put y = 0. Then 2ˣ − 4 = 0, so 2ˣ = 4. This gives x = 2.
  4. On the far left 2ˣ is close to 0, so y is close to −4. The asymptote is the line y = −4.
  5. Since 2ˣ > 0, y = 2ˣ − 4 is above −4. The range is y > −4.

Answer: y-intercept (0, −3), x-intercept (2, 0), asymptote y = −4, range y > −4.

A graph with the x axis x and the y axis y. A solid curve rises from the left, close to the dashed line y = −4, crosses the y axis at the point (0, −3) and the x axis at the point (2, 0). The dashed line is named y = −4.(0, −3)(2, 0)y = −4−2−1234−848120xy
The graph of y = 2ˣ − 4 with its asymptote, the dashed line y = −4.

See it three ways

With things

A dose of 8 mg of a medicine is in the blood. Each hour half of what is there leaves. After 1 hour 4 mg is left, after 2 hours 2 mg, after 3 hours 1 mg.

As a picture

A graph with the x axis hours and the y axis dose (mg). A curve falls from the point (0, 8) through (1, 4), (2, 2) and (3, 1), getting flatter each hour.123424680hoursdose (mg)

In words

The dose halves every hour, so it falls fast at first and then slowly. It gets close to 0 but is never exactly 0.

In symbols

D = 8 × 0.5ˣ, where x is the time in hours. So D = 8 when x = 0, D = 4 when x = 1, D = 2 when x = 2 and D = 1 when x = 3.

Try it

Watch 2ˣ fill the gaps

You need: a scientific calculator, paper and a pencil.

  1. Work out 2¹, then 2 to the power 1.5, then 2² on the calculator. Use the power key.
  2. Now work out 2 to the power 1.9 and 2 to the power 2.1.
  3. Write the five results in order of x.

What you will see: The values climb smoothly: 2, 2.83, 3.73, 4, 4.29. There are no gaps and no jumps. The values for 1.9 and 2.1 sit just either side of 4.

If you cannot try it, this is what happens.
A table with the heads x and 2ˣ. Rows: 1 and 2; 1.5 and 2.83; 1.9 and 3.73; 2 and 4; 2.1 and 4.29.x2ˣ121.52.831.93.73242.14.29

A wrong idea many people have

A negative power gives a negative number, so 2⁻³ = −8.

Why it feels right: The minus sign in the power looks like it should turn the answer negative.

The test that breaks it: Use 2⁻¹ = 1 ÷ 2 = 0.5, 2⁻² = 0.25 and 2⁻³ = 0.125. Each step down divides by 2, and dividing a positive number by 2 stays positive.

What is true: A negative power means one over the positive power. It is small, but always above zero. Catch the slip by asking: is this number a product, a root or a reciprocal of positive numbers?

A wrong idea many people have

The graph of a decay curve crosses the x axis somewhere on the right.

Why it feels right: The curve falls and falls, so it seems it must reach 0.

The test that breaks it: Take y = 0.5ˣ. At x = 10 it is about 0.00098, at x = 20 about 0.00000095. Each value is half of one still above 0.

What is true: The x axis is an asymptote: the curve gets as close as you like but never touches it. The range of y = aˣ is y > 0, and the equation aˣ = 0 has no solution.

A wrong idea many people have

y = 2ˣ is the same kind of curve as y = x².

Why it feels right: Both climb quickly, and both have a 2 and an x.

The test that breaks it: Compare x = 3 and x = 10. For x² you get 9 and 100. For 2ˣ you get 8 and 1 024. Now try x = −3: x² gives 9, but 2ˣ gives 0.125.

What is true: In x² the letter is the base and the power is fixed. In 2ˣ the letter is the power and the base is fixed. The curve y = x² is symmetric and touches the x axis at 0. The curve y = 2ˣ is not symmetric and stays above the x axis.

Key words

exponential function
a rule f(x) = aˣ with a above 0 and a ≠ 1, where x is the power.
base
the number a in aˣ, which is multiplied by itself.
growth
the shape of y = aˣ when a is above 1. The values rise as x rises.
decay
the shape of y = aˣ when a is between 0 and 1. The values fall as x rises.
asymptote
a line that a curve gets closer to but never reaches.

Back to your guess

The answer is C: No. It is above zero for every x.

A negative power does not make a negative number. 2⁻³ means 1 ÷ 2³ = 1/8, which is small but above zero. And 2⁰ = 1. So 2ˣ is above zero for every x, and the graph never reaches the x axis.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. y = 9ˣ. Find y when x = 1.5.

    Tap your answer.
    1. Not this one. You multiplied 9 by 1.5. But the 1.5 is a power, not a number to multiply by. A power of 1.5 is 3/2: take the square root, then cube. Go to M4.1.3. Try another.

    2. Yes, that is right. The power 1.5 is 3/2. The square root of 9 is 3, and 3³ = 27.

    3. Not this one. You found 9 to the power 0.5, which is √9 = 3. But 1.5 is 1 + 0.5, so 9 to the power 1.5 is 9 × 3. Go to M4.1.3. Try another.

    4. Not this one. You rounded the power 1.5 up to 2 and worked out 9². The power is 1.5, so the answer is below 81. Go to M4.1.3. Try another.

    See the answer

    27

    The power 1.5 is 3/2. The square root of 9 is 3, and 3³ = 27.

    • If you chose A: You multiplied 9 by 1.5. But the 1.5 is a power, not a number to multiply by. A power of 1.5 is 3/2: take the square root, then cube. Go to M4.1.3.
    • If you chose C: You found 9 to the power 0.5, which is √9 = 3. But 1.5 is 1 + 0.5, so 9 to the power 1.5 is 9 × 3. Go to M4.1.3.
    • If you chose D: You rounded the power 1.5 up to 2 and worked out 9². The power is 1.5, so the answer is below 81. Go to M4.1.3.
  2. Which of these is a growth curve?

    Tap your answer.
    1. Yes, that is right. A curve y = aˣ grows when the base a is above 1. Each step right multiplies the value by 1.5, so the values rise.

    2. Not this one. Since 3⁻ˣ = (1/3)ˣ, the base is 1/3, which is between 0 and 1. The curve falls, so this is decay. Go to M5.2.1. Try another.

    3. Not this one. The base 1 gives y = 1 for every x. That is a flat line, not growth. Go to M5.2.1. Try another.

    4. Not this one. The base 0.6 is between 0 and 1. Each step right multiplies by 0.6, so the values fall. This is decay. Go to M5.2.1. Try another.

    See the answer

    y = 1.5ˣ

    A curve y = aˣ grows when the base a is above 1. Each step right multiplies the value by 1.5, so the values rise.

    • If you chose B: Since 3⁻ˣ = (1/3)ˣ, the base is 1/3, which is between 0 and 1. The curve falls, so this is decay. Go to M5.2.1.
    • If you chose C: The base 1 gives y = 1 for every x. That is a flat line, not growth. Go to M5.2.1.
    • If you chose D: The base 0.6 is between 0 and 1. Each step right multiplies by 0.6, so the values fall. This is decay. Go to M5.2.1.
  3. The graph shows y = aˣ. Which equation does it show?

    A graph with the x axis x and the y axis y. A curve falls from the left, crosses the y axis at the point (0, 1), and passes through the points (−1, 3) and (−2, 9).−3−2−1123690xy
    Tap your answer.
    1. Not this one. The curve y = 3ˣ rises to the right. It passes through (1, 3), not (−1, 3). This curve falls. Go to M5.2.1. Try another.

    2. Yes, that is right. The curve passes through (0, 1), and each step right divides y by 3: 9, 3, 1 at x = −2, −1, 0. So the base is 1/3.

    3. Not this one. Every value of −3ˣ is negative, so that graph lies below the x axis. This graph is above it. Go to M5.2.1. Try another.

    4. Not this one. The graph of y = x³ passes through the origin and goes negative on the left. This graph crosses the y axis at 1 and stays above the x axis. Go to M4.10.3. Try another.

    See the answer

    y = (1/3)ˣ

    The curve passes through (0, 1), and each step right divides y by 3: 9, 3, 1 at x = −2, −1, 0. So the base is 1/3.

    • If you chose A: The curve y = 3ˣ rises to the right. It passes through (1, 3), not (−1, 3). This curve falls. Go to M5.2.1.
    • If you chose C: Every value of −3ˣ is negative, so that graph lies below the x axis. This graph is above it. Go to M5.2.1.
    • If you chose D: The graph of y = x³ passes through the origin and goes negative on the left. This graph crosses the y axis at 1 and stays above the x axis. Go to M4.10.3.
  4. Which statement is true for every exponential graph y = aˣ with a > 0 and a ≠ 1?

    Tap your answer.
    1. Yes, that is right. For every base a, a⁰ = 1. So the point with x = 0 has y = 1 whatever the base.

    2. Not this one. The value aˣ is never 0, so the graph never meets the x axis. Go to M5.2.1. Try another.

    3. Not this one. That is true only when a is above 1. When a is between 0 and 1 the graph falls. Go to M5.2.1. Try another.

    4. Not this one. That fails for a = 0.5, where x = 1 gives 0.5. Go to M5.2.1. Try another.

    See the answer

    The graph passes through (0, 1).

    For every base a, a⁰ = 1. So the point with x = 0 has y = 1 whatever the base.

    • If you chose B: The value aˣ is never 0, so the graph never meets the x axis. Go to M5.2.1.
    • If you chose C: That is true only when a is above 1. When a is between 0 and 1 the graph falls. Go to M5.2.1.
    • If you chose D: That fails for a = 0.5, where x = 1 gives 0.5. Go to M5.2.1.
  5. Why can aˣ never be negative, for a > 0 and any real x?

    Tap your answer.
    1. Not this one. That is not a reason: multiplying a positive number by itself keeps it positive, but a power with a negative or fractional x needs its own argument. Go to M5.2.1. Try another.

    2. Yes, that is right. Writing x as two halves, aˣ is a to the power x over two, times itself. A number times itself is never negative. Also aˣ × a⁻ˣ = 1, so aˣ is not zero. That leaves aˣ above zero.

    3. Not this one. The graph is above the x axis because of the values. We do not choose the picture first. The values are above zero, and that is why the graph is there. Go to M5.2.1. Try another.

    4. Not this one. A negative power does give a reciprocal, but a reciprocal of a positive number is positive. That explains negative whole x only, not every x. Go to M5.2.1. Try another.

    See the answer

    Because aˣ is the square of a to the power x over two, and a square is never negative.

    Writing x as two halves, aˣ is a to the power x over two, times itself. A number times itself is never negative. Also aˣ × a⁻ˣ = 1, so aˣ is not zero. That leaves aˣ above zero.

    • If you chose A: That is not a reason: multiplying a positive number by itself keeps it positive, but a power with a negative or fractional x needs its own argument. Go to M5.2.1.
    • If you chose C: The graph is above the x axis because of the values. We do not choose the picture first. The values are above zero, and that is why the graph is there. Go to M5.2.1.
    • If you chose D: A negative power does give a reciprocal, but a reciprocal of a positive number is positive. That explains negative whole x only, not every x. Go to M5.2.1.
  6. What is the asymptote of the graph of y = 3ˣ − 2?

    Tap your answer.
    1. Not this one. The shift is up or down, so the asymptote is a horizontal line y = something. The line x = −2 is a vertical line. Go to M5.2.1. Try another.

    2. Not this one. The curve is moved down by 2, not up. The asymptote moves with it, to y = −2. Go to M5.2.1. Try another.

    3. Not this one. That is the asymptote of y = 3ˣ. The graph of y = 3ˣ − 2 has been moved down 2 units, and its asymptote moves with it. Go to M5.2.1. Try another.

    4. Yes, that is right. On the far left 3ˣ is close to 0, so y = 3ˣ − 2 is close to −2. The asymptote is the line y = −2.

    See the answer

    y = −2

    On the far left 3ˣ is close to 0, so y = 3ˣ − 2 is close to −2. The asymptote is the line y = −2.

    • If you chose A: The shift is up or down, so the asymptote is a horizontal line y = something. The line x = −2 is a vertical line. Go to M5.2.1.
    • If you chose B: The curve is moved down by 2, not up. The asymptote moves with it, to y = −2. Go to M5.2.1.
    • If you chose C: That is the asymptote of y = 3ˣ. The graph of y = 3ˣ − 2 has been moved down 2 units, and its asymptote moves with it. Go to M5.2.1.
  7. What is the range of y = 2ˣ + 1?

    Tap your answer.
    1. Not this one. That is the range of y = 2ˣ. Adding 1 moves every value up by 1. Go to M5.2.1. Try another.

    2. Not this one. The value 1 is never reached. 2ˣ is always above 0, so 2ˣ + 1 is always above 1, and the sign is > not ≥. Go to M5.2.1. Try another.

    3. Yes, that is right. Since 2ˣ > 0, adding 1 gives 2ˣ + 1 > 1. Every value above 1 is reached, and none at or below 1.

    4. Not this one. The curve stays above its asymptote, so it never takes values at or below 1. Go to M5.2.1. Try another.

    See the answer

    y > 1

    Since 2ˣ > 0, adding 1 gives 2ˣ + 1 > 1. Every value above 1 is reached, and none at or below 1.

    • If you chose A: That is the range of y = 2ˣ. Adding 1 moves every value up by 1. Go to M5.2.1.
    • If you chose B: The value 1 is never reached. 2ˣ is always above 0, so 2ˣ + 1 is always above 1, and the sign is > not ≥. Go to M5.2.1.
    • If you chose D: The curve stays above its asymptote, so it never takes values at or below 1. Go to M5.2.1.
  8. y = 25ˣ. Find y when x = 1.5.

    See the answer

    125

    The power 1.5 is 3/2. The square root of 25 is 5, and 5³ = 125.

  9. The graph of y = 2ˣ − 8 crosses the x axis at one point. Find its x value.

    See the answer

    3

    At the x axis y = 0, so 2ˣ = 8. Since 2³ = 8, x = 3.

  10. The graph of y = 3ˣ − 9 meets the y axis at (0, p) and the x axis at (q, 0). Its asymptote is y = r. Type p, q and r in that order, with commas.

    See the answer

    −8, 2, −9

    At x = 0, y = 3⁰ − 9 = 1 − 9 = −8, so p = −8. At y = 0, 3ˣ = 9, so q = 2. On the far left 3ˣ is near 0, so y is near −9 and r = −9.

  11. Show that 2ˣ + 2⁻ˣ is never less than 2, for any real x.

    See the answer

    Let u = 2ˣ, so u > 0 and 2⁻ˣ = 1/u. Then u + 1/u − 2 = (u − 1)²/u. The top is never negative and u is above 0, so u + 1/u − 2 ≥ 0. That gives 2ˣ + 2⁻ˣ ≥ 2.

    The key facts are that 2ˣ is above 0, so dividing by u is allowed and the sign of the fraction is the sign of the top. The top is a square. Equality holds when u = 1, which is x = 0.

Keep it

Copy this into your exercise book.

y = aˣ, a > 0, a ≠ 1: passes through (0, 1), always above the x axis. a > 1 grows, 0 < a < 1 decays. The x axis is an asymptote.

Draw: A rising curve and a falling curve crossing at (0, 1), with the x axis dashed.

M5.2.2 Chapter 2

Logarithms

We can solve 2ˣ = 32 by counting powers of 2. How do we write, and find, the answer to 2ˣ = 20?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

In the last chapter you found x from 2ˣ − 8 = 0 by trying powers: 2³ = 8. That works when the answer is a whole number. For 2ˣ = 20 no whole number works, because 2⁴ = 16 and 2⁵ = 32. The answer lies between 4 and 5. We need a name for it.

The logarithm of a number to a base is the power you must raise the base to, to get the number. In symbols, for a > 0, a ≠ 1 and b > 0: the log of b to the base a is x means aˣ = b. With base 2 we write log₂ 32 = 5, and say "log to the base 2 of 32 is 5". The name log is short for logarithm.

Two lines of symbols. The top line reads 2, ⁵, =, 32 with the words base over the 2, power over the ⁵ and number over the 32. The bottom line reads log₂, 32, =, 5 with the words base under log₂, number under 32 and power under 5. Three arrows run down: the base goes to log₂, the power goes to the 5, and the number goes to the 32 inside the log.basepowernumber2⁵=32log₂32=5basenumberpower
The same fact written two ways. The base stays the base. The power becomes the answer. The number goes inside the log.

The two forms say exactly the same thing. The first, 2⁵ = 32, is the index form. The second, log₂ 32 = 5, is the log form. To change one into the other, find the base, the power and the number, and put each in its new place as in the picture.

Two lines of symbols. The top line reads 2, ⁷, =, 128 with the words base over the 2, power over the ⁷ and number over the 128. The bottom line reads log₂, 128, =, 7 with the words base under log₂, number under 128 and power under 7. Three arrows run down: the base goes to log₂, the power goes to the 7, and the number goes to the 128 inside the log.basepowernumber2⁷=128log₂128=7basenumberpower
The switch for 2⁷ = 128.

Worked example

Write 2⁷ = 128 as a logarithm. Then write log₇ 49 = 2 as a power.

  1. In 2⁷ = 128 the base is 2, the power is 7 and the number is 128.
  2. The log of the number to the base is the power: log₂ 128 = 7.
  3. In log₇ 49 = 2 the base is 7, the number is 49 and the answer, 2, is the power.
  4. So the index form is 7² = 49.

Answer: log₂ 128 = 7 and 7² = 49.

Now work out a logarithm. To find log₃ 81, ask: 3 to which power gives 81? Count the powers of 3 upwards until you reach 81. If the number is a fraction, use negative powers. The next example does both.

Worked example

Work out log₃ 81 and log₂ (1/8) without a calculator.

  1. log₃ 81 asks: 3 to which power gives 81?
  2. Count the powers of 3: 3¹ = 3, 3² = 9, 3³ = 27, 3⁴ = 81.
  3. So log₃ 81 = 4.
  4. log₂ (1/8) asks: 2 to which power gives 1/8?
  5. A negative power gives a fraction. Since 2³ = 8, we have 2⁻³ = 1/8.
  6. So log₂ (1/8) = −3.

Answer: log₃ 81 = 4 and log₂ (1/8) = −3.

Some answers are given by the definition, with no counting. Since a⁰ = 1, the log of 1 to any base is 0. Since a¹ = a, the log of a to the base a is 1. More generally the log of aⁿ to the base a is n, because n is the power that gives aⁿ. And a to the power (the log of b to the base a) is b, because that log is the power that gives b.

There are limits. The number inside a log must be above 0. The reason is in chapter 1: aˣ is above 0 for every x, so no power of a gives 0 or a negative number. So log₂ 0 and log₂ (−4) do not exist. The base must be above 0 and not 1. If a = 1 then 1ˣ = 1 for every x, so log₁ 5 has no answer and log₁ 1 has too many.

A table with the heads x and log₂ x. Rows: 1/8 and −3; 1/4 and −2; 1/2 and −1; 1 and 0; 2 and 1; 4 and 2; 8 and 3.xlog₂ x1/8−31/4−21/2−110214283
Values of log₂ x. Each time x doubles, log₂ x goes up by 1.

Draw it first

The graph of y = log₂ x

  1. A graph with the x axis x and the y axis y. Step 1 plots five dots: (1/2, −1), (1, 0), (2, 1), (4, 2) and (8, 3). Step 2 joins them with one smooth curve that climbs steeply near the y axis and then rises more and more slowly.12345678−2−11230xy

    1 Plot the points (x, log₂ x) from the table.

  2. A graph with the x axis x and the y axis y. Step 1 plots five dots: (1/2, −1), (1, 0), (2, 1), (4, 2) and (8, 3). Step 2 joins them with one smooth curve that climbs steeply near the y axis and then rises more and more slowly.12345678−2−11230xy

    2 Join them with one smooth curve. It is steep near the y axis and then flattens, but it never stops rising.

The graph of y = log₂ x is the mirror image of y = 2ˣ in the line y = x. This is because log₂ is the inverse function of 2ˣ: it undoes it. If 2ˣ takes 3 to 8, then log₂ takes 8 back to 3. So each point (p, q) on y = 2ˣ gives a point (q, p) on y = log₂ x. The y axis is the asymptote of y = log₂ x, the way the x axis is for y = 2ˣ.

A graph with the x axis x and the y axis y, with equal units on both axes. A solid curve named y = 2ˣ rises steeply. A solid curve named y = log₂ x rises slowly from the lower left. A dashed straight line named y = x runs between them at 45 degrees. The two curves are mirror images in the dashed line. The point A is (3, 8) on the first curve and the point B is (8, 3) on the second.ABy = xy = 2ˣy = log₂ x2345678923456789xy
y = 2ˣ and y = log₂ x are mirror images in the line y = x. A is (3, 8) and B is (8, 3).

Calculators have a log key for base 10. In this book log with no base written means base 10. Some books use log for the natural logarithm, which you meet in chapter 5, so check your own paper. By the definition, log 10 = 1, log 100 = 2 and log 1 000 = 3. A value such as log 50 is not a whole number, and the calculator gives it as a decimal.

Logarithms turn multiplying into counting steps. In chemistry the pH of a solution is pH = −log₁₀ c, where c is the concentration of hydrogen ions in mol/dm³. A solution with c = 0.001 has pH 3. A solution with c = 0.00001 has pH 5, and its concentration is 100 times smaller. Each step of 1 on the pH scale is a factor of 10.

Worked example

Find x in each case. (a) The log to the base 5 of x is 3. (b) The log to the base x of 64 is 3. (c) log₂ (3x + 1) = 4.

  1. (a) Change to index form: x = 5³ = 125.
  2. (b) Change to index form: x³ = 64. The cube root of 64 is 4, so x = 4. A base must be above 0, and 4 is.
  3. (c) Change to index form: 3x + 1 = 2⁴ = 16.
  4. Take 1 from both sides: 3x = 15. Divide by 3: x = 5.
  5. Check (c): 3 × 5 + 1 = 16 is above 0, and log₂ 16 = 4. So x = 5 works.

Answer: (a) x = 125, (b) x = 4, (c) x = 5.

See it three ways

With things

A pile of seeds starts at 1 and doubles every day: 1, 2, 4, 8, 16, 32. To reach 32 it takes 5 doublings.

As a picture

A table with the heads doublings and seeds. Rows: 0 and 1; 1 and 2; 2 and 4; 3 and 8; 4 and 16; 5 and 32.doublingsseeds01122438416532

In words

The logarithm to the base 2 of the number of seeds counts how many doublings it took to get there.

In symbols

Since 2⁵ = 32, log₂ 32 = 5. Since 2³ = 8, log₂ 8 = 3.

Try it

Find logs on a calculator

You need: a scientific calculator, paper and a pencil.

  1. Press the log key, then 10, to find log 10.
  2. Find log 100, then log 1000.
  3. Find log 50 and log 5000. Write each result.

What you will see: The first three results are 1, 2 and 3. Each time the number is 10 times bigger, the log goes up by 1. The log of 50 is between 1 and 2, and the log of 5 000 is between 3 and 4.

If you cannot try it, this is what happens.
A table with the heads x and log x. Rows: 10 and 1; 100 and 2; 1 000 and 3; 50 and 1.699; 5 000 and 3.699.xlog x10110021 0003501.6995 0003.699

A wrong idea many people have

log₃ 81 = 81 ÷ 3 = 27.

Why it feels right: The word "log" and the 3 suggest a division by 3.

The test that breaks it: If log₃ 81 were 27, then 3 to the power 27 would be 81. But 3² = 9 and 3³ = 27 already, and 3²⁷ is a number with 13 digits. The correct power is the one that gives 81: 3⁴ = 81.

What is true: A log is a power, not a quotient. To find the log of b to the base a, ask: a to which power gives b? Catch the slip by changing it to index form and checking: 3²⁷ is not 81.

A wrong idea many people have

log₂ (−4) = −2, because 2² = 4.

Why it feels right: The number 4 appears, and a minus sign seems to move out to the answer.

The test that breaks it: If log₂ (−4) = −2 then 2⁻² would be −4. But 2⁻² = 1/4. No power of 2 gives −4, since every power of 2 is above 0.

What is true: A log exists only for a number above 0. Before you work out a log, check that the number inside is above 0. A calculator shows an error for log (−4).

A wrong idea many people have

log₂ 8 = 4, because 2 × 4 = 8.

Why it feels right: You are looking for a number that goes with 2 to make 8, and 2 × 4 is a familiar fact.

The test that breaks it: Change to index form. If log₂ 8 = 4 then 2⁴ = 8. But 2⁴ = 16. The power that gives 8 is 3, since 2 × 2 × 2 = 8.

What is true: The answer to a log is a power, so count how many times the base is multiplied, not what it is multiplied by. Catch the slip by changing to index form and checking.

Key words

logarithm
the power a base must be raised to, to give a number. The log of b to the base a is x when aˣ = b.
index form
a statement such as 2⁵ = 32, with a power.
log form
the same statement written with a log, log₂ 32 = 5.
inverse function
a function that undoes another. The log to the base a undoes aˣ.

Back to your guess

The answer is B: x = 5, because 2 × 2 × 2 × 2 × 2 = 32.

The power of 2 that gives 32 is 5, since 2⁵ = 32. We give this fact a name: log₂ 32 = 5, said "log to the base 2 of 32 is 5". For 2ˣ = 20 the power is between 4 and 5, and its name is log₂ 20. This chapter shows how to write, read and use such powers.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. Which of these is 5³ = 125 written as a logarithm?

    Tap your answer.
    1. Not this one. You used the power 3 as the base. In the log form the base stays the base, 5, and the power 3 becomes the answer. Go to M5.2.2. Try another.

    2. Not this one. You put the answer and the number the wrong way round. The number, 125, goes inside the log and the power, 3, is the answer. Go to M5.2.2. Try another.

    3. Not this one. You used the number 125 as the base. The base stays 5, and 125 goes inside the log. Go to M5.2.2. Try another.

    4. Yes, that is right. The base is 5, the power is 3 and the number is 125. In log form the base stays the base, the number goes inside the log, and the power is the answer.

    See the answer

    log₅ 125 = 3

    The base is 5, the power is 3 and the number is 125. In log form the base stays the base, the number goes inside the log, and the power is the answer.

    • If you chose A: You used the power 3 as the base. In the log form the base stays the base, 5, and the power 3 becomes the answer. Go to M5.2.2.
    • If you chose B: You put the answer and the number the wrong way round. The number, 125, goes inside the log and the power, 3, is the answer. Go to M5.2.2.
    • If you chose C: You used the number 125 as the base. The base stays 5, and 125 goes inside the log. Go to M5.2.2.
  2. What is log₄ 64?

    Tap your answer.
    1. Yes, that is right. Count powers of 4: 4¹ = 4, 4² = 16, 4³ = 64. So log₄ 64 = 3.

    2. Not this one. You divided 64 by 4. But a log is a power: it asks 4 to which power gives 64. Go to M5.2.2. Try another.

    3. Not this one. You multiplied 64 by 4. A log is the power, not a product. Go to M5.2.2. Try another.

    4. Not this one. You may have taken the square root of 64. The question is the power of 4 that gives 64: 4¹ = 4, 4² = 16, 4³ = 64. Go to M5.2.2. Try another.

    See the answer

    3

    Count powers of 4: 4¹ = 4, 4² = 16, 4³ = 64. So log₄ 64 = 3.

    • If you chose B: You divided 64 by 4. But a log is a power: it asks 4 to which power gives 64. Go to M5.2.2.
    • If you chose C: You multiplied 64 by 4. A log is the power, not a product. Go to M5.2.2.
    • If you chose D: You may have taken the square root of 64. The question is the power of 4 that gives 64: 4¹ = 4, 4² = 16, 4³ = 64. Go to M5.2.2.
  3. Which of these does not exist?

    Tap your answer.
    1. Not this one. The number 1/8 is above 0, so it does exist. 2⁻³ = 1/8, so log₂ (1/8) = −3. Go to M5.2.2. Try another.

    2. Not this one. The number 1 is above 0, so this exists. It is 0, since 10⁰ = 1. Go to M5.2.2. Try another.

    3. Yes, that is right. The number inside a log must be above 0, because no power of 5 is negative. The number here is −25, so the logarithm does not exist.

    4. Not this one. This exists. It is 1, since 3¹ = 3. Go to M5.2.2. Try another.

    See the answer

    log₅ (−25)

    The number inside a log must be above 0, because no power of 5 is negative. The number here is −25, so the logarithm does not exist.

    • If you chose A: The number 1/8 is above 0, so it does exist. 2⁻³ = 1/8, so log₂ (1/8) = −3. Go to M5.2.2.
    • If you chose B: The number 1 is above 0, so this exists. It is 0, since 10⁰ = 1. Go to M5.2.2.
    • If you chose D: This exists. It is 1, since 3¹ = 3. Go to M5.2.2.
  4. The log of 9 to the base a is 2. What is a?

    Tap your answer.
    1. Yes, that is right. In index form, a² = 9, so a = 3 or −3. A base must be above 0, so a = 3.

    2. Not this one. It is true that (−3)² = 9, but a base must be above 0. So only a = 3 is allowed. Go to M5.2.2. Try another.

    3. Not this one. You divided 9 by 2. The log form says a² = 9, so a is a square root of 9. Go to M5.2.2. Try another.

    4. Not this one. You squared 9. The index form is a² = 9, so a is the square root of 9, not 9 squared. Go to M5.2.2. Try another.

    See the answer

    3

    In index form, a² = 9, so a = 3 or −3. A base must be above 0, so a = 3.

    • If you chose B: It is true that (−3)² = 9, but a base must be above 0. So only a = 3 is allowed. Go to M5.2.2.
    • If you chose C: You divided 9 by 2. The log form says a² = 9, so a is a square root of 9. Go to M5.2.2.
    • If you chose D: You squared 9. The index form is a² = 9, so a is the square root of 9, not 9 squared. Go to M5.2.2.
  5. Work out log₆ 1 + log₆ 6.

    Tap your answer.
    1. Not this one. You may have thought every log of 1 or of the base is 0. Only log₆ 1 = 0. The other term, log₆ 6, is 1, because 6¹ = 6. Go to M5.2.2. Try another.

    2. Not this one. You added the numbers inside the logs. A log is a power: log₆ 1 is 0 and log₆ 6 is 1. Go to M5.2.2. Try another.

    3. Not this one. You may have taken log₆ 6 as 6. It is 1, because 6¹ = 6, so the sum is 0 + 1 = 1. Go to M5.2.2. Try another.

    4. Yes, that is right. log₆ 1 = 0 because 6⁰ = 1, and log₆ 6 = 1 because 6¹ = 6. The sum is 0 + 1 = 1.

    See the answer

    1

    log₆ 1 = 0 because 6⁰ = 1, and log₆ 6 = 1 because 6¹ = 6. The sum is 0 + 1 = 1.

    • If you chose A: You may have thought every log of 1 or of the base is 0. Only log₆ 1 = 0. The other term, log₆ 6, is 1, because 6¹ = 6. Go to M5.2.2.
    • If you chose B: You added the numbers inside the logs. A log is a power: log₆ 1 is 0 and log₆ 6 is 1. Go to M5.2.2.
    • If you chose C: You may have taken log₆ 6 as 6. It is 1, because 6¹ = 6, so the sum is 0 + 1 = 1. Go to M5.2.2.
  6. For which values of x does log₂ x exist?

    Tap your answer.
    1. Not this one. The value x = 0 is not allowed. No power of 2 gives 0, so log₂ 0 does not exist. Go to M5.2.2. Try another.

    2. Yes, that is right. The log is the inverse of 2ˣ, whose values are all above 0. So log₂ x exists for exactly the x above 0.

    3. Not this one. A power of 2 is never 0 or negative, so log₂ x has no value for x ≤ 0. Go to M5.2.2. Try another.

    4. Not this one. Numbers between 0 and 1 are allowed. For example log₂ (1/2) = −1, because 2⁻¹ = 1/2. Go to M5.2.2. Try another.

    See the answer

    x > 0

    The log is the inverse of 2ˣ, whose values are all above 0. So log₂ x exists for exactly the x above 0.

    • If you chose A: The value x = 0 is not allowed. No power of 2 gives 0, so log₂ 0 does not exist. Go to M5.2.2.
    • If you chose C: A power of 2 is never 0 or negative, so log₂ x has no value for x ≤ 0. Go to M5.2.2.
    • If you chose D: Numbers between 0 and 1 are allowed. For example log₂ (1/2) = −1, because 2⁻¹ = 1/2. Go to M5.2.2.
  7. The graph shows y = log x to some base a. What is a?

    A graph with the x axis x and the y axis y. A curve rises from the lower left, passes through the point (1, 0) and then through the point (9, 2), rising more and more slowly.(9, 2)36912−2−11230xy
    Tap your answer.
    1. Not this one. With base 2 the point with y = 2 would have x = 4, since log₂ 4 = 2. This graph has x = 9. Go to M5.2.2. Try another.

    2. Not this one. The 9 is the number inside the log, not the base. The point (9, 2) says the log of 9 to the base a is 2, so a² = 9. Go to M5.2.2. Try another.

    3. Yes, that is right. The point (9, 2) says the log of 9 to the base a is 2, which means a² = 9. A base is above 0, so a = 3.

    4. Not this one. You divided 9 by 2. The point (9, 2) says a² = 9, so a is a square root of 9. Go to M5.2.2. Try another.

    See the answer

    3

    The point (9, 2) says the log of 9 to the base a is 2, which means a² = 9. A base is above 0, so a = 3.

    • If you chose A: With base 2 the point with y = 2 would have x = 4, since log₂ 4 = 2. This graph has x = 9. Go to M5.2.2.
    • If you chose B: The 9 is the number inside the log, not the base. The point (9, 2) says the log of 9 to the base a is 2, so a² = 9. Go to M5.2.2.
    • If you chose D: You divided 9 by 2. The point (9, 2) says a² = 9, so a is a square root of 9. Go to M5.2.2.
  8. From an earlier chapter

    What is the range of y = 3ˣ − 1?

    Tap your answer.
    1. Not this one. That is the range of y = 3ˣ. Subtracting 1 moves every value down by 1. Go to M5.2.1. Try another.

    2. Yes, that is right. Since 3ˣ is above 0, 3ˣ − 1 is above −1. The curve gets as close to −1 as you like and never reaches it.

    3. Not this one. The curve is above its asymptote y = −1, not below. Since 3ˣ is above 0, 3ˣ − 1 is above −1. Go to M5.2.1. Try another.

    4. Not this one. The asymptote has moved down by 1 to y = −1, not up to y = 1. Go to M5.2.1. Try another.

    See the answer

    y > −1

    Since 3ˣ is above 0, 3ˣ − 1 is above −1. The curve gets as close to −1 as you like and never reaches it.

    • If you chose A: That is the range of y = 3ˣ. Subtracting 1 moves every value down by 1. Go to M5.2.1.
    • If you chose C: The curve is above its asymptote y = −1, not below. Since 3ˣ is above 0, 3ˣ − 1 is above −1. Go to M5.2.1.
    • If you chose D: The asymptote has moved down by 1 to y = −1, not up to y = 1. Go to M5.2.1.
  9. Work out log₂ 64.

    See the answer

    6

    Count the powers of 2: 2¹ = 2, 2² = 4, 2³ = 8, 2⁴ = 16, 2⁵ = 32, 2⁶ = 64. So log₂ 64 = 6.

  10. Solve log₂ (x + 3) = 5.

    See the answer

    x = 29

    In index form, x + 3 = 2⁵ = 32. So x = 32 − 3 = 29. Check: 29 + 3 = 32 is above 0 and log₂ 32 = 5.

  11. Find the base x for which the log of 1/16 to the base x is −2.

    See the answer

    4

    In index form, x to the power −2 is 1/16. So x² = 16, which gives x = 4 or x = −4. A base must be above 0, so x = 4.

  12. Find log₄ 8. Give your answer as a decimal.

    See the answer

    1.5

    Write 4ˣ = 8 with base 2: 4 = 2², so 2²ˣ = 2³. Then 2x = 3 and x = 1.5. Check: 4 to the power 1.5 is 2³ = 8.

Keep it

Copy this into your exercise book.

The log of b to the base a is x means aˣ = b (a > 0, a ≠ 1, b > 0). The log of 1 is 0. The log of the base is 1. The log undoes aˣ.

Draw: The index line over the log line with three arrows: base, power, number.

M5.2.3 Chapter 3

Laws of logarithms

Logarithms are powers, so they should follow the laws of powers. What do they let us do with a product, a quotient and a power?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

The laws of indices say a³ × a⁴ = a⁷: to multiply powers of one base, add the powers. A logarithm is a power. So adding logarithms should match multiplying numbers. That is the first law, the product law, and the picture shows it with lengths.

Two rows of bars drawn to scale. The top row has a hatched bar named log 2, with value 0.301, then a dotted bar named log 3, with value 0.477, end to end. The bottom row is one bar named log 6, with value 0.778, as long as the two above together. Dashed lines join the start and the end of the two rows. The line under them reads log 2 + log 3 = log 6.log 2log 3log 60.3010.4770.778log 2 + log 3 = log 6
Lengths drawn to scale, in base 10. The bar for log 2 and the bar for log 3, end to end, are as long as the bar for log 6.

Here are the three laws. They hold for logs to any one base a, with a > 0 and a ≠ 1, as long as every number inside a log is above 0. The base must be the same throughout.

A table with the head The three laws. Rows: log xy = log x + log y; log (x/y) = log x − log y; log (xⁿ) = n log x.The three lawslog xy = log x + log ylog (x/y) = log x − log ylog (xⁿ) = n log x
The product law, the quotient law and the power law, for x above 0 and y above 0. The power n can be any real number.

Worked example

Prove the product law: for x > 0 and y > 0, log (xy) = log x + log y, with every log to the base a.

  1. Let p be the log of x to the base a, and q the log of y. By the definition, x = a to the power p and y = a to the power q.
  2. Multiply: xy = (a to the power p) × (a to the power q).
  3. The law of indices says to add the powers: xy = a to the power (p + q).
  4. Read that as a logarithm: the power of a that gives xy is p + q. So the log of xy is p + q.
  5. Put back p and q: log (xy) = log x + log y.

Answer: log (xy) = log x + log y.

The other two laws come the same way. For the quotient law, x ÷ y is (a to the power p) ÷ (a to the power q), which is a to the power (p − q). So the log of x ÷ y is p − q. For the power law, xⁿ is (a to the power p) raised to n, which is a to the power np. So the log of xⁿ is np. Two special cases are worth knowing: n = −1 gives log (1/x) = −log x, and n = 1/2 gives log √x = 1/2 log x.

Two rows of bars drawn to scale. The top row has a hatched bar named log 3, with value 0.477, then a dotted bar named log 4, with value 0.602, end to end. The bottom row is one bar named log 12, with value 1.079, as long as the two above together. Dashed lines join the start and the end of the two rows. The line under them reads log 3 + log 4 = log 12.log 3log 4log 120.4770.6021.079log 3 + log 4 = log 12
Take the bar for log 3 away from the bar for log 12 and the bar for log 4 is left. That is the quotient law: log 12 − log 3 = log 4.

Worked example

Write 2 log 3 + log 4 as one logarithm.

  1. Use the power law on the first term: 2 log 3 = log (3²) = log 9.
  2. The sum is now log 9 + log 4.
  3. Use the product law and multiply the numbers inside: log 9 + log 4 = log (9 × 4) = log 36.
  4. So 2 log 3 + log 4 can be written as one logarithm, log 36.

Answer: 2 log 3 + log 4 = log 36.

Worked example

Given that log 2 = a and log 3 = b, with every log to base 10, write each of these in terms of a and b. (i) log 72. (ii) log 1.5. (iii) log 5.

  1. (i) 72 = 2³ × 3². So log 72 = log 2³ + log 3² = 3 log 2 + 2 log 3 = 3a + 2b.
  2. (ii) 1.5 = 3 ÷ 2. So log 1.5 = log 3 − log 2 = b − a.
  3. For (iii) we need 5 in terms of 2. Use 5 = 10 ÷ 2.
  4. In base 10 the log of 10 is 1. Since 10¹ = 10, the log of 10 is 1.
  5. (iii) log 5 = log 10 − log 2 = 1 − a.

Answer: (i) 3a + 2b, (ii) b − a, (iii) 1 − a.

Worked example

Show that log₂ 48 − log₂ 3 = 4.

  1. Both logs are to the base 2, so the quotient law applies.
  2. log₂ 48 − log₂ 3 = log₂ (48 ÷ 3).
  3. Work out the division: 48 ÷ 3 = 16.
  4. Since 2⁴ = 16, log₂ 16 = 4.
  5. So log₂ 48 − log₂ 3 = 4, as required.

Answer: log₂ 48 − log₂ 3 = log₂ 16 = 4.

There is one more rule, for a calculator that has only a base 10 key and a natural log key. The change of base formula lets you change the base of any logarithm. Here is the proof, then an example.

Worked example

Prove that the log of x to the base a is log x ÷ log a. The logs on the right are to any one base.

  1. Let y be the log of x to the base a. By the definition, a to the power y is x.
  2. Take the log of both sides, to any base: log (a to the power y) = log x.
  3. The power law moves y to the front: y log a = log x.
  4. Divide both sides by log a. This is allowed, because a ≠ 1 means log a is not 0: y = log x ÷ log a.
  5. So the log of x to the base a is log x ÷ log a.

Answer: The log of x to the base a is log x ÷ log a.

Worked example

Find log₅ 40 to 3 significant figures.

  1. The calculator log key is base 10, so change the base: log₅ 40 = log 40 ÷ log 5.
  2. log 40 = 1.60206 and log 5 = 0.69897, each to 5 decimal places.
  3. Divide: 1.60206 ÷ 0.69897 = 2.292.
  4. To 3 significant figures, log₅ 40 = 2.29.
  5. Check: 5² = 25 and 5³ = 125, and 40 is between them. So the answer must be between 2 and 3, and it is.

Answer: 2.29

See it three ways

With things

Two sticks are cut. One is log 4 units long, which is 0.602 units. The other is log 5 units long, which is 0.699 units. Laid end to end they are 1.301 units long, which is log 20.

As a picture

Two rows of bars drawn to scale. The top row has a hatched bar named log 4, with value 0.602, then a dotted bar named log 5, with value 0.699, end to end. The bottom row is one bar named log 20, with value 1.301, as long as the two above together. Dashed lines join the start and the end of the two rows. The line under them reads log 4 + log 5 = log 20.log 4log 5log 200.6020.6991.301log 4 + log 5 = log 20

In words

Adding the lengths of two logs gives the length of the log of the product. Multiplying numbers has become adding lengths.

In symbols

log 4 + log 5 = log (4 × 5) = log 20, and 0.602 + 0.699 = 1.301.

Try it

Test the product law

You need: a scientific calculator, paper and a pencil.

  1. Find log 8 and log 5. Write each to 3 decimal places.
  2. Add the two results.
  3. Now find log 40, which is 8 × 5, to 3 decimal places. Compare it with the sum.

What you will see: The sum of log 8 and log 5 and the value of log 40 are the same, 1.602. Adding logs gives the log of the product. Now try log 8 × log 5, and you get a different number.

If you cannot try it, this is what happens.
A table with the heads expression and value. Rows: log 8 and 0.903; log 5 and 0.699; log 8 + log 5 and 1.602; log 40 and 1.602.expressionvaluelog 80.903log 50.699log 8 + log 51.602log 401.602

A wrong idea many people have

log (a + b) = log a + log b.

Why it feels right: It looks like the way brackets spread in 2(a + b) = 2a + 2b. The log seems to be handed out to each term.

The test that breaks it: Put a = 10 and b = 10 in base 10. Then log (10 + 10) = log 20 = 1.301. But log 10 + log 10 = 1 + 1 = 2. The two sides are not equal.

What is true: A log is not a number that multiplies a bracket. It is a function, and log (a + b) cannot be split. The law adds logs only for a product: log a + log b = log (ab). Catch the slip by asking what the sign inside the bracket is. Only a product or a quotient inside lets a law work.

A wrong idea many people have

log x ÷ log y = log (x ÷ y), or log x − log y = log x ÷ log y.

Why it feels right: The quotient law has a division in it, so it is easy to put the division in the wrong place.

The test that breaks it: In base 10 take x = 100 and y = 10. Then log x ÷ log y = 2 ÷ 1 = 2. But log (x ÷ y) = log 10 = 1, and log x − log y = 2 − 1 = 1.

What is true: The difference of two logs is the log of the quotient: log x − log y = log (x ÷ y). The quotient of two logs, log x ÷ log y, has no simpler form. It appears only in the change of base formula.

A wrong idea many people have

(log x)² = 2 log x, and log (xy) = (log x)(log y).

Why it feels right: The power law moves a power to the front, and the product law has two logs in it. The pieces look interchangeable.

The test that breaks it: In base 10 take x = 10. Then (log x)² = 1² = 1, but 2 log x = 2. Also take x = 10 and y = 100: log (xy) = log 1 000 = 3, but (log x)(log y) = 1 × 2 = 2.

What is true: The power law is about a power inside the log: log (x²) = 2 log x. The square of a log, (log x)², is a different number. And the log of a product is the sum of the logs, not their product.

Key words

product law
log x + log y = log (xy), for logs to the same base and x, y above 0.
quotient law
log x − log y = log (x ÷ y).
power law
n log x = log (xⁿ), where n is any real number.
change of base formula
the log of x to the base a is log x ÷ log a, with both logs to any one base.

Back to your guess

The answer is A: log 10 + log 5 = log 50.

Adding logs multiplies the numbers inside. In base 10, log 10 = 1 and log 5 = 0.699, so the sum is 1.699. And log 50 = 1.699, because 50 = 10 × 5. The sum is not log 15. This chapter shows why, and what else follows.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. Which of these is equal to 2 log 5?

    Tap your answer.
    1. Yes, that is right. The power law moves the 2 to become a power inside the log: 2 log 5 = log (5²) = log 25.

    2. Not this one. You multiplied 2 by 5 and put the result inside the log. The power law makes the 2 a power: 2 log 5 = log (5²) = log 25. Go to M5.2.3. Try another.

    3. Not this one. That is the square of the number log 5. But 2 log 5 is twice that number. The power law turns 2 log 5 into the log of a square, log (5²). Go to M5.2.3. Try another.

    4. Not this one. You added 2 and 5 and put the result inside the log. The 2 is a multiplier, so it becomes a power: 2 log 5 = log 25. Go to M5.2.3. Try another.

    See the answer

    log 25

    The power law moves the 2 to become a power inside the log: 2 log 5 = log (5²) = log 25.

    • If you chose B: You multiplied 2 by 5 and put the result inside the log. The power law makes the 2 a power: 2 log 5 = log (5²) = log 25. Go to M5.2.3.
    • If you chose C: That is the square of the number log 5. But 2 log 5 is twice that number. The power law turns 2 log 5 into the log of a square, log (5²). Go to M5.2.3.
    • If you chose D: You added 2 and 5 and put the result inside the log. The 2 is a multiplier, so it becomes a power: 2 log 5 = log 25. Go to M5.2.3.
  2. Which statement is true for all x > 0 and y > 0, with every log to the same base?

    Tap your answer.
    1. Not this one. Put x = 1 and y = 1. The left side is log 2, which is not 0. The right side is 0 + 0 = 0. Go to M5.2.3. Try another.

    2. Not this one. Put x = 100 and y = 10 in base 10. The left side is log 90. The right side is 2 ÷ 1 = 2. They are different, and x − y can even be negative. Go to M5.2.3. Try another.

    3. Yes, that is right. This is the product law. The other three are common mistakes. A sum inside a log cannot be split. A quotient inside a log gives a difference of logs, not a quotient of logs.

    4. Not this one. Put x = 100 and y = 10 in base 10. The left side is log 10 = 1. The right side is 2 ÷ 1 = 2. The quotient law has a minus sign: log (x ÷ y) = log x − log y. Go to M5.2.3. Try another.

    See the answer

    log (xy) = log x + log y

    This is the product law. The other three are common mistakes. A sum inside a log cannot be split. A quotient inside a log gives a difference of logs, not a quotient of logs.

    • If you chose A: Put x = 1 and y = 1. The left side is log 2, which is not 0. The right side is 0 + 0 = 0. Go to M5.2.3.
    • If you chose B: Put x = 100 and y = 10 in base 10. The left side is log 90. The right side is 2 ÷ 1 = 2. They are different, and x − y can even be negative. Go to M5.2.3.
    • If you chose D: Put x = 100 and y = 10 in base 10. The left side is log 10 = 1. The right side is 2 ÷ 1 = 2. The quotient law has a minus sign: log (x ÷ y) = log x − log y. Go to M5.2.3.
  3. Work out log₃ 6 + log₃ 1.5.

    Tap your answer.
    1. Yes, that is right. The product law gives log₃ 6 + log₃ 1.5 = log₃ (6 × 1.5) = log₃ 9. Since 3² = 9, this is 2.

    2. Not this one. You added the numbers 6 and 1.5. The sum of two logs is the log of the product, 6 × 1.5. Go to M5.2.3. Try another.

    3. Not this one. You worked out the product 6 × 1.5 = 9 but then stopped. The sum is log₃ 9, and log₃ 9 is the power of 3 that gives 9. Go to M5.2.3. Try another.

    4. Not this one. You divided 6 by 1.5. A sum of logs goes with a product, not a quotient. Go to M5.2.3. Try another.

    See the answer

    2

    The product law gives log₃ 6 + log₃ 1.5 = log₃ (6 × 1.5) = log₃ 9. Since 3² = 9, this is 2.

    • If you chose B: You added the numbers 6 and 1.5. The sum of two logs is the log of the product, 6 × 1.5. Go to M5.2.3.
    • If you chose C: You worked out the product 6 × 1.5 = 9 but then stopped. The sum is log₃ 9, and log₃ 9 is the power of 3 that gives 9. Go to M5.2.3.
    • If you chose D: You divided 6 by 1.5. A sum of logs goes with a product, not a quotient. Go to M5.2.3.
  4. Which of these is equal to log √7?

    Tap your answer.
    1. Not this one. That is log (7²) = log 49. A square root is the power 1/2, not 2. Go to M5.2.3. Try another.

    2. Not this one. That is the square of the number log 7. A square root inside the log is a power inside the log, so the power law moves it to the front. Go to M5.2.3. Try another.

    3. Not this one. That is log (7 ÷ 2). A square root is not a division by 2. It is the power 1/2. Go to M5.2.3. Try another.

    4. Yes, that is right. The square root of 7 is 7 to the power 1/2. The power law brings that power to the front: log √7 = 1/2 log 7.

    See the answer

    1/2 log 7

    The square root of 7 is 7 to the power 1/2. The power law brings that power to the front: log √7 = 1/2 log 7.

    • If you chose A: That is log (7²) = log 49. A square root is the power 1/2, not 2. Go to M5.2.3.
    • If you chose B: That is the square of the number log 7. A square root inside the log is a power inside the log, so the power law moves it to the front. Go to M5.2.3.
    • If you chose C: That is log (7 ÷ 2). A square root is not a division by 2. It is the power 1/2. Go to M5.2.3.
  5. Which of these is equal to log₂ 9?

    Tap your answer.
    1. Not this one. You turned the fraction upside down. In the change of base formula the number inside the log goes on top: log 9 ÷ log 2. Go to M5.2.3. Try another.

    2. Not this one. That is log (9 ÷ 2) by the quotient law, a different number. Changing the base needs a division of two logs. Go to M5.2.3. Try another.

    3. Yes, that is right. The change of base formula says the log of x to the base a is log x ÷ log a. Here x = 9 and a = 2.

    4. Not this one. Changing the base divides. Check with a number you know: log₂ 8 = 3, and log 8 ÷ log 2 = 0.903 ÷ 0.301 = 3, but log 8 × log 2 is about 0.272. Go to M5.2.3. Try another.

    See the answer

    log 9 ÷ log 2

    The change of base formula says the log of x to the base a is log x ÷ log a. Here x = 9 and a = 2.

    • If you chose A: You turned the fraction upside down. In the change of base formula the number inside the log goes on top: log 9 ÷ log 2. Go to M5.2.3.
    • If you chose B: That is log (9 ÷ 2) by the quotient law, a different number. Changing the base needs a division of two logs. Go to M5.2.3.
    • If you chose D: Changing the base divides. Check with a number you know: log₂ 8 = 3, and log 8 ÷ log 2 = 0.903 ÷ 0.301 = 3, but log 8 × log 2 is about 0.272. Go to M5.2.3.
  6. The lower curve is y = log₂ x. The upper curve is y = log₂ (4x). It is a copy of the lower curve moved straight up. Which equation shows the upper curve as a moved copy?

    A graph with the x axis x and the y axis y. A solid curve named y = log₂ x passes through the point (1, 0) and rises slowly. A dashed curve named y = log₂ (4x) lies above it, passes through the point (1, 2), and has the same shape. A key under the graph names the solid curve y = log₂ x and the dashed curve y = log₂ (4x).12345678−2−112345xyy = log₂ xy = log₂ (4x)
    Tap your answer.
    1. Not this one. That would move the curve up by 4. The graph shows the point (1, 2), so the move is 2, not 4. The 4 is inside the log and becomes log₂ 4. Go to M5.2.3. Try another.

    2. Yes, that is right. The product law gives log₂ (4x) = log₂ 4 + log₂ x. Since 2² = 4, log₂ 4 = 2. So the curve is y = log₂ x + 2, the lower curve moved up by 2.

    3. Not this one. That would stretch the curve upwards, and at x = 1 it would stay at 0. The picture shows the curve at 2 when x = 1. Go to M5.2.3. Try another.

    4. Not this one. That would slide the curve left by 4, and it would not pass through (1, 2). The 4 multiplies x. It does not add to it. Go to M5.2.3. Try another.

    See the answer

    y = log₂ x + 2

    The product law gives log₂ (4x) = log₂ 4 + log₂ x. Since 2² = 4, log₂ 4 = 2. So the curve is y = log₂ x + 2, the lower curve moved up by 2.

    • If you chose A: That would move the curve up by 4. The graph shows the point (1, 2), so the move is 2, not 4. The 4 is inside the log and becomes log₂ 4. Go to M5.2.3.
    • If you chose C: That would stretch the curve upwards, and at x = 1 it would stay at 0. The picture shows the curve at 2 when x = 1. Go to M5.2.3.
    • If you chose D: That would slide the curve left by 4, and it would not pass through (1, 2). The 4 multiplies x. It does not add to it. Go to M5.2.3.
  7. From an earlier chapter

    What is log₂ 0.25?

    Tap your answer.
    1. Not this one. You may have ignored the fraction. 2² = 4, not 0.25. A number below 1 has a negative log. Go to M5.2.2. Try another.

    2. Yes, that is right. 0.25 = 1/4 = 2⁻². So the power of 2 that gives 0.25 is −2.

    3. Not this one. You may have worked from 0.25 = 1/4 and used the 4. The log of 1/4 is the power of 2 that gives 1/4: 2⁻² = 1/4, so the answer is −2. Go to M5.2.2. Try another.

    4. Not this one. You may have taken the square root of 0.25, which is 0.5. A log is the power of 2 that gives 0.25, and 2⁻² = 0.25. Go to M5.2.2. Try another.

    See the answer

    −2

    0.25 = 1/4 = 2⁻². So the power of 2 that gives 0.25 is −2.

    • If you chose A: You may have ignored the fraction. 2² = 4, not 0.25. A number below 1 has a negative log. Go to M5.2.2.
    • If you chose C: You may have worked from 0.25 = 1/4 and used the 4. The log of 1/4 is the power of 2 that gives 1/4: 2⁻² = 1/4, so the answer is −2. Go to M5.2.2.
    • If you chose D: You may have taken the square root of 0.25, which is 0.5. A log is the power of 2 that gives 0.25, and 2⁻² = 0.25. Go to M5.2.2.
  8. Work out log 8 + log 125.

    See the answer

    3

    The product law gives log 8 + log 125 = log (8 × 125) = log 1 000. Since 10³ = 1 000, the answer is 3.

  9. Given that log 2 = 0.30103 and log 3 = 0.47712, find log 54 to 4 decimal places.

    See the answer

    1.7324

    54 = 2 × 3³, so log 54 = log 2 + 3 log 3 = 0.30103 + 3 × 0.47712 = 0.30103 + 1.43136 = 1.73239, which is 1.7324 to 4 decimal places.

  10. Find log₆ 50 to 3 significant figures.

    See the answer

    2.18

    Change the base: log₆ 50 = log 50 ÷ log 6 = 1.69897 ÷ 0.77815 = 2.1834. To 3 significant figures this is 2.18. Check: 6² = 36 and 6³ = 216, and 50 is between them.

  11. Using log 2 = 0.301 and log 3 = 0.477, each to 3 decimal places, find log 1.5.

    Tap your answer.
    1. Yes, that is right. 1.5 = 3 ÷ 2, so the quotient law gives log 1.5 = log 3 − log 2 = 0.477 − 0.301 = 0.176.

    2. Not this one. You took log 2 − log 3. Since 1.5 = 3 ÷ 2, the quotient law gives log 3 − log 2. A number above 1 has a positive log. Go to M5.2.3. Try another.

    3. Not this one. You divided 0.477 by 0.301. The quotient law gives a difference of logs, not a quotient of logs. Go to M5.2.3. Try another.

    4. Not this one. You multiplied 0.301 by 1.5. The number 1.5 is inside the log, so it cannot multiply the log of 2. Go to M5.2.3. Try another.

    See the answer

    0.176

    1.5 = 3 ÷ 2, so the quotient law gives log 1.5 = log 3 − log 2 = 0.477 − 0.301 = 0.176.

    • If you chose B: You took log 2 − log 3. Since 1.5 = 3 ÷ 2, the quotient law gives log 3 − log 2. A number above 1 has a positive log. Go to M5.2.3.
    • If you chose C: You divided 0.477 by 0.301. The quotient law gives a difference of logs, not a quotient of logs. Go to M5.2.3.
    • If you chose D: You multiplied 0.301 by 1.5. The number 1.5 is inside the log, so it cannot multiply the log of 2. Go to M5.2.3.
  12. Given that log 2 = a and log 3 = b, write log 18 in terms of a and b. Give your answer in the form a + ...

    See the answer

    a + 2b

    18 = 2 × 3², so log 18 = log 2 + log (3²) = log 2 + 2 log 3 = a + 2b.

Keep it

Copy this into your exercise book.

log xy = log x + log y. log (x/y) = log x − log y. log (xⁿ) = n log x. Same base. No law for log (x + y). Change of base: the log of x to base a is log x ÷ log a.

Draw: Two bars end to end, log x and log y, and one bar under them for log xy.

M5.2.4 Chapter 4

Equations with powers

How do we solve an equation where the unknown is in a power, such as 3ˣ = 20, when trying numbers is slow?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

In chapter 2 you solved 2ˣ = 64 by counting powers. For 3ˣ = 20 that fails, because 20 is not a power of 3. We need a tool that brings the power x down to the ground. The power law of logarithms does exactly this: log (aˣ) = x log a.

The method for aˣ = b has three moves. First take logs of both sides. This is allowed because both sides are above 0, and two equal numbers have equal logs. Second use the power law to bring x down. Third divide by log a. The answer is x = log b ÷ log a, with the logs to any one base. A calculator log key uses base 10.

Worked example

Solve 3ˣ = 20. Give x to 3 significant figures.

  1. Estimate first. 3² = 9 and 3³ = 27, and 20 is between them. So x is between 2 and 3.
  2. Take logs of both sides: log (3ˣ) = log 20.
  3. The power law brings x down: x log 3 = log 20.
  4. Divide both sides by log 3: x = log 20 ÷ log 3.
  5. Use log 20 = 1.30103 and log 3 = 0.47712. Then x = 1.30103 ÷ 0.47712 = 2.7268.
  6. Round once, at the end. To 3 significant figures, x = 2.73. This agrees with the estimate.

Answer: x = 2.73

A graph with the x axis x and the y axis y. A curve for y = 3ˣ rises from the point (0, 1). A dashed horizontal line named y = 20 crosses it at the point (2.73, 20). Dashed guide lines from that point meet the axes. The point is named (2.73, 20).(2.73, 20)y = 2012341020300xy
The solution of 3ˣ = 20 is the x value where the curve y = 3ˣ meets the line y = 20.

Often the unknown is in a longer power, or in a power on both sides. The moves are the same. Take logs, bring the powers down, and collect every term in x on one side. Keep the brackets: a power such as 2x − 1 must be multiplied by log 3 as a whole.

Worked example

Solve 3²ˣ⁻¹ = 7ˣ. Give x to 3 significant figures.

  1. Take logs of both sides: log (3²ˣ⁻¹) = log (7ˣ).
  2. Bring the powers down. The whole power 2x − 1 multiplies log 3: (2x − 1) log 3 = x log 7.
  3. Expand the bracket: 2x log 3 − log 3 = x log 7.
  4. Collect the x terms on one side: 2x log 3 − x log 7 = log 3.
  5. Factorise: x (2 log 3 − log 7) = log 3. So x = log 3 ÷ (2 log 3 − log 7).
  6. Use log 3 = 0.47712 and log 7 = 0.84510. Then 2 log 3 − log 7 = 0.95424 − 0.84510 = 0.10914.
  7. Divide: x = 0.47712 ÷ 0.10914 = 4.3716. To 3 significant figures, x = 4.37.

Answer: x = 4.37

Be careful with an inequality. A log to a base above 1 keeps the order, so if one number is bigger, its log is bigger. But the log of a number between 0 and 1 is negative. When you divide both sides by a negative number, the inequality sign flips.

Worked example

A sample has a mass of 1 kg and halves every hour. After x hours its mass is 0.5ˣ kg. Find when the mass is below 0.1 kg. Give the smallest whole number of hours.

  1. We need 0.5ˣ < 0.1.
  2. Take logs of both sides: x log 0.5 < log 0.1.
  3. Now log 0.5 = −0.30103 and log 0.1 = −1. Both are negative.
  4. Divide by log 0.5, which is negative. The sign flips: x > log 0.1 ÷ log 0.5.
  5. To 3 significant figures, x > −1 ÷ −0.30103 = 3.32.
  6. The smallest whole number above 3.32 is 4. Check: 0.5⁴ = 0.0625, which is below 0.1, and 0.5³ = 0.125, which is not.

Answer: x > 3.32, so the smallest whole number of hours is 4.

A graph with the x axis hours and the y axis mass (kg). A curve for the mass falls from the point (0, 1) towards the x axis. A dashed horizontal line named y = 0.1 meets it at the point A, (3.32, 0.1). Dashed guide lines from that point meet the axes. To the right of that point the curve is below the line.Ay = 0.11234560.510hoursmass (kg)
The mass is below 0.1 kg to the right of the point A, (3.32, 0.1), where the curve is under the line.

Some equations look new but are a quadratic in disguise. In 4ˣ − 5(2ˣ) + 4 = 0 the base 4 is 2². So 4ˣ = (2²)ˣ = (2ˣ)². Both powers are now powers of 2ˣ. Write u for 2ˣ and the equation becomes a quadratic in u. Solve for u, then go back to x. One fact decides which roots you keep: 2ˣ is always above 0, so u must be above 0.

Worked example

Solve 4ˣ − 5(2ˣ) + 4 = 0.

  1. Write 4ˣ as (2ˣ)². Let u = 2ˣ. The equation becomes u² − 5u + 4 = 0.
  2. Factorise: (u − 1)(u − 4) = 0. So u = 1 or u = 4.
  3. Both are above 0, so both can be 2ˣ. Go back to x.
  4. Because 2⁰ = 1, the equation 2ˣ = 1 gives x = 0.
  5. Because 2² = 4, the equation 2ˣ = 4 gives x = 2.
  6. Check x = 0: 4⁰ − 5(2⁰) + 4 = 1 − 5 + 4 = 0. Check x = 2: 16 − 20 + 4 = 0. Both work.

Answer: x = 0 or x = 2.

A graph with the x axis x and the y axis y. A curve for y = 4ˣ − 5(2ˣ) + 4 comes down from the upper left, crosses the x axis at the point (0, 0), dips below the axis, then crosses it again at the point (2, 0) and climbs steeply. The two crossing points are named A, at (0, 0), and B, at (2, 0).AB−1123−4480xy
The curve y = 4ˣ − 5(2ˣ) + 4 meets the x axis at A, (0, 0), and B, (2, 0). These are the two solutions, x = 0 and x = 2.

The power may be shifted, as in 2²ˣ⁺¹. Split it with the law of indices: 2²ˣ⁺¹ = 2²ˣ × 2¹ = 2 × (2ˣ)². The 2 in front changes the quadratic, so it may not factorise as simply. The same rules apply: u = 2ˣ must be above 0.

Worked example

Solve 2²ˣ⁺¹ − 5(2ˣ) + 2 = 0.

  1. Split the power: 2²ˣ⁺¹ = 2²ˣ × 2¹ = 2 × (2ˣ)².
  2. Let u = 2ˣ. The equation becomes 2u² − 5u + 2 = 0.
  3. Factorise: (2u − 1)(u − 2) = 0. So u = 1/2 or u = 2.
  4. Both are above 0, so both can be 2ˣ.
  5. Because 2⁻¹ = 1/2, the equation 2ˣ = 1/2 gives x = −1.
  6. Because 2¹ = 2, the equation 2ˣ = 2 gives x = 1.
  7. Check x = 1: 2³ − 5(2) + 2 = 8 − 10 + 2 = 0. Check x = −1: 2⁻¹ − 5(2⁻¹) + 2 = 0.5 − 2.5 + 2 = 0.

Answer: x = −1 or x = 1.

Worked example

Solve 9ˣ − 4(3ˣ) − 5 = 0. Give any answer that is not exact to 3 significant figures.

  1. Write 9ˣ as (3ˣ)². Let u = 3ˣ. Then u² − 4u − 5 = 0.
  2. Factorise: (u − 5)(u + 1) = 0. So u = 5 or u = −1.
  3. Now u = 3ˣ, and 3ˣ is always above 0. So u = −1 has no solution for x.
  4. Only u = 5 is left: 3ˣ = 5.
  5. Take logs: x log 3 = log 5, so x = log 5 ÷ log 3 = 0.69897 ÷ 0.47712 = 1.46498.
  6. To 3 significant figures, x = 1.46, rounded once from 1.46498. There is only one solution.

Answer: x = 1.46

Equations with logs in them need a different set of checks. Use the laws to write one log, change to index form, and solve. Then test every answer: each number inside an original log must be above 0. An answer that makes a number inside a log zero or negative is an extraneous root, and it must be thrown away.

Worked example

Solve log₂ x + log₂ (x − 2) = 3.

  1. Both logs are to the base 2, so use the product law: log₂ [x(x − 2)] = 3.
  2. Change to index form: x(x − 2) = 2³ = 8.
  3. Expand and collect: x² − 2x − 8 = 0.
  4. Factorise: (x − 4)(x + 2) = 0. So x = 4 or x = −2.
  5. Test the answers in the original equation. We need x above 0 and x − 2 above 0, so x must be above 2.
  6. The value x = −2 breaks both rules, so reject it. For x = 4: log₂ 4 + log₂ 2 = 2 + 1 = 3. So x = 4.

Answer: x = 4

Three more kinds of equation with logs come up in exams. When the bases differ, change them to one base. When a log appears as a square and on its own, call it y. When two logs are tied in a pair of equations, use the product and quotient laws to turn the pair into two ordinary equations. In every case, test each answer against the rule that numbers inside a log must be above 0.

Worked example

Solve log₂ x = log₄ (x + 6).

  1. The bases differ, so change log₄ to base 2: log₄ (x + 6) = log₂ (x + 6) ÷ log₂ 4.
  2. Since 2² = 4, log₂ 4 = 2. So log₄ (x + 6) = 1/2 log₂ (x + 6).
  3. The equation becomes log₂ x = 1/2 log₂ (x + 6). Multiply both sides by 2: 2 log₂ x = log₂ (x + 6).
  4. The power law makes the left side log₂ (x²). So log₂ (x²) = log₂ (x + 6).
  5. Equal logs to the same base mean equal numbers inside: x² = x + 6, so x² − x − 6 = 0.
  6. Factorise: (x − 3)(x + 2) = 0. So x = 3 or x = −2.
  7. We need x above 0 for log₂ x. So reject x = −2. Check x = 3: log₂ 3 = 1.585 and log₄ 9 = 1.585. So x = 3.

Answer: x = 3

Worked example

Solve (log₂ x)² − 3 log₂ x + 2 = 0.

  1. The log appears as a square and on its own. Let y = log₂ x. The equation becomes y² − 3y + 2 = 0.
  2. Factorise: (y − 1)(y − 2) = 0. So y = 1 or y = 2.
  3. Go back to x. If log₂ x = 1, then x = 2¹ = 2.
  4. If log₂ x = 2, then x = 2² = 4.
  5. Both are above 0, so both are allowed. Check x = 4: (log₂ 4)² − 3 log₂ 4 + 2 = 4 − 6 + 2 = 0.

Answer: x = 2 or x = 4.

Worked example

Solve log₃ x + log₃ y = 4 and log₃ x − log₃ y = 2 together.

  1. Use the product law on the first equation: log₃ (xy) = 4. So xy = 3⁴ = 81.
  2. Use the quotient law on the second: log₃ (x ÷ y) = 2. So x ÷ y = 3² = 9, which gives x = 9y.
  3. Put x = 9y into xy = 81: 9y² = 81. So y² = 9.
  4. Then y = 3 or y = −3. A log needs y above 0, so y = 3.
  5. Then x = 9 × 3 = 27. Check: log₃ 27 + log₃ 3 = 3 + 1 = 4, and log₃ 27 − log₃ 3 = 3 − 1 = 2.

Answer: x = 27 and y = 3.

See it three ways

With things

A pile of 1 seed doubles every day: 1, 2, 4, 8, 16. The pile passes 12 seeds between day 3 (8 seeds) and day 4 (16 seeds).

As a picture

A graph with the x axis days and the y axis seeds. A curve for the number of seeds rises from the point (0, 1). A dashed horizontal line named y = 12 meets it at the point (3.58, 12), named (3.58, 12). Dashed guide lines from that point meet the axes.(3.58, 12)y = 1212345481216200daysseeds

In words

The pile reaches 12 seeds after a bit more than 3.5 days. The graph shows where the curve meets the line at 12, and logs give that point exactly.

In symbols

2ˣ = 12, so x = log 12 ÷ log 2 = 1.07918 ÷ 0.30103 = 3.58496, which is 3.58 to 2 decimal places.

A table with the heads equation and first move. Rows: aˣ = b and take logs; quadratic in aˣ and let u = aˣ; log x + log y and one log.equationfirst moveaˣ = btake logsquadratic in aˣlet u = aˣlog x + log yone log
Three kinds of equation in this chapter and the first move for each.

Try it

Check a solution on a calculator

You need: a scientific calculator, paper and a pencil.

  1. Work out 3 to the power 2.73 with the power key.
  2. Work out 3 to the power 2.727 and 3 to the power 2.7268.
  3. Write the three results to 2 decimal places.

What you will see: The results get closer to 20 as the power gets closer to the exact value of x. A solution found by logs can always be checked this way. Put it back in the equation and see if you get 20.

If you cannot try it, this is what happens.
A table with the heads power and value. Rows: 2.73 and 20.07; 2.727 and 20.00; 2.7268 and 20.00.powervalue2.7320.072.72720.002.726820.00

A wrong idea many people have

To solve 3ˣ = 20, divide: x = 20 ÷ 3. Or write x = log (20 ÷ 3).

Why it feels right: In 3x = 20 you divide by 3. And the log of a quotient is a familiar law, so a log with 20 ÷ 3 inside looks tidy.

The test that breaks it: If x = 20 ÷ 3 = 6.67, then 3ˣ is about 1 500, not 20. If x = log (20 ÷ 3) = 0.824, then 3ˣ is about 2.5, not 20. Neither works. The correct x = 2.73 gives 20.

What is true: Here x is a power, so division by 3 does not undo it. The log undoes it: x = log 20 ÷ log 3, a quotient of two logs. The quotient law of logs is about a difference, not this. Catch the slip by putting your answer back into 3ˣ. Also keep two more figures than you need until the last line, and round once.

A wrong idea many people have

Both roots of the quadratic in u always give a solution for x.

Why it feels right: Both roots solve the quadratic. Handing back only one feels like losing half the answer.

The test that breaks it: In 9ˣ − 4(3ˣ) − 5 = 0 the roots are u = 5 and u = −1. Try 3ˣ = −1. No power of 3 is negative, so there is no real x, and a log of −1 does not exist.

What is true: A root for u must satisfy u = aˣ, which is above 0. Throw away any root with u ≤ 0. The same rule applies to a log equation: reject any answer that puts zero or a negative number inside a log.

A wrong idea many people have

Solving 4ˣ − 5(2ˣ) + 4 = 0 gives only x = 2, because x = 0 is too plain to count.

Why it feels right: The root u = 4 gives the clear answer 2ˣ = 4, x = 2. The root u = 1 gives x = 0, which does not look like a power.

The test that breaks it: Put x = 0 into the equation: 4⁰ − 5(2⁰) + 4 = 1 − 5 + 4 = 0. It works. So x = 0 is a solution, and giving only x = 2 loses it.

What is true: A quadratic in u has two roots, and each positive root gives an x. The value 2⁰ = 1 means x = 0 is a normal answer. Catch the slip by solving for every root of u before going back to x, then checking each in the original equation.

A wrong idea many people have

Dividing by a negative log does not change the inequality sign.

Why it feels right: For positive numbers the sign never changes, and the log sign is easy to forget.

The test that breaks it: For 0.5ˣ < 0.1, take logs: x log 0.5 < log 0.1, where log 0.5 is negative. Without a flip, x < 3.32, and x = 1 would pass. But 0.5¹ = 0.5, which is not below 0.1. With the flip, x > 3.32, and x = 4 gives 0.0625.

What is true: Dividing both sides of an inequality by a negative number reverses it. A base between 0 and 1 gives a negative log. Catch the slip by testing a value of x on each side of your boundary.

Key words

take logs
apply a log to both sides of an equation, to bring a power down with the power law.
quadratic in disguise
an equation with two powers of the same kind, such as 4ˣ and 2ˣ, that becomes a quadratic after a substitution.
extraneous root
an answer found by correct algebra that fails the original equation, such as a value that puts a negative number inside a log.

Back to your guess

The answer is B: x is between 2 and 3.

Since 3² = 9 and 3³ = 27, and 20 lies between 9 and 27, the power x lies between 2 and 3. The value 20 ÷ 3 is wrong because x is a power, not a number to divide by. To find x exactly we take logarithms, which this chapter shows step by step.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. Which of these is the solution of 5ˣ = 12?

    Tap your answer.
    1. Not this one. x is a power, and dividing by 5 does not undo a power. 5 to the power 2.4 is about 48, not 12. Go to M5.2.4. Try another.

    2. Not this one. The log of a quotient is a difference of logs, log 12 − log 5. It is not the quotient of two logs. Check: 5 to the power 0.38 is about 1.8, not 12. Go to M5.2.4. Try another.

    3. Yes, that is right. Taking logs gives x log 5 = log 12. Divide by log 5 to get x = log 12 ÷ log 5, about 1.54.

    4. Not this one. You turned the fraction upside down. Since 5¹ = 5 is below 12, x must be above 1. This answer is below 1. Go to M5.2.4. Try another.

    See the answer

    x = log(12) ÷ log(5)

    Taking logs gives x log 5 = log 12. Divide by log 5 to get x = log 12 ÷ log 5, about 1.54.

    • If you chose A: x is a power, and dividing by 5 does not undo a power. 5 to the power 2.4 is about 48, not 12. Go to M5.2.4.
    • If you chose B: The log of a quotient is a difference of logs, log 12 − log 5. It is not the quotient of two logs. Check: 5 to the power 0.38 is about 1.8, not 12. Go to M5.2.4.
    • If you chose D: You turned the fraction upside down. Since 5¹ = 5 is below 12, x must be above 1. This answer is below 1. Go to M5.2.4.
  2. Solve 16ˣ − 20(4ˣ) + 64 = 0.

    Tap your answer.
    1. Yes, that is right. Let u = 4ˣ. Then 16ˣ = u², and u² − 20u + 64 = 0, which is (u − 4)(u − 16) = 0. So 4ˣ = 4 gives x = 1, and 4ˣ = 16 gives x = 2.

    2. Not this one. The root u = 4 gives x = 1. You have lost a solution. Each positive root of u gives a value of x. Go to M5.2.4. Try another.

    3. Not this one. Those come from factorising with the wrong signs, (u + 4)(u + 16). The quadratic is u² − 20u + 64, so the roots are positive. Go to M5.2.4. Try another.

    4. Not this one. These are the values of u = 4ˣ. You must go back to x: 4ˣ = 4 gives x = 1 and 4ˣ = 16 gives x = 2. Go to M5.2.4. Try another.

    See the answer

    x = 1 or x = 2

    Let u = 4ˣ. Then 16ˣ = u², and u² − 20u + 64 = 0, which is (u − 4)(u − 16) = 0. So 4ˣ = 4 gives x = 1, and 4ˣ = 16 gives x = 2.

    • If you chose B: The root u = 4 gives x = 1. You have lost a solution. Each positive root of u gives a value of x. Go to M5.2.4.
    • If you chose C: Those come from factorising with the wrong signs, (u + 4)(u + 16). The quadratic is u² − 20u + 64, so the roots are positive. Go to M5.2.4.
    • If you chose D: These are the values of u = 4ˣ. You must go back to x: 4ˣ = 4 gives x = 1 and 4ˣ = 16 gives x = 2. Go to M5.2.4.
  3. Solve log₃ x + log₃ (x − 8) = 2.

    Tap your answer.
    1. Not this one. You found both roots of x² − 8x − 9 = 0, but x = −1 puts −1 inside a log. Every number inside a log must be above 0, so it must be rejected. Go to M5.2.4. Try another.

    2. Not this one. You may have taken 2 times 9. The product law gives x(x − 8) = 3² = 9, which is the quadratic x² − 8x − 9 = 0. Go to M5.2.4. Try another.

    3. Not this one. x = −1 is the root that does not work. It makes x negative, and the log of a negative number does not exist. Go to M5.2.4. Try another.

    4. Yes, that is right. The product law gives log₃ [x(x − 8)] = 2, so x(x − 8) = 9, and x² − 8x − 9 = (x − 9)(x + 1) = 0. We need x > 8, so x = −1 is rejected. Check: log₃ 9 + log₃ 1 = 2 + 0 = 2.

    See the answer

    x = 9 only

    The product law gives log₃ [x(x − 8)] = 2, so x(x − 8) = 9, and x² − 8x − 9 = (x − 9)(x + 1) = 0. We need x > 8, so x = −1 is rejected. Check: log₃ 9 + log₃ 1 = 2 + 0 = 2.

    • If you chose A: You found both roots of x² − 8x − 9 = 0, but x = −1 puts −1 inside a log. Every number inside a log must be above 0, so it must be rejected. Go to M5.2.4.
    • If you chose B: You may have taken 2 times 9. The product law gives x(x − 8) = 3² = 9, which is the quadratic x² − 8x − 9 = 0. Go to M5.2.4.
    • If you chose C: x = −1 is the root that does not work. It makes x negative, and the log of a negative number does not exist. Go to M5.2.4.
  4. Solve 0.5ˣ > 8.

    Tap your answer.
    1. Not this one. You did not flip the sign. Since 0.5ˣ gets smaller as x grows, the values above 8 are on the left, not the right. Go to M5.2.4. Try another.

    2. Yes, that is right. Since 0.5⁻³ = 8, the boundary is x = −3. The curve y = 0.5ˣ falls as x rises, so it is above 8 for x less than −3. With logs: x log 0.5 > log 8, and dividing by the negative log 0.5 flips the sign.

    3. Not this one. Check x = 4: 0.5⁴ = 0.0625, which is not above 8. A decay curve is above 8 only on the far left. Go to M5.2.4. Try another.

    4. Not this one. Check x = 0: 0.5⁰ = 1, which is not above 8. The boundary is at a negative x. Go to M5.2.4. Try another.

    See the answer

    x < −3

    Since 0.5⁻³ = 8, the boundary is x = −3. The curve y = 0.5ˣ falls as x rises, so it is above 8 for x less than −3. With logs: x log 0.5 > log 8, and dividing by the negative log 0.5 flips the sign.

    • If you chose A: You did not flip the sign. Since 0.5ˣ gets smaller as x grows, the values above 8 are on the left, not the right. Go to M5.2.4.
    • If you chose C: Check x = 4: 0.5⁴ = 0.0625, which is not above 8. A decay curve is above 8 only on the far left. Go to M5.2.4.
    • If you chose D: Check x = 0: 0.5⁰ = 1, which is not above 8. The boundary is at a negative x. Go to M5.2.4.
  5. From an earlier chapter

    Which of these is equal to 3 log 2 + log 5?

    Tap your answer.
    1. Not this one. You multiplied 3, 2 and 5. The 3 is a multiplier, so it becomes a power of 2: 3 log 2 = log 2³ = log 8. Go to M5.2.3. Try another.

    2. Not this one. You worked out 3 × 2 + 5. The sum of logs is the log of the product, not the log of the sum. Go to M5.2.3. Try another.

    3. Yes, that is right. The power law gives 3 log 2 = log (2³) = log 8. The product law gives log 8 + log 5 = log (8 × 5) = log 40.

    4. Not this one. You may have used the 3 as a power of both numbers: (2 × 5)³ = 1 000. The 3 belongs to the 2 only: log 8 + log 5 = log 40. Go to M5.2.3. Try another.

    See the answer

    log 40

    The power law gives 3 log 2 = log (2³) = log 8. The product law gives log 8 + log 5 = log (8 × 5) = log 40.

    • If you chose A: You multiplied 3, 2 and 5. The 3 is a multiplier, so it becomes a power of 2: 3 log 2 = log 2³ = log 8. Go to M5.2.3.
    • If you chose B: You worked out 3 × 2 + 5. The sum of logs is the log of the product, not the log of the sum. Go to M5.2.3.
    • If you chose D: You may have used the 3 as a power of both numbers: (2 × 5)³ = 1 000. The 3 belongs to the 2 only: log 8 + log 5 = log 40. Go to M5.2.3.
  6. Solve 3ˣ = 50. Give x to 3 significant figures.

    See the answer

    3.56

    Take logs: x log 3 = log 50. So x = log 50 ÷ log 3 = 1.69897 ÷ 0.47712 = 3.5609, which is 3.56 to 3 significant figures.

  7. A culture has 500 cells and the number triples every hour. After how many whole hours does it first have more than 1 000 000 cells?

    See the answer

    7

    After n hours there are 500 × 3ⁿ cells. We need 500 × 3ⁿ > 1 000 000, so 3ⁿ > 2 000. Take logs: n > log 2 000 ÷ log 3 = 6.92. The smallest whole number is 7. Check: 500 × 3⁷ = 1 093 500, and 500 × 3⁶ = 364 500.

  8. Solve log₃ (2x + 1) − log₃ x = 2. Give x as a fraction.

    See the answer

    1/7

    The quotient law gives log₃ [(2x + 1) ÷ x] = 2. In index form, (2x + 1) ÷ x = 3² = 9. So 2x + 1 = 9x, which gives 1 = 7x and x = 1/7. Check: 2x + 1 = 9/7, and (9/7) ÷ (1/7) = 9, with log₃ 9 = 2.

  9. Solve 4ˣ⁺¹ − 17(2ˣ) + 4 = 0.

    Tap your answer.
    1. Not this one. These are the values of u = 2ˣ. You must go back to x: 2ˣ = 4 gives x = 2, and 2ˣ = 1/4 gives x = −2. Go to M5.2.4. Try another.

    2. Not this one. The root u = 1/4 is above 0, so it gives a solution too: 2ˣ = 1/4 gives x = −2. Go to M5.2.4. Try another.

    3. Not this one. You went back with base 4. But u = 2ˣ, so 2ˣ = 1/4 gives x = −2 and 2ˣ = 4 gives x = 2. Go to M5.2.4. Try another.

    4. Yes, that is right. Split the power: 4ˣ⁺¹ = 4 × 4ˣ = 4(2ˣ)². With u = 2ˣ the equation is 4u² − 17u + 4 = 0, which is (4u − 1)(u − 4) = 0. So u = 1/4 or u = 4, giving x = −2 or x = 2.

    See the answer

    x = −2 or x = 2

    Split the power: 4ˣ⁺¹ = 4 × 4ˣ = 4(2ˣ)². With u = 2ˣ the equation is 4u² − 17u + 4 = 0, which is (4u − 1)(u − 4) = 0. So u = 1/4 or u = 4, giving x = −2 or x = 2.

    • If you chose A: These are the values of u = 2ˣ. You must go back to x: 2ˣ = 4 gives x = 2, and 2ˣ = 1/4 gives x = −2. Go to M5.2.4.
    • If you chose B: The root u = 1/4 is above 0, so it gives a solution too: 2ˣ = 1/4 gives x = −2. Go to M5.2.4.
    • If you chose C: You went back with base 4. But u = 2ˣ, so 2ˣ = 1/4 gives x = −2 and 2ˣ = 4 gives x = 2. Go to M5.2.4.
  10. Solve log₃ x = log₉ (x + 20).

    Tap your answer.
    1. Yes, that is right. Since 9 = 3², log₉ (x + 20) = 1/2 log₃ (x + 20). So 2 log₃ x = log₃ (x + 20), which gives x² = x + 20, or (x − 5)(x + 4) = 0. We need x above 0, so x = 5. Check: log₃ 5 = 1.465 and log₉ 25 = 1.465.

    2. Not this one. You may have halved the number inside instead of the log: x = (x + 20) ÷ 2 gives 20. The change of base halves the log: log₉ (x + 20) = 1/2 log₃ (x + 20), so x² = x + 20. Go to M5.2.4. Try another.

    3. Not this one. The root x = −4 is the one that fails. It puts −4 inside log₃ x. Go to M5.2.4. Try another.

    4. Not this one. The root x = −4 puts −4 inside log₃ x, and the log of a negative number does not exist. It must be rejected. Go to M5.2.4. Try another.

    See the answer

    x = 5

    Since 9 = 3², log₉ (x + 20) = 1/2 log₃ (x + 20). So 2 log₃ x = log₃ (x + 20), which gives x² = x + 20, or (x − 5)(x + 4) = 0. We need x above 0, so x = 5. Check: log₃ 5 = 1.465 and log₉ 25 = 1.465.

    • If you chose B: You may have halved the number inside instead of the log: x = (x + 20) ÷ 2 gives 20. The change of base halves the log: log₉ (x + 20) = 1/2 log₃ (x + 20), so x² = x + 20. Go to M5.2.4.
    • If you chose C: The root x = −4 is the one that fails. It puts −4 inside log₃ x. Go to M5.2.4.
    • If you chose D: The root x = −4 puts −4 inside log₃ x, and the log of a negative number does not exist. It must be rejected. Go to M5.2.4.
  11. Solve (log₃ x)² − log₃ x − 2 = 0.

    Tap your answer.
    1. Not this one. These are the values of y = log₃ x. You must go back to x: 3² = 9 and 3⁻¹ = 1/3. Go to M5.2.4. Try another.

    2. Yes, that is right. Let y = log₃ x. Then y² − y − 2 = 0, which is (y − 2)(y + 1) = 0. So y = 2 or y = −1. Then x = 3² = 9 or x = 3⁻¹ = 1/3. Both are above 0.

    3. Not this one. You may have taken y = −1 to mean x = −3. A power of 3 is never negative: y = −1 gives x = 3⁻¹ = 1/3. Go to M5.2.4. Try another.

    4. Not this one. The root y = −1 is allowed, because log₃ x can be negative. It gives x = 3⁻¹ = 1/3. Go to M5.2.4. Try another.

    See the answer

    x = 9 or x = 1/3

    Let y = log₃ x. Then y² − y − 2 = 0, which is (y − 2)(y + 1) = 0. So y = 2 or y = −1. Then x = 3² = 9 or x = 3⁻¹ = 1/3. Both are above 0.

    • If you chose A: These are the values of y = log₃ x. You must go back to x: 3² = 9 and 3⁻¹ = 1/3. Go to M5.2.4.
    • If you chose C: You may have taken y = −1 to mean x = −3. A power of 3 is never negative: y = −1 gives x = 3⁻¹ = 1/3. Go to M5.2.4.
    • If you chose D: The root y = −1 is allowed, because log₃ x can be negative. It gives x = 3⁻¹ = 1/3. Go to M5.2.4.
  12. Solve log₂ x + log₂ y = 5 and log₂ x − log₂ y = 1 together.

    Tap your answer.
    1. Not this one. You solved x + y = 5 and x − y = 1. The equations are about logs: the first gives xy = 2⁵ and the second gives x ÷ y = 2¹. Go to M5.2.4. Try another.

    2. Not this one. You swapped x and y. The second equation says x ÷ y = 2, so x is the bigger one. Go to M5.2.4. Try another.

    3. Not this one. The value y = −4 puts −4 inside log₂ y. A number inside a log must be above 0. Go to M5.2.4. Try another.

    4. Yes, that is right. The product law gives log₂ (xy) = 5, so xy = 32. The quotient law gives log₂ (x ÷ y) = 1, so x ÷ y = 2 and x = 2y. Then 2y² = 32, so y = 4 (not −4). So x = 8.

    See the answer

    x = 8, y = 4

    The product law gives log₂ (xy) = 5, so xy = 32. The quotient law gives log₂ (x ÷ y) = 1, so x ÷ y = 2 and x = 2y. Then 2y² = 32, so y = 4 (not −4). So x = 8.

    • If you chose A: You solved x + y = 5 and x − y = 1. The equations are about logs: the first gives xy = 2⁵ and the second gives x ÷ y = 2¹. Go to M5.2.4.
    • If you chose B: You swapped x and y. The second equation says x ÷ y = 2, so x is the bigger one. Go to M5.2.4.
    • If you chose C: The value y = −4 puts −4 inside log₂ y. A number inside a log must be above 0. Go to M5.2.4.

Keep it

Copy this into your exercise book.

aˣ = b: take logs, x = log b ÷ log a. Disguised quadratic: let u = aˣ, keep u > 0. Log equations: one log, index form, reject answers that make a number inside a log 0 or less.

Draw: The curve y = 3ˣ, the dashed line y = 20, and the point where they meet with its guide lines.

M5.2.5 Chapter 5

The number e and natural logs

Is there a best base for exponentials and logarithms, and what is the number e?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

A culture grows by 100% in one day. If the growth is added once at the end of the day, its mass is multiplied by 2. Now add the growth in n equal steps. Each step adds 1/n of the mass at that moment. After one step the mass is multiplied by 1 + 1/n, and after n steps it is multiplied by (1 + 1/n)ⁿ.

A table with the heads n and (1 + 1/n)ⁿ. Rows: 1 and 2; 2 and 2.25; 5 and 2.48832; 10 and 2.59374; 100 and 2.70481; 1 000 and 2.71692; 10 000 and 2.71815; 100 000 and 2.71827; 1 000 000 and 2.71828.n(1 + 1/n)ⁿ1222.2552.48832102.593741002.704811 0002.7169210 0002.71815100 0002.718271 000 0002.71828
The value of (1 + 1/n)ⁿ to 5 decimal places. It rises, more and more slowly.

More steps give more growth, but the extra gain shrinks fast. The values do not grow forever. They settle on one number. We call it e, so e is the value that (1 + 1/n)ⁿ gets closer to as n becomes very large. To 5 decimal places e = 2.71828. It has endless digits that never repeat, so it is an irrational number, as √2 is.

A graph with the x axis n and the y axis (1 + 1/n)ⁿ. A curve rises from the point (1, 2), steeply at first and then more and more slowly. A dashed horizontal line named y = e lies just above the curve at the right.y = e02040608010022.53n(1 + 1/n)ⁿ
The curve (1 + 1/n)ⁿ climbs towards the dashed line y = e, which it never reaches.

Worked example

Work out (1 + 1/50)⁵⁰ to 4 decimal places. How far below e is it?

  1. Here n = 50, so 1 + 1/50 = 1.02.
  2. To 4 decimal places, 1.02⁵⁰ = 2.6916.
  3. Take it from e = 2.7183 (to 4 decimal places): 2.7183 − 2.6916 = 0.0267.
  4. So the value is 2.6916, and it is about 0.027 below e.

Answer: 2.6916, which is 0.027 below e.

Why is e so special? Take the graph of y = aˣ and look at its gradient where it crosses the y axis, at (0, 1). For a = 2 the gradient there is about 0.693, which is less than 1. For a = 3 it is about 1.099, which is more than 1. Somewhere between, there is one base whose gradient at (0, 1) is exactly 1. That base is e.

A table with the heads base and gradient at (0, 1). Rows: 2 and 0.693; e and 1.000; 3 and 1.099.basegradient at (0, 1)20.693e1.00031.099
The gradient of the chord from x = 0 to x = 0.0001, which is very close to the gradient of the curve at (0, 1).

There is more. For y = eˣ, the gradient at every point equals the height of the curve there. At (0, 1) the gradient is 1. At (1, e) the gradient is e. We state this as a fact and prove it in the book on differentiation (M5.4). Every exponential aˣ changes at a rate in proportion to its size. For eˣ the rate equals the size, with no extra factor, which keeps the algebra simplest.

A graph with the x axis x and the y axis y. A solid curve, y = eˣ, rises from the left, through the point A, (0, 1), and the point B, (1, 2.72). A dashed straight line, y = x + 1, touches the curve at A with gradient 1. A second dashed straight line, y = 2.72x, touches the curve at B with gradient 2.72 and passes through the origin.AB−112324680xy
The solid curve is y = eˣ. The dashed line y = x + 1 touches the curve at A, (0, 1), where the gradient is 1. The dashed line y = 2.72x touches it at B, (1, e), where the gradient is e.

The function y = eˣ is the exponential function. Its inverse is the natural logarithm, written ln x. So ln x means the log of x to the base e. Everything from chapters 2 and 3 carries over. Since e⁰ = 1 and e¹ = e, we have ln 1 = 0 and ln e = 1. In general ln (eˣ) = x for every x, and e to the power (ln x) is x for x above 0. The laws of logs hold for ln, because ln is a log.

A graph with the x axis x and the y axis y, with equal units on both axes. A solid curve named y = eˣ rises steeply from the left and passes through the point A, (0, 1). A solid curve named y = ln x rises slowly from the lower left and passes through the point B, (1, 0). A dashed line named y = x runs at 45 degrees between them. The curves are mirror images in the dashed line. The x axis is the asymptote of the first curve and the y axis is the asymptote of the second.ABy = xy = eˣy = ln x−112345−1123450xy
y = eˣ and y = ln x are mirror images in y = x. The asymptote of eˣ is the x axis, y = 0. The asymptote of ln x is the y axis, x = 0. A is (0, 1) and B is (1, 0).

Mirror images swap the roles of x and y, so the domain of one is the range of the other. For y = eˣ the domain is all real x and the range is y > 0. For y = ln x the domain is x > 0 and the range is all real y. The point (0, 1) on eˣ becomes (1, 0) on ln x, and ln x is negative for x between 0 and 1.

Worked example

Solve e²ˣ = 7. Give x to 3 significant figures.

  1. Take the natural log of both sides: ln (e²ˣ) = ln 7.
  2. Since ln of e to the power k is k for any k, the left side is 2x. So 2x = ln 7.
  3. Use ln 7 = 1.9459 to 4 decimal places. Then x = 1.9459 ÷ 2 = 0.97295.
  4. To 3 significant figures, x = 0.973. The exact answer is x = 1/2 ln 7.

Answer: x = 0.973

Worked example

Solve ln (3x − 1) = 2. Give x to 3 significant figures.

  1. Raise e to the power of both sides. Since e to the power (ln y) is y, the left side is 3x − 1. So 3x − 1 = e².
  2. Use e² = 7.3891 to 4 decimal places. Then 3x = 7.3891 + 1 = 8.3891.
  3. Divide by 3: x = 8.3891 ÷ 3 = 2.7964.
  4. To 3 significant figures, x = 2.80.
  5. Check: 3 × 2.80 − 1 = 7.4, which is above 0, so the log exists.

Answer: x = 2.80

Worked example

Solve e²ˣ − 5eˣ + 6 = 0. Give each answer to 3 significant figures.

  1. Write e²ˣ as (eˣ)². Let u = eˣ. The equation becomes u² − 5u + 6 = 0.
  2. Factorise: (u − 2)(u − 3) = 0. So u = 2 or u = 3. Both are above 0, as eˣ always is.
  3. If eˣ = 2, take ln of both sides: x = ln 2 = 0.693.
  4. If eˣ = 3, take ln of both sides: x = ln 3 = 1.10.

Answer: x = ln 2 = 0.693 or x = ln 3 = 1.10.

Worked example

Sketch y = ln (x − 2). Give its domain, its asymptote and where it crosses the x axis.

  1. The graph of y = ln (x − 2) is the graph of y = ln x moved right by 2 units.
  2. The number inside the log must be above 0, so x − 2 > 0. The domain is x > 2.
  3. The y axis, x = 0, was the asymptote of ln x. It moves right by 2, so the asymptote is x = 2.
  4. Cross the x axis: put y = 0. Then ln (x − 2) = 0, so x − 2 = 1 and x = 3.

Answer: Domain x > 2, asymptote x = 2, crosses the x axis at (3, 0).

A graph with the x axis x and the y axis y. A curve rises from the bottom, very close to a dashed upright line named x = 2, crosses the x axis at the point A, (3, 0), and rises slowly to the right.Ax = 21345678−4−3−2−11230xy
The graph of y = ln (x − 2), with its asymptote, the dashed line x = 2. A is the point (3, 0), where it crosses the x axis.

Two more things come up in exams. First, the inverse of an exponential function is found with ln. Second, an equation may hold two natural logs, and the laws of logs join them into one. The rule about positive numbers inside a log applies again.

Worked example

f(x) = e²ˣ + 3. Find the inverse function f⁻¹(x), its domain and its range.

  1. Write y = e²ˣ + 3 and make x the subject. Take 3 from both sides: y − 3 = e²ˣ.
  2. Take ln of both sides: ln (y − 3) = 2x. So x = 1/2 ln (y − 3).
  3. Swap the letters. The inverse is f⁻¹(x) = 1/2 ln (x − 3).
  4. The domain of f⁻¹ is the range of f. Since e²ˣ > 0, f(x) > 3. This matches the rule x − 3 > 0 inside the log. So the domain of f⁻¹ is x > 3.
  5. The range of f⁻¹ is the domain of f, which is all real numbers.

Answer: 1/2 ln (x − 3), with domain x > 3 and range all real numbers.

Worked example

Solve ln x + ln (x + 2) = ln 8.

  1. Use the product law on the left side: ln [x(x + 2)] = ln 8.
  2. Equal logs mean equal numbers inside: x(x + 2) = 8. So x² + 2x − 8 = 0.
  3. Factorise: (x + 4)(x − 2) = 0. So x = −4 or x = 2.
  4. We need x above 0 and x + 2 above 0. The value x = −4 puts −4 inside ln x, so reject it.
  5. Check x = 2: ln 2 + ln 4 = ln 8, because 2 × 4 = 8. So x = 2.

Answer: x = 2

See it three ways

With things

A quantity grows so that after x hours it is eˣ times its starting size. After 1 hour it is 2.718 times as big, after 2 hours 7.389 times, after 3 hours 20.086 times.

As a picture

A table with the heads x and eˣ. Rows: 0 and 1; 1 and 2.718; 2 and 7.389; 3 and 20.086.xeˣ0112.71827.389320.086

In words

The natural log undoes the exponential. To find how many hours it took to reach a size, take ln of that size. From 7.389 the log goes back to 2.

In symbols

e² = 7.389, so ln 7.389 = 2. Also e³ = 20.086, so ln 20.086 = 3.

Try it

Find natural logs on a calculator

You need: a scientific calculator, paper and a pencil.

  1. Press the ln key, then 1, then equals. Then do ln 2 and ln 10.
  2. Now try ln 0.5. Write the result.
  3. Try ln (−3). Write what the calculator shows.

What you will see: ln 1 = 0, ln 2 = 0.693, ln 10 = 2.303, and ln 0.5 = −0.693. The log of a number between 0 and 1 is negative. For ln (−3) the calculator shows an error, because no power of e is negative.

If you cannot try it, this is what happens.
A table with the heads x and ln x. Rows: 1 and 0; 2 and 0.693; 10 and 2.303; 0.5 and −0.693; −3 and error.xln x1020.693102.3030.5−0.693−3error

A wrong idea many people have

e is exactly 2.718, so e² = 2.718 × 2.718 = 7.3875.

Why it feels right: Calculators and books print 2.718, and it looks like a plain decimal.

The test that breaks it: The true value is e = 2.71828..., with digits that never end. Then e² = 7.38906 to 5 decimal places, not 7.3875. The gap is 0.0015 already, and it grows when you raise e to bigger powers.

What is true: e is an irrational number, like π. Use the e key on a calculator and keep the full value in the working. Round only the final answer.

A wrong idea many people have

ln (−3) = −1.10, because ln 3 = 1.10.

Why it feels right: The minus sign seems to move out, as in −3 = −(3).

The test that breaks it: If ln (−3) = −1.10, then e to the power −1.10 would be −3. But e⁻¹·¹⁰ = 0.333, which is above 0. No power of e is negative, so no number x makes eˣ = −3.

What is true: ln x exists only for x > 0, because eˣ is always above 0. Before you take a natural log, check the number inside is above 0. This is the slip that gives a false root in an equation with logs.

A wrong idea many people have

ln (2x) = 2 ln x.

Why it feels right: The power law brings a number from inside to the front, and the 2 looks like it can do the same.

The test that breaks it: Put x = 3. Then ln (2x) = ln 6 = 1.792, but 2 ln x = 2 × 1.0986 = 2.197. The two are different. It is ln (x²) that equals 2 ln x: ln 9 = 2.197.

What is true: The power law needs a power, as in ln (x²). A product inside the log gives a sum: ln (2x) = ln 2 + ln x. Catch the slip by asking: is the 2 multiplying x, or is it the power of x?

A wrong idea many people have

e² means 2 × e, so e² = 5.44.

Why it feels right: In 2x the number multiplies. A letter with a small 2 beside it looks like the same idea.

The test that breaks it: The small 2 is a power. e² = e × e = 7.389, using the e key. But 2 × e = 5.437. The two numbers differ, and ln 7.389 = 2, while ln 5.437 = 1.693.

What is true: In e², e is the base and 2 is the power. The power says how many e are multiplied together. A multiplier would be written 2e.

Key words

e
the number that (1 + 1/n)ⁿ gets closer to as n grows. e = 2.71828 to 5 decimal places, and it is irrational.
natural logarithm
the log to the base e, written ln x. It is the inverse of eˣ.
limit
the number a list of values gets closer and closer to, as n grows, such as e for (1 + 1/n)ⁿ.

Back to your guess

The answer is A: Raising 1 + 1/n to the power n gives a number that settles near 2.7 as n grows.

The base 1 + 1/n gets closer to 1, which pulls the answer down, while the power n gets bigger, which pushes it up. The two effects balance. The values settle near 2.718. That number is called e, and it is the most useful base in mathematics.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. Work out ln (e⁵).

    Tap your answer.
    1. Not this one. That is the value of e⁵ itself. The natural log undoes e to a power, so ln (e⁵) is the power, 5. Go to M5.2.5. Try another.

    2. Not this one. That is 5 × e. In e⁵ the 5 is a power, not a multiplier. And ln undoes the power, so it gives back the power 5. Go to M5.2.5. Try another.

    3. Not this one. You may have taken 1 ÷ 5. The natural log of e to a power is that power, which is positive here. Go to M5.2.5. Try another.

    4. Yes, that is right. ln is the inverse of eˣ, so ln (eˣ) = x for every x. With x = 5, ln (e⁵) = 5.

    See the answer

    5

    ln is the inverse of eˣ, so ln (eˣ) = x for every x. With x = 5, ln (e⁵) = 5.

    • If you chose A: That is the value of e⁵ itself. The natural log undoes e to a power, so ln (e⁵) is the power, 5. Go to M5.2.5.
    • If you chose B: That is 5 × e. In e⁵ the 5 is a power, not a multiplier. And ln undoes the power, so it gives back the power 5. Go to M5.2.5.
    • If you chose C: You may have taken 1 ÷ 5. The natural log of e to a power is that power, which is positive here. Go to M5.2.5.
  2. Which line is the asymptote of the graph of y = ln x?

    Tap your answer.
    1. Not this one. The x axis is where the graph crosses, at (1, 0). It is the asymptote of y = eˣ, not of y = ln x. Go to M5.2.5. Try another.

    2. Yes, that is right. The graph of y = ln x is the mirror image of y = eˣ in y = x. The x axis is the asymptote of eˣ, so the y axis, the line x = 0, is the asymptote of ln x.

    3. Not this one. The graph passes through (1, 0) and crosses the line x = 1. The curve never crosses its asymptote. Go to M5.2.5. Try another.

    4. Not this one. The graph crosses y = 1 at x = e. The curve never crosses its asymptote, and ln x keeps rising. Go to M5.2.5. Try another.

    See the answer

    x = 0

    The graph of y = ln x is the mirror image of y = eˣ in y = x. The x axis is the asymptote of eˣ, so the y axis, the line x = 0, is the asymptote of ln x.

    • If you chose A: The x axis is where the graph crosses, at (1, 0). It is the asymptote of y = eˣ, not of y = ln x. Go to M5.2.5.
    • If you chose C: The graph passes through (1, 0) and crosses the line x = 1. The curve never crosses its asymptote. Go to M5.2.5.
    • If you chose D: The graph crosses y = 1 at x = e. The curve never crosses its asymptote, and ln x keeps rising. Go to M5.2.5.
  3. For which values of x does y = ln (x + 3) exist?

    Tap your answer.
    1. Yes, that is right. The number inside a log must be above 0. So x + 3 > 0, which gives x > −3. The graph is y = ln x moved left by 3 units.

    2. Not this one. That is the domain of ln x. Here the number inside is x + 3, so the graph is moved 3 units left. Go to M5.2.5. Try another.

    3. Not this one. The values below −3 make x + 3 negative, which the log cannot take. Go to M5.2.5. Try another.

    4. Not this one. You may have used x − 3 > 0. The number inside the log is x + 3, and it must be above 0. Go to M5.2.5. Try another.

    See the answer

    x > −3

    The number inside a log must be above 0. So x + 3 > 0, which gives x > −3. The graph is y = ln x moved left by 3 units.

    • If you chose B: That is the domain of ln x. Here the number inside is x + 3, so the graph is moved 3 units left. Go to M5.2.5.
    • If you chose C: The values below −3 make x + 3 negative, which the log cannot take. Go to M5.2.5.
    • If you chose D: You may have used x − 3 > 0. The number inside the log is x + 3, and it must be above 0. Go to M5.2.5.
  4. For which values of x is ln (x²) = 2 ln x always true?

    Tap your answer.
    1. Not this one. For x = −3, ln (x²) = ln 9 exists, but 2 ln x needs ln (−3), which does not exist. Go to M5.2.5. Try another.

    2. Not this one. At x = 0, ln x does not exist, so 2 ln x does not exist either. The value 0 must be left out. Go to M5.2.5. Try another.

    3. Yes, that is right. The power law needs the number inside the log to be above 0, and 2 ln x only exists for x > 0. For x below 0, ln (x²) = 2 ln (−x) is the true statement.

    4. Not this one. For x below 0, ln x does not exist, so the right side has no value. Go to M5.2.5. Try another.

    See the answer

    x > 0

    The power law needs the number inside the log to be above 0, and 2 ln x only exists for x > 0. For x below 0, ln (x²) = 2 ln (−x) is the true statement.

    • If you chose A: For x = −3, ln (x²) = ln 9 exists, but 2 ln x needs ln (−3), which does not exist. Go to M5.2.5.
    • If you chose B: At x = 0, ln x does not exist, so 2 ln x does not exist either. The value 0 must be left out. Go to M5.2.5.
    • If you chose D: For x below 0, ln x does not exist, so the right side has no value. Go to M5.2.5.
  5. Mei works out (1 + 1/n)ⁿ for n = 10, 100, 1 000 and 10 000 and gets 2.594, 2.705, 2.717 and 2.718. What does this suggest?

    Tap your answer.
    1. Not this one. The gains get smaller: 0.111, 0.012, 0.001. A sum of shrinking gains can stay below a fixed number. Go to M5.2.5. Try another.

    2. Not this one. The values are already close to 2.72 and rise by tiny amounts. They never get to 3. Go to M5.2.5. Try another.

    3. Not this one. The values are rising, not falling. Each is bigger than the one before. Go to M5.2.5. Try another.

    4. Yes, that is right. The numbers rise, but by smaller and smaller amounts. They are heading for one number, e, which is about 2.718.

    See the answer

    The values rise more and more slowly and settle on a fixed number.

    The numbers rise, but by smaller and smaller amounts. They are heading for one number, e, which is about 2.718.

    • If you chose A: The gains get smaller: 0.111, 0.012, 0.001. A sum of shrinking gains can stay below a fixed number. Go to M5.2.5.
    • If you chose B: The values are already close to 2.72 and rise by tiny amounts. They never get to 3. Go to M5.2.5.
    • If you chose C: The values are rising, not falling. Each is bigger than the one before. Go to M5.2.5.
  6. From an earlier chapter

    Solve 5ˣ = 30. Which is x, to 3 significant figures?

    Tap your answer.
    1. Not this one. You divided 30 by 5. But x is a power: 5⁶ is 15 625, far above 30. Go to M5.2.4. Try another.

    2. Yes, that is right. Take logs: x log 5 = log 30. So x = log 30 ÷ log 5 = 1.47712 ÷ 0.69897 = 2.113, which is 2.11 to 3 significant figures.

    3. Not this one. You worked out log (30 ÷ 5). Taking logs gives x log 5 = log 30, so x = log 30 ÷ log 5, a quotient of two logs. Go to M5.2.4. Try another.

    4. Not this one. You turned the fraction upside down: log 5 ÷ log 30. Since 5² = 25 is below 30, x must be above 2. Go to M5.2.4. Try another.

    See the answer

    2.11

    Take logs: x log 5 = log 30. So x = log 30 ÷ log 5 = 1.47712 ÷ 0.69897 = 2.113, which is 2.11 to 3 significant figures.

    • If you chose A: You divided 30 by 5. But x is a power: 5⁶ is 15 625, far above 30. Go to M5.2.4.
    • If you chose C: You worked out log (30 ÷ 5). Taking logs gives x log 5 = log 30, so x = log 30 ÷ log 5, a quotient of two logs. Go to M5.2.4.
    • If you chose D: You turned the fraction upside down: log 5 ÷ log 30. Since 5² = 25 is below 30, x must be above 2. Go to M5.2.4.
  7. Solve e⁴ˣ = 30. Give x to 3 significant figures.

    See the answer

    0.850

    Take ln of both sides: 4x = ln 30 = 3.4012. So x = 3.4012 ÷ 4 = 0.8503, which is 0.850 to 3 significant figures.

  8. Solve 3e⁻ˣ = 5. Give x to 3 significant figures.

    See the answer

    −0.511

    Divide by 3: e⁻ˣ = 5/3. Take ln of both sides: −x = ln (5/3) = 0.5108. So x = −0.5108, which is −0.511 to 3 significant figures. Check: x is negative, so e⁻ˣ is above 1, and 3e⁻ˣ = 5 is above 3.

  9. Solve e²ˣ − 7eˣ + 10 = 0. Give both answers to 3 significant figures, the smaller first.

    See the answer

    x = 0.693 or x = 1.61

    Let u = eˣ. Then u² − 7u + 10 = 0, which is (u − 2)(u − 5) = 0. So eˣ = 2 gives x = ln 2 = 0.693, and eˣ = 5 gives x = ln 5 = 1.61. Both u are above 0.

  10. Solve ln (2x + 5) = 3. Give x to 3 significant figures.

    See the answer

    7.54

    Raise e to the power of both sides: 2x + 5 = e³ = 20.0855. So 2x = 15.0855 and x = 7.5428, which is 7.54 to 3 significant figures. Check: 2x + 5 = 20.09, which is above 0.

  11. g(x) = e³ˣ − 2. Which of these is the inverse function g⁻¹(x)?

    Tap your answer.
    1. Not this one. You took 2 from both sides, but the 2 in g is taken away. To undo it you add 2: y + 2 = e³ˣ. Go to M5.2.5. Try another.

    2. Not this one. The 3 multiplies x in the power, so it must be divided out after the ln, not multiplied. Go to M5.2.5. Try another.

    3. Not this one. The 3 multiplies x. It is not added to the power, so you divide by 3 after taking the ln. Go to M5.2.5. Try another.

    4. Yes, that is right. Write y = e³ˣ − 2 and add 2: y + 2 = e³ˣ. Take ln: ln (y + 2) = 3x, so x = 1/3 ln (y + 2). Swapping the letters gives g⁻¹(x) = 1/3 ln (x + 2).

    See the answer

    1/3 ln (x + 2)

    Write y = e³ˣ − 2 and add 2: y + 2 = e³ˣ. Take ln: ln (y + 2) = 3x, so x = 1/3 ln (y + 2). Swapping the letters gives g⁻¹(x) = 1/3 ln (x + 2).

    • If you chose A: You took 2 from both sides, but the 2 in g is taken away. To undo it you add 2: y + 2 = e³ˣ. Go to M5.2.5.
    • If you chose B: The 3 multiplies x in the power, so it must be divided out after the ln, not multiplied. Go to M5.2.5.
    • If you chose C: The 3 multiplies x. It is not added to the power, so you divide by 3 after taking the ln. Go to M5.2.5.
  12. Solve ln x + ln (x − 3) = ln 10.

    Tap your answer.
    1. Not this one. The root x = −2 puts −2 inside ln x, and the log of a negative number does not exist. It must be rejected. Go to M5.2.5. Try another.

    2. Not this one. You may have added 3 to 10. The product law gives x(x − 3) = 10, which is a quadratic. Go to M5.2.5. Try another.

    3. Yes, that is right. The product law gives ln [x(x − 3)] = ln 10, so x² − 3x − 10 = 0, which is (x − 5)(x + 2) = 0. We need x above 3, so x = 5. Check: ln 5 + ln 2 = ln 10.

    4. Not this one. This is the root that fails. It makes x negative, and ln x does not exist. Go to M5.2.5. Try another.

    See the answer

    x = 5

    The product law gives ln [x(x − 3)] = ln 10, so x² − 3x − 10 = 0, which is (x − 5)(x + 2) = 0. We need x above 3, so x = 5. Check: ln 5 + ln 2 = ln 10.

    • If you chose A: The root x = −2 puts −2 inside ln x, and the log of a negative number does not exist. It must be rejected. Go to M5.2.5.
    • If you chose B: You may have added 3 to 10. The product law gives x(x − 3) = 10, which is a quadratic. Go to M5.2.5.
    • If you chose D: This is the root that fails. It makes x negative, and ln x does not exist. Go to M5.2.5.

Keep it

Copy this into your exercise book.

e is about 2.71828, the limit of (1 + 1/n)ⁿ. ln x is the log to base e and undoes eˣ. ln (eˣ) = x. The graphs are mirror images in y = x.

Draw: The curves y = eˣ and y = ln x with the line y = x between them, A at (0, 1) and B at (1, 0).

M5.2.6 Chapter 6

Growth and decay models

A herd of goats grows by 8% every year. How do we write a rule for its size, and when does such a rule stop being true?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

A herd of 50 goats grows by 8% each year. The size after one year is 50 × 1.08, because 100% + 8% = 108% = 1.08. After two years it is 50 × 1.08 × 1.08. After t years it is 50 multiplied by 1.08, t times. This is a power. The model is N = 50 × 1.08 to the power t, where N is the number of goats and t is the time in years.

The general rule has a starting value A, a rate r for each time unit, and a time t. The size is y = A(1 + r) to the power t. With r = 0.08 the factor 1 + r is 1.08, a growth factor. For a fall of 20% each year, r = −0.2 and the factor is 0.8. A factor below 1 means decay, and a factor above 1 means growth.

Worked example

A herd of 50 goats grows by 8% each year. Find its size after 5 years.

  1. The growth factor each year is 1 + 0.08 = 1.08.
  2. After t years the size is N = 50 × 1.08 to the power t.
  3. Put t = 5. To 4 decimal places, 1.08 to the power 5 = 1.4693.
  4. N = 50 × 1.4693 = 73.47. A herd has a whole number of goats, so the size is about 73.

Answer: About 73 goats.

A graph with the x axis years and the y axis goats. A curve rises from the point (0, 50) through the point (5, 73), named (5, 73), and on to about 108 at 10 years, getting steeper each year.(0, 50)(5, 73)246810204060801001200yearsgoats
The herd N = 50 × 1.08 to the power t. At t = 5 it is 73.47 goats, about 73.

The same growth can be written with e. Papers print e with a raised kt. This book cannot raise a letter, so it writes exp(kt) for the same thing. In general exp(x) means eˣ, so exp(kt) is e to the power kt. Every positive number b equals exp(ln b). So 1 + r = exp(k), where k = ln (1 + r). Then (1 + r) to the power t is exp(kt), and the model becomes y = A exp(kt). The number k is the continuous growth rate. Note that k is not r: for 8% growth, k = ln 1.08, which is a little below 0.08.

A table with the heads rate r, factor and k. Rows: 2% and 1.02 and 0.0198; 8% and 1.08 and 0.0770; 10% and 1.1 and 0.0953; 25% and 1.25 and 0.2231; 50% and 1.5 and 0.4055.rate rfactork2%1.020.01988%1.080.077010%1.10.095325%1.250.223150%1.50.4055
The continuous rate k = ln (1 + r) is always a little below r. The gap grows as r grows.

Worked example

Write N = 50 × 1.08 to the power t in the form N = A exp(kt).

  1. Write 1.08 as exp(ln 1.08).
  2. Then 1.08 to the power t is exp(t ln 1.08).
  3. Use ln 1.08 = 0.0770 to 3 significant figures. So N = 50 × exp(0.0770t).
  4. So A = 50, the starting size, and k = 0.0770.

Answer: A = 50 and k = 0.0770.

Two times matter. The doubling time T is when the size is twice the start. Then A exp(kT) = 2A, so exp(kT) = 2 and T = ln 2 ÷ k. For the herd, T = 0.6931 ÷ 0.0770 = 9.0 years. The doubling time does not depend on A, so a herd of 5 or 5 000 doubles in the same time. For decay, k is negative. The half-life is when half is left: exp(kT) = 1/2 and T = ln 2 ÷ |k|, where |k| is k without its minus sign.

Worked example

The mass of a sample is M = 80 exp(−0.035t) grams, where t is the time in days. Find (a) the starting mass, (b) the mass after 20 days, (c) the half-life, (d) the time to fall to 10 g.

  1. (a) Put t = 0. Then e⁰ = 1, so M = 80. The starting mass is 80 g.
  2. (b) Put t = 20. Then M = 80 exp(−0.7) = 80 × 0.4966 = 39.7 g to 3 significant figures.
  3. (c) The half-life is T = ln 2 ÷ 0.035 = 0.6931 ÷ 0.035 = 19.8 days.
  4. (d) We need 80 exp(−0.035t) = 10. Divide by 80: exp(−0.035t) = 1/8.
  5. Take ln of both sides: −0.035t = ln (1/8) = −2.0794. So t = 2.0794 ÷ 0.035 = 59.4 days.
  6. Check: 59.4 days is three half-lives, 3 × 19.8 = 59.4, and 80 → 40 → 20 → 10 halves three times.

Answer: (a) 80 g, (b) 39.7 g, (c) 19.8 days, (d) 59.4 days.

A graph with the x axis days and the y axis mass (g). A curve falls from the point (0, 80). Dots mark the mass after each half-life: A at (19.8, 40), B at (39.6, 20) and C at (59.4, 10). Dashed guide lines from each dot meet the axes.ABC20406080204060800daysmass (g)
The mass halves in every 19.8 days. A is (19.8, 40), B is (39.6, 20) and C is (59.4, 10).

Not every quantity decays to nothing. A hot drink cools towards the temperature of the room, and stops there. Its model has a fixed part and a decaying part: θ = A + B exp(−kt). Here A is the temperature it settles at. The term B exp(−kt) is the part that dies away.

Worked example

A hot drink has temperature θ = 20 + 70 exp(−0.05t) °C, with t in minutes. Find (a) the starting temperature, (b) the temperature it approaches, (c) when it reaches 50 °C.

  1. (a) Put t = 0. Then exp(0) = 1, so θ = 20 + 70 = 90 °C.
  2. (b) As t grows, exp(−0.05t) gets close to 0, so θ gets close to 20. The drink cools towards 20 °C and never goes below it.
  3. (c) Put θ = 50: 20 + 70 exp(−0.05t) = 50. Take 20 from both sides: 70 exp(−0.05t) = 30.
  4. Divide by 70: exp(−0.05t) = 3/7. Take ln of both sides: −0.05t = ln (3/7) = −0.8473.
  5. So t = 0.8473 ÷ 0.05 = 16.9 minutes.

Answer: (a) 90 °C, (b) 20 °C, (c) 16.9 minutes.

A graph with the x axis minutes and the y axis temperature (°C). A curve falls from the point (0, 90), named (0, 90), steeply at first and then more slowly towards a dashed horizontal line named y = 20. The curve passes through the point (16.9, 50), named (16.9, 50), with dashed guide lines to the axes.(0, 90)(16.9, 50)y = 20102030405060204060801000minutestemperature (°C)
The drink starts at 90 degrees and cools towards the dashed line at 20 degrees. It reaches 50 degrees after 16.9 minutes.

Often a model is built from data. Two readings of a quantity are enough to find A and k. Put the first reading at t = 0 to get A. Then use the second reading to get k by taking logs.

Worked example

A population of bacteria is 1 200 at t = 0 and 1 900 when t = 3 hours. It follows N = A exp(kt). Find k, and the doubling time.

  1. At t = 0, N = A, so A = 1 200.
  2. At t = 3, 1 900 = 1 200 exp(3k). So exp(3k) = 1 900 ÷ 1 200 = 1.5833.
  3. Take ln of both sides: 3k = ln 1.5833 = 0.4595.
  4. To 3 significant figures, k = 0.4595 ÷ 3 = 0.153 per hour.
  5. The doubling time is ln 2 ÷ k. Keep k unrounded: T = 3 ln 2 ÷ ln 1.5833 = 2.0794 ÷ 0.4595 = 4.525, which is 4.53 hours to 3 significant figures.

Answer: k = 0.153 per hour, and the population doubles every 4.53 hours.

Now ask when a model stops making sense. A model is a rule that fits the data we have. It holds near those data. Far from them it can give nonsense. Exponential growth is the clearest case, because it never slows. In real life food, space, disease and other limits slow the growth, and the curve flattens.

Worked example

The herd model N = 50 × 1.08 to the power t was fitted to counts over the first 5 years. Find N after 100 years. A pasture feeds at most 400 goats. When does the model first pass 400?

  1. After 100 years, N = 50 × 1.08 to the power 100 = 109 988 goats.
  2. That is far more than any pasture can feed. The model is being used far outside its data, which cover only 5 years.
  3. For 400 goats, solve 50 × 1.08 to the power t = 400. Divide by 50: 1.08 to the power t = 8.
  4. Take ln of both sides: t ln 1.08 = ln 8. So t = 2.0794 ÷ 0.0770 = 27.0 years.
  5. After about 27 years the model says 400 goats. From then on it should not be trusted, because the pasture is full.

Answer: N = 109 988 after 100 years, and N reaches 400 after 27.0 years.

A graph with the x axis years and the y axis goats. A curve rises from the point (0, 50), getting steeper. A dashed horizontal line named y = 400 marks the most goats the pasture feeds. The curve meets it at the point (27, 400), named (27, 400).(27, 400)y = 40081624322004006000yearsgoats
The model passes the pasture limit of 400 goats after about 27 years.

See it three ways

With things

The herd starts at 50 goats. Each year it is multiplied by 1.08. After 1 year it is 54, and after 2 years it is 58.32.

As a picture

Three boxes in a row joined by arrows. The boxes hold 50, 54 and 58.32. Each arrow is labelled × 1.08.50× 1.0854× 1.0858.32

In words

Each year the herd is multiplied by the same factor, 1.08. Equal steps of time multiply the size by equal factors. This is the mark of an exponential.

In symbols

N = 50 × 1.08 to the power t. For t = 2 this gives 50 × 1.08 × 1.08 = 58.32.

Try it

A half-life with beans

You need: 64 dried beans, a pen, a cup.

  1. Mark one side of each bean with a dot. Count 64 beans.
  2. Shake them in the cup and throw them on a table. Take away every bean that lands dot upwards. Count what is left.
  3. Throw the beans that are left, take away the dot-up ones, and count again. Do this 5 times.

What you will see: About half of the beans are taken away each throw, so the number left falls like 64, 32, 16, 8, 4, 2. Your numbers will differ a little by chance. One throw is the half-life.

If you cannot try it, this is what happens.
A table with the heads throw and beans left. Rows: 0 and 64; 1 and 32; 2 and 16; 3 and 8; 4 and 4; 5 and 2.throwbeans left064132216384452

A wrong idea many people have

Growth by 8% a year means N = 50 × 8 to the power t, or N = 50 × 0.08 to the power t.

Why it feels right: The number 8 is in the question, and 0.08 is how a calculator wants 8%.

The test that breaks it: Put t = 1. With 8 the herd is 50 × 8 = 400 after one year, which is far more than 8% growth. With 0.08 the herd is 50 × 0.08 = 4, which has shrunk. The right answer after one year is 54.

What is true: The factor is 1 + 0.08 = 1.08: the whole herd (100%) plus 8% more. Catch the slip by putting t = 1 into your model and checking it gives 8% more than the start.

A wrong idea many people have

For 8% growth, k = 0.08 in N = A exp(kt).

Why it feels right: Both r and k are called a rate, and 0.08 is the number in the question.

The test that breaks it: With k = 0.08, after one year the factor is exp(0.08) = 1.0833, which is 8.33% growth, not 8%. The right value is k = ln 1.08 = 0.0770, and exp(0.0770) = 1.08.

What is true: The rate r goes with the form (1 + r) to the power t, and k = ln (1 + r) goes with the form exp(kt). They are close for small r but not equal. Convert with k = ln (1 + r).

A wrong idea many people have

After two half-lives everything has gone.

Why it feels right: One half-life takes away half, and two halves make a whole.

The test that breaks it: Take 80 g. After one half-life, 40 g is left. After the second half-life, half of 40 g goes, and 20 g is left. After the third, 10 g.

What is true: Each half-life halves what is left, not what you started with. The amount gets smaller and smaller but never reaches 0. After n half-lives the fraction left is (1/2) to the power n.

A wrong idea many people have

If the model fits the first 5 years well, it will fit 100 years.

Why it feels right: A good fit looks like proof that the rule is the real one.

The test that breaks it: The herd model fitted to 5 years gives 109 988 goats after 100 years. No pasture can feed that many, so the model is wrong there.

What is true: A model is trusted near the data it was built from. Far outside them, things the model ignores, such as food, space and disease, matter. Always say how far a model is used, and ask if the rate can really stay the same.

Key words

growth factor
the number you multiply by each time step, 1 + r. A factor above 1 is growth, and below 1 is decay.
doubling time
the time for a growing quantity to become twice as big. T = ln 2 ÷ k.
half-life
the time for a decaying quantity to fall to half. T = ln 2 ÷ |k|.
model
a rule that fits data and predicts new values, such as N = 50 × 1.08 to the power t.

Back to your guess

The answer is C: About 108 goats, because each year the herd is multiplied by 1.08.

The herd starts at 50 and each year it grows by 8% of its size at that time. So the number added grows too. After 10 years the size is 50 × 1.08 ten times, which is about 108. Adding 4 goats a year would give 90, and 540 comes from multiplying by 10 instead of using a power.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. A population of 200 grows by 5% each year. After x years it is P. Which rule is right?

    Tap your answer.
    1. Not this one. You used 5 as the factor. A factor of 5 means 500% each year. Growth of 5% is a factor 1 + 0.05. Go to M5.2.6. Try another.

    2. Not this one. A factor of 0.05 shrinks the population to 5% of itself each year. Growth of 5% needs 105%, which is 1.05. Go to M5.2.6. Try another.

    3. Not this one. That adds a fixed 1.05 each year, which is a straight line. Growth by a percentage multiplies, so x must be a power. Go to M5.2.6. Try another.

    4. Yes, that is right. Each year the population is multiplied by 1 + 0.05 = 1.05. After x years it has been multiplied x times, so P = 200 × 1.05 to the power x.

    See the answer

    P = 200 × 1.05ˣ

    Each year the population is multiplied by 1 + 0.05 = 1.05. After x years it has been multiplied x times, so P = 200 × 1.05 to the power x.

    • If you chose A: You used 5 as the factor. A factor of 5 means 500% each year. Growth of 5% is a factor 1 + 0.05. Go to M5.2.6.
    • If you chose B: A factor of 0.05 shrinks the population to 5% of itself each year. Growth of 5% needs 105%, which is 1.05. Go to M5.2.6.
    • If you chose C: That adds a fixed 1.05 each year, which is a straight line. Growth by a percentage multiplies, so x must be a power. Go to M5.2.6.
  2. A quantity falls by 12% each hour. By what number is it multiplied each hour?

    Tap your answer.
    1. Yes, that is right. A fall of 12% leaves 100% − 12% = 88%, which is the factor 0.88.

    2. Not this one. A factor of 1.12 is growth of 12%. For a fall, take the 12% away from 100%. Go to M5.2.6. Try another.

    3. Not this one. That would leave only 12% of the quantity. A fall of 12% leaves 88%. Go to M5.2.6. Try another.

    4. Not this one. Multiplying by 12 would make the quantity twelve times bigger. Go to M5.2.6. Try another.

    See the answer

    0.88

    A fall of 12% leaves 100% − 12% = 88%, which is the factor 0.88.

    • If you chose B: A factor of 1.12 is growth of 12%. For a fall, take the 12% away from 100%. Go to M5.2.6.
    • If you chose C: That would leave only 12% of the quantity. A fall of 12% leaves 88%. Go to M5.2.6.
    • If you chose D: Multiplying by 12 would make the quantity twelve times bigger. Go to M5.2.6.
  3. A quantity decays as M = A exp(−kt), with k above 0. Which is its half-life?

    Tap your answer.
    1. Not this one. You left out the ln. Halving means exp(−kT) = 1/2, and the log of that brings in ln 2. Go to M5.2.6. Try another.

    2. Yes, that is right. We need exp(−kT) = 1/2. Take ln of both sides: −kT = −ln 2. So T = ln 2 ÷ k.

    3. Not this one. The ln belongs to the 2, not to k. Halving gives exp(−kT) = 1/2, so kT = ln 2. Go to M5.2.6. Try another.

    4. Not this one. You turned the fraction upside down. A bigger k means faster decay, so the half-life must get smaller as k gets bigger. Go to M5.2.6. Try another.

    See the answer

    ln 2 ÷ k

    We need exp(−kT) = 1/2. Take ln of both sides: −kT = −ln 2. So T = ln 2 ÷ k.

    • If you chose A: You left out the ln. Halving means exp(−kT) = 1/2, and the log of that brings in ln 2. Go to M5.2.6.
    • If you chose C: The ln belongs to the 2, not to k. Halving gives exp(−kT) = 1/2, so kT = ln 2. Go to M5.2.6.
    • If you chose D: You turned the fraction upside down. A bigger k means faster decay, so the half-life must get smaller as k gets bigger. Go to M5.2.6.
  4. A herd model N = 50 × 1.08 to the power t was fitted to counts over the first 5 years. Which prediction is the least trustworthy?

    Tap your answer.
    1. Not this one. Year 3 lies inside the 5 years of data, so the model has been tested there. Go to M5.2.6. Try another.

    2. Not this one. Year 4.5 lies inside the 5 years of data, so it is a safe prediction. Go to M5.2.6. Try another.

    3. Not this one. Year 1 lies inside the 5 years of data, so it is a safe prediction. Go to M5.2.6. Try another.

    4. Yes, that is right. A model is trusted near its data. The time of 80 years is far outside the 5 years of data, and things such as food and space will have changed the growth.

    See the answer

    The size after 80 years

    A model is trusted near its data. The time of 80 years is far outside the 5 years of data, and things such as food and space will have changed the growth.

    • If you chose A: Year 3 lies inside the 5 years of data, so the model has been tested there. Go to M5.2.6.
    • If you chose B: Year 4.5 lies inside the 5 years of data, so it is a safe prediction. Go to M5.2.6.
    • If you chose C: Year 1 lies inside the 5 years of data, so it is a safe prediction. Go to M5.2.6.
  5. A population grows by 5% each year. In the form A exp(kt), what is k, to 3 significant figures?

    Tap your answer.
    1. Yes, that is right. The factor is 1 + 0.05 = 1.05, and exp(k) = 1.05, so k = ln 1.05 = 0.0488 to 3 significant figures.

    2. Not this one. That is the growth factor 1 + r, which goes with the form (1 + r) to the power t. For exp(kt) you need its natural log. Go to M5.2.6. Try another.

    3. Not this one. The ln of 1.05 is small, near 0.05. A value of 0.488 would be growth of 63% a year. Go to M5.2.6. Try another.

    4. Not this one. You used r as k. They are close for small r, but k = ln (1 + r), not r. Go to M5.2.6. Try another.

    See the answer

    0.0488

    The factor is 1 + 0.05 = 1.05, and exp(k) = 1.05, so k = ln 1.05 = 0.0488 to 3 significant figures.

    • If you chose B: That is the growth factor 1 + r, which goes with the form (1 + r) to the power t. For exp(kt) you need its natural log. Go to M5.2.6.
    • If you chose C: The ln of 1.05 is small, near 0.05. A value of 0.488 would be growth of 63% a year. Go to M5.2.6.
    • If you chose D: You used r as k. They are close for small r, but k = ln (1 + r), not r. Go to M5.2.6.
  6. From an earlier chapter

    Solve ln x = 2. Which is x, to 3 significant figures?

    Tap your answer.
    1. Not this one. You worked out 2 × e. But ln x = 2 means x = e², which is e multiplied by itself. Go to M5.2.5. Try another.

    2. Not this one. That is ln 2. The equation says ln x = 2, so x is the number whose ln is 2. Go to M5.2.5. Try another.

    3. Yes, that is right. Change to index form. ln x = 2 means x = e², which is 7.389 to 3 decimal places and 7.39 to 3 significant figures.

    4. Not this one. You took the square root of 2. The equation ln x = 2 is in log form. Its index form is x = exp(2). Go to M5.2.5. Try another.

    See the answer

    7.39

    Change to index form. ln x = 2 means x = e², which is 7.389 to 3 decimal places and 7.39 to 3 significant figures.

    • If you chose A: You worked out 2 × e. But ln x = 2 means x = e², which is e multiplied by itself. Go to M5.2.5.
    • If you chose B: That is ln 2. The equation says ln x = 2, so x is the number whose ln is 2. Go to M5.2.5.
    • If you chose D: You took the square root of 2. The equation ln x = 2 is in log form. Its index form is x = exp(2). Go to M5.2.5.
  7. A herd of 120 goats grows by 6% each year. Find its size after 8 years, to the nearest whole number.

    See the answer

    191

    The factor is 1.06. After 8 years, N = 120 × 1.06 to the power 8 = 120 × 1.5938 = 191.3. So the herd is about 191 goats.

  8. A sample has a half-life of 12 days. Its mass is M = A exp(−kt), with t in days. Find k, to 3 significant figures.

    See the answer

    0.0578

    After one half-life the mass is halved, so exp(−12k) = 1/2. Take ln of both sides: −12k = −ln 2, so k = ln 2 ÷ 12 = 0.6931 ÷ 12 = 0.0578 to 3 significant figures.

  9. A culture has 500 cells at t = 0 and 2 000 cells when t = 5 hours. It follows N = A exp(kt). Find k, to 3 significant figures.

    See the answer

    0.277

    At t = 0, A = 500. At t = 5, 2 000 = 500 exp(5k), so exp(5k) = 4. Take ln: 5k = ln 4 = 1.3863. So k = 0.2773, which is 0.277 to 3 significant figures.

  10. A herd starts at 50 goats and grows by 8% each year. After how many whole years does it first have more than 200 goats?

    See the answer

    19

    We need 50 × 1.08 to the power t > 200, so 1.08 to the power t > 4. Take ln: t > ln 4 ÷ ln 1.08 = 18.01. The smallest whole number is 19. Check: 50 × 1.08¹⁸ = 199.8, which is not above 200, and 50 × 1.08¹⁹ = 215.8.

  11. A population follows N = A exp(kt). N = 500 when t = 2 and N = 2 000 when t = 5. Find k to 3 significant figures, then A to the nearest whole number. Type k, then A.

    See the answer

    0.462, 198

    Divide the readings: exp(5k) ÷ exp(2k) = 2 000 ÷ 500 = 4, so exp(3k) = 4. Then 3k = ln 4 = 1.3863 and k = 0.4621. Put t = 2: 500 = A exp(2 × 0.4621) = A × 2.5198, so A = 198.4.

  12. A drink cools so that its temperature is θ = 18 + 62 exp(−0.04t) °C, with t in minutes. Find θ when t = 10, to 3 significant figures.

    See the answer

    59.6

    Put t = 10: θ = 18 + 62 exp(−0.4) = 18 + 62 × 0.6703 = 18 + 41.56 = 59.6 °C. The temperature approaches 18 °C in the long run.

Keep it

Copy this into your exercise book.

Growth by r: y = A(1 + r) to the power t. Also y = A exp(kt), with k = ln (1 + r). Doubling time ln 2 ÷ k. Half-life ln 2 ÷ |k|. Trust a model near its data only.

Draw: A decay curve with dots at each half-life, the mass halving every time.

M5.2.7 Chapter 7

Straight lines from logs

Data that rise in a curve are hard to read. How can logs turn them into a straight line, and what do the gradient and the intercept tell us?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

By the end you can

A straight line is the easiest graph to work with. You can draw it with a ruler, and its gradient and intercept hold the constants of the rule. A curve y = axⁿ or y = A bˣ has two constants, but they are hard to read from a curve. Logs bend the curve into a line. In this chapter lg means log to the base 10, which keeps graph labels short.

Start with y = axⁿ. Take lg of both sides. The product law gives lg y = lg a + lg (xⁿ). The power law gives lg (xⁿ) = n lg x. So lg y = n lg x + lg a. A paper may use ln on both axes instead. Then the gradient is still n and the intercept is ln a. Compare this with Y = mX + c. If Y stands for lg y and X for lg x, then the gradient m is n and the intercept c is lg a. A graph of lg y against lg x is a straight line. It is called a log-log graph.

Worked example

y = 5x³. Show that lg y against lg x is a straight line, and give its gradient and intercept.

  1. Take lg of both sides: lg y = lg (5x³).
  2. The product law splits the right side: lg (5x³) = lg 5 + lg (x³).
  3. The power law brings the 3 down: lg (x³) = 3 lg x.
  4. So lg y = 3 lg x + lg 5. This has the form Y = mX + c, with Y = lg y and X = lg x.
  5. The gradient is m = 3. The intercept is c = lg 5 = 0.699.

Answer: The gradient is 3 and the intercept is 0.699.

See it three ways

With things

The rule y = 3x² gives these pairs. When x = 1, 2, 4 and 8, y = 3, 12, 48 and 192. The points (x, y) climb steeply in a curve.

As a picture

A graph with the x axis lg x and the y axis lg y. Four dots A, B, C and D lie on one straight line that rises to the right. A is (0, 0.477), B is (0.301, 1.079), C is (0.602, 1.681) and D is (0.903, 2.283). The line is named gradient 2.ABCDgradient 20.510.511.522.50lg xlg y

In words

Plot lg y against lg x and the curve straightens. The gradient is 2, the power of x. The line meets the lg y axis at lg 3 = 0.477.

In symbols

lg y = 2 lg x + lg 3. The points are (0, 0.477), (0.301, 1.079), (0.602, 1.681) and (0.903, 2.283).

Now take an exponential, y = A bˣ. Taking logs gives lg y = lg A + x lg b. In the form with e, y = A exp(kx), where exp(kx) means e to the power kx, taking natural logs gives ln y = ln A + kx. Each is a straight line when the log of y is plotted against x itself, and not against the log of x. This is a log-linear graph. The gradient is k (or lg b), and the intercept on the vertical axis is ln A (or lg A).

A table with the heads rule and straight when you plot. Rows: y = axⁿ and lg y against lg x; y = A bˣ and lg y against x.ruleploty = axⁿlg y against lg xy = A bˣlg y against x
Which plot straightens which rule.

How can you tell which rule fits data? Look at the table. If y is multiplied by the same number each time x goes up by the same amount, the rule is exponential. If y is multiplied by the same number each time x is multiplied by the same number, the rule is a power law. Or just try both plots and see which is straight.

Here are real data. The Sun has planets that travel in ellipses. For each planet, d is its mean distance from the Sun, in AU. One AU is the mean distance from the Earth to the Sun. T is the time for one orbit, in years. Does T depend on d by a power law T = a dⁿ?

A table with the heads planet, d (AU) and T (years). Rows: Mercury, 0.387 and 0.241; Venus, 0.723 and 0.615; Earth, 1 and 1; Mars, 1.524 and 1.881; Jupiter, 5.203 and 11.86; Saturn, 9.537 and 29.46.planetd (AU)T (years)Mercury0.3870.241Venus0.7230.615Earth11Mars1.5241.881Jupiter5.20311.86Saturn9.53729.46
Mean distance from the Sun and time of one orbit for six planets.
A table with the heads planet, lg d and lg T. Rows: Mercury, −0.412 and −0.618; Venus, −0.141 and −0.211; Earth, 0.000 and 0.000; Mars, 0.183 and 0.274; Jupiter, 0.716 and 1.074; Saturn, 0.979 and 1.469.planetlg dlg TMercury−0.412−0.618Venus−0.141−0.211Earth0.0000.000Mars0.1830.274Jupiter0.7161.074Saturn0.9791.469
The logs of the same readings, to 3 decimal places.
A graph with the x axis lg d and the y axis lg T. Six dots rise from the lower left to the upper right, all very close to one straight line, the line of best fit. The lowest dot is Mercury and the highest is Saturn.−0.50.51−1−0.50.511.50lg dlg T
lg T against lg d for the six planets in the table, Mercury lowest and Saturn highest. The straight line is the line of best fit. The points lie on it, so T = a dⁿ is a good rule.

Worked example

Use the planet data to find a and n in T = a dⁿ. Give both to 3 significant figures.

  1. If T = a dⁿ, then lg T = n lg d + lg a. So plot lg T against lg d, as in the table and the graph.
  2. The six points lie very close to one straight line. Draw the line of best fit. A line drawn by eye gives a slightly different gradient, for example 1.48 to 1.52. Any value in that range earns the mark.
  3. Take two points far apart on the line: Mercury at (−0.412, −0.618) and Saturn at (0.979, 1.469).
  4. The gradient is (1.469 − (−0.618)) ÷ (0.979 − (−0.412)) = 2.087 ÷ 1.391 = 1.50.
  5. So n = 1.50. The line passes through the origin: Earth has d = 1 and T = 1, and lg 1 = 0.
  6. The intercept is lg a = 0, so a = 1.00.
  7. So T = d to the power 1.5, with T in years and d in AU. Squaring both sides gives T² = d³, which is Kepler’s third law.

Answer: n = 1.50 and a = 1.00.

The same method works for exponentials, with ln y against x. Here are counts from a culture of bacteria. The numbers are chosen for this example. The time t is in hours and N is the number of cells.

A table with the heads t (hours), N and ln N. Rows: 0, 200 and 5.298; 1, 290 and 5.670; 2, 395 and 5.979; 3, 575 and 6.354; 4, 800 and 6.685; 5, 1 160 and 7.056.t (hours)Nln N02005.29812905.67023955.97935756.35448006.68551 1607.056
Counts of a culture, and the natural logs of the counts.

Worked example

The counts in the table follow N = A exp(kt). Use the line of ln N against t to find k and A to 3 significant figures.

  1. Take ln of both sides: ln N = ln A + kt. Plot ln N against t. The gradient will be k.
  2. The points lie close to a straight line. Draw the line of best fit. A line drawn by eye gives a slightly different gradient, for example 0.34 to 0.36. Any value in that range earns the mark.
  3. The line passes through (0, 5.302) and (5, 7.046).
  4. The gradient is k = (7.046 − 5.302) ÷ 5.
  5. So k = 1.744 ÷ 5 = 0.349 per hour.
  6. The intercept is ln A = 5.302. So A = exp(5.302) = 201, to 3 significant figures.

Answer: k = 0.349 per hour and A = 201.

A graph with the x axis t (hours) and the y axis ln N. Six dots rise from left to right, all very close to one straight line, the line of best fit. The line meets the left edge at 5.302.01234555.566.577.5t (hours)ln N
ln N against t for the culture. The dots are the six readings and the straight line is the line of best fit.

You can also find the constants from just two exact points, without a graph. The two readings give two equations in ln a and n. Subtract them to cancel ln a, and you are left with an equation for n.

Worked example

Two variables are related by y = a xⁿ. When x = 2, y = 12. When x = 8, y = 96. Find n and a.

  1. Take ln of both sides: ln y = ln a + n ln x. Use each reading.
  2. From (2, 12): ln 12 = ln a + n ln 2. From (8, 96): ln 96 = ln a + n ln 8.
  3. Subtract the first from the second: ln 96 − ln 12 = n (ln 8 − ln 2).
  4. The quotient law gives ln 8 = n ln 4. Since 8 = 2³ and 4 = 2², this is 3 ln 2 = 2n ln 2. So n = 1.5.
  5. Put n = 1.5 in the first reading: 12 = a × 2 to the power 1.5 = a × 2.828. So a = 12 ÷ 2.828 = 4.24.

Answer: n = 1.5 and a = 4.24.

Worked example

A graph of lg y against x is a straight line through the points (1, 0.9) and (4, 1.8). The rule is y = A bˣ. Find A and b to 3 significant figures.

  1. Take lg of both sides: lg y = lg A + x lg b. So the gradient is lg b and the intercept on the vertical axis is lg A.
  2. The gradient is (1.8 − 0.9) ÷ (4 − 1) = 0.3. So lg b = 0.3.
  3. Undo the lg: b = 10 to the power 0.3 = 2.00 to 3 significant figures.
  4. The line is given by two points that are not on the vertical axis, so find its height at x = 0. Going back 1 step from x = 1 lowers lg y by 0.3. So lg A = 0.9 − 0.3 = 0.6.
  5. Undo the lg. To 3 significant figures, A = 10 to the power 0.6 = 3.98.

Answer: A = 3.98 and b = 2.00.

Worked example

A graph of ln y against x is a straight line with gradient 0.5 that passes through (0, 1.2). Write y in the form A exp(kx), and find A and k to 3 significant figures.

  1. The line is ln y = 0.5x + 1.2, with gradient 0.5 and intercept 1.2.
  2. Compare with ln y = ln A + kx. So k = 0.5 and ln A = 1.2.
  3. Undo the ln: A = exp(1.2) = 3.32.
  4. So y = 3.32 exp(0.5x).

Answer: A = 3.32 and k = 0.5.

Try it

Straighten a curve yourself

You need: a scientific calculator, paper and a pencil.

  1. The rule is y = 2x². Work out y for x = 1, 2, 3 and 4.
  2. Work out lg x and lg y for each pair. Write them to 3 decimal places.
  3. Find the gradient from the first pair to the last pair: the change in lg y divided by the change in lg x.

What you will see: The gradient is 2, the power of x. The line starts at lg 2 = 0.301 when lg x = 0. The numbers in lg y rise by equal amounts for equal steps in lg x, which makes the straight line.

If you cannot try it, this is what happens.
A table with the heads x, y, lg x and lg y. Rows: 1, 2, 0.000 and 0.301; 2, 8, 0.301 and 0.903; 3, 18, 0.477 and 1.255; 4, 32, 0.602 and 1.505.xylg xlg y120.0000.301280.3010.9033180.4771.2554320.6021.505

A wrong idea many people have

On the graph of lg y against lg x, the intercept is a.

Why it feels right: In y = mx + c the intercept is a constant you can read off. In y = axⁿ the constant is a, so it looks like the intercept.

The test that breaks it: For y = 5x³ the line is lg y = 3 lg x + lg 5. The intercept is lg 5 = 0.699, not 5. At the point lg x = 0, the height is 0.699, and 10 to the power 0.699 is 5.

What is true: The intercept is lg a, so a = 10 to the power (intercept). For the natural log version, a = exp(intercept). Catch the slip by asking: is the intercept a log, or the number itself?

A wrong idea many people have

To find n in y = axⁿ, plot lg y against x and take the gradient.

Why it feels right: The exponential rule gives a straight line when you plot lg y against x, and the plot is simpler.

The test that breaks it: For y = 3x², plot lg y against x: the points (1, 0.477), (2, 1.079), (4, 1.681), (8, 2.283) are not a line. The gradient from the first pair is 0.60, and from the last pair 0.15.

What is true: A power law needs both axes in logs. An exponential needs only y in logs. If a plot is not straight, you have the wrong plot for the rule. Try the other one.

A wrong idea many people have

You can take lg of y and ln of x on the same graph.

Why it feels right: Both are logarithms, and a log is a log.

The test that breaks it: For y = x², lg y = 2 lg x. Plot lg y against ln x. Since ln x = 2.3026 lg x, the gradient is 2 ÷ 2.3026 = 0.8686, not 2.

What is true: Use the same base on both axes of a log-log graph. Then the gradient is n. With different bases, the gradient is n times a conversion factor. Choose one base and keep it.

A wrong idea many people have

y = 3x² + 4 gives a straight line when you plot lg y against lg x.

Why it feels right: Taking lg of both sides and using the product law seems to split the sum into lg (3x²) + lg 4.

The test that breaks it: The product law splits a product, not a sum. For x = 1 and x = 2, y = 7 and 16, with lg y = 0.845 and 1.204 and lg x = 0 and 0.301. The gradient is 1.19. For x = 4 and 8, y = 52 and 196. The gradient there is 1.91. The gradient changes, so it is not a line.

What is true: A constant added to axⁿ ruins the log trick, because lg (a + b) is not lg a + lg b. Take the constant away first: plot lg (y − 4) against lg x to get a line with gradient 2.

Key words

log-log graph
a graph of the log of y against the log of x. A power law y = axⁿ gives a straight line.
log-linear graph
a graph of the log of y against x. An exponential law gives a straight line.
line of best fit
a straight line drawn through the middle of a set of points, with about as many points on each side.

Back to your guess

The answer is A: A straight line with gradient 2.

If y = 3x², then lg y = lg 3 + 2 lg x. This is a straight line when lg y is plotted against lg x. Its gradient is the power 2, and its intercept is lg 3. The 3 is not the gradient. It hides in the intercept, as lg 3.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. y = 4x³. A graph of lg y against lg x is drawn. Which is its gradient and its intercept?

    Tap your answer.
    1. Not this one. You swapped the numbers. The power 3 is the gradient and the multiplier 4 gives the intercept lg 4. Go to M5.2.7. Try another.

    2. Not this one. The gradient is right, but the intercept is the log of 4, lg 4 = 0.602, and not 4 itself. Go to M5.2.7. Try another.

    3. Yes, that is right. Take lg of both sides: lg y = lg 4 + 3 lg x. In Y = mX + c the gradient m is 3 and the intercept c is lg 4.

    4. Not this one. You swapped them. The gradient is the number n, and the intercept is lg a. Go to M5.2.7. Try another.

    See the answer

    gradient 3, intercept lg 4

    Take lg of both sides: lg y = lg 4 + 3 lg x. In Y = mX + c the gradient m is 3 and the intercept c is lg 4.

    • If you chose A: You swapped the numbers. The power 3 is the gradient and the multiplier 4 gives the intercept lg 4. Go to M5.2.7.
    • If you chose B: The gradient is right, but the intercept is the log of 4, lg 4 = 0.602, and not 4 itself. Go to M5.2.7.
    • If you chose D: You swapped them. The gradient is the number n, and the intercept is lg a. Go to M5.2.7.
  2. Which graph gives a straight line for y = 6 × 2ˣ?

    Tap your answer.
    1. Not this one. That is the graph of the curve itself, which bends upwards. Go to M5.2.7. Try another.

    2. Yes, that is right. Taking lg of y = 6 × 2ˣ gives lg y = lg 6 + x lg 2. This is a straight line in lg y and x, with gradient lg 2 and intercept lg 6.

    3. Not this one. That straightens a power law. For an exponential, x is in the power, so only y needs a log. Go to M5.2.7. Try another.

    4. Not this one. Taking the log of x alone does not straighten an exponential. The log must be applied to y. Go to M5.2.7. Try another.

    See the answer

    lg y against x

    Taking lg of y = 6 × 2ˣ gives lg y = lg 6 + x lg 2. This is a straight line in lg y and x, with gradient lg 2 and intercept lg 6.

    • If you chose A: That is the graph of the curve itself, which bends upwards. Go to M5.2.7.
    • If you chose C: That straightens a power law. For an exponential, x is in the power, so only y needs a log. Go to M5.2.7.
    • If you chose D: Taking the log of x alone does not straighten an exponential. The log must be applied to y. Go to M5.2.7.
  3. A graph of lg y against lg x is a straight line with gradient 1.5 that meets the vertical axis at 0.602. The rule is y = a xⁿ. Which values of a and n fit?

    Tap your answer.
    1. Not this one. The intercept 0.602 is lg a, not a. Undo the log: a = 10 to the power 0.602 = 4. Go to M5.2.7. Try another.

    2. Not this one. You swapped them. The gradient is the power n, and the intercept holds a. Go to M5.2.7. Try another.

    3. Not this one. The gradient 1.5 is the power n. The intercept holds a. Go to M5.2.7. Try another.

    4. Yes, that is right. The gradient is n = 1.5. The intercept is lg a = 0.602, so a = 10 to the power 0.602 = 4.00 to 3 significant figures.

    See the answer

    a = 4, n = 1.5

    The gradient is n = 1.5. The intercept is lg a = 0.602, so a = 10 to the power 0.602 = 4.00 to 3 significant figures.

    • If you chose A: The intercept 0.602 is lg a, not a. Undo the log: a = 10 to the power 0.602 = 4. Go to M5.2.7.
    • If you chose B: You swapped them. The gradient is the power n, and the intercept holds a. Go to M5.2.7.
    • If you chose C: The gradient 1.5 is the power n. The intercept holds a. Go to M5.2.7.
  4. A scientist records pairs of values and sees that y is multiplied by the same number each time x goes up by the same amount. What does this suggest?

    Tap your answer.
    1. Yes, that is right. A steady multiplier for equal steps in x is the mark of an exponential, y = A bˣ. Taking lg gives lg y = lg A + x lg b, a straight line against x.

    2. Not this one. On a straight line y goes up by the same amount each time. Here y is multiplied, so the changes get bigger. Go to M5.2.7. Try another.

    3. Not this one. A power law has y multiplied by a fixed number when x is multiplied by a fixed number, not when x goes up by a fixed amount. Go to M5.2.7. Try another.

    4. Not this one. There is a clear pattern here, a steady multiplier, and a clear rule. Go to M5.2.7. Try another.

    See the answer

    An exponential, where lg y against x is straight.

    A steady multiplier for equal steps in x is the mark of an exponential, y = A bˣ. Taking lg gives lg y = lg A + x lg b, a straight line against x.

    • If you chose B: On a straight line y goes up by the same amount each time. Here y is multiplied, so the changes get bigger. Go to M5.2.7.
    • If you chose C: A power law has y multiplied by a fixed number when x is multiplied by a fixed number, not when x goes up by a fixed amount. Go to M5.2.7.
    • If you chose D: There is a clear pattern here, a steady multiplier, and a clear rule. Go to M5.2.7.
  5. A graph of ln y against x is a straight line with gradient 0.4 that meets the vertical axis at 2. In the form y = A exp(kx), which are A and k?

    Tap your answer.
    1. Not this one. The intercept 2 is ln A, not A. Undo the ln: A = e² = 7.39. Go to M5.2.7. Try another.

    2. Not this one. You swapped them. The gradient 0.4 is k, and the intercept 2 is ln A. Go to M5.2.7. Try another.

    3. Yes, that is right. The line is ln y = 0.4x + 2, so k = 0.4 and ln A = 2. Undo the ln: A = e² = 7.39 to 3 significant figures.

    4. Not this one. The gradient is k and the intercept holds A, not the other way round. Go to M5.2.7. Try another.

    See the answer

    A = 7.39, k = 0.4

    The line is ln y = 0.4x + 2, so k = 0.4 and ln A = 2. Undo the ln: A = e² = 7.39 to 3 significant figures.

    • If you chose A: The intercept 2 is ln A, not A. Undo the ln: A = e² = 7.39. Go to M5.2.7.
    • If you chose B: You swapped them. The gradient 0.4 is k, and the intercept 2 is ln A. Go to M5.2.7.
    • If you chose D: The gradient is k and the intercept holds A, not the other way round. Go to M5.2.7.
  6. Which of these rules cannot be turned into a straight line by plotting lg y against lg x?

    Tap your answer.
    1. Not this one. This is a pure power law, and lg y = lg 3 + 2 lg x is a straight line. Go to M5.2.7. Try another.

    2. Not this one. This is a pure power law, and lg y = lg 4 + 2 lg x is a straight line. Go to M5.2.7. Try another.

    3. Not this one. This is a power law with power −1, and lg y = lg 4 − lg x is a straight line with gradient −1. Go to M5.2.7. Try another.

    4. Yes, that is right. The log of a sum, lg (3x² + 4), does not split, so no line appears. The other rules are single terms of the form axⁿ.

    See the answer

    y = 3x² + 4

    The log of a sum, lg (3x² + 4), does not split, so no line appears. The other rules are single terms of the form axⁿ.

    • If you chose A: This is a pure power law, and lg y = lg 3 + 2 lg x is a straight line. Go to M5.2.7.
    • If you chose B: This is a pure power law, and lg y = lg 4 + 2 lg x is a straight line. Go to M5.2.7.
    • If you chose C: This is a power law with power −1, and lg y = lg 4 − lg x is a straight line with gradient −1. Go to M5.2.7.
  7. From an earlier chapter

    A sample has a half-life of 12 days. What fraction of it is left after 36 days?

    Tap your answer.
    1. Not this one. You worked out 1 ÷ (2 × 3). Each half-life halves what is left. Three half-lives halve three times. Go to M5.2.6. Try another.

    2. Yes, that is right. The time of 36 days is 36 ÷ 12 = 3 half-lives. Each halves what is left, so the fraction is 1/2 × 1/2 × 1/2 = 1/8.

    3. Not this one. That is the fraction after two half-lives, 24 days. After 36 days it has halved a third time. Go to M5.2.6. Try another.

    4. Not this one. You divided by the number of half-lives, 3. But each one halves again, and the halving multiplies. Go to M5.2.6. Try another.

    See the answer

    1/8

    The time of 36 days is 36 ÷ 12 = 3 half-lives. Each halves what is left, so the fraction is 1/2 × 1/2 × 1/2 = 1/8.

    • If you chose A: You worked out 1 ÷ (2 × 3). Each half-life halves what is left. Three half-lives halve three times. Go to M5.2.6.
    • If you chose C: That is the fraction after two half-lives, 24 days. After 36 days it has halved a third time. Go to M5.2.6.
    • If you chose D: You divided by the number of half-lives, 3. But each one halves again, and the halving multiplies. Go to M5.2.6.
  8. y = 7x². On a graph of lg y against lg x, give the gradient and then the intercept, the intercept to 3 decimal places. Separate them with a comma.

    See the answer

    2, 0.845

    Take lg of both sides: lg y = lg 7 + 2 lg x. The gradient is 2. The intercept is lg 7 = 0.845.

  9. Two variables are related by y = a xⁿ. When x = 2, y = 20. When x = 4, y = 160. Find n and a.

    See the answer

    n = 3 and a = 2.5

    Divide the readings: 160 ÷ 20 = 8 = (4 ÷ 2)ⁿ = 2ⁿ, so n = 3. Then 20 = a × 2³ = 8a, so a = 2.5. Check with the other reading: 2.5 × 4³ = 160.

  10. A graph of ln y against t is a straight line through (0, 3) and (4, 5). Write y = A exp(kt) and find A to 3 significant figures and k.

    See the answer

    A = 20.1 and k = 0.5

    The intercept is ln A = 3, so A = e³ = 20.1. The gradient is k = (5 − 3) ÷ (4 − 0) = 0.5.

  11. For the planets, T = d to the power 1.5, with T in years and d in AU. A small body is 19.2 AU from the Sun. Predict the time of one orbit, to 3 significant figures.

    See the answer

    84.1

    Put d = 19.2: T = 19.2 to the power 1.5 = 19.2 × √19.2 = 19.2 × 4.382 = 84.1 years. This reaches far beyond the data, which stop at 9.5 AU, but it holds because the rule comes from gravity, not just from the data.

  12. A graph of ln y against x is a straight line through (1, 2.5) and (4, 4.3). The rule is y = A exp(kx). Find k, then A to 3 significant figures. Type k, then A.

    See the answer

    0.6, 6.69

    The gradient is k = (4.3 − 2.5) ÷ (4 − 1) = 0.6. Going back 1 step from x = 1 lowers ln y by 0.6, so ln A = 2.5 − 0.6 = 1.9. Then A = exp(1.9) = 6.69 to 3 significant figures.

Keep it

Copy this into your exercise book.

For y = axⁿ, plot lg y against lg x. The gradient is n and the intercept is lg a. For y = A exp(kx), plot ln y against x. The gradient is k. Use one log base.

Draw: A straight line on log axes with its gradient triangle and its intercept marked.

Key words, A to Z

Every key word in this book, what it means, and the chapter that teaches it.

asymptote
a line that a curve gets closer to but never reaches. M5.2.1
base
the number a in aˣ, which is multiplied by itself. M5.2.1
change of base formula
the log of x to the base a is log x ÷ log a, with both logs to any one base. M5.2.3
decay
the shape of y = aˣ when a is between 0 and 1. The values fall as x rises. M5.2.1
doubling time
the time for a growing quantity to become twice as big. T = ln 2 ÷ k. M5.2.6
e
the number that (1 + 1/n)ⁿ gets closer to as n grows. e = 2.71828 to 5 decimal places, and it is irrational. M5.2.5
exponential function
a rule f(x) = aˣ with a above 0 and a ≠ 1, where x is the power. M5.2.1
extraneous root
an answer found by correct algebra that fails the original equation, such as a value that puts a negative number inside a log. M5.2.4
growth
the shape of y = aˣ when a is above 1. The values rise as x rises. M5.2.1
growth factor
the number you multiply by each time step, 1 + r. A factor above 1 is growth, and below 1 is decay. M5.2.6
half-life
the time for a decaying quantity to fall to half. T = ln 2 ÷ |k|. M5.2.6
index form
a statement such as 2⁵ = 32, with a power. M5.2.2
inverse function
a function that undoes another. The log to the base a undoes aˣ. M5.2.2
limit
the number a list of values gets closer and closer to, as n grows, such as e for (1 + 1/n)ⁿ. M5.2.5
line of best fit
a straight line drawn through the middle of a set of points, with about as many points on each side. M5.2.7
log form
the same statement written with a log, log₂ 32 = 5. M5.2.2
log-linear graph
a graph of the log of y against x. An exponential law gives a straight line. M5.2.7
log-log graph
a graph of the log of y against the log of x. A power law y = axⁿ gives a straight line. M5.2.7
logarithm
the power a base must be raised to, to give a number. The log of b to the base a is x when aˣ = b. M5.2.2
model
a rule that fits data and predicts new values, such as N = 50 × 1.08 to the power t. M5.2.6
natural logarithm
the log to the base e, written ln x. It is the inverse of eˣ. M5.2.5
power law
n log x = log (xⁿ), where n is any real number. M5.2.3
product law
log x + log y = log (xy), for logs to the same base and x, y above 0. M5.2.3
quadratic in disguise
an equation with two powers of the same kind, such as 4ˣ and 2ˣ, that becomes a quadratic after a substitution. M5.2.4
quotient law
log x − log y = log (x ÷ y). M5.2.3
take logs
apply a log to both sides of an equation, to bring a power down with the power law. M5.2.4