The laws of logarithms
For a base with and , and for positive numbers and ,
There is also the change-of-base rule, which turns a logarithm in one base into a quotient of logarithms in another:
Before you start
You need three things:
- What a logarithm is. is the power you raise to in order to get . So means exactly .
- The laws of indices. , , and .
- The rules for the base. A base must satisfy and . The proof shows where each rule is needed.
Predict first
The first law says
The left-hand side multiplies the two inputs. The right-hand side adds the two logarithms.
Before you read on, predict: a logarithm is an index, the power you raise the base to. Multiplying two powers of the same base adds their indices, so why should multiplying and add their logarithms? Write your answer in one sentence. Then read the proof and compare.
The proof
One idea runs through all three laws: a logarithm is an index. So each law is an index law read backwards.
Write the two logarithms as letters:
By the definition of a logarithm, that means
Now take the three index laws in turn.
The product law. Multiply and :
The first index law added the indices. Read the result as a logarithm: the power of that gives is . So
The quotient law. Divide by instead:
The second index law subtracted the indices, so
The power law. Raise to the power :
The third index law multiplied the indices, so the power that gives is :
That is all three laws. Each one is an index law, with the logarithm read off at the end, and none of them is a new fact about logarithms.
Two values worth keeping. Because , we have . Because , we have . The second is why is zero only when .
The change-of-base rule. This rule lets you work in a base of your choosing, so it is worth deriving rather than quoting. Let
Take of both sides:
The power law, already proved, brings the down:
Now divide both sides by . This is allowed because is not zero: if then , and the base is not . So
What is assumed, and why
Each rule on the base and the inputs is doing a job. The proof would break without it.
- . A logarithm is an index on the base . A negative base has no real power for many exponents — is not a real number — so a base that works for every input must be positive.
- . If then for every . No power of gives a number other than , so has no answer when , and too many answers when . The base cannot be .
- and . Since and , and a positive base raised to any power is positive, and must be positive. A logarithm of zero or of a negative number has no real value, so the laws are stated for positive inputs only.
- and in the change-of-base rule, for the same two reasons. The division by is the third place the base matters: if then and the fraction has no value.
Check your understanding
- Write as a single logarithm.
- Use the power law to show that .
- Explain why is defined for and when you multiply first, but the law is not defined for those inputs.
Answers
- By the product law, .
- , so by the power law with , .
- The product is positive, so exists. But and each ask for a power of that gives a negative number, and there is none. The law is stated for positive inputs because every logarithm in it must exist on its own, not only in combination.
One more thing
The change-of-base rule is why a calculator needs only two logarithm buttons, one for base and one for base . To work out , write
You may use any base for the quotient. The two logarithms change together as the base changes, so the ratio stays the same.