Semi-log Plots (College Board AP® Precalculus): Study Guide

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

Semi-log plots

What is a semi-log plot?

  • A semi-log plot is a graph in which one of the axes uses a logarithmic scale

    • instead of a standard (linear) scale

  • On a logarithmically scaled axis, each unit of distance represents a multiplicative change rather than an additive one

    • E.g. on a standard y-axis, the marks might be at 0, 50, 100, 150, 200, ...

    • On a log-scaled y-axis (base 10), the marks are at 1, 10, 100, 1000, ...

      • each step up represents multiplication by 10

  • In this course, the semi-log plots you encounter will have the y-axis logarithmically scaled and the x-axis on a standard scale

Why do exponential functions appear linear on a semi-log plot?

  • An exponential function space y equals a b to the power of x has outputs that grow by a constant multiplicative factor (b) for each unit increase in x

    • On a logarithmically scaled y-axis, equal multiplicative changes correspond to equal vertical distances

    • So an exponential function, which involves repeated multiplication, produces equally spaced points vertically

      • i.e. the data appears linear on the semi-log plot

  • One key rule to remember:

    • If data points appear to lie along a straight line on a semi-log plot (with logarithmic y-axis)

    • then the data can be modeled by an exponential function

  • E.g. consider the data in the following table

x

1

2

3

4

5

y

25

45

81

146

262

  • Note that the ratio of successive terms (45/25, 81/45, etc.) is approximately 1.8 in each case

    • This should already let you know that an exponential model would be appropriate!

  • On a standard plot, these points form a steeply curving exponential curve

Graph with data points at (1, 25), (2, 45), (3, 81), (4, 146), (5, 262) on a grid with axes from 0 to 6 and 0 to 300.
Data from the table plotted on linearly-scaled axes
  • On a semi-log plot (log-scaled y-axis), the same points appear to lie along a straight line

Semilogarithmic graph with data points at (1, 25), (2, 45), (3, 81), (4, 146), (5, 262) on the y-axis with a scale from 1 to 1000.
Data from the table plotted with logarithmically-scaled y-axis
  • Note the uneven spacing of the horizontal grid lines on the semi-log graph

    • The lines between 1 and 10 (on the vertical axis) correspond to space y equals 2 comma space 3 comma space 4 comma space... comma space 9

    • The lines between 10 and 100 correspond to space y equals 20 comma space 30 comma space 40 comma space... comma space 90

    • The lines between 100 and 1000 correspond to space y equals 200 comma space 300 comma space 400 comma space... comma space 900

  • This sort of unevenly spaced grid is a key sign that a graph is a semi-log plot

Examiner Tips and Tricks

When reading a semi-log plot on the exam, pay close attention to the y-axis scale.

  • Look for labels like 1, 10, 100, 1000 (or tick marks at powers of 10) to confirm it is logarithmically scaled, rather than a standard scale with evenly spaced numbers

What is the advantage of a semi-log plot over checking ratios?

  • You can test for exponential behavior by checking whether the ratios of successive output values are constant

    • However, this ratio test requires an additive constant to be removed first if the data has a vertical shift

      • e.g. if space y equals a b to the power of x plus k

  • A semi-log plot has the advantage of allowing exponential behavior to be spotted

    • without having to adjust dependent variable values by a constant first

  • Specifically, if

    • for large input values of a data set

    • the logarithms of the output values trend linear

      • i.e. if the output values lie (approximately) along a straight line on a semi-log plot

    • then transformations of an exponential function can be used to model the data

  • This works because for a shifted exponential like space y equals a b to the power of x plus k

    • the exponential term a b to the power of x dominates for large x

    • so the additive constant k becomes negligible

  • The logarithms of the output values will therefore trend toward a linear pattern as x increases

    • even without removing k first

  • This makes semi-log plots a more robust visual test for exponential behavior than the ratio method

Examiner Tips and Tricks

On the exam, "the data appears linear on a semi-log plot" is strong evidence for an exponential model. But note that the converse is also useful.

  • I.e., if the data does not appear linear on a semi-log plot, then an exponential model may not be the best fit

Linearising exponential data

How does the linearization work mathematically?

  • For an exponential model space y equals a b to the power of x

    • taking the logarithm (base n) of both sides

      • and using properties of logarithms

    • gives

