MathematicsFoundation20 min read

Logarithms

The exponent, written the other way round

This topic appears in:

01

A logarithm is an exponent. That is the whole idea

Definition

Logarithm — If ax = y with a > 0 and a ≠ 1, then loga y = x. In words: the logarithm of y to base a is the power to which a must be raised to give y.

If you can read 2⁵ = 32, you already understand logarithms. The equation says three things at once: the base is 2, the exponent is 5, and the result is 32. A logarithm just asks for a different one of the three.

Written as a power we fix the base and the exponent and ask for the result. Written as a logarithm we fix the base and the result and ask for the exponent. So log₂ 32 = 5 and 2⁵ = 32 are the same sentence read from opposite ends.

a^x = ylogₐ y = x(a > 0, a ≠ 1, y > 0)convert freely between the two forms — most log questions are solved the moment you do
02

Why the base cannot be 1, and why y cannot be negative

The two conditions in that definition are not decoration; the paper asks about them.

The base cannot be 1 because 1x = 1 for every x, so log₁ 5 would be asking for a power of 1 that gives 5 — there is none. The base cannot be negative or zero either, because the powers would not behave.

And y must be positive: a positive base raised to any real power is always positive, so no exponent can ever produce a negative answer. log₁₀(−4) does not exist in the real numbers.

Notice the curve never reaches the y-axis and never dips left of it: the domain is x > 0. Every curve passes through (1, 0), because any base to the power 0 is 1.

03

Common logs, and the characteristic and mantissa

Base 10 is used so often that log x written with no base at all means log₁₀ x. These are the common logarithms, and they are the ones in the four-figure tables. Base e ≈ 2.718 gives the natural logarithms, written ln x.

Every common logarithm splits into two parts. The whole number in front is the characteristic and the decimal part is the mantissa.

NumberStandard formCharacteristicMantissalog
3.623.62 × 10⁰00.55870.5587
36.23.62 × 10¹10.55871.5587
36203.62 × 10³30.55873.5587
0.3623.62 × 10⁻¹−1 (written 1̄)0.55871̄.5587

Read the pattern before you memorise the rule

All four numbers have the same digits, so all four have the same mantissa. Only the position of the decimal point changes, and that is exactly what the characteristic records: it equals the power of 10 in standard form. For a number ≥ 1 the characteristic is (digits before the decimal point) − 1; for a number below 1 it is negative, and the bar is written above the digit because only the characteristic is negative, never the mantissa.

04

The four laws

Every one of these is a law of exponents in disguise. Multiplying powers adds the exponents, so multiplying numbers adds their logarithms — that single sentence is why logarithms were invented, and why they turned four-digit multiplication into addition three hundred years before calculators.

logₐ(mn) = logₐ m + logₐ nlogₐ(m/n) = logₐ m − logₐ nlogₐ(mⁿ) = n logₐ mlogₐ b = log b / log a(change of base)product → sum, quotient → difference, power → multiplier
Worked example

Express log (x³√y / z²) as separate logarithms.

  1. The whole thing is a quotient, so split it first: log(x³√y) − log(z²).Work from the outside in — deal with the division before the multiplication inside it.
  2. The first bracket is a product: log(x³) + log(√y) − log(z²).Product becomes a sum.
  3. Bring every power down as a multiplier, writing √y = y^(1/2): 3 log x + ½ log y − 2 log z.The power law works for fractional powers exactly as it does for whole ones.

3 log x + ½ log y − 2 log z

Three things the laws do NOT say

log(m + n) is not log m + log n — there is no law for the log of a sum. log(m)/log(n) is not log(m/n); the first is a change of base, the second is a difference. And (log m)² is not 2 log m; only a power inside the log comes down.

05

Solving an equation that has the unknown in the exponent

This is what logarithms are actually for in an exam. If the unknown is stuck upstairs, take the log of both sides and the power law brings it down where you can reach it.

Worked example

Solve 5x = 400, giving x to three significant figures.

  1. Take log₁₀ of both sides: log(5ˣ) = log 400.Whatever you do to one side you do to the other; logging both sides keeps the equation true.
  2. Apply the power law on the left: x log 5 = log 400.The exponent is now an ordinary multiplier, so x is no longer trapped.
  3. x = log 400 / log 5 = 2.6021 / 0.6990.This is a division of two logs, not the log of a quotient.
  4. x = 3.72 (3 s.f.).Check: 5³·⁷² ≈ 400. A sanity check costs five seconds and catches an inverted fraction.

