MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Upper Secondary
MathematicsUpper Secondary

Laws of logarithms

U2 — Algebra Advancing › U2.7 — Indices and LogarithmsLecture 4 of 5~2570 words

Multiplying by adding

Before calculators, multiplying two seven-digit numbers by hand took a long time, and one slip spoiled the answer. Astronomers and navigators did thousands of these calculations. In the early 1600s they were given a way to replace almost every multiplication with an addition. Adding is much faster, and much safer.

That sounds impossible. Multiplying and adding are different operations: is 256, and is 40. So where could an addition hide inside a multiplication?

Look at the indices, not the numbers. and . Their product is . And . The figure shows the same thing on a line.

numberindex 1 0 2 1 4 2 8 3 16 4 32 5 64 6 128 7 256 8 3 steps: 2³ = 8 5 more steps: × 2⁵ = × 32 each step to the right multiplies by 2
Powers of 2 above, their indices below. Each step to the right multiplies the number by 2 and adds 1 to the index. Going 3 steps and then 5 more lands on 256, because and . Multiplying along the top is adding along the bottom.

The last lecture ended with a pattern like this. It found that : doubling a number adds exactly 1 to its base-2 logarithm. It promised that this lecture would show why patterns like that always hold. Here is the reason, and two more laws that come with it.

Where the pattern comes from

Start from the one idea of the last lecture: a logarithm is an index. In base 2, and . So the pattern above says

Is that a coincidence of these numbers? To find out, we prove it for any two positive numbers and and any allowed base . The proof uses nothing new. It uses the definition of a logarithm and the first index law: multiplying powers of the same base adds the indices.

Step 1. Give the two logarithms names. Let and . By the definition, this means and .

Step 2. Multiply. . By the first index law, this is .

Step 3. Read it as a logarithm. says that to the power gives . By the definition, that is exactly . Now put the names back: .

That is it. That is the whole idea. The logarithm of a product is the sum of the logarithms, because logarithms are indices, and multiplying powers adds their indices. The law is the first index law, read through the logarithm.

Now the promise from the last lecture. Write 40 as . Then . Doubling adds , which is 1. In the same way, multiplying by 10 adds exactly 1 to a base-10 logarithm, because .

This is also how the old tables were used. To find , a navigator looked up and . One addition gave about 2.2559. Then a second table, read backwards, gave the number with that logarithm: about 180.3. The exact product is 180.268, so the tables gave the first four figures correctly.

The explorer below turns this into lengths. On this ruler, each number sits at a distance equal to its base-10 logarithm. So laying two lengths end to end adds two logarithms.

Explore — a ruler that multiplies

Choose two numbers A and B. The teal bar has length log₁₀ A. The ink bar, placed after it, has length log₁₀ B. Read where the two bars end, then compare it with A × B.

A ruler on which each number sits at a distance equal to its base-10 logarithm. The teal length is and the ink length is . Laid end to end, they end at 8.

1 2 3 4 5 7 10 20 30 50 70 100 2 × 4 = 8
A × Blog₁₀ A + log₁₀ BProduct
2 × 4≈ 0.3010 + 0.6021 ≈ 0.90318
2.5 × 4≈ 0.3979 + 0.6021 = 110
3 × 7≈ 0.4771 + 0.8451 ≈ 1.322221
6 × 9≈ 0.7782 + 0.9542 ≈ 1.732454

What should you have seen? Wherever you put A and B, the bars end exactly at . Try : the bars end at 10, because . Neither logarithm is a tidy number, but their sum is exactly 1. This ruler is the idea behind the slide rule, which engineers used to multiply for more than three hundred years.

Dividing, and powers

The first index law gave the first law of logarithms. The other two index laws give the other two, with the same three steps.

Dividing. Keep and . Then , by the second index law. Read it as a logarithm: . Dividing the numbers subtracts their logarithms.

Powers. Now raise to a power . , by the third index law. Read it as a logarithm: . The power comes down to the front and multiplies the logarithm.

Check the power law with numbers. , and . ✓ The third law also works when is a fraction or negative, because the third index law does. For example, .

The laws of logarithms

For an allowed base (positive and not 1), positive numbers and , and any number :

(from )

(from )

(from )

Do not learn these as three new facts. Learn the one sentence behind them: a logarithm is an index. If you ever forget a law, let , write the power, and use the index law. The law returns in three lines.

Two small facts that come for free

Two values appear in almost every question. Both come straight from the definition. For any allowed base :

They also agree with the laws, as they must. The first law gives . And is , so nothing has changed. ✓ The second law gives one more useful fact: . Turning a number upside down changes the sign of its logarithm. For example, , as the last lecture found directly.

Stop and think

A student writes , because . Is this right?

Show the answer

No. The first law turns a sum of logarithms into the logarithm of a product: . The reason is in the proof. Adding the logarithms adds the indices, and adding indices means multiplying the powers, not adding them. There is no law for the logarithm of a sum. is simply , and it cannot be split into two logarithms.

What the laws do not say

The laws are about three things inside one logarithm: multiplying, dividing and powers. They say nothing about adding or subtracting inside a logarithm. They also say nothing about multiplying or dividing two logarithms. This is where most mistakes come from, because some of these false rules look very like the real ones. Sort the statements below. Each one uses positive numbers and .

Sorter — a law, or a look-alike?

Tap a statement, then tap a box: always true, or not true in general. Read the reason after each one.

Ten statements about logarithms of positive numbers and , sorted by whether they are always true.

  • Always true. (first law). (second law, with ). (third law). (second law, with ). (third law, with ).
  • Not true in general. : with , the left is and the right is 0. : with , the left is 1 and the right is 2. : with , the left is 9 and the right is 6. : with and , the left is 2 and the right is 1. : with and , the left is 1 and the right is about 0.301.

