Maths › Edexcel › Chapter 14: Exponentials and logarithms
Logarithms and non-linear data
Pure Mathematics Year 1, chapter 14 (Exponentials and logarithms), section 14.8
The idea
If data follows a curve, taking logarithms can turn it into a straight line. The gradient and intercept then give the constants.
Power law: y=axn
Take logs of both sides:
logy=nlogx+loga
This is a straight line of logy against logx, with gradient n and intercept loga.
Exponential: y=abx
logy=xlogb+loga
A straight line of logy against x, with gradient logb and intercept loga.
Worked example 1: power law
A graph of lgy against lgx is a straight line with gradient 2 that passes through (0,0.3). Find the relationship.
n=2 and lga=0.3, so a=100.3≈2.0. Then y≈2x2.
Worked example 2: exponential
A graph of lgy against x has equation lgy=0.5+0.2x. Find y in terms of x.
a=100.5≈3.16 and b=100.2≈1.58, so y≈3.16×1.58x.
Worked example 3: from two points
The points (1,6) and (3,54) lie on y=abx. Find a and b.
6=ab and 54=ab3. Dividing, b2=9, so b=3 and a=2. So y=2×3x.
Which graph to plot
If a plot of lgy against lgx is a straight line, the data fits y=axn.
If a plot of lgy against x is a straight line, the data fits y=abx.
Common mistake: plotting the wrong axes. For y=axn plot logy against logx. For y=abx plot logy against x (not logx). Also, the intercept is loga, not a.
Exam tip: write down the straight-line form first and match it to Y=mX+c. State what the gradient and the intercept represent, then work out a and n or b.
Check yourself
What is the gradient when plotting logy against logx for y=5x3?
3.
What is the intercept when plotting logy against x for y=4×2x?
log4.
Which kind of relationship gives a straight line of logy against x?