A-level Mathematics6.3 Logarithms and the laws of logarithms

All books

6.3 Logarithms and the laws of logarithms — Learn

Prerequisites: the graphs of axa^x and exe^x 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 y=ln⁡xy = \ln x; 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?

log⁡ax=ymeansay=x.\log_a x = y \quad \text{means} \quad a^y = x.

The base aa must be positive and not equal to 11. The input xx must be positive, because aya^y is always positive. This is the domain of a logarithm: x>0x > 0.

Example 1. Write 25=322^5 = 32 in logarithmic form.

The base 22, the power 55 and the result 3232 give

log⁡232=5.\log_2 32 = 5.

Example 2. Work out log⁡381\log_3 81.

Ask what power of 33 gives 8181. Since 81=3481 = 3^4, the answer is 44.

Example 3. Work out log⁡218\log_2 \dfrac{1}{8}.

Write the input as a power of the base: 18=2−3\dfrac{1}{8} = 2^{-3}. So log⁡218=−3\log_2 \dfrac{1}{8} = -3. A logarithm of a number smaller than 11 is negative.

2. The graph of a logarithm

The logarithmic function y=log⁡axy = \log_a x is the inverse of y=axy = a^x. Its graph is the reflection of the exponential graph in the line y=xy = x. So:

The natural logarithm, written ln⁡x\ln x, is the logarithm to base ee:

ln⁡x=log⁡ex.\ln x = \log_e x.

Its graph is the reflection of y=exy = e^x in the line y=xy = x. Because ee is the natural base for growth, ln⁡x\ln x is the natural inverse.

3. The laws of logarithms

The three laws follow from the laws of indices. For positive xx and yy:

log⁡a(xy)=log⁡ax+log⁡ay,\log_a(xy) = \log_a x + \log_a y, log⁡axy=log⁡ax−log⁡ay,\log_a\dfrac{x}{y} = \log_a x - \log_a y, log⁡a(xk)=klog⁡ax.\log_a\left(x^k\right) = k\log_a x.

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 kk, including k=−1k = -1 and k=−12k = -\dfrac{1}{2}.

Two useful special values follow from the definition:

log⁡aa=1,log⁡a1=0.\log_a a = 1, \qquad \log_a 1 = 0.

Example 4. Write log⁡28+log⁡24\log_2 8 + \log_2 4 as a single logarithm, and evaluate it.

By the product law, log⁡28+log⁡24=log⁡232=5\log_2 8 + \log_2 4 = \log_2 32 = 5. Checking directly: log⁡28=3\log_2 8 = 3 and log⁡24=2\log_2 4 = 2, and 3+2=53 + 2 = 5.

Example 5. Expand ln⁡x3y\ln\dfrac{x^3}{y} using the laws of logarithms.

The quotient law splits the fraction, and the power law brings the 33 down:

ln⁡x3y=ln⁡x3−ln⁡y=3ln⁡x−ln⁡y.\ln\frac{x^3}{y} = \ln x^3 - \ln y = 3\ln x - \ln y.

Example 6. Write 2ln⁡x+ln⁡y2\ln x + \ln y as a single logarithm.

The power law turns the first term into ln⁡x2\ln x^2. The product law then combines the two terms:

2ln⁡x+ln⁡y=ln⁡x2+ln⁡y=ln⁡(x2y).2\ln x + \ln y = \ln x^2 + \ln y = \ln\left(x^2y\right).

Example 7. Solve log⁡5x=2\log_5 x = 2.

Rewrite the logarithm as a power: x=52=25x = 5^2 = 25. The answer is positive, as the domain requires.

Example 8. Change the base of log⁡27\log_2 7 to base ee.

Write y=log⁡27y = \log_2 7, so 2y=72^y = 7. Take the natural logarithm of both sides: yln⁡2=ln⁡7y\ln 2 = \ln 7, giving

log⁡27=ln⁡7ln⁡2.\log_2 7 = \frac{\ln 7}{\ln 2}.

This change-of-base rule turns any base into a base your calculator can handle. Section 6.4 uses it to solve ax=ba^x = b.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.