x ≈ 3.72

Before you leave this chapter

  1. aˣ = y ⟺ logₐ y = x. Converting between the two forms solves most questions on its own.
  2. Base must be positive and ≠ 1; the number itself must be strictly positive.
  3. Characteristic = the power of 10 in standard form. Mantissa comes from the table and is never negative.
  4. Product → sum, quotient → difference, power → multiplier. There is no law for log of a sum.
  5. To free an unknown exponent, take logs of both sides and bring the power down.
07

e, and the logarithm that goes with it

One base matters more than all the others. The number e ≈ 2.71828 is the base for which the curve y = eˣ has gradient exactly equal to its own height at every point — the rate of growth equals the amount present. That is the defining property of natural growth, which is why e appears in every population, cooling and decay problem you will meet.

The logarithm to base e is written ln x rather than logₑ x. It obeys the same four laws as any other logarithm; nothing new has to be learned about how it behaves.

and ln x are inverse functions, so each undoes the other: ln(eˣ) = x and e^(ln x) = x. Their graphs are therefore reflections of one another in the line y = x, which fixes their shapes in memory — never touches the x-axis, so ln x never touches the y-axis, and ln x is undefined for x ⩽ 0.

ln(eˣ) = xe^(ln x) = xy = e^(kx): k > 0 grows, k < 0 decaysln 1 = 0ln e = 1each function undoes the other, so applying both returns the input
e
about 2.71828the base whose curve has gradient equal to its height
ln x
logarithm to base eundefined for x ⩽ 0
k
the rate constantits sign decides growth or decay

Taking logs is a legal move on both sides

If two positive quantities are equal, their logarithms are equal. That is what licenses "taking ln of both sides", and it is the standard route whenever the unknown sits in an exponent. The restriction to positive quantities matters: ln of a negative number does not exist, so an equation like eˣ = −2 has no solution at all.

08

Solving equations with the unknown in the index

When x appears as an exponent, no amount of ordinary rearranging will reach it, because it is not being added or multiplied — it is counting repeated multiplication. Taking logarithms is what brings it down, since the power law turns an exponent into a coefficient.

Worked example

Solve 5^(2x−1) = 40, giving your answer to 3 significant figures.

  1. Take logarithms of both sides: ln(5^(2x−1)) = ln 40.Both sides are positive, so this is valid. Either ln or log₁₀ works; the answer is the same.
  2. Bring the exponent down: (2x − 1) ln 5 = ln 40.The power law log(aⁿ) = n log a is the entire point of the method.
  3. 2x − 1 = ln 40 / ln 5 = 3.6889 / 1.6094 = 2.2921.A quotient of two logarithms, not the logarithm of a quotient — these are completely different and confusing them is the usual error.
  4. 2x = 3.2921, so x = 1.65 to 3 s.f.Only the final answer is rounded.

x = 1.65

ln a / ln b is not ln(a/b)

The subtraction law says ln(a/b) = ln a − ln b. A quotient of two logarithms is something else entirely and does not simplify. In the example above, ln 40 / ln 5 = 2.292 while ln(40/5) = ln 8 = 2.079. Any answer that treats them as equal will be wrong.

09

Reducing a relationship to linear form

Experimental data rarely lies on a straight line, but many relationships become straight once logarithms are taken. The point of doing this is that a straight line has a gradient and an intercept that can be measured off a graph — which is how the unknown constants are found.

Two patterns cover almost every question. Which one applies is decided by where the unknown sits: in the exponent, or as the power of the variable.

RelationshipTake logs to getPlotGradient / intercept
y = kxⁿln y = ln k + n ln xln y against ln xgradient n, intercept ln k
y = k·aˣln y = ln k + x ln aln y against xgradient ln a, intercept ln k

