Logarithms and Non-Linear Data
Taking logs turns curved relationships into straight lines. Plotting log values lets you fit power and exponential models to real data and read off their constants from the gradient and intercept.
What you'll be able to do
- Linearise y = axⁿ by taking logs
- Linearise y = abˣ by taking logs
- Read constants from the gradient and intercept
- Choose the right log-plot for a model
Power law: y = axⁿ
Taking logs of gives a straight line when you plot against . The gradient is the power and the intercept is .
Exponential law: y = abˣ
For , take logs to get a line when plotting against (not ). The gradient is and the intercept is .
Tip — Power law → log y vs log x. Exponential law → log y vs x. The choice of axes is the key decision.
Reading the constants
Once you have the straight-line gradient and intercept, reverse the logs to recover the original constants (, or ).
Formula recap
Common mistakes to avoid
Key takeaways
- Power law y = axⁿ: log y vs log x is linear (gradient n, intercept log a).
- Exponential y = abˣ: log y vs x is linear (gradient log b, intercept log a).
- Undo the logs to recover the original constants.
Test yourself
Ready to lock in Logarithms and Non-Linear Data? Pick a mode and earn XP & Dobloons.