The Laws of Logarithms
Use the product, quotient and power laws and change of base to combine logs into one, find exact values and rewrite logs in other bases.
- 7 steps
- 11 min
- 3 syllabuses
Try a real exam question on this
0606/21 · Oct/Nov 2024 · Q5 · 5 marks · Solve it step by step, the way the examiner marks it.
Loading the animated solution…
See the solution as textText version of the solution
Solve the logarithmic equation in base a involving p, using the reciprocal log term, to find the value of p.
- Understand the question. The equation has logs to base a, including one term 1 over log to base p of a, and we must find the value of p.
- Use the log laws. Every term is a log to base a except 1 over log base p of a, which the change of base rule turns into a log to base a.
- Change the odd term. log base p of a is log base a of a over log base a of p, which is 1 over log base a of p, so its reciprocal is log base a of p.
- 1/(log_p a) = logₐ p
- Here the base is a and the other base is p, so 1 over log base p of a becomes log base a of p.
- Write everything in base a. Replace the reciprocal term with log base a of p.
- logₐ (p + 1) + logₐ p − logₐ (p + 2) + logₐ 5 = logₐ 12
- Combine into one log. Adding logs multiplies and subtracting logs divides, so 5p(p + 1) goes on top and p + 2 on the bottom.
- logₐ [5p(p + 1)/(p + 2)] = logₐ 12
- Drop the logs. Two logs with the same base are equal only when their arguments are equal.
- 5p(p + 1)/(p + 2) = 12
- Clear the fraction and rearrange. Multiply both sides by p + 2, then move everything to the left to get a quadratic equal to 0.
- 5p² + 5p = 12p + 24, so 5p² − 7p − 24 = 0
- Factorise. The quadratic factors as 5p + 8 times p − 3, so p is −8/5 or 3.
- (5p + 8)(p − 3) = 0, so p = −8/5 or p = 3
- Reject the negative value. A log base must be positive, so p cannot be −8/5, leaving p as 3.
- p is a log base so must be positive: p = 3
Answer p = 3
The lesson, step by step
Step 1 of 7
What a log asks
Before calculators, scientists had to multiply huge numbers by hand. Logarithms turned that slow multiplying into quick adding. The laws in this lesson are the reason it works.
Remember what a log asks: what power do I need? For example, because .
Rule
means exactly the same as . The log is the power.
Two facts come straight from this. Any number to the power 1 is itself, and any number to the power 0 is 1.
Formula
— the base. It can be any positive number except 1. When the base and the number inside match, the log is 1.
Formula
— the number inside. The log of 1 is 0 in every base, because .
Worked example
- 1
Find the value of without a calculator.
- 2
— Base and number match.
- 3
— The log of 1 is always 0.
- 4
— 2 to the power 3 is 8.
- 5
— Add the three values.
Notation: means , and means . Every law in this lesson works for every base.
Rule
Learn all the laws in this lesson. 0606 and 4037 print none of them. 4PM1 prints only the change-of-base formula on the formula sheet.
Key idea
John Napier, a Scottish mathematician, published the first table of logarithms in 1614. For more than 300 years, astronomers and ship navigators multiplied big numbers by looking up logs and adding them.
Step 2 of 7
Product and quotient laws
When you multiply powers of the same base, you add the indices: . A log is an index, so logs follow the same pattern.
Formula
and — any two positive numbers, multiplied inside one log.
— the base. It must be the same in all three logs.
Dividing powers means subtracting indices, . So a division inside a log becomes a minus outside.
Formula
— the number on top. Its log is the one you keep.
— the number underneath. Its log is the one you subtract.
Key idea
Why does this work? A log is a power. log base 10 of 100 is 2, because 10 to the power 2 is 100.
When you multiply numbers, their powers add, so the log of a product is the logs added.
Worked example
- 1
Find the exact value of .
- 2
— Same base and a plus sign: use the product law.
- 3
— 4 × 9 = 36.
- 4
— 6 squared is 36, so the power is 2.
Worked example
- 1
Find the exact value of .
- 2
— Same base and a minus sign: use the quotient law.
- 3
— 40 ÷ 5 = 8.
- 4
— 2 cubed is 8.
Common mistake
is NOT . The product law needs x times y inside. A sum inside a log cannot be split.
Common mistake
is NOT . The quotient law needs a minus sign between two logs, not a fraction line.
Key idea
Times inside becomes plus outside. Divide inside becomes minus outside. The base must be the same in every log.
Step 3 of 7
The power law
A power of a power multiplies the indices: . So a power inside a log can move out to the front.
Formula
— the power on x. It can be a whole number, a negative number or a fraction.
— the positive number inside the log.
Put and you get a special case that saves time:
Formula
— the number under the 1. Flipping a number upside down just changes the sign of its log.
Worked example
- 1
Find the exact value of .
- 2
— A square root is the power one half. Being underneath makes the power negative.
- 3
— Power law: the power moves to the front.
- 4
— 2 cubed is 8, so log base 2 of 8 is 3.
- 5
— Multiply.
Common mistake
is NOT . The power law only works when the power is on the x inside: .
Rule
No calculator on 0606 and 4037 Paper 1: give exact answers such as , never a rounded decimal.
Key idea
A power inside the log becomes a number in front. This is the law that brings an unknown power down to the ground.
Step 4 of 7
Write as a single log
A favourite exam question: write a mix of logs and plain numbers as one single log. First you need one more fact: any plain number can be written as a log.
Formula
— any plain number in the expression.
— the base the question asks for. For example, and .
Now work in the same order every time:
Steps
- 1
Power law: move every number in front of a log back inside as a power.
Turn every plain number into a log of the same base.
Combine: plus terms go on top, minus terms go underneath.
Worked example
- 1
Write as a single logarithm to base 10.
- 2
— Power law first: each front number goes back inside as a power.
- 3
— Base 10, and 10 to the power 1 is 10.
- 4
— Now every term is one single log.
- 5
— Plus terms on top, the minus term underneath.
Worked example
- 1
Write as a single logarithm to base e.
- 2
— Power law.
- 3
— Base e, so 3 is the log of e cubed.
- 4
— Every term is now a single ln.
- 5
— The plus term on top, both minus terms underneath.
Examiners give a mark for using the power law, then the rest for the correct single log. So show the power-law line.
Common mistake
Writing 2 as . A plain number k becomes the log of base to the power k, so .
Common mistake
Splitting into . A sum inside a log stays together in its brackets.
Key idea
Powers in first, numbers into logs second, combine last. Same order, every question.
Step 5 of 7
Build from known logs
Another common question gives you two logs as letters, then asks for a different log. The trick is to build the new number out of the numbers you know.
Worked example
- 1
Given that and , write in terms of p and q.
- 2
— Write 72 using only 2s and 3s: 8 × 9.
- 3
— Product law: times inside becomes plus.
- 4
— Power law: the powers come to the front.
- 5
— Swap in the letters.
Worked example
- 1
With the same p and q, write in terms of p and q.
- 2
— 0.6 is 6 over 10, and 6 is 2 × 3.
- 3
— Product law on top, quotient law for the 10.
- 4
— Base and number match.
- 5
— Swap in the letters.
Common mistake
Writing . Times inside becomes PLUS outside: .
Key idea
Break the number into the pieces you know. Times becomes plus, divide becomes minus, powers come to the front.
Step 6 of 7
Change of base
Exam questions often mix bases, like base 2 and base 4 in one line. You can only combine logs with the same base, so you need a way to change the base.
Here is why it works. Each line follows from the one before:
— call the log y.
— what a log means.
— take a log of base b on both sides.
— power law.
— divide both sides.
Formula
— the old base, the one you want to get rid of.
— the new base. You choose it.
— the number inside the log.
Key idea
Why does this work? If y is log base a of x, it means a to the power y is x.
Take log base b of both sides. The power y comes to the front, giving y times log base b of a equals log base b of x. Divide to get y on its own.
Rule
4PM1 prints this formula on the formula sheet. 0606 and 4037 do not, so learn it.
Choose the new base to be b itself, and you get a quick swap rule. Learn it for every board.
Formula
and — the base and the number simply swap places, and you take 1 over the result.
Worked example
- 1
Write in terms of .
- 2
— Change to base 2, the base we want.
- 3
— 2 squared is 4.
- 4
— Divide by 2.
Worked example
- 1
Write as a single natural logarithm.
- 2
— Swap rule: the base and the number change places.
- 3
— Log base e is ln.
- 4
— Product law: 2 × 3 = 6.
Worked example
- 1
Use a calculator to find to 3 significant figures.
- 2
— Your calculator has lg, so change to base 10.
- 3
— 1.5395... rounded to 3 significant figures.
Common mistake
is NOT . A fraction of two logs is not the log of a fraction.
Key idea
Pick the base that the rest of the question uses, then change every log to that base.
Step 7 of 7
Which law? Read the question
Before you start, read what the question asks. The wording tells you which law to reach for.
| You see | You do |
| “Write as a single logarithm” | Power law first, plain numbers into logs, then combine |
| “Find the exact value” | Write the number inside as a power of the base |
| Given , “in terms of p” | Break the number into the pieces you know |
| Two different bases | Change of base to one base |
| Swap: | |
| A plain number next to logs | Write it as a log: |
Common mistake
Using a law on logs with different bases. Change the bases to match first, then combine.
Key idea
Every law comes from the rules of indices. If you forget one, rebuild it from .
More real exam questions on this
Solve one in Lemmara and see where every mark goes.
- 0606/12May/Jun 2026 · Q97 marksCombine a difference involving 1/(log_x e) and ln(x − 1) into one natural logarithm, then solve 2 log₅ 2x = 1 + log₅(9x − 10).Solve it →
- WMA12/01Jan 2026 · Q79 marksWithout relying on a calculator, solve an exponential equation exactly in a + b log₂5 form, and a logarithmic equation using log laws.Solve it →
- WMA12/01Jun 2026 · Q610 marksSketch and solve with exponentials and logarithms.Solve it →
- 0606/12Oct/Nov 2025 · Q57 marksCombine a logarithmic expression with coefficients 5, 4 and constant 3 into one base 10 log, then solve an equation involving log base 5 and log base (x+1).Solve it →
- 4PM1/02RJun 2025 · Q99 marksSolve two logarithmic equations: one for a in the form a = b^c with b prime, and one for p.Solve it →
- WMA12/01Jan 2025 · Q78 marksApply the trapezium rule to tabulated values of log₁₀(x + 5) to express the integral as log₁₀ k, then solve a logarithmic equation in base 5 for a.Solve it →
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.