Getting the constants back out

  1. For y = kxⁿ: the power n is the gradient directly, and k = e^(intercept).
  2. For y = k·aˣ: a = e^(gradient) and k = e^(intercept).
  3. The intercept is always ln k, never k — exponentiate before quoting it.
  4. Which variable goes on which axis is decided by the form: the equation must read as Y = mX + c.

Practice questions

6 questions · 19 marks · full working on every one

Try each one on paper first, then open the working. The marks are shown where they are actually awarded, because that is where they are actually lost.

Short questions

3 · 6 marks

Two marks each, in the style of the short-question section of the paper. Answer in two or three lines.

SQ1[2 marks]
Define the logarithm of a number to a given base.
Model answer

If ax = y, where a > 0 and a ≠ 1, then x is called the logarithm of y to the base a, written loga y = x. It is the power to which the base must be raised to give the number.

Examiner tip. State the restriction on the base. Definitions in this chapter carry a mark for the conditions as well as for the statement.

SQ2[2 marks]
Why is the base of a logarithm never taken as 1?
Model answer

Because 1x = 1 for every value of x. No power of 1 can produce any number other than 1, so log₁ y would have no value for y ≠ 1 and infinitely many for y = 1.

Examiner tip. Give the reason in symbols as well as words — "because 1 to any power is 1" is the sentence the mark scheme is looking for.

SQ3[2 marks]
Find the characteristic of log 0.00456 and explain how you obtained it.
Model answer

In standard form 0.00456 = 4.56 × 10⁻³, so the characteristic is −3, written . The characteristic equals the power of 10 in standard form.

Examiner tip. For a number less than 1, the characteristic is negative and equals −(number of zeros between the decimal point and the first significant figure, plus one).

Solved numericals

2 · 7 marks

Full working, one step per line, with the marks shown where they are awarded.

N1[3 marks]
Evaluate log₂ 64 + log₃ 81 − log₅ 125 without tables.
Full working
  1. log₂ 64 = 6 because 2⁶ = 64[1]
  2. log₃ 81 = 4 because 3⁴ = 81[1]
  3. log₅ 125 = 3, so the value is 6 + 4 − 3 = 7final answer required[1]

7

Examiner tip. Write each term as "base to what power gives this number". Every log in an exam question of this type comes out as a whole number.

N2[4 marks]
Solve for x: log₂(x + 3) + log₂(x − 3) = 4.
Full working
  1. Combine using the product law: log₂[(x+3)(x−3)] = 4sum of logs with the same base becomes the log of a product[1]
  2. Convert to exponential form: (x+3)(x−3) = 2⁴ = 16[1]
  3. x² − 9 = 16, so x² = 25 and x = ±5difference of two squares[1]
  4. Reject x = −5 because it makes x − 3 negative and the log undefined; x = 5the rejection must be stated with a reason[1]

x = 5

Examiner tip. Any log equation you solve by squaring or by removing logs must be checked against the domain. The negative root is planted deliberately and the final mark is for throwing it out.

Long questions

1 · 6 marks

Theory and numerical together, as they appear in the long-question section.

LQ1[6 marks]
The number of bacteria in a culture doubles every hour. Starting from 500 bacteria, the number after t hours is N = 500 × 2t.
  1. Find the number of bacteria after 6 hours.
  2. Find, using logarithms, the time taken for the culture to reach 32 000 bacteria. Give your answer to two decimal places.
  3. Explain why logarithms are needed for part (b) but not for part (a).
Mark scheme
  1. N = 500 × 2⁶ = 500 × 64[1]
  2. N = 32 000 bacteria[1]
  3. 32 000 = 500 × 2ᵗ so 2ᵗ = 64divide by the initial amount first[1]
  4. Take logs: t log 2 = log 64power law brings t down[1]
  5. t = log 64 / log 2 = 1.8062 / 0.3010 = 6.00 hoursaccept t = 6 from inspection with working shown[1]
  6. In (a) the exponent is known and the answer is a direct calculation; in (b) the unknown is the exponent itself, and logarithms are the only way to bring it down to where it can be solvedthe explanation must mention that the unknown is in the exponent[1]

(a) 32 000 (b) t = 6.00 hours (c) in (b) the unknown is the exponent

Examiner tip. Notice parts (a) and (b) are the same equation read in opposite directions. Examiners set this pair on purpose — spotting it is a free check on your answer.