A-level Mathematics6.5 Logarithmic graphs and estimating parameters

All books

6.5 Logarithmic graphs and estimating parameters — Learn

Prerequisites: the laws of logarithms from Section 6.3; straight-line graphs and gradients from Chapter 3; the model y=kbxy = kb^x from Sections 6.2 and 6.6.

By the end of this section you can: take logarithms of a model to turn it into a straight line; estimate the constants in y=kbxy = kb^x from a graph of ln⁡y\ln y against xx; estimate the constants in y=axny = ax^n from a graph of ln⁡y\ln y against ln⁡x\ln x; and convert an intercept back into the original constant.

1. Turning a curve into a straight line

A straight line is easier to read than a curve. A gradient and an intercept can be measured with a ruler, and a line makes the trend obvious. Logarithms let us turn an exponential or a power model into a straight line.

Start with the exponential model y=kbxy = kb^x, where k>0k > 0 and b>0b > 0. Take the natural logarithm of both sides:

ln⁡y=ln⁡(kbx)=ln⁡k+xln⁡b.\ln y = \ln\left(kb^x\right) = \ln k + x\ln b.

This has the form Y=mX+cY = mX + c if we plot Y=ln⁡yY = \ln y against X=xX = x. The graph is a straight line with

gradient=ln⁡b,intercept=ln⁡k.\text{gradient} = \ln b, \qquad \text{intercept} = \ln k.

So the gradient of the line gives ln⁡b\ln b, and the intercept gives ln⁡k\ln k. To recover bb and kk, undo the logarithm with the exponential: b=egradientb = e^{\text{gradient}} and k=einterceptk = e^{\text{intercept}}.

Now take the power model y=axny = ax^n, where a>0a > 0 and x>0x > 0. Take logarithms:

ln⁡y=ln⁡(axn)=ln⁡a+nln⁡x.\ln y = \ln\left(ax^n\right) = \ln a + n\ln x.

Plot Y=ln⁡yY = \ln y against X=ln⁡xX = \ln x. The graph is a straight line with

gradient=n,intercept=ln⁡a.\text{gradient} = n, \qquad \text{intercept} = \ln a.

The table below shows which plot is needed for each model.

Model Plot Gradient Intercept
y=kbxy = kb^x ln⁡y\ln y against xx ln⁡b\ln b ln⁡k\ln k
y=axny = ax^n ln⁡y\ln y against ln⁡x\ln x nn ln⁡a\ln a

The symbols. In y=kbxy = kb^x, kk is the value of yy when x=0x = 0 and bb is the growth factor. In y=axny = ax^n, aa is the value of yy when x=1x = 1 and nn is the power. On a plot, XX is the quantity on the horizontal axis and YY the quantity on the vertical axis, so Y=mX+cY = mX + c has gradient mm and intercept cc.

Example 1. A model y=kbxy = kb^x has data points (0,200)(0, 200) and (1,300)(1, 300). Estimate kk and bb.

The gradient of the graph of ln⁡y\ln y against xx is

ln⁡300−ln⁡200=ln⁡300200=ln⁡1.5≈0.405.\ln 300 - \ln 200 = \ln\frac{300}{200} = \ln 1.5 \approx 0.405.

So ln⁡b=ln⁡1.5\ln b = \ln 1.5 and b=1.5b = 1.5. The intercept is ln⁡k=ln⁡200\ln k = \ln 200, so k=200k = 200. The model is y=200(1.5)xy = 200\left(1.5\right)^x.

Example 2. A graph of ln⁡y\ln y against ln⁡x\ln x for a model y=axny = ax^n has gradient 33 and intercept ln⁡4\ln 4. Find aa and nn.

The gradient is nn, so n=3n = 3. The intercept is ln⁡a=ln⁡4\ln a = \ln 4, so a=4a = 4. The model is y=4x3y = 4x^3.

Example 3. A model satisfies log⁡10y=2+0.5x\log_{10} y = 2 + 0.5x. Find kk and bb in y=kbxy = kb^x.

Compare with log⁡10y=log⁡10k+xlog⁡10b\log_{10} y = \log_{10} k + x\log_{10} b. The intercept gives log⁡10k=2\log_{10} k = 2, so k=102=100k = 10^2 = 100. The gradient gives log⁡10b=0.5\log_{10} b = 0.5, so b=100.5=10≈3.16b = 10^{0.5} = \sqrt{10} \approx 3.16.

2. Try it: straightening a curve

Predict first. The figure shows a set of data points from a model y=kbxy = k b^x. Before you touch the controls, predict the shape of the graph of ln⁡y\ln y against xx: a curve or a straight line? Then predict the sign of the gradient when bb is larger than 11. Write both predictions down.

Figure 1

Test. Move the slider to change the growth factor bb. Note the shape of the graph of yy against xx. Then press the button to show ln⁡y\ln y against xx, and read the gradient. Change bb again and read the new gradient.

Explain. Write two sentences. The first explains why plotting ln⁡y\ln y instead of yy turns the curve into a straight line. The second explains what the gradient of that line tells you about bb.

Progress check

Return to the mould culture in the chapter problem. Its counts are 200200, 300300, 450450 and 675675 at times 00, 11, 22 and 33 hours.

  1. Work out the ratio between each count and the one before it.
  2. Explain why a model of the form N=kbtN = kb^t fits the data.
  3. Use two readings, at t=0t = 0 and t=3t = 3, to estimate the gradient of ln⁡N\ln N against tt.
  4. Hence estimate bb and predict when NN reaches 20002000.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.