1.9 · AHL · HL onlyPaper 1Paper 2

Laws of logarithms

In a minute

The turn a product inside a log into a sum, a quotient into a difference and a power into a multiple. In AI you use them with base 1010 and base e\mathrm{e} to simplify expressions, to turn exponential and power models into straight lines, and to compare values on log scales such as decibels.

You'll be able to

  • Use the product, quotient and power laws to split one into several, or to combine several into one.
  • Say when the laws apply: positive values inside every log, base 1010 or e\mathrm{e} in exams, and no law for the log of a sum.
  • Take ln⁡\ln or log⁡10\log_{10} of an exponential or power model to get a straight line, and undo the logs to recover the model.
  • Use the laws to compare values on a log scale and to solve log equations, rejecting any value that makes a log undefined.
Before you start2 quick questions on what this builds on
Check yourself
Rewrite ex=7\mathrm{e}^{x} = 7 with xx as the subject.
Check yourself
Simplify 104×10−110^{4} \times 10^{-1}.

Revise first: 1.5 Exponents and introductory logarithms

The three laws

A is an exponent. log⁡10100=2\log_{10} 100 = 2 because 102=10010^{2} = 100, and log⁡101000=3\log_{10} 1000 = 3 because 103=100010^{3} = 1000.

Multiply the two numbers: 100×1000=102×103=105100 \times 1000 = 10^{2} \times 10^{3} = 10^{5}. By the , multiplying powers adds the exponents. So log⁡10(100×1000)=5=2+3\log_{10}(100 \times 1000) = 5 = 2 + 3.

So the log of a product is the sum of the logs. Dividing powers subtracts exponents, and a power of a power multiplies them. These give the other two laws.

In the formula booklet
log⁡axy=log⁡ax+log⁡ay\log_{a} xy = \log_{a} x + \log_{a} y
In the formula booklet
log⁡axy=log⁡ax−log⁡ay\log_{a} \frac{x}{y} = \log_{a} x - \log_{a} y
In the formula booklet
log⁡axm=mlog⁡ax\log_{a} x^{m} = m\log_{a} x

These are the . They hold when aa, xx and yy are positive and a≠1a \neq 1. They are in the formula booklet; you need to spot when to use them.

In AI exams the base aa is always 1010 or e\mathrm{e}. Base e\mathrm{e} is the , so the product law reads ln⁡xy=ln⁡x+ln⁡y\ln xy = \ln x + \ln y.

Since log⁡1010=1\log_{10} 10 = 1 and ln⁡e=1\ln \mathrm{e} = 1, the power law gives log⁡1010k=k\log_{10} 10^{k} = k and ln⁡ek=k\ln \mathrm{e}^{k} = k.

Worked exampleWrite ln⁡18+ln⁡5−2ln⁡3\ln 18 + \ln 5 - 2\ln 3 as a single logarithm. Check your answer on your GDC.

Try it first, then reveal one step at a time.

  1. Use the power law first, so every term is a single log: 2ln⁡3=ln⁡32=ln⁡92\ln 3 = \ln 3^{2} = \ln 9.
Worked exampleGiven that p,q>0p, q > 0, write log⁡10(1000p2q)\log_{10}\left(\frac{1000p^{2}}{q}\right) in terms of log⁡10p\log_{10} p and log⁡10q\log_{10} q.

Try it first, then reveal one step at a time.

  1. Quotient law: log⁡10(1000p2q)=log⁡10(1000p2)−log⁡10q\log_{10}\left(\frac{1000p^{2}}{q}\right) = \log_{10}\left(1000p^{2}\right) - \log_{10} q.
Check yourself
Find the exact value of log⁡104+log⁡1025\log_{10} 4 + \log_{10} 25.
Check yourself
A positive quantity QQ is multiplied by 100100. What happens to log⁡10Q\log_{10} Q?
Check yourself
For x>1x > 1, write ln⁡(x+3)+2ln⁡x−ln⁡(x−1)\ln(x + 3) + 2\ln x - \ln(x - 1) as a single logarithm.

