Educerie

Educerie · AP · Precalculus

AP Precalculus 2.15

Semi-log Plots

What is a semi-log plot, why do exponential data look linear on it, and how do you read the exponential function from the line?

What you will learn

  • Understand that exponential data become a straight line when the output axis is logarithmic
  • Know how the slope and intercept of the line give b and a
  • Know how to judge from a semi-log plot whether an exponential model is appropriate

You must be able to

  1. Decide whether an exponential model is appropriate from a semi-log plot
  2. Find the exponential function from two points on the line
  3. Convert slope and intercept to b and a using the base of the scale
  4. Write a claim and reason about linearity on a semi-log plot
  5. Linearise a data table by taking logarithms of the outputs
  6. State that the log scale is on the output axis

In the exam. Section I multiple choice, Part A or Part B: decide from a semi-log plot whether an exponential model is appropriate, and find the exponential equation from a line on a semi-log plot. Reasoning items give a claim and a reason about linearity. In the course, only the yy-axis is ever log-scaled; a semi-log plot that scales anything else is out of scope.

1Why exponential data become a line

Start with y=abxy = ab^x and take the logarithm of both sides, using base nn:

log⁡ny=log⁡n ⁣(a bx)=log⁡na+xlog⁡nb\log_n y = \log_n\!\left(a\,b^{x}\right) = \log_n a + x\log_n b

Written as a line in the variables xx and log⁡ny\log_n y:

log⁡ny=(log⁡nb)x+log⁡na\log_n y = \left(\log_n b\right)x + \log_n a
  • The slope is log⁡nb\log_n b.
  • The vertical intercept is log⁡na\log_n a.

Compare with the form Y=mx+cY = mx + c. Every skill you know for a line applies.

2The picture

Figure 1 shows the data y=3⋅2xy = 3\cdot 2^x two ways.

Figure 1. The same data, y = 3 times 2 to the x, on two sets of axes. On ordinary axes the points lie on a steepening curve. With the logarithm of y on the vertical axis they lie on a straight line that starts at about 0.48 and rises by about 0.30 each step (a) ordinary axes 2 4 6 50 100 150 200 0 y x Figure 1. The same data, y = 3 times 2 to the x, on two sets of axes. On ordinary axes the points lie on a steepening curve. With the logarithm of y on the vertical axis they lie on a straight line that starts at about 0.48 and rises by about 0.30 each step (b) log y against x 2 4 6 0.5 1 1.5 2 2.5 0 log10 y x
Figure 1 · The same data on ordinary axes (a curve) and with log y on the vertical axis (a line)

Look at both panels.

  • In (a), on ordinary axes, the points curve upward and steepen: the output multiplies, so the same step in xx gives a bigger and bigger jump.
  • In (b), the vertical axis shows log⁡10y\log_{10} y. The points lie on a straight line.
  • The line starts at log⁡103≈0.48\log_{10} 3 \approx 0.48 (the intercept) and rises by log⁡102≈0.30\log_{10} 2 \approx 0.30 for each step in xx (the slope).

On a semi-log plot the vertical axis is marked with the powers 1,10,100,10001, 10, 100, 1000, equally spaced. The marks stand for 100,101,102,10310^0, 10^1, 10^2, 10^3, so a point is plotted at its logarithm but labelled with its value.

3Reading the exponential function from the line

Work backward: the slope gives bb and the intercept gives aa. With base 1010:

b=10slope,a=10interceptb = 10^{\text{slope}}, \qquad a = 10^{\text{intercept}}

Worked example 1. A semi-log plot (base 1010) is a straight line through (0,2)(0, 2) and (3,5)(3, 5).

slope=5−23−0=1,intercept=2\text{slope} = \frac{5-2}{3-0} = 1, \qquad \text{intercept} = 2log⁡10y=x+2  ⇒  y=10x+2=100⋅10x\log_{10} y = x + 2 \;\Rightarrow\; y = 10^{x+2} = 100\cdot 10^{x}

So a=100a = 100 and b=10b = 10: the quantity is multiplied by 1010 for each step in xx.

Worked example 2. A semi-log plot has the line log⁡10y=0.2x+1\log_{10} y = 0.2x + 1. Then a=101=10a = 10^{1} = 10 and b=100.2≈1.585b = 10^{0.2} \approx 1.585, so y≈10(1.585)xy \approx 10(1.585)^x.

A different base. If the axis uses base 22, the same ideas hold with 2slope2^{\text{slope}} and 2intercept2^{\text{intercept}}. A line through (0,3)(0, 3) and (4,11)(4, 11) on a base-22 plot has slope 22 and intercept 33, so y=23⋅(22)x=8⋅4xy = 2^{3}\cdot (2^{2})^{x} = 8\cdot 4^{x}.

4Testing a model

Make a table of xx and log⁡y\log y. If the points lie close to a line, an exponential model is reasonable.

Worked example 3. The table is an invented data set.

xx012345
yy121518232936

Compute log⁡10y\log_{10} y and fit a line to the points (x,log⁡10y)(x, \log_{10} y). A calculator linear regression gives

log⁡10y≈0.0957x+1.0758\log_{10} y \approx 0.0957x + 1.0758

So b=100.0957≈1.247b = 10^{0.0957} \approx 1.247 and a=101.0758≈11.907a = 10^{1.0758} \approx 11.907, the same model that an exponential regression finds, y≈11.907(1.247)xy \approx 11.907(1.247)^x.

A reason that earns the mark. "The points on the semi-log plot lie close to a line, so an exponential model is appropriate."

5Not exactly exponential

Some data are exponential only for large inputs. Suppose the plot is curved for small xx but trends to a line for large xx. Then a transformation of an exponential function can model the data, such as abx+kab^x + k with a constant kk that matters most when the outputs are small.

So on a semi-log plot, look at the large inputs first. If they follow a line, an exponential model, possibly shifted by a constant, is reasonable.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.