Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Chapter · Indices, Surds & Logarithms

Logarithm rules, explained with examples

Add Math logarithms follow four rules, product, quotient, power, and change of base, and almost every simplifying or equation-solving question is built from combining two or three of them correctly. Change of base is on the formula list; the other three need to be memorised and applied in the right order.

What a logarithm is actually asking

A logarithm answers a question about powers: logab=c\log_{a} b = c means exactly the same thing as ac=ba^{c}=b. Read it as "the power you raise aa to, to get bb".

Every logarithm rule in Add Math is really an index law wearing a different notation, which is why this chapter sits right after indices and surds in the syllabus, the two topics share the same underlying rules.

A handful of facts follow directly from that definition and are worth knowing without working them out each time.

  • loga1=0\log_{a} 1 = 0, because a0=1a^{0}=1 for any base aa.
  • logaa=1\log_{a} a = 1, because a1=aa^{1}=a.
  • A logarithm is only defined for a positive number, and only for a positive base that is not equal to 1.

Logs and indices are the same statement

logab=c\log_{a} b = c and ac=ba^{c}=b say exactly the same thing. Switching between the two forms is often the fastest way to check whether a logarithm answer looks reasonable.

The four rules that do the work

Four rules cover almost every logarithm manipulation in the syllabus. Three of them need to be memorised; the fourth, change of base, is provided on the exam formula list.

Product rule

The log of a product splits into a sum of logs, provided the base stays the same throughout.

Must memorise
loga(xy)=logax+logay\log_{a}(xy) = \log_{a} x + \log_{a} y

Quotient rule

The log of a quotient splits into a difference of logs, in the same order as the division.

Must memorise
loga(xy)=logaxlogay\log_{a}\left(\dfrac{x}{y}\right) = \log_{a} x - \log_{a} y

Power rule

A power inside a logarithm moves out to the front as a multiplier.

Must memorise
loga(xn)=nlogax\log_{a}(x^{n}) = n\log_{a} x

Change of base

This is the one rule given on the formula list, useful whenever a calculator or a simplification needs a different base than the one written in the question.

Given in the exam
logab=logcblogca\log_{a} b = \dfrac{\log_{c} b}{\log_{c} a}
Provided in the exam formula list.

Where the rules get mixed up

The four rules are simple individually, but they get mixed up under exam pressure in predictable ways.

  • Treating loga(x+y)\log_{a}(x+y) as logax+logay\log_{a} x + \log_{a} y. The product rule applies to multiplication, not addition, there is no rule that splits a log of a sum, and this is the single most common invented shortcut.
  • Writing the quotient rule the wrong way round, subtracting the first log from the second instead of the other way around.
  • Leaving the power nn inside the log instead of multiplying it out in front, especially when nn is a fraction or negative.
  • Mixing bases when applying the product or quotient rule, the rule only works when every log in the expression shares the same base.

The rule that does not exist

There is no rule for loga(x+y)\log_{a}(x+y) or loga(xy)\log_{a}(x-y) in terms of separate logs. If a sum or difference sits inside the logarithm, it usually has to be simplified before the log rules can be applied, not after.

Two worked examples, simplifying and solving

Example 1, simplify log232log24\log_{2} 32 - \log_{2} 4 without a calculator.

Apply the quotient rule first: log232log24=log2(324)=log28=3\log_{2} 32 - \log_{2} 4 = \log_{2}\left(\dfrac{32}{4}\right) = \log_{2} 8 = 3, since 23=82^{3}=8.

Example 2, solve log3x+log3(x2)=1\log_{3} x + \log_{3}(x-2) = 1 for x>2x>2.

  1. Combine the two logs using the product rule: log3[x(x2)]=1\log_{3}\left[x(x-2)\right] = 1.
  2. Convert to index form: x(x2)=31=3x(x-2) = 3^{1} = 3.
  3. Expand and rearrange: x22x3=0x^{2}-2x-3=0, which factorises to (x3)(x+1)=0(x-3)(x+1)=0.
  4. The two roots are x=3x=3 and x=1x=-1; reject x=1x=-1 since the domain requires x>2x>2, leaving x=3x=3.

Why the domain check matters

Substituting x=1x=-1 back into the original equation would require log3(1)\log_{3}(-1), which is undefined. Checking the domain after solving is part of the method, not an optional extra.

Q1[4 marks]

Solve log2(x+3)log2(x1)=2\log_{2}(x+3) - \log_{2}(x-1) = 2.

Show worked solution

Combine using the quotient rule: log2(x+3x1)=2\log_{2}\left(\dfrac{x+3}{x-1}\right)=2. Convert to index form: x+3x1=22=4\dfrac{x+3}{x-1}=2^{2}=4.

Rearrange: x+3=4(x1)=4x4x+3=4(x-1)=4x-4, so 7=3x7=3x and x=73x=\dfrac{7}{3}. Since x>1x>1 is required for both logs to be defined and 732.33>1\dfrac{7}{3}\approx2.33>1, this value is valid.

Using the calculator, and why the working still matters

A non-programmable scientific calculator, the type used for both papers, usually has a log\log button for base 10 and an ln\ln button for base ee, but no direct way to evaluate a log in any other base. That is exactly where the change-of-base rule earns its place on the formula list, converting logab\log_{a} b into base 10 or base ee before pressing any buttons.

The calculator does not replace the working

Marking on both Paper 1 (2 hours, 80 marks) and Paper 2 (2 hours 30 minutes, 100 marks) is analytic. A numeric answer typed straight from a calculator, with no rule applied and no working shown, earns far fewer marks than the same answer reached by naming the rule used at each step.

For equations rather than pure simplification, the calculator is best used to check a final numeric answer, not to skip the algebra that gets you there.

How one-to-one teaching can help

Logarithm rules look abstract until you have applied each one a few times in context, and mixing up the product and quotient rule, or forgetting the domain check on an equation, is a very ordinary mistake to make while that familiarity is still building. A teacher who can watch which rule you reach for first, and why, can correct the mix-up before it becomes a habit.

Our teachers are experienced; lessons run online and are taught in English, while SPM papers themselves are set bilingually in Bahasa Melayu and English.

If logarithms, or indices and surds more broadly, feel shaky, a one-hour paid trial class at the teacher's own rate (from RM50 per hour, depending on experience) is a reasonable place to start. We will not promise a particular grade, but we can help the four rules stop feeling interchangeable and start feeling like four distinct, reliable tools.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

What is the difference between log\log and ln\ln?

log\log usually means log10\log_{10}, a logarithm in base 10, while ln\ln means loge\log_{e}, a logarithm in base ee. Both are buttons on a standard scientific calculator; any other base needs the change-of-base rule first.

Can I evaluate any logarithm directly on my calculator?

Only base-10 and base-ee logarithms have a direct button. For any other base, apply the change-of-base rule first, converting to base 10 or base ee, then evaluate.

Why can't I split log(x+y)\log(x+y) into logx+logy\log x + \log y?

The product rule applies to multiplication inside the log, not addition. There is no rule that separates a log of a sum, if a sum sits inside a logarithm, it generally needs to be simplified on its own first.

Is the change-of-base rule given in the exam?

Yes. It appears on the formula list provided with both papers.

The product, quotient, and power rules are not on that list and need to be memorised.

Source:SRC-FORMAT

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply