Leave lesson

Pure · Exponentials & logarithms

1 / 9

Logarithms and non-linear data

Turning curved laws into straight lines with logs — y = ax^n becomes log-log linear, y = ab^x becomes log-linear — then reading the constants off the gradient and intercept.

Pure · Exponentials & logarithms

Logarithms and non-linear data

Turning curved laws into straight lines with logs — y = ax^n becomes log-log linear, y = ab^x becomes log-linear — then reading the constants off the gradient and intercept.

Why it works

Two relationships that look curved become straight lines once you take logs, which is why experimenters plot logs: a straight line is easy to test for and easy to read constants from. Compare each to Y=mX+cY = mX + c.

Power law y=axny = ax^n. Take logs of both sides:

logy=loga+nlogx.\log y = \log a + n\log x.

Plotting logy\log y against logx\log x (a log–log plot) gives a straight line with gradient nn and vertical intercept loga\log a, so a=10intercepta = 10^{\text{intercept}} (or eintercepte^{\text{intercept}} if natural logs are used).

Exponential law y=abxy = ab^x. Take logs:

logy=loga+xlogb.\log y = \log a + x\log b.

Plotting logy\log y against xx (a log–linear plot — only the yy-data is logged) gives a straight line with gradient logb\log b and intercept loga\log a, so b=10gradientb = 10^{\text{gradient}} and a=10intercepta = 10^{\text{intercept}}.

The tell-tale difference: both axes logged \Rightarrow power law; only the yy-axis logged \Rightarrow exponential law. Match the form to the graph, line up the equation with Y=mX+cY = mX + c, and the constants drop out of the gradient and intercept.

Interpreting the constants is part of the question: aa is the value of yy when x=1x = 1 (power law) or when x=0x = 0 (exponential law), and nn or bb is the "growth" parameter — say what they mean in the context.