What should you have learned? Every false statement can be broken by one pair of numbers. That is the quickest way to test a rule you are not sure of. If one test fails, the rule is false. A test that passes proves nothing, as the spot-the-error example in the last lecture showed.

Using the laws

The laws are used in two directions. Combining turns several logarithms into one. Expanding splits one logarithm into simpler pieces. In every example, the base stays the same throughout.

Worked Example 1 — Writing as a single logarithm

Write as a single logarithm, and evaluate where possible: (a) (b) .

(a) The first law combines the first two: . The second law then gives .

(b) A number in front of a logarithm must go inside first, by the third law: . Now the first law: .

Check (b) with a calculator: . ✓ Neither logarithm was a whole number, but the answer is exactly 2.

Worked Example 2 — Exact values without a calculator

Find (a) (b) .

(a) Neither nor is a whole number. Combine them first: . Then ask the question: 2 to the power of what gives 16? So the answer is 4.

(b) , because .

The thinking: when the separate logarithms are hard, combine them and hope the number inside becomes a power of the base. Questions without a calculator are usually written so that it does.

Worked Example 3 — Building logarithms from one value

Given , find , , and without a calculator.

, so .

5 is not a power of 2. But , and . So . This works because 2 and 5 multiply to 10, so their logarithms must add to 1.

, so . Another route gives the same: , so .

, so . It is negative because 0.4 is less than 1.

Check with a calculator: , , . ✓ One remembered value gave four more.

Worked Example 4 — Expanding, and combining with letters

(a) Expand , where , and are positive. (b) Write as a single logarithm.

(a) The top is a product and the whole is a quotient. So the first two laws give . The third law brings each power down: .

(b) The "+ 1" is not a logarithm yet. Write it as one in base 3: . Then the third law: and . Combine: .

Check (a) with , , : the left is , and the right is . ✓

Worked Example 5 — How many digits?

How many digits does have? Use .

The number of digits depends on the power of 10 a number lies between. A number between and has 20 digits, just as a number between and has two. So find .

By the third law, . So , which is between and . It has 20 digits.

Check: . Count them: 20 digits. ✓ The law answered a question about a number too long to work out by hand.

Three classic mistakes

Trap 1 — Splitting the logarithm of a sum

cannot be written as . The first law is about , a product. The logarithm of a sum has no law, so leave it as it is. If an expression inside a logarithm can be factorised, factorise it first: .

Trap 2 — Treating a quotient of logarithms as the second law

is not . It is , by the third law. The second law is about , one logarithm of a quotient. A quotient of two logarithms is something different. The next lecture shows what it means, and why it is useful.

Trap 3 — Bringing down a power that is not on the whole inside

is not . The power 2 is only on . Split the product first: . In the same way, is not , because the square is outside the logarithm. And never combine logarithms with different bases: is not one logarithm.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Write as a single logarithm: (a) (b) , and evaluate it (c) .

    Hint 1

    A plus sign means multiply inside, and a minus sign means divide inside.

    Hint 2

    In (c), move the 3 inside first: .

    Full answer

    (a) . (b) . (c) . Check (b): and ; the difference is 3. ✓

  2. Without a calculator, find (a) (b) (c) (d) .

    Hint 1

    Combine first. Then ask: the base to the power of what gives the number inside?

    Hint 2

    (b) gives . (d) gives .

    Full answer

    (a) . (b) , because . (c) . (d) . Check (b) separately: and , because . The sum is 3. ✓

  3. Given and , find (a) (b) (c) (d) .

    Hint 1

    Write each number using only 2, 3 and 10, by multiplying, dividing and powers.

    Hint 2

    , , and .

    Full answer

    (a) . (b) . (c) . (d) . So each value is approximately these. Check with a calculator: and . ✓ The answer to (d) is negative because 0.09 is less than 1.

  4. The loudness of a sound is measured in decibels (dB). A sound with intensity has a level , where is a fixed, very quiet reference intensity. (a) Show that doubling the intensity always adds about 3 dB, whatever the starting level. (b) One machine makes 70 dB. Two identical machines run together, so the intensity doubles. What is the level? (c) How many of these machines are needed to reach 90 dB?

    Hint 1

    (a) Write the new level and use the first law to split off the 2.

    Hint 2

    (c) Going from 70 dB to 90 dB adds 20 dB. Each factor of 10 in intensity adds dB.

    Full answer

    (a) New level . The increase is dB, and does not appear in it, so it is the same from any starting level. (b) About 73 dB, not 140 dB. (c) dB, and . So the intensity must be 100 times bigger: 100 machines. Check: . ✓ This is why the decibel scale uses a logarithm. Multiplying the intensity by the same factor always adds the same number of decibels.

The bigger idea

The three laws of logarithms are the three index laws, read in reverse. The index laws say what happens to the indices when you multiply, divide or raise powers. A logarithm is an index, so the logarithm laws say the same thing in the other direction. This is what an inverse function does. It undoes the original, so its rules mirror the original's rules.

The laws changed how science was done. Napier published his first table in 1614, and Briggs's base-10 tables followed. Kepler saw Napier's work a few years later and welcomed it. His great planetary tables of 1627, the Rudolphine Tables, included tables of logarithms. In 1620 Edmund Gunter marked a logarithmic scale on a ruler and added lengths with a pair of dividers. Around 1622 William Oughtred slid two such scales against each other. That was the first slide rule: the explorer above, made of wood. Slide rules stayed in daily use until electronic calculators replaced them in the 1970s.

On a logarithmic scale, equal steps mean equal ratios, not equal differences. That is why decibels, pH and earthquake magnitudes use one. The next lecture uses the third law for its most important job: bringing an unknown down from the index, to solve equations such as .

Key concepts in this lesson