Straight lines from exponential and power models

Many AI models are exponential, y=kebxy = k\mathrm{e}^{bx}, or power, y=kxny = kx^{n}. Their graphs curve, but taking logs of both sides turns each into a straight line.

Exponential model: ln⁡y=ln⁡(kebx)=ln⁡k+ln⁡ebx=ln⁡k+bx\ln y = \ln\left(k\mathrm{e}^{bx}\right) = \ln k + \ln \mathrm{e}^{bx} = \ln k + bx. That is the product law, then the power law with ln⁡e=1\ln \mathrm{e} = 1.

So ln⁡y\ln y against xx is a straight line, with gradient bb and vertical intercept ln⁡k\ln k.

Power model: log⁡10y=log⁡10k+log⁡10xn=log⁡10k+nlog⁡10x\log_{10} y = \log_{10} k + \log_{10} x^{n} = \log_{10} k + n\log_{10} x. So log⁡10y\log_{10} y against log⁡10x\log_{10} x is a straight line, with gradient nn and intercept log⁡10k\log_{10} k. It works with ln⁡\ln too.

To undo it, run the laws backwards: combine the right-hand side into one log, then drop the logs from both sides. You'll use this to fit models to data in 2.10.

Worked exampleA biologist models the number of bacteria in a culture, tt hours after it is set up, by N=2400e0.35tN = 2400\mathrm{e}^{0.35t}. Show that ln⁡N\ln N is a linear function of tt, and interpret its gradient.

Try it first, then reveal one step at a time.

  1. Take ln⁡\ln of both sides: ln⁡N=ln⁡(2400e0.35t)\ln N = \ln\left(2400\mathrm{e}^{0.35t}\right).
0.5 1 1.5 2 2 1 0 −1 −2 −3 −4 −5 log₁₀ L log₁₀ M intercept −4.7 across 0.5 up 1.5 gradient 3 40 cm fish
log⁡10M=3log⁡10L−4.7\log_{10} M = 3\log_{10} L - 4.7: gradient 33 is the power of LL, and the intercept gives k=10−4.7k = 10^{-4.7}.
Worked exampleFor one species of fish, a plot of log⁡10M\log_{10} M against log⁡10L\log_{10} L is the straight line log⁡10M=3log⁡10L−4.7\log_{10} M = 3\log_{10} L - 4.7, where MM is the mass in kg and LL is the length in cm. Write MM in the form kLnkL^{n}, then estimate the mass of a fish 4040 cm long. Give your answer to 3 s.f.

Try it first, then reveal one step at a time.

  1. Power law, read backwards: 3log⁡10L=log⁡10L33\log_{10} L = \log_{10} L^{3}.
Check yourself
A town's population is modelled by P=800e0.05tP = 800\mathrm{e}^{0.05t}. Which expression equals ln⁡P\ln P?
Check yourself
A power model is ln⁡y=0.8ln⁡x+2\ln y = 0.8\ln x + 2, for x>0x > 0. By what factor is yy multiplied when xx doubles? Give your answer to 3 s.f.

Log scales and log equations

Sound level in decibels (dB) is L=10log⁡10(II0)L = 10\log_{10}\left(\frac{I}{I_{0}}\right). Here II is the sound's intensity and I0I_{0} is a fixed reference intensity.

Multiply the intensity by cc. The product law gives 10log⁡10(cII0)=10log⁡10c+10log⁡10(II0)10\log_{10}\left(\frac{cI}{I_{0}}\right) = 10\log_{10} c + 10\log_{10}\left(\frac{I}{I_{0}}\right). So the level rises by 10log⁡10c10\log_{10} c dB, whatever it was to start with.

