In this guide
← Maths AI guides

Number & algebra · AI SL & HL

Powers and logarithms

Understand logarithms as inverse operations, use their laws correctly, and solve exponential equations while respecting domains.

Course focus: For AI SL, start with powers, base-10 logarithms and scientific notation. Logarithm laws, natural-log models and algebraic extensions are marked HL. AI equation-solving can use graphical or numerical tools; the algebra explains their restrictions.

Before you start: Index laws, fractions and solving simple equations.

Start with a small example

Build it from the beginning

An exponent counts repeated multiplication. A logarithm asks for the missing exponent: the answer to a logarithm is a power, not a divisor. Before using a law, identify the base and check that the real-number expression exists.

A first walkthrough

Explain why \(\log_2 8=3\).

  1. The question asks: 2 raised to which power makes 8?
  2. \(2^3=2\times2\times2=8\).
  3. Therefore the logarithm is 3. In general \(\log_b a=c\) means \(b^c=a\).
Try the practice ladder after learning the methods ↓

The foundations behind the method

Understand what the symbols mean

Positive integer exponents count repeated factors. The extension to zero and negative exponents preserves the multiplication law: \(a^0=1\) and \(a^{-n}=1/a^n\) for nonzero a. Fractional powers introduce roots. In real-number work an even root requires a nonnegative radicand; this restriction survives algebraic rearrangement.

How the ideas connect

The product law for logarithms comes from adding exponents: if \(u=a^p\) and \(v=a^q\), then \(uv=a^{p+q}\). Therefore \(\log_a(uv)=p+q\), with positive arguments and \(a>0,a\ne1\). Addition inside an argument has no corresponding exponent law.

01

Start with the idea

Build your understanding

A power answers “what value results from repeated multiplication?” A logarithm reverses that question: “what exponent produces this value?” Treat logarithms as functions with domains, not symbols that may be cancelled across any expression.

Base and exponent

In \(a^x\), the base is fixed and the exponent controls the multiplication scale. Equal positive bases other than 1 allow comparison of their exponents.

Logarithmic scale

Equal additions on a log scale represent equal multiplication factors on the original scale. This explains why taking logs helps isolate an unknown exponent.

Compare the approaches

Choose by the information in the question, rather than the formula you recognise first.

Rewrite in a common base

When it helpsUseful when both sides are powers of the same number.

Check before using itA base of 1 cannot determine an exponent.

Take logarithms

When it helpsUseful when no convenient common base exists.

Check before using itEvery logged argument must be positive; test the original domain.

Your method plan

  1. Record the real-number restrictions.
  2. Choose common bases or a valid logarithm law.
  3. Solve the transformed equation and test candidates in the original.
02

Learn the methods

Learn step by step

1. Powers and roots

The law \(a^ma^n=a^{m+n}\) works for the same base. A negative index means a reciprocal, not a negative number. A fractional index combines a root and a power. Over the real numbers, an even root requires a nonnegative radicand; restrictions matter when x is the base. The zero-index rule \(a^{0}=1\) requires \(a\ne 0\); do not use it to assign a value to \(0^{0}\) in an elementary index-law argument.

Index laws

Why this formula works

For positive integer powers, repeated multiplication explains why multiplying powers adds exponents. Negative powers are defined as reciprocals so the same law remains consistent: \(a^na^{-n}=a^0=1\). Real fractional powers need the stated root-domain conditions.

The formula

\(a^{m+n}=a^ma^n\) \(a^{-n}=1/a^n\) \((a^m)^n=a^{mn}\) within the real domain where defined.

Quick example

\(2^3\cdot2^2=2^5=32\), while \(2^{-3}=1/8\). A negative exponent changes position in a fraction, not the sign.

2. What a logarithm means

\(\log_a x=y\) means \(a^y=x\), where \(a>0\), \(a\ne 1\) and \(x>0\). For \(a>1\) the logarithm increases; for \(0<a<1\) it decreases. Natural logs use base e. Use logarithms to bring an unknown exponent down where ordinary algebra can reach it.

An exponential and its inverse

-2024-2024xy
  • y = 2ˣ
  • y = log₂x
  • Reflection line: y = x
The graphs y = 2ˣ and y = log₂x reflect in y = x. Their domains and ranges exchange; the logarithm exists only for positive inputs.

3. Combining and expanding

HL extension

Products become sums, quotients become differences, and powers become multipliers. These laws concern multiplication inside the logarithm: \(\ln(x+3)\) cannot be split into two logs. State each original log argument’s positive domain before combining; a product can be positive even when both original arguments are invalid.

