6.3 Logarithms and the laws of logarithms — Learn
Prerequisites: the graphs of and from Section 6.1; the laws of indices from Chapter 2; the idea of an inverse function from Chapter 2.
By the end of this section you can: convert between exponential and logarithmic form; evaluate a logarithm by writing the input as a power; sketch ; use the three laws of logarithms in both directions; and change the base of a logarithm.
1. A logarithm undoes a power
A logarithm answers the question: what power of the base gives this number?
The base must be positive and not equal to . The input must be positive, because is always positive. This is the domain of a logarithm: .
Example 1. Write in logarithmic form.
The base , the power and the result give
Example 2. Work out .
Ask what power of gives . Since , the answer is .
Example 3. Work out .
Write the input as a power of the base: . So . A logarithm of a number smaller than is negative.
2. The graph of a logarithm
The logarithmic function is the inverse of . Its graph is the reflection of the exponential graph in the line . So:
- it passes through , because ;
- it passes through , because ;
- the -axis is a vertical asymptote, because the input must stay positive;
- the domain is and the range is all real numbers;
- when the graph rises, and when it falls.
The natural logarithm, written , is the logarithm to base :
Its graph is the reflection of in the line . Because is the natural base for growth, is the natural inverse.
3. The laws of logarithms
The three laws follow from the laws of indices. For positive and :
The first law says that adding logarithms multiplies the inputs. The second says that subtracting logarithms divides the inputs. The third says that a multiplier becomes a power. The power law holds for every real , including and .
Two useful special values follow from the definition:
Example 4. Write as a single logarithm, and evaluate it.
By the product law, . Checking directly: and , and .
Example 5. Expand using the laws of logarithms.
The quotient law splits the fraction, and the power law brings the down:
Example 6. Write as a single logarithm.
The power law turns the first term into . The product law then combines the two terms:
Example 7. Solve .
Rewrite the logarithm as a power: . The answer is positive, as the domain requires.
Example 8. Change the base of to base .
Write , so . Take the natural logarithm of both sides: , giving
This change-of-base rule turns any base into a base your calculator can handle. Section 6.4 uses it to solve .
Watch out. These mistakes are common.
Treating a logarithm as a multiplier. The symbol is a function, not a number. So is not , and is not .
Adding inside instead of multiplying. The product law is . There is no simple law for ; in general is not . Test it with : , not .
Ignoring the domain. A logarithm needs a positive input. The equation has the single solution , because a negative or zero input is not allowed.
Re-check: after using a law, choose a value for the letters and check both sides with a calculator. For example, test .
You should now be able to
- convert between and ;
- evaluate a logarithm by writing the input as a power of the base;
- sketch and state its intercept, asymptote and domain;
- use the product, quotient and power laws in both directions;
- state the domain of a logarithmic expression;
- change the base of a logarithm.