F3PureCore

Logarithms

If 2x=82^x = 8, spotting that x=3x=3 is easy by inspection. But if 2x=102^x=10, there is no neat integer answer — you need a tool that undoes the power and hands back the exponent directly. That tool is the logarithm.

28 min Video by TLMaths Exponentials and Logarithms

The big picture

Every exponential equation ax=ba^x=b is really asking "what power of aa gives bb?" — and a logarithm\textbf{logarithm} is simply the name for that power. Once exponentials and logarithms are recognised as inverse operations of each other (exactly like squaring and square-rooting), you gain the ability to solve for an exponent directly instead of guessing, which is essential the moment a growth or decay model needs a specific time or value found.

A-Level Maths F3-01: Introducing LogarithmsCurated by Kepler, not produced by us. Watch it, then work through the notes below.
Open on YouTube

What you'll be able to do

  • Understand log⁡ab\log_a b as "the power you raise aa to, to get bb"
  • Convert fluently between exponential form ax=ba^x=b and logarithmic form log⁡ab=x\log_a b = x
  • Evaluate simple logarithms by inspection
  • Recognise log⁡\log (base 10) and ln⁡\ln (base ee) notation
1

Defining the logarithm

The statement log⁡ab=x\log_a b = x means exactly the same thing as ax=ba^x = b — it asks "what power of aa gives bb?" and the logarithm IS that power. Here aa is the base\textbf{base} (must be positive, a≠1a\ne1) and bb must be positive (since ax>0a^x>0 always, the equation ax=ba^x=b has no solution for negative or zero bb).

log⁡ab=x  ⟺  ax=b\log_a b = x \iff a^x = b
Exponential form and logarithmic form say the same thing.
Example 1Write 25=322^5 = 32 in logarithmic form.
1The base is 2, the exponent 5, the result 32.
2In log form, the exponent becomes the subject: log⁡232=5\log_2 32 = 5.
Answer
log⁡232=5\log_2 32 = 5
Example 2Evaluate log⁡381\log_3 81.
1Ask: "3 to what power gives 81?"
234=813^4 = 81, so the answer is 4.
Answer
log⁡381=4\log_3 81 = 4

Tip — Always identify the base first, then ask "what power gives the target number?" — most straightforward logarithms can be evaluated this way without a calculator.

2

Notation: log and ln

When no base is written, log⁡x\log x conventionally means log⁡10x\log_{10}x (base 10, sometimes called the "common logarithm"). The natural logarithm ln⁡x\ln x means log⁡ex\log_e x (base ee, from the previous lesson) — it has its own button on a scientific calculator because it appears constantly in calculus.

Example 1Solve log⁡10x=3\log_{10}x = 3.
1Convert to exponential form: x=103x = 10^3.
Answer
x=1000x = 1000
3

Logarithms of numbers less than 1

Because a−n=1ana^{-n}=\dfrac{1}{a^n}, logarithms of fractions between 0 and 1 are negative. This is consistent: a negative power of a base greater than 1 gives a small positive result.

Example 1Evaluate log⁡2(18)\log_2\left(\dfrac{1}{8}\right).
118=2−3\dfrac{1}{8}=2^{-3}.
2So log⁡2(18)=−3\log_2\left(\dfrac18\right)=-3.
Answer
−3-3

Tip — A logarithm is negative exactly when the argument is between 0 and 1 (for a base greater than 1) — a useful sanity check on your answer.

Think like an examiner

  • Convert between exponential and log form as your first move on any unfamiliar-looking log question — it usually reveals a simple power immediately.
  • Remember the argument of a logarithm must be strictly positive — log⁡a(0)\log_a(0) and log⁡a(negative)\log_a(\text{negative}) are both undefined.
  • Do not confuse log⁡x\log x (base 10 by convention) with ln⁡x\ln x (base ee) — read the question carefully.

Common misconceptions

Thinking log⁡ab\log_a b means aa multiplied by bb in some way.
log⁡ab\log_a b is the EXPONENT you need on base aa to reach bb — a completely different operation from multiplication.
Believing log⁡a(0)\log_a(0) equals 0.
There is no power of a positive base that gives 0, so log⁡a(0)\log_a(0) is undefined.
Assuming log⁡x\log x with no base means log⁡ex\log_e x.
By convention log⁡x\log x (no base shown) means base 10; the base-ee logarithm is written ln⁡x\ln x.