table row cell space log subscript n y end cell equals cell log subscript n left parenthesis a b to the power of x right parenthesis end cell row blank equals cell log subscript n a plus log subscript n left parenthesis b to the power of x right parenthesis end cell row blank equals cell log subscript n a plus x log subscript n b end cell end table

  • This has the form bold italic Y bold equals bold italic c bold plus bold italic m bold italic x, where

    • space Y equals log subscript n y (the logarithm of the output values)

    • m equals log subscript n b (the slope)

      • this is the linear rate of change on the semi-log plot

    • c equals log subscript n a (the y-intercept)

      • this is the initial linear value on the semi-log plot

  • So on a semi-log plot, the linearized model corresponding to space y equals a b to the power of x is

    • space log subscript n y equals log subscript n a plus left parenthesis log subscript n b right parenthesis   x

  • E.g., for space y equals 2 times 3 to the power of x (and using base 10 logarithms)

    • space log subscript 10 y equals log subscript 10 2 plus open parentheses log subscript 10 3 close parentheses x space

      • or rounding the logs on the right-hand side to 3 decimal places gives

        • space log subscript 10 y equals 0.301 plus 0.477 x

    • The slope of the semi-log plot is log subscript 10 3 almost equal to 0.477

      • and the y-intercept is log subscript 10 2 almost equal to 0.301

How can I use the linearization to build an exponential model?

  • Because the linearized data follows a straight line

    • you can use linear techniques

      • e.g. finding slope and intercept from two points, or linear regression

    • to model the data on the semi-log plot

  • Once you have the slope m and y-intercept c of the line on the semi-log plot

    • The base of the exponential function is b equals n to the power of m

      • where n is the logarithm base used

      • This follows from m equals log subscript n b

    • The initial value is a equals n to the power of c

      • This follows from c equals log subscript n a

    • The exponential model is space y equals a b to the power of x

  • E.g. suppose on a semi-log plot (base 10), data appears linear with slope 0.3 and y-intercept 1.5

    • Then b equals 10 to the power of 0.3 end exponent equals 1.995262... almost equal to 2

      • and a equals 10 to the power of 1.5 end exponent equals 31.622776... almost equal to 31.623

    • The exponential model is y \approx 31.623 \cdot 2^{x}

Examiner Tips and Tricks

The linearization formula space log subscript n y equals left parenthesis log subscript n b right parenthesis   x plus log subscript n a space works with any logarithm base n (as long as n greater than 0 and n not equal to 1).

  • The most common choice is n equals 10 (common logarithm), but n equals e (natural logarithm) also works

Worked Example

A population of bacteria is measured at regular intervals. The table gives the population P left parenthesis t right parenthesis, in thousands, at time t hours.

t

0

1

2

3

4

P left parenthesis t right parenthesis

5

15

45

135

405

(a) Construct the linearization of the data by computing log subscript 10 left parenthesis P left parenthesis t right parenthesis right parenthesis for each value in the table.

Answer:

Compute \log_{10}(P(t)) for each value:

log subscript 10 5 equals 0.698970... space space space space space space space space space space space space log subscript 10 15 equals 1.176091... space space space space space space space space space space space space space log subscript 10 45 equals 1.653212...

log subscript 10 135 equals 2.130333... space space space space space space space space space space space space log subscript 10 405 equals 2.607455...

Note that the logarithms increase by 0.477... each time, confirming the linear nature of the transformed data

Round to 3 decimal places for your final answers

t

0

1

2

3

4

P left parenthesis t right parenthesis

5

15

45

135

405

log subscript 10 left parenthesis P left parenthesis t right parenthesis right parenthesis

0.699

1.176

1.653

2.130

2.607

 
(b) Using the linearized data, find the slope and y-intercept of the linear model on a semi-log plot, and use these to write an exponential model for P left parenthesis t right parenthesis.

Answer:

The linearized model is log subscript 10 left parenthesis P right parenthesis equals c plus m t, where

  • the Y-intercept c occurs when t equals 0

c equals 0.698970...

  • the slope between two points can be calculated

m equals fraction numerator 1.176091... negative 0.698970... over denominator 1 minus 0 end fraction equals fraction numerator 0.477121... over denominator 1 end fraction equals 0.477121...

Convert these to exponential form

b equals 10 to the power of 0.477121... end exponent equals 3

a equals 10 to the power of 0.698970... end exponent equals 5

So the exponential model is

P(t) = 5 \cdot 3^{t}

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Roger B

Author: Roger B

Expertise: Maths Content Creator

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.