Worked exampleOne hairdryer has a sound level of 6464 dB. Assume that the intensities of identical sources add. Find the sound level when 55 identical hairdryers run together. Give your answer to 1 d.p.

Try it first, then reveal one step at a time.

  1. Five hairdryers give 55 times the intensity, so c=5c = 5.

The laws also help you solve equations. Combine the logs on each side into a single log, then drop the logs. Always check each answer in the original equation, because a log of zero or a negative number doesn't exist.

Worked exampleSolve ln⁡x+ln⁡(x+5)=ln⁡14\ln x + \ln(x + 5) = \ln 14.

Try it first, then reveal one step at a time.

  1. Product law on the left: ln⁡(x(x+5))=ln⁡14\ln\left(x(x + 5)\right) = \ln 14.
Check yourself
A concert measures 110110 dB and a busy street measures 8080 dB. How many times as intense is the concert sound?
Check yourself
Solve log⁡10x+log⁡10(x−15)=2\log_{10} x + \log_{10}(x - 15) = 2.

Common mistakes

  • Splitting the log of a sum. ln⁡(x+4)\ln(x + 4) can't be split: the laws only work on products, quotients and powers inside the log.
  • Applying a power to only part of the inside. 2log⁡10(5x)=log⁡1025x22\log_{10}(5x) = \log_{10} 25x^{2}, not log⁡105x2\log_{10} 5x^{2}.
  • Treating ln⁡xln⁡y\frac{\ln x}{\ln y} as ln⁡x−ln⁡y\ln x - \ln y. The quotient law is about ln⁡xy\ln \frac{x}{y}, the log of a fraction, not a fraction of two logs.
  • Rounding the gradient or intercept of a log line, often read from your GDC, before you undo the logs. A small change in an exponent changes the answer a lot, so store full values and round only the final answer.
  • In a "show that", substituting values into the given result to see that it works. Working backwards earns no marks: start from the given model and apply the laws until you reach the result.

Exam tips

  • "Show that" with logs: start from the given expression, use one law per line and name it. Your final line must match the given result exactly, or the last mark is lost.
  • When asked to write an expression in the form ln⁡g(x)\ln g(x), write each step. A correct use of one law can earn a method mark even if a later step slips.
  • Check a simplification on your GDC: put the same test value, one where every log is defined, into the original expression and into your answer. The two values must agree; if they don't, the simplification is wrong.
  • "Solve" means find every valid solution. With a GDC, write down the equation you give the GDC, then the solution, and say why you rejected any value.

Key takeaways

In bookletlog⁡axy=log⁡ax+log⁡ay\log_{a} xy = \log_{a} x + \log_{a} y
In bookletlog⁡axy=log⁡ax−log⁡ay\log_{a} \frac{x}{y} = \log_{a} x - \log_{a} y
In bookletlog⁡axm=mlog⁡ax\log_{a} x^{m} = m\log_{a} x
Learn thisThe laws need aa, xx and yy positive with a≠1a \neq 1. In exams the base is 1010 or e\mathrm{e}. There is no law for the log of a sum.
Learn thisFor k>0k > 0: y=kebxy = k\mathrm{e}^{bx} gives ln⁡y=ln⁡k+bx\ln y = \ln k + bx, a straight line of ln⁡y\ln y against xx; y=kxny = kx^{n} with x>0x > 0 gives ln⁡y=ln⁡k+nln⁡x\ln y = \ln k + n\ln x, a straight line of ln⁡y\ln y against ln⁡x\ln x.
Learn thisMultiplying a positive quantity by c>0c > 0 adds log⁡10c\log_{10} c to its base-1010 log. Multiplying a sound's intensity by cc adds 10log⁡10c10\log_{10} c dB.
Learn thisAfter solving a log equation, check each value in the original equation and reject any value that makes the inside of a log zero or negative.

Practise this

4 past-paper questions on Laws of logarithms in the AI HL bank, each with a mark scheme and a worked explanation.

Practise Laws of logarithms →