Logarithm definition

log⁡ab=x  ⟺  ax=b\log_a b = x \iff a^x = b
The core definition.
log⁡x≡log⁡10x\log x \equiv \log_{10} x
Common logarithm (base 10).
ln⁡x≡log⁡ex\ln x \equiv \log_e x
Natural logarithm (base e).

Stretch yourself

Without a calculator, evaluate log⁡42+log⁡432\log_4 2 + \log_4 32, giving your answer as a single exact value.

Hint — Express both 2 and 32 as powers of 4 — 2 is a fractional power, 32 is not a whole-number power of 4 either, so think about writing everything with base 2 first, then convert.

Reveal solution
SolutionWrite with base 2: 4=224=2^2, so log⁡42=log⁡222=12\log_4 2 = \log_{2^2}2 = \tfrac12 (since 41/2=24^{1/2}=2). And 32=2532=2^5, and 45/2=(22)5/2=25=324^{5/2}=(2^2)^{5/2}=2^5=32, so log⁡432=52\log_4 32=\tfrac52. Adding: 12+52=3\tfrac12+\tfrac52=3. ■\blacksquare (This previews how the laws of logarithms in the next lesson would make this instant: log⁡42+log⁡432=log⁡4(2×32)=log⁡464=3\log_4 2+\log_4 32=\log_4(2\times32)=\log_4 64=3 since 43=644^3=64.)

Questions students ask

What does a logarithm actually mean?
It means "the exponent". log⁡ab\log_a b asks what power you raise aa to, to get bb — it is the inverse operation of exponentiation, just as square-rooting is the inverse of squaring.
Why can't you take the log of a negative number or zero?
Because axa^x (for a positive base aa) is always strictly positive, no exponent xx can ever produce a result of zero or a negative number.
What is the difference between log and ln?
log⁡x\log x conventionally means base 10; ln⁡x\ln x specifically means base ee (the natural logarithm). Both work the same way — only the base differs.

Key takeaways

  • log⁡ab=x\log_a b = x means exactly the same as ax=ba^x=b — the logarithm IS the exponent.
  • log⁡x\log x (no base) means base 10; ln⁡x\ln x means base ee.
  • The argument of a logarithm must be strictly positive.
  • Logarithms of numbers between 0 and 1 are negative (for a base greater than 1).

How this fits the course

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. log⁡232\log_2 32 equals:

    • 55
    • 1616
    • 22
    • 6464
    Show answer and explanation

    Answer: 55

    25=322^5=32.

  2. The statement log⁡ab=x\log_a b = x is equivalent to:

    • ax=ba^x = b
    • xa=bx^a = b
    • a×x=ba \times x = b
    • bx=ab^x = a
    Show answer and explanation

    Answer: ax=ba^x = b

    The definition of a logarithm.

  3. log⁡101000\log_{10} 1000 equals:

    • 33
    • 10001000
    • 1010
    • 100100
    Show answer and explanation

    Answer: 33

    103=100010^3=1000.

  4. log⁡5(125)\log_5\left(\dfrac{1}{25}\right) equals:

    • −2-2
    • 22
    • −25-25
    • 00
    Show answer and explanation

    Answer: −2-2

    125=5−2\tfrac{1}{25}=5^{-2}.

  5. Which is undefined?

    • log⁡2(−4)\log_2(-4)
    • log⁡2(0.25)\log_2(0.25)
    • log⁡2(1)\log_2(1)
    • log⁡2(16)\log_2(16)
    Show answer and explanation

    Answer: log⁡2(−4)\log_2(-4)

    Logarithms of negative numbers do not exist.

  6. ln⁡x\ln x means:

    • log⁡ex\log_e x
    • log⁡10x\log_{10} x
    • log⁡xe\log_x e
    • e×xe \times x
    Show answer and explanation

    Answer: log⁡ex\log_e x

    The natural logarithm has base ee.

Finished this lesson?

Loading your progress…

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 5 lessons

Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.