AP Precalculus · Topic 2.15 · Reading guide, about 5 min

Reading and using semi-log plots

Read semi-log plots, see why exponential data look linear, and recover y = a b^x from the line.

In one minute

Exponential data race upward so quickly that on an ordinary graph the early points huddle near the bottom and the later ones shoot off the page. A semi-log plot fixes this by drawing the vertical axis on a log scale. Each tick mark is a power of 10 instead of a fixed amount, so every factor of 10 takes the same height.

The payoff is that exponential data turn into a straight line. Straight lines are easy to read and easy to fit, so a semi-log plot lets you test whether data are exponential and, if they are, pull out the model. Linearizing, as this trick is called, is one of the most useful ideas in data analysis.

Key terms

Semi-log plot
A graph whose horizontal axis is ordinary but whose vertical axis shows the log of the output, with ticks at powers of 10.
Log scale
An axis where equal distances stand for equal ratios, such as 1, 10, 100, 1000, instead of equal differences.
Linearization
Transforming data, here by taking the log of the output, so that a curve becomes a straight line.
Slope on a semi-log plot
For data y=abxy=ab^x plotted as log⁡y\log y against xx, the slope is log⁡b\log b.
Intercept on a semi-log plot
The value of log⁡y\log y at x=0x=0, which equals log⁡a\log a for y=abxy=ab^x.
Exponential model
A function y=abxy=ab^x with initial value aa and constant growth or decay factor bb.
Growth factor
The number bb that multiplies the output each time the input increases by 1.
Power of ten
A number 10k10^k. On a base-10 log axis, a point at height kk stands for the value 10k10^k.

Why exponential data become a line

Start with y=abxy=ab^x with a>0a>0 and b>0b>0. Take the base-10 log of both sides. The product property gives log⁡y=log⁡a+log⁡(bx)\log y=\log a+\log(b^x), and the power property gives log⁡y=log⁡a+xlog⁡b\log y=\log a+x\log b. Rearranged, that is log⁡y=(log⁡b) x+log⁡a\log y=(\log b)\,x+\log a.

Compare this with the line Y=mx+cY=mx+c. Here the vertical variable is Y=log⁡yY=\log y, the slope is m=log⁡bm=\log b, and the intercept is c=log⁡ac=\log a. So plotting log⁡y\log y against xx gives a straight line whose slope and intercept encode the growth factor and the initial value.

Natural logs work the same way: ln⁡y=ln⁡a+xln⁡b\ln y=\ln a+x\ln b. The base of the log you choose only changes the numbers on the axis, not the straight-line shape.

Dictionary between the exponential and its semi-log line
FeatureExponential y=abxy=ab^xSemi-log line log⁡y\log y versus xx
ShapeCurveStraight line
Starting valuea=y(0)a=y(0)Intercept is log⁡a\log a
Rate of changeConstant factor bb per unit of xxConstant slope log⁡b\log b
Growth (b>1b>1)Increasing curvePositive slope
Decay (0<b<10< b<1)Decreasing curveNegative slope, since log⁡b<0\log b<0

Recovering the model from a line

Worked example. A culture of bacteria is counted at four times, with xx in hours: at x=0x=0 there are 5 thousand cells, then 15 at x=1x=1, 45 at x=2x=2, and 135 at x=3x=3. Each count is 3 times the one before, so the data look exponential. To confirm, take base-10 logs. The values are about 0.699, 1.176, 1.653 and 2.130. The differences are 0.477 each time, so the points lie on a line.

Slope: log⁡3≈0.4771\log 3\approx0.4771. Intercept: log⁡5≈0.6990\log 5\approx0.6990. So the line is log⁡y≈0.6990+0.4771x\log y\approx0.6990+0.4771x. Check at x=3x=3: 0.6990+3(0.4771)=2.13030.6990+3(0.4771)=2.1303, which agrees with log⁡135≈2.130\log 135\approx2.130. To recover the model, undo the log. The growth factor is b=100.4771≈3.00b=10^{0.4771}\approx3.00 and the initial value is a=100.6990≈5.00a=10^{0.6990}\approx5.00. Hence y=5⋅3xy=5\cdot3^x thousand cells.

In the other direction, suppose a semi-log graph shows a line through (0,2)(0,2) and (4,6)(4,6) in the log⁡y\log y values. The slope is (6−2)/4=1(6-2)/4=1 and the intercept is 2. So log⁡y=2+x\log y=2+x, giving b=101=10b=10^1=10 and a=102=100a=10^2=100, and y=100⋅10xy=100\cdot10^x.

Reading the plot itself

On the actual graph, tick labels look like 1, 10, 100, 1000, evenly spaced. A point halfway between the 10 and 100 ticks does not stand for 55. It stands for 101.5≈31.610^{1.5}\approx31.6. Equal spacing means equal factors, so the distance from 10 to 100 equals the distance from 100 to 1000.

A steeper line means a larger growth factor. A flat line means no change. A line sloping downward means decay. If the points on a semi-log plot bend instead of forming a line, the data are not exactly exponential. If the points bend upward on the plot, the growth factor is getting larger as xx increases, so growth is speeding up faster than a constant factor allows. If they bend downward, the growth factor is shrinking, as happens for a quantity that is leveling off.

A calculator or spreadsheet can make a semi-log chart or fit a line to the logged data. Either way, the plot is only a picture of the data. The model you report should be written in the original form y=abxy=ab^x, with units.

How it connects

  • Back to 2.12: the product and power properties of logs are exactly what turn abxab^x into a linear equation.
  • Back to 2.5: the parameters aa and bb here are the initial value and growth factor from exponential models.
  • Back to 2.2: constant ratio over equal steps in xx is what becomes constant addition after taking logs.
  • Back to 2.14: log models show the reverse picture, where the input is on a log scale instead of the output.

Common mistakes

  • Reading the axis as linear. On a log axis, the midpoint between two ticks is not their average. It is their geometric middle.
  • Reporting the slope as the growth factor. The slope is log⁡b\log b, so you must compute b=10slopeb=10^{\text{slope}}, or eslopee^{\text{slope}} for natural logs.
  • Reporting the intercept as the initial value. The intercept is log⁡a\log a, so the initial value is a=10intercepta=10^{\text{intercept}}.
  • Mixing log bases. If the slope came from natural logs, use ee to undo it. If it came from base 10, use 10.

How it shows up on the exam

  • Graph items show a semi-log plot with a line and ask you to decide whether the data are exponential and to estimate the model.
  • Some items give a linear equation for log⁡y\log y in terms of xx and ask you to write the matching exponential function.
  • A few items ask you to interpret what a slope or intercept on the plot says about growth rate or starting value.

Check yourself

  1. Why does taking the log of y=abxy=ab^x produce a linear relationship in xx?
  2. On a semi-log plot, what does a slope of 0.3 in base 10 tell you about the growth factor?
  3. How would you use the intercept of a semi-log line to find the starting value?
  4. What would a semi-log plot look like for exponential decay?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.