Logarithm laws

HL extension
Why this formula works

Let \(x=a^{u}\) and \(y=a^{v}\). Then \(xy=a^{u+v}\), so taking a-logarithms gives \(\log (xy)=u+v\). Quotient and power laws come from the corresponding exponent laws, rather than from distributing a log over addition.

The formula

\(\log_a(xy)=\log_a x+\log_a y\) \(\log_a(x/y)=\log_a x-\log_a y\) \(\log_a(x^k)=k\log_a x\) for positive x,y.

Quick example

\(\log_2(8\cdot4)=\log_2 8+\log_2 4=3+2=5\). By contrast, \(\log_2(8+4)\) is not 5.

4. Solving equations

HL extension

If two logs have the same valid base, equate their arguments. If bases differ, use change of base. After solving the resulting algebra, check every candidate against the original domain, not just the combined equation.

Change of base

HL extension
Why this formula works

If \(a^y=x\), taking natural logs gives \(y\ln a=\ln x\). Dividing by nonzero ln a isolates y, explaining the change-of-base formula and its restriction \(a\ne 1\). Any valid common logarithm base gives the same quotient.

The formula

\(\log_a x=\frac{\ln x}{\ln a}\). Consequently \(\log_a b=1/\log_b a\) when both exist.

Quick example

\(\log_4 8=\ln8/\ln4=3/2\), because \(8=2^{3}\) and \(4=2^{2}\).

Worked example: Domain before algebra
HL extension

Solve \(\log_2(x+3)+\log_2(x-1)=3\).

  1. The original arguments require \(x>1\).
  2. Combine: \(\log_2[(x+3)(x-1)]=3\), so \(x^2+2x-3=8\).
  3. Solve \(x^2+2x-11=0\), obtaining \(x=-1\pm2\sqrt3\).
  4. Only \(-1+2\sqrt3\) is greater than 1; reject the other root.

5. Logarithmic inequalities

HL extension

For bases greater than 1, comparing logs preserves order. For bases between 0 and 1, reverse the inequality. When dividing an inequality by a log, check its sign; \(\ln(0.8)\) is negative.

Worked example: An exponential threshold
HL extension

Find the least integer n with \(100(0.8)^n<30\).

  1. Divide by 100 and take logs: \(n\ln0.8<\ln0.3\).
  2. Divide by the negative number \(\ln0.8\), reversing the inequality: \(n>\ln0.3/\ln0.8\approx5.40\).
  3. Check: \(n=5\) gives 32.768, while \(n=6\) gives 26.2144. The least n is 6.

6. Surds, fractional powers and the real-number domain

HL extension

A surd is an irrational root, not every expression containing a root sign. Simplify square roots by extracting square factors and combine only matching surds. For real \(a\ge 0\), \(\sqrt{a}\) is the principal nonnegative root. Thus \(\sqrt{x^{2}}=|x|\), while solving \(x^{2}=a\) gives two signs when \(a>0\). Odd roots can accept negative radicands. With a rational exponent, first reduce the fraction and use a clearly defined real-root convention; an even denominator demands a nonnegative base.

Surds, fractional powers and the real-number domain

HL extension
Why this formula works

A fractional power is defined to reverse an integer power while retaining the chosen real root. Extracting a square factor uses \(\sqrt{a^{2}b}=|a|\sqrt{b}\) for \(b\ge 0\), so the sign of a cannot be dropped without a nonnegativity condition.

The formula

\(a^{m/n}=(\sqrt[n]{a})^m\) on its real domain; \(\sqrt{x^2}=|x|\). For \(a,b\ge 0\) \(\sqrt{ab}=\sqrt a\sqrt b\).

Quick example

\(\sqrt{72}=\sqrt{36\times 2}=6\sqrt{2}\). The sum \(3\sqrt{2}+\sqrt{8}\) becomes \(5\sqrt{2}\); \(\sqrt{2}+\sqrt{3}\) does not simplify to \(\sqrt{5}\).

Worked example: A root equation with a domain check
HL extension

Solve \(\sqrt{x+5}=x-1\).

  1. The root requires \(x\ge -5\), and its nonnegative output requires \(x-1\ge 0\). Thus \(x\ge 1\).
  2. Square: \(x+5=(x-1)^{2}\), giving \(x^{2}-3x-4=0\) and candidates \(x=4\) or \(x=-1\).
  3. Only 4 lies in the required domain and satisfies the original equation. Reject −1, even though it solves the squared equation.

