impera Open Impera

AP Precalculus · Exponential and logarithmic functions

Semi-log plots

1What a semi-log plot is

A semi-log plot uses an ordinary (linear) scale on the x-axis and a logarithmic scale on the y-axis. On the log axis, equal spaces represent equal ratios: 1, 10, 100, 1000 are evenly spaced.

The key fact: exponential data looks linear on a semi-log plot.

If $y = ab^x$, then taking logs:

$$\log y = \log a + x\log b$$

This is a straight line in $x$ and $\log y$, with:

  • Slope $= \log b$
  • Vertical intercept $= \log a$

Exponential data curves on an ordinary scale but lies on a straight line on a log scale

Check yourself

On a semi-log plot, exponential data appears:

  • Constant

  • Logarithmic

  • Linear

  • Parabolic

Show the answer

Linear

log y is linear in x.

2Reading an exponential model from a semi-log line

Worked example

on a semi-log plot (base 10), data lies on the line $\log y = 0.3x + 1.2$.

  1. $\log a = 1.2$, so $a = 10^{1.2} \approx 15.8$.
  2. $\log b = 0.3$, so $b = 10^{0.3} \approx 2.0$.
  3. Model: $y \approx 15.8(2.0)^x$; the quantity roughly doubles per unit of $x$.

Worked example with natural logs: $\ln y = -0.4x + 3$.

  1. $a = e^3 \approx 20.1$, $b = e^{-0.4} \approx 0.670$.
  2. $y \approx 20.1(0.670)^x$, or $y = 20.1e^{-0.4x}$: decay of about 33% per unit.
Check yourself

If log y = 0.5x + 2, then y =

  • 100 + 0.5x

  • 0.5(100)ˣ

  • 2(0.5)ˣ

  • 100(10^0.5)ˣ

Show the answer

100(10^0.5)ˣ

a = 10², b = 10^0.5.

3Linearising data

To test whether data is exponential:

  1. Compute $\log y$ (or $\ln y$) for each data point.
  2. Plot $(x, \log y)$ or use linear regression on these values.
  3. If the points are close to a line, an exponential model is appropriate.
Worked example

$x = 0, 1, 2, 3$ and $y = 3, 6, 12, 24$.

  1. $\log y \approx 0.477, 0.778, 1.079, 1.380$.
  2. The differences are all $\approx 0.301$: a straight line with slope $\log 2$.
  3. So $b = 2$ and $a = 3$: $y = 3 \cdot 2^x$.

A linear function, in contrast, curves downward (concave down) on a semi-log plot because its ratios shrink over time.

Check yourself

Data that is exponential gives (x, log y) points that:

  • Form a parabola

  • Are all equal

  • Lie on a straight line

  • Curve upward

Show the answer

Lie on a straight line

Linearisation.

4Uses of semi-log plots

  • Viewing data spanning many orders of magnitude (populations, viral spread, prices over a century).
  • Comparing growth rates: steeper lines mean faster percentage growth.
  • Spotting changes in growth rate: a bend in the line shows the growth factor changed (e.g. when lockdowns slow an epidemic).
Worked example

two companies' sales on a semi-log plot have slopes 0.04 and 0.08 (base 10). The second grows by a factor of $10^{0.08} \approx 1.20$ per year (20%) versus $10^{0.04} \approx 1.10$ (10%).

Check yourself

On a semi-log plot, a line that becomes less steep shows:

  • Growth has stopped completely

  • The quantity is decreasing

  • The percentage growth rate has slowed

  • The data has become linear

Show the answer

The percentage growth rate has slowed

Slope is log of the growth factor.

5Going deeper: turning a straight line on a semi-log plot back into a model

On a semi-log plot, the vertical axis is logarithmic and the horizontal axis is linear. Equal distances up the vertical axis represent equal ratios (1, 10, 100, 1000), not equal differences.

Why exponential data become a straight line: start from $y = ab^x$ and take a logarithm of both sides:

$$\log y = \log a + x\log b$$

This is a linear equation in x, with

  • slope = log b;
  • vertical intercept = log a.

(With natural logarithms: slope ln b, intercept ln a.)

From the line back to the model: $b = 10^{\text{slope}}$ and $a = 10^{\text{intercept}}$ (or e to those powers).

Worked example

plotting log y against x gives a line with intercept 0.699 and slope 0.301.

  1. $a = 10^{0.699} = 5$.
  2. $b = 10^{0.301} = 2$.
  3. Model: $y = 5 \cdot 2^x$.

Worked example (from two points on the line): the line passes through (0, ln 3) and (4, ln 48).

  1. Slope $= \frac{\ln 48 - \ln 3}{4} = \frac{\ln 16}{4} = \ln 2$.
  2. b = 2; a = 3.
  3. $y = 3 \cdot 2^x$. Check: at x = 4, 3 · 16 = 48.

Worked example (reading data): x = 0, 1, 2, 3 and y = 4, 12, 36, 108.

  1. log y = 0.602, 1.079, 1.556, 2.033.
  2. Differences: 0.477 each time: linear in log y.
  3. Slope 0.477 = log 3: b = 3; a = 4. Model $y = 4 \cdot 3^x$.

Reading the plot

  • A straight line means exponential growth (rising) or decay (falling).
  • A steeper line means a larger growth factor.
  • A curve that bends downward on a semi-log plot means growth is slowing (slower than exponential); bending upward, faster than exponential.
  • Parallel lines have the same growth factor and different starting values.

Why use them

  • To test whether data are exponential: do the points fall on a line?
  • To display data spanning many orders of magnitude (populations, epidemic case counts, sound levels).
  • To make small and large values visible on one graph.

Reading a logarithmic axis: between 10 and 100, the gridlines mark 20, 30, …, 90, and they crowd together toward the top of each decade. The halfway point in distance between 10 and 100 is about 31.6 ($10^{1.5}$), not 55.

Linear regression on transformed data: fit a line to (x, log y), then convert back. Check the residual plot of the linear fit: no pattern confirms that an exponential model is appropriate.

Worked example (decay): a semi-log plot of a drug's concentration against hours is a line with slope −0.0969 (base-10).

  1. $b = 10^{-0.0969} = 0.80$.
  2. The concentration falls by 20% each hour.

Common mistakes

  • Using the slope itself as the growth factor.
  • Forgetting to undo the logarithm for a.
  • Reading a logarithmic axis as if it were linear.
  • Concluding a relationship is linear because its semi-log plot is a line.
  • Mixing base-10 and natural logarithms within one calculation.
Check yourself

Data plotted on a semi-log plot (logarithmic vertical axis) fall on a straight line with positive slope. The data are best modeled by:

  • An increasing linear function

  • A logarithmic function

  • An increasing exponential function

  • A quadratic function

Show the answer

An increasing exponential function

Taking the logarithm of an exponential gives a linear relationship with x.

6For top marks

  • State clearly which axis is logarithmic and the base used.
  • Convert slope and intercept back to $a$ and $b$ by exponentiating.
  • Interpret the slope as a growth factor or percentage rate, not as an amount per unit.
  • Use residuals of the linearised data to judge the fit.
Example

"The semi-log plot of cases is approximately linear with slope 0.12 (natural log), so cases grew by a factor of $e^{0.12} \approx 1.13$, about 13% per day."

Check yourself

On a natural-log semi-log plot, the slope is −0.2. The growth factor per unit is:

  • −0.2

  • 10^(−0.2)

  • e^(−0.2) ≈ 0.82

  • 0.2

Show the answer

e^(−0.2) ≈ 0.82

b = e^slope.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera