2.10 Logarithmic scaling and linearizing data
Studying this course? Keep your progress in one place.
Key facts
- A scale: each rise of 1 multiplies the quantity by 10.
- Exponential : plot against ; gradient , intercept (semi-log).
- Power : plot against ; gradient , intercept (log-log).
- A straight line on a semi-log graph means exponential; on a log-log graph, power.
- Use for the transformed data to judge the fit.
- Predictions outside the data are extrapolation and may be unreliable.
Scaling with logarithms
Logarithms turn multiplying into adding, so very large or small numbers fit on one manageable scale.
On a scale, +1 multiplies the quantity by 10 and +3 by 1000.
Example: gives . To go back, .
The laws: , and , in base 10 or (written ).
A quantity rises from to . By what factor does change?
Linearizing exponential data
Take logarithms of : against is a straight line with gradient and intercept .
This is a semi-log relationship (one variable logged).
Example: gives and .
Use your GDC to find the regression line of on , then undo the logarithm to get and .
A line of best fit gives . Find and in .
Linearizing power data
Take logarithms of : against is a straight line whose gradient is the exponent .
This is a log-log relationship (both variables logged), with intercept .
Example: for planets, gives and , so .
Any base works, as long as you use the same base to undo it.
A log-log line has equation . Which power model is this?
Interpreting log graphs
A straight line on a semi-log graph means an exponential model; on a log-log graph it means a power model.
You will not be asked to draw these graphs, but you must interpret them. If neither is straight, try another model.
Use Pearson's product-moment correlation coefficient for the transformed data: close to supports the model, close to 0 means a poor fit.
A log scale suits data over a wide range, or a focus on the rate of growth rather than the absolute change.
against (semi-log)
- Straight line: exponential
- Gradient , intercept
against (log-log)
- Straight line: power
- Gradient , intercept
A graph of against is a straight line. Which model is suggested?
Finding parameters and predicting
Fit a straight line to the transformed data, compare it with the log equation, then undo the logarithms.
Example: cases against days gives with , so . At , ; when .
Always comment: close to 1 supports the model, but predictions outside the data range are extrapolation, and real growth cannot continue forever.
- 1
Choose the transformation
against , or against
- 2
Line of best fit
use the GDC
- 3
Compare
with or
- 4
Undo the logarithms
to get the model
Worked example
A line of best fit for against is . Find the model and when .
- 1
Gradient , so .
- 2
Intercept , so .
- 3
Model: .
- 4
At : , so .
The model fits the data with . Why is a prediction far outside the data range still unreliable?
Try an exam question
A line of best fit for against is . Find the model , and find when .
[4 marks]
- [1]Compares with : and .
- [1] and , so .
- [1]At : .
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find when .
1 mark, marked against the mark scheme
Find when .
1 mark, marked against the mark scheme