7. Scientific notation, signs and numerical precision

Scientific notation uses a coefficient with magnitude from 1 up to but not including 10 and an integer power of 10. Multiplication multiplies coefficients and adds exponents; division divides coefficients and subtracts exponents. Renormalise the coefficient at the end. A negative base in parentheses is different from a leading minus outside a power. Keep exact forms or extra calculator digits during a multi-step question, then round once as requested. Do not infer precision merely from the number of decimal places in an intermediate display.

Scientific notation, signs and numerical precision

Why this formula works

Changing the coefficient by a factor of ten must be balanced by the opposite change in the power of ten to leave the value unchanged. Exponent addition and subtraction follow the ordinary same-base index laws.

The formula

\((a\times10^m)(b\times10^n)=ab\times10^{m+n}\) \((a\times10^m)/(b\times10^n)=(a/b)\times10^{m-n}\).

Quick example

\(3.2\times 10^{5}\) multiplied by \(4\times 10^{-3}\) is \(12.8\times 10^{2}=1.28\times 10^{3}\). Meanwhile \((-3)^2=9\), but \(-3^2=-9\).

Worked example: Compare two magnitudes

How many times larger is \(6.3\times10^{-4}\) than \(2.1\times10^{-7}\)?

  1. Form the ratio, placing the larger quantity in the numerator.
  2. Divide coefficients: \(\frac{6.3}{2.1}=3\). Subtract exponents: −\(4-(-7)=3\).
  3. The ratio is \(3\times 10^{3}=3000\), a dimensionless multiplier.

8. Logarithmic scales and contextual models

HL extension

Equal additions on a logarithmic scale correspond to equal multiplication factors in the original quantity. A model \(y=a+b\ln x\) requires positive x and predicts diminishing slope when b is positive. Find coefficients from suitable conditions or use the regression operation specified by the task. A transformed straight-line fit changes how errors are measured, so inspect residuals in the relevant original or transformed scale rather than assuming that every fit is equivalent. State a reference quantity before taking a logarithm of a contextual ratio.

Logarithmic scale change

HL extension
Why this formula works

The logarithm of a product splits into a sum. Replacing x by cx therefore adds b times the logarithm of c, independently of x. This is the defining scale behaviour: the same input multiplier produces the same additive output shift, explaining why multiplicative magnitudes fit a logarithmic display.

The formula

\(y=a+b\ln x\) \(y(cx)-y(x)=b\ln c\), for positive x,c.

Quick example

For \(y=2+3\ln x\), doubling x increases y by \(3\ln2\), regardless of the original positive x.

Worked example: Fit two logarithmic conditions
HL extension

Fit \(y=a+b\ln x\) through \((1,2)\) and \((e,5)\).

  1. At x=1, \(\ln1=0\), so a=2.
  2. At x=e, \(\ln e=1\), so \(2+b=5\) and b=3.
  3. The rule is \(y=2+3\ln x\), on x>0.
  4. Substitute both points. At \(x=e^2\), the output is 8; a contextual domain may restrict how far this mathematical prediction is appropriate.
Quick formula reference

For revision once you understand the methods above. Check the conditions before using a formula.

Index laws

\(a^{m+n}=a^ma^n\), \(a^{-n}=1/a^n\), \((a^m)^n=a^{mn}\) within the real domain where defined.

Return to the explanation →

Logarithm laws

HL extension

\(\log_a(xy)=\log_a x+\log_a y\), \(\log_a(x/y)=\log_a x-\log_a y\), \(\log_a(x^k)=k\log_a x\) for positive x,y.

Return to the explanation →

Change of base

HL extension

\(\log_a x=\frac{\ln x}{\ln a}\). Consequently \(\log_a b=1/\log_b a\) when both exist.

Return to the explanation →

Surds, fractional powers and the real-number domain

HL extension

\(a^{m/n}=(\sqrt[n]{a})^m\) on its real domain; \(\sqrt{x^2}=|x|\). For \(a,b\ge 0\), \(\sqrt{ab}=\sqrt a\sqrt b\).

Return to the explanation →

Scientific notation, signs and numerical precision

\((a\times10^m)(b\times10^n)=ab\times10^{m+n}\); \((a\times10^m)/(b\times10^n)=(a/b)\times10^{m-n}\).

Return to the explanation →

Logarithmic scale change

HL extension

\(y=a+b\ln x\), \(y(cx)-y(x)=b\ln c\), for positive x,c.

