IB Mathematics: Applications and Interpretation HL 6 Sections80 LessonsLifetime
Scaling using logarithms and linearising data AI HL
Lesson 2.9 · Scaling Using Logarithms and Linearising Data
Manage large ranges, uncover patterns and use straight-line fits to build models.
Faith connection
Paul encourages believers to “Be kindly affectioned one to another with brotherly love” (Romans 12:10, KJV). Loving others means noticing them and treating them with care. In mathematics, changing a graph’s scale can reveal patterns that were difficult to see. As you learn to look closely at data, ask Jesus, our Savior and Lord, to help you look closely at the needs of people around you and respond with love.
Learning objectives
By the end of this lesson, you should be able to:
- explain why logarithmic scales are useful for very large ranges of positive values;
- interpret semi-logarithmic and log-log graphs;
- linearise exponential and power models using logarithms;
- recover model parameters from the gradient and intercept of a best-fit line;
- check predictions in the original units and assess whether a model is reasonable.
1. Why use a logarithmic scale?
On an ordinary axis, equal distances represent equal differences. On a logarithmic axis, equal distances represent equal ratios. For example,
,
,
and
are equally spaced on a base-10 logarithmic scale because each value is ten times the previous one.
A logarithmic scale can make values that differ by many orders of magnitude easier to display and compare. Only positive values can be placed on a standard logarithmic axis:
is undefined, as is the real logarithm of a negative number.
Suppose four samples contain
,
,
and
bacteria. On an ordinary vertical axis reaching
, the first two points appear close to zero. On a base-10 logarithmic axis, their coordinates are:
![]()
The four values appear at equally spaced positions. This spacing represents repeated multiplication by
, not repeated addition by a fixed number.
2. Semi-logarithmic graphs
A semi-logarithmic graph uses an ordinary scale on one axis and a logarithmic scale on the other. For exponential data, we often keep
on an ordinary scale and use
or
on the vertical axis.
If
, where
, taking natural logarithms gives a straight-line equation:
![]()
Thus, on a plot of
against
, the gradient is
and the vertical intercept is
. Recover the original coefficient using
.
Suppose a best-fit line for a plot of
against
is:
![]()
Exponentiate to return to the original variables:
![]()
The continuous growth parameter is
per unit of
. The multiplier for each increase of one unit in
is
, corresponding to approximately
growth per unit.
Another common form: If
, then
. The straight-line gradient is
, so
.
3. Linearising exponential data
To test an exponential model from positive measured outputs, calculate the logarithm of each output and plot those transformed values against the original inputs. If the transformed points lie approximately along a straight line, an exponential model may be reasonable.
A quantity is
at
and
at
. Assume
. The first point gives
. The second gives:
![]()
![]()
Therefore:
![]()
At
, the model gives
. More measured points would help determine whether an exponential pattern actually fits the situation.
4. Log-log graphs and power relationships
A log-log graph uses logarithmic scales on both axes. It is useful for investigating a power model:
![]()
Taking natural logarithms gives:
![]()
On a plot of
against
, the gradient is the power
, and the vertical intercept is
. Therefore
.
A best-fit line on a plot of
against
is:
![]()
The corresponding power model is:
![]()
The gradient
is an exponent, not an ordinary rate of increase. For example, doubling
multiplies the predicted output by
.
5. Calculate power-model parameters from data
When two positive data points are assumed to follow a power model exactly, divide their equations to remove the coefficient
.
Suppose
, with
at
and
at
. Divide:
![]()
![]()
Use
to obtain the coefficient:
![]()
![]()
Check using
: the model gives
.
6. Use a best-fit line to estimate parameters
Real measurements rarely lie exactly on a line after transformation. A calculator can find a straight-line fit for the transformed data. Make sure the line is fitted to the variables you actually plotted.
| Suspected original model | Plot a straight line using | If its line is |
|---|---|---|
The measured outputs at
are
. A linear fit to the points
gives approximately:
![]()
Undo the logarithm:
![]()
The model predicts approximately
at
. This is an extrapolation because the measured inputs end at
.
7. Interpret the shape, not just the line
A straight line on a logarithmic plot has a different meaning from a straight line on an ordinary plot:
- A straight line on ordinary axes suggests a linear relationship.
- A straight line on a semi-log plot with a logarithmic vertical axis suggests an exponential relationship.
- A straight line on a log-log plot suggests a power relationship.
These interpretations depend on the axes and on the data being appropriate for the model. You do not need to draw or sketch these special graphs in this topic, but you should be able to interpret them.
A graph of
against
is approximately a straight line with gradient
. Since
, we have:
![]()
The model predicts that
is multiplied by about
for each unit increase in
, equivalent to a decrease of about
per unit.
8. Check whether linearisation is appropriate
Taking logarithms requires positive values. A shifted exponential such as
does not generally produce a straight line when you plot
against
. If
is known and
, then plot
against
instead.
A sensor reading is modelled by
. The reading approaches
, not zero. Subtract the background level first:
![]()
![]()
A plot of
against
is linear with gradient
. A plot of
against
is generally curved.
Calculator workflow
- Enter the original positive input and output values in lists.
- For an exponential investigation, make a new list containing
and fit a line against
. - For a power investigation, make lists containing both
and
, then fit a line to those lists. - Record the gradient and intercept with enough digits before converting them back to the original parameters.
- Graph the resulting model with the original data. Interpret predictions in the original units.
If a calculator reports a strong correlation for transformed points, also inspect whether the original model makes sense in the context. A straight-looking transformed plot does not justify unlimited extrapolation.
IB-style Paper 1 · Skill practice
Question 1 · Understand a logarithmic axis
On a base-10 logarithmic vertical axis, the marks
,
,
and
are equally spaced. Explain why. Can a value of
be plotted on this axis?
Show solution
Each successive value is multiplied by
, and their base-10 logarithms are
. Zero cannot be plotted because
is undefined.
Question 2 · Exponential line
A straight-line fit to
against
gives
. Find an exponential model for
and its predicted value at
. Give numerical answers to three significant figures.
Show solution
. At
,
.
Question 3 · Power line
A straight-line fit to
against
gives
. Write the power model and find the factor by which
changes when
doubles.
Show solution
. Doubling
multiplies
by
.
Question 4 · Identify the axes
Data form an approximately straight line when
is plotted against
, but a curved pattern when
is plotted against
. Which model family is better supported: exponential or power? Explain.
Show solution
A power model
is better supported, because
is linear in
. An exponential model
would instead make
linear in
.
Question 5 · Base-10 logs
On a semi-log plot, a fitted line has equation
. Write the corresponding model
. Give
and
to three significant figures.
Show solution
![]()
Thus
and
. An appropriate rounded model is
.
Question 6 · Shifted exponential
A model is
. State which quantity should be logarithmically transformed to obtain a straight-line relationship with
, and give the gradient of that line.
Show solution
Subtract the background value
and plot
against
. Since
, the gradient is
.
Applications and interpretation
Application 1 · Bacterial growth
A culture begins with
bacteria. Measurements suggest that a plot of
against time
, in hours, has gradient
.
- Construct a model
. - Find the multiplier for each additional hour.
- Estimate when the model predicts
bacteria.
Show solution
The initial value gives
. The hourly multiplier is
. Solve
:
![]()
This prediction assumes that the early growth conditions remain suitable.
Application 2 · Scaling a physical measurement
An experiment suggests
, where
is speed in m/s and
is force in newtons. Measurements give
N at
m/s and
N at
m/s.
- Find
and
. - Predict the force at
m/s. - Interpret the exponent.
Show solution
Dividing the observations gives
, so
and
. Then
, giving
in the corresponding units. The model is
. At
m/s it predicts
N. The exponent means that doubling speed multiplies the force by
, within the model’s applicable range.
Application 3 · Website traffic
The daily visits to a new website are recorded as follows:
| Week |
0 | 1 | 2 | 3 |
|---|---|---|---|---|
| Visits per day | 50 | 73 | 108 | 158 |
A fitted line for
against
is approximately
.
- Recover the exponential model
. - Estimate visits per day at week
. - Explain why the week
prediction needs caution.
Show solution
. At week
, the model predicts approximately
daily visits. The supplied measurements end at week
, so week
is an extrapolation; traffic growth might slow or change.
Application 4 · Compare two interpretations
Two reports claim that an environmental measurement “increases by the same amount each year.” The first report shows a straight line on ordinary axes. The second shows a straight line only when the vertical axis is logarithmic.
- Explain the likely difference between the two patterns.
- Which pattern could have a constant percentage increase?
- Why is identifying the axis scale important before describing a trend?
Show solution
The first report suggests approximately constant absolute increases, as in a linear model. The second suggests approximately constant multiplicative changes, as in an exponential model. The second pattern could have a constant percentage increase. Equal vertical distances mean equal differences on ordinary axes but equal ratios on logarithmic axes, so the same-looking straight line can express a different relationship.
Paper 1 checklist
Name the variables on each axis. Use logarithms only for positive values. For a semi-log fit, convert the line’s intercept back to the initial multiplier and its gradient back to a growth or decay factor. For a log-log fit, interpret the gradient as an exponent. Return predictions to the original units and assess extrapolation.
Unit 2 reflection · Loving others
Throughout this unit, functions helped us examine relationships, changes and patterns. Our relationships with people also call for careful attention. Scripture asks us to consider whether our words and actions show love toward our brothers and sisters:
1 John 2:9–11
9 Anyone who claims to be in the light but hates a brother or sister is still in the darkness. 10 Anyone who loves their brother and sister lives in the light, and there is nothing in them to make them stumble. 11 But anyone who hates a brother or sister is in the darkness and walks around in the darkness. They do not know where they are going, because the darkness has blinded them.
Think of one person you can encourage, forgive or help this week. Bring your heart to Jesus, the Savior and Lord, and ask him to lead you in his light as you love others.