Modelling Curves

A2 · P3 · 3 min

Many relationships between two variables are not linear, but become linear after taking logarithms. Plotting the transformed data as a straight line lets you read the unknown constants from the gradient and intercept. The syllabus requires two models: a power law and an exponential law.

The two models

Key result

Power law y=kxny = kx^n:

ln⁡y=ln⁡k+nln⁡x\ln y = \ln k + n\ln x

Plot ln⁡y\ln y against ln⁡x\ln x: a straight line with gradient nn and intercept ln⁡k\ln k.

Exponential law y=k axy = k\,a^x:

ln⁡y=ln⁡k+xln⁡a\ln y = \ln k + x\ln a

Plot ln⁡y\ln y against xx: a straight line with gradient ln⁡a\ln a and intercept ln⁡k\ln k.

Any base of logarithm works, as long as you use the same base throughout; questions may use log⁡10\log_{10} or ln⁡\ln.

Method
  1. Take logs of both sides and use the laws to write the equation in the form Y=mX+cY = mX + c.
  2. Identify what must be plotted (XX and YY) and what the gradient and intercept represent.
  3. From the graph or from two points, find the gradient and intercept.
  4. Convert back: k=eck = e^{c} (or 10c10^c), and a=ema = e^{m} for the exponential model, n=mn = m for the power model.
Power law from a line

Variables xx and yy satisfy y=kxny = kx^n. The graph of ln⁡y\ln y against ln⁡x\ln x is a straight line through (1,3.2)(1, 3.2) and (3,4.4)(3, 4.4). Find kk and nn.

Solution

Gradient n=4.4−3.23−1=0.6n = \dfrac{4.4 - 3.2}{3 - 1} = 0.6.

Intercept: ln⁡y=0.6ln⁡x+c\ln y = 0.6\ln x + c; using (1,3.2)(1, 3.2): c=3.2−0.6=2.6c = 3.2 - 0.6 = 2.6. So ln⁡k=2.6\ln k = 2.6, k=e2.6≈13.5k = e^{2.6} \approx 13.5.

y≈13.5x0.6y \approx 13.5x^{0.6}.

Exponential law from data

The table gives values of yy for values of xx:

xx1234
yy6.19.213.720.6

It is thought that y=kaxy = k a^x. Show how a linear graph can be obtained, and estimate kk and aa.

Solution

ln⁡y=ln⁡k+xln⁡a\ln y = \ln k + x\ln a, so plot ln⁡y\ln y against xx: values 1.81,2.22,2.62,3.031.81, 2.22, 2.62, 3.03, which increase by about 0.4050.405 each step, confirming a straight line.

Gradient ln⁡a≈0.405⇒a≈e0.405=1.5\ln a \approx 0.405 \Rightarrow a \approx e^{0.405} = 1.5. Intercept: ln⁡k≈1.81−0.405=1.405⇒k≈4.1\ln k \approx 1.81 - 0.405 = 1.405 \Rightarrow k \approx 4.1.

y≈4.1×1.5xy \approx 4.1 \times 1.5^x.

Reading the intercept when the line is given

The variables satisfy log⁡10y=0.5log⁡10x+1.3\log_{10} y = 0.5\log_{10} x + 1.3. Express yy in terms of xx.

Solution

log⁡10y=log⁡10x0.5+1.3⇒y=101.3x≈20.0x\log_{10} y = \log_{10} x^{0.5} + 1.3 \Rightarrow y = 10^{1.3}\sqrt{x} \approx 20.0\sqrt{x}.

Which graph?

For each model, state the graph that gives a straight line and what the gradient represents: (a) y=Aebxy = Ae^{bx}; (b) y=Axby = Ax^b; (c) y2=Axby^2 = Ax^b.

Solution

(a) ln⁡y\ln y against xx; gradient bb. (b) ln⁡y\ln y against ln⁡x\ln x; gradient bb. (c) 2ln⁡y=ln⁡A+bln⁡x2\ln y = \ln A + b\ln x, so ln⁡y\ln y against ln⁡x\ln x has gradient b2\tfrac{b}{2}.

Watch out

The intercept of the transformed graph is ln⁡k\ln k, not kk. Forgetting to exponentiate is the most common error in this topic. Similarly, for an exponential model the gradient is ln⁡a\ln a, so a=egradienta = e^{\text{gradient}}.

Exam tip

Read gradients from two points on the drawn line, not from the raw data points, and quote them to about 2 significant figures. The mark scheme allows a tolerance because the line is fitted by eye.

Practice

Question
  1. y=kxny = kx^n. The line of ln⁡y\ln y against ln⁡x\ln x has gradient −2-2 and intercept 1.51.5. Find kk and nn.
  2. y=kaxy = ka^x. The line of ln⁡y\ln y against xx passes through (0,0.7)(0, 0.7) and (5,2.2)(5, 2.2). Find kk and aa.
  3. y=3×2xy = 3 \times 2^{x}. State the gradient and intercept of the graph of log⁡10y\log_{10} y against xx.
  4. p=kqnp = kq^n with p=12p = 12 when q=2q = 2 and p=48p = 48 when q=8q = 8. Find nn and kk.
Answers
  1. n=−2n = -2, k=e1.5≈4.48k = e^{1.5} \approx 4.48.
  2. Gradient 0.30.3, so a=e0.3≈1.35a = e^{0.3} \approx 1.35; k=e0.7≈2.01k = e^{0.7} \approx 2.01.
  3. Gradient log⁡102≈0.301\log_{10} 2 \approx 0.301; intercept log⁡103≈0.477\log_{10} 3 \approx 0.477.
  4. 4812=4n⇒n=1\dfrac{48}{12} = 4^n \Rightarrow n = 1; k=6k = 6.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action