Return to the explanation →

Learn to diagnose an error

Spot the mistake

The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.

Incorrect reasoning

\(\ln(x+3)=\ln x+\ln3\).

Explain and repair the mistake

The right side is \(\ln(3x)\), not \(\ln(x+3)\). At \(x=1\), the left side is \(\ln4\), while the proposed right side is \(\ln3\). A single counterexample disproves an asserted identity.

03

Connect and apply

Put the ideas together

A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.

Worked application

An algebraic solution can be inadmissible

HL extension

Solve \(\ln(x-1)+\ln(x+1)=\ln8\).

  1. The original domain requires \(x-1>0\) and \(x+1>0\), so \(x>1\).
  2. Combine the two valid logarithms: \(\ln[(x-1)(x+1)]=\ln8\). Since logarithms are one-to-one, \(x^2-1=8\).
  3. The quadratic gives \(x=\pm3\). Only \(x=3\) belongs to the original domain; \(x=-3\) would log negative numbers.
  4. Check the accepted value: \(\ln2+\ln4=\ln8\). The product is positive at the rejected value too, which shows why checking only the combined expression is insufficient.
Pause and explain

Would \(\ln[(x-1)(x+1)]\) alone have the same domain as the original sum?

Check your reasoning

No. The product is positive for \(x>1\) or \(x<-1\), but each separate logarithm requires its own argument positive. The original sum only allows \(x>1\).

Common mistakes and how to avoid them

  • \(\log(x+y)\) is not \(\log x+\log y\).
  • A correct algebraic root can still violate a log domain.
  • Do not reverse an inequality unless multiplying or dividing by a negative quantity.
04

Practise independently

Build confidence, then apply it

Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.

  1. 1

    Build confidence

    Evaluate \(\log_3 81\).

    Need a starting point?

    Write 81 as a power of 3.

    Show the worked solution
    1. \(3^4=81\).
    2. Therefore \(\log_3 81=4\).
  2. 2

    Apply and explain

    Simplify \(2^{-3}\) and explain the minus sign.

    Need a starting point?

    A negative exponent means a reciprocal.

    Show the worked solution
    1. \(2^{-3}=1/2^3=1/8\).
    2. It does not mean -8; the result is positive.
  3. 3

    Check your understanding

    Explain why \(\log_2 12-\log_2 3=2\).

    Show the worked solution

    Both arguments are positive. The quotient law gives \(\log_2(12/3)=\log_2 4=2\), since \(2^2=4\).

  4. 4

    Use the method

    Evaluate \(\log_{10}1000\) and write 0.0042 in scientific notation.

    Show the worked solution

    The logarithm is 3 because \(10^3=1000\). Scientific notation is \(4.2\times10^{-3}\). Keep the coefficient between 1 and 10 in magnitude.

  5. 5

    Combine the skills

    HL extension

    Surds, fractional powers and the real-number domain

    Evaluate \((-8)^{1/3}\) over the reals and simplify \(\sqrt{9x^{2}}\).

    Show the worked solution

    The odd root is −2. The square root is \(3|x|\), not automatically 3x.

  6. 6

    Combine the skills

    Scientific notation, signs and numerical precision

    Write 0.0000846 to two significant figures in scientific notation.

    Show the worked solution

    The unrounded form is \(8.46\times 10^{-5}\). Rounding the coefficient to two significant figures gives \(8.5\times 10^{-5}\).

Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.

Using these methods in exam questions

AI Paper 1

GDC required

Short-response questions still need mathematical setup and interpretation. Choose the correct tool, enter the model or data carefully, and check units and rounding.

AI Paper 2

GDC required

Extended-response questions connect several steps. Keep intermediate values at full precision and explain how each result answers the context.

For this topic: Keep algebraic transformations visible. State restrictions before cancelling or taking logarithms, and check whether the question needs an exact expression or a rounded value.

HL only · GDC required

Paper 3: build a connected argument

Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.

  1. Identify what the first part establishes and record the conditions under which it holds.
  2. When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
  3. Check the conclusion against an earlier numerical case and explain its meaning or limitation.

For the first-assessment-2021 courses. IB assessment reference ↗

Find a specific method or formula

Now practise the method

If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.

Practise this subtopic →

Want a broader practice session? Explore IB Maths AI SL practice questions →Explore IB Maths AI HL practice questions →Try free IB Maths exam-style questions and worked solutions →

Original Arc Practice teaching notes for Maths AI. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.