Historical Context & Motivation
Before calculators existed, multiplying and dividing large numbers was gruelling work. Astronomers and navigators needed a shortcut, and in the early 1600s a Scottish mathematician named John Napier found one: he showed that multiplication could be replaced by addition if you first converted numbers into a new scale. He called his invention logarithms, from the Greek words logos (ratio) and arithmos (number). This single idea shaved years off astronomical calculations and eventually led to the slide rule, the 'calculator' used for over three centuries.
Logarithms didn't stay locked in pure mathematics. Scientists soon discovered that many real-world phenomena — earthquakes, sound intensity, acidity — span such huge ranges that ordinary linear scales are useless. A logarithmic scale compresses these ranges so that patterns become visible. Even more powerfully, when data that follow a power law or exponential model are plotted on a logarithmic axis, the resulting curve becomes a straight line — and straight lines are much easier to analyse.
The central question this topic answers is deceptively simple: how can we turn a curve into a straight line? By mastering logarithmic transformations, you gain a toolkit for identifying hidden models in messy data and extracting the parameters that describe them.
Core Principles & Definitions
Before diving into transformations, you need a solid grip on the building blocks. The ideas below form the foundation of every logarithmic scale and every linearisation technique you'll use in this topic.
Logarithm as Inverse
Logarithmic Scale
Semi-Log Plot
Log-Log Plot
Linearisation
Visual Explanation — Linearising an Exponential
The diagram below shows the same data set plotted two ways. On the left is a standard linear-axis graph where exponential growth produces a steep, hard-to-analyse curve. On the right, the y-axis has been replaced with a logarithmic scale (a semi-log plot), and the same data now fall on a straight line. This is the core visual insight of logarithmic transformations.
Notice how the pink curve on the left rockets upward, making it nearly impossible to read intermediate values or determine the growth rate by eye. On the right, the same five data points fall neatly onto a cyan line. The gradient of that line gives you log b (the logarithm of the base), and the y-intercept gives you log a (the logarithm of the coefficient). From those two numbers, you can recover the original model parameters a and b.
Mathematical Framework
Linearising a model means applying logarithms so the resulting equation has the form Y = mX + c, where Y and X are transformed variables. The key log laws you need are the product rule log(ab) = log a + log b, the power rule log(an) = n log a, and the quotient rule log(a/b) = log a − log b.
Linearising an Exponential Model
Linearising a Power Model
Logarithmic Scales in the Real World
Logarithmic scales aren't just a mathematical trick — they are embedded in science and everyday life. Whenever a quantity spans many orders of magnitude (factors of 10), a linear scale becomes impractical. The table below catalogues several famous logarithmic scales, showing how each one compresses a huge range into a manageable number.
| Scale | Quantity Measured | Base | Each +1 unit means… |
|---|---|---|---|
| Richter | Earthquake energy | 10 | Amplitude ×10, energy ×31.6 |
| Decibel (dB) | Sound intensity | 10 | +10 dB = intensity ×10 |
| pH | Hydrogen-ion concentration | 10 | −1 pH = H⁺ concentration ×10 |
| Stellar magnitude | Star brightness | ≈2.512 | +1 magnitude = brightness ÷2.512 |
In the log-log plot above, notice that the gradient equals the exponent n = 3 of the original power function. This is extremely useful: if you are given a data set and suspect a power relationship, plot log y against log x, fit a line, and read off the slope to determine the power. The y-intercept gives you log a, so a = 10intercept.
Worked Example — Finding a Power Model from Data
A biologist measures the metabolic rate R (in watts) of mammals against their body mass M (in kg). She suspects a power model R = aMn. The data are shown below.
| M (kg) | R (W) | log₁₀ M | log₁₀ R |
|---|---|---|---|
| 0.1 | 0.75 | −1.00 | −0.125 |
| 1 | 3.5 | 0.00 | 0.544 |
| 10 | 16 | 1.00 | 1.204 |
| 100 | 75 | 2.00 | 1.875 |
| 1000 | 350 | 3.00 | 2.544 |
Semi-Log vs. Log-Log — When to Use Which
Choosing the right type of logarithmic plot is essential. The table below summarises the differences between semi-log and log-log approaches, linking each to its corresponding algebraic model.
| Feature | Semi-Log Plot | Log-Log Plot |
|---|---|---|
| Axes | x linear, y logarithmic | Both x and y logarithmic |
| Model linearised | Exponential: y = a × bˣ | Power: y = a × xⁿ |
| Linearised form | log y = (log b)x + log a | log y = n · log x + log a |
| Gradient gives | log b (growth/decay factor) | n (the power/exponent) |
| y-intercept gives | log a (initial value) | log a (coefficient) |
| Typical examples | Population growth, radioactive decay, compound interest | Kepler's law, allometric scaling, drag force |
Connection to Advanced Modelling & Regression
In this course, you linearise data and then fit a line by eye or with basic regression on the transformed variables. At a more advanced level, you would use non-linear regression (also called curve-fitting) algorithms that fit the original model directly to the raw data, without needing to transform anything. The table below compares the HL approach with what you might encounter in university statistics or data science.
| Aspect | IB HL Approach | Advanced / University Approach |
|---|---|---|
| Technique | Linearise with logs, then linear regression | Non-linear least-squares regression on raw data |
| Tools | GDC, pen-and-paper log tables | Python (scipy), R, MATLAB |
| Assumptions | Errors are additive in log space | Errors are modelled in original space |
| Strengths | Visual, intuitive, quick diagnostics | More accurate parameter estimates; handles complex models |
| Limitation | Log transform distorts error structure | Requires iterative algorithms and larger data sets |
The important takeaway is that the linearisation method you learn now is not a workaround — it is a foundational skill. Understanding why log transformations work gives you the conceptual framework to appreciate more sophisticated regression techniques later. Many professional scientists still use log-log plots as a first step in exploratory data analysis before running computer-based models.
Practice Problems
Lesson Summary
A logarithmic scale replaces equal additive spacing with equal multiplicative spacing, compressing data that span many orders of magnitude. Exponential models (y = a × bˣ) become straight lines on a semi-log plot (log y vs x), while power models (y = a × xⁿ) become straight lines on a log-log plot (log y vs log x). The process of applying logarithms to convert a curve into a line is called linearisation.
Once linearised, the gradient of the line reveals either log b (for exponentials) or n (for power models), and the y-intercept gives log a in both cases. You recover the original parameters by raising 10 to the appropriate power. This technique connects centuries of mathematical history to modern data analysis and forms a key tool in the IB Applications & Interpretation HL toolkit.