Logarithmic Models (College Board AP® Precalculus): Study Guide

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

Logarithmic models

When is a logarithmic model appropriate?

  • Logarithmic functions are the inverses of exponential functions

    • so they model the 'reverse' type of relationship

  • An exponential function has

    • outputs that change proportionally (multiplicatively)

      • as inputs change additively (by equal amounts)

  • A logarithmic function has the opposite behavior

    • input values change proportionally

      • over equal-length output-value intervals

    • In other words, the inputs must be multiplied by a constant factor

      • to produce equal increases in the output

    • E.g. the Richter scale for earthquake magnitude is logarithmic

      • Each increase of 1 on the scale corresponds to a tenfold increase in the measured amplitude of the earthquake

How do I construct a logarithmic model from two data points?

  • A logarithmic model can be constructed from two input-output pairs using the form space f left parenthesis x right parenthesis equals a plus b ln left parenthesis x plus c right parenthesis

    • where c is often determined by the context

      • commonly c equals 0 or c equals 1

    • On the exam, a question typically provides the form of the model

      • e.g. G left parenthesis t right parenthesis equals a plus b ln left parenthesis t plus 1 right parenthesis

      • and asks you to find the constants a and b

  • Here is the general process (using space f left parenthesis x right parenthesis equals a plus b ln left parenthesis x plus c right parenthesis with data points left parenthesis x subscript 1 comma y subscript 1 right parenthesis and left parenthesis x subscript 2 comma y subscript 2 right parenthesis)

    • Assume that c is known (it is usually given on the exam)

    • Substitute each data point into the function to get two equations

      • space y subscript 1 equals a plus b ln left parenthesis x subscript 1 plus c right parenthesis

      • space y subscript 2 equals a plus b ln left parenthesis x subscript 2 plus c right parenthesis

    • Solve the system for a and b

    • Often one of the data points will cause the argument inside one of the logarithms to be equal to 1

      • This simplifies things greatly since bold ln stretchy left parenthesis 1 stretchy right parenthesis bold equals bold 0

      • It gives a equals y subscript 1 directly

  • Example: A study uses test scores to track academic content retention. At t equals 0 months, the average score is 75 points. At t equals 3 months, the average score is 70.84 points. The model to be used is R left parenthesis t right parenthesis equals a plus b ln left parenthesis t plus 1 right parenthesis.

    • R(0) = 75 so

      • 75 equals a plus b ln open parentheses 0 plus 1 close parentheses space rightwards double arrow space 75 equals a plus b ln open parentheses 1 close parentheses space rightwards double arrow space a equals 75

        • this uses ln open parentheses 1 close parentheses equals 0 in the final step

    • And R(3) = 70.84, so

      • 70.84 equals a plus b ln left parenthesis 3 plus 1 right parenthesis space rightwards double arrow space 70.84 equals 75 plus b ln left parenthesis 4 right parenthesis

        • using the value of a from the previous step

    • Solve for b

      • negative 4.16 equals b ln left parenthesis 4 right parenthesis space rightwards double arrow space b equals negative fraction numerator 4.16 over denominator ln open parentheses 4 close parentheses end fraction almost equal to negative 3.001

    • So the model is

      • R(t) = 75 - 3.001\ln(t + 1)

Examiner Tips and Tricks

Constructing a model from two data points tends to appear in a free response question on every exam, so practice this skill thoroughly.

  • Non-exact values of a and b must be given as decimal approximations correct to three decimal places

    • The scoring guidelines are strict about this

  • You can solve for a and b either algebraically or by using your graphing calculator

    • The scoring guidelines note that "supporting work is not required", so using a calculator is perfectly acceptable

  • Store intermediate values in your calculator rather than rounding them

    • Rounding too early can produce final answers that are not accurate to three decimal places

Can a logarithmic model also be constructed from a proportion and a zero?

  • Yes, a logarithmic model can be constructed from:

    • An appropriate proportion

      • i.e. the multiplicative factor for inputs over equal output intervals

    • A real zero

      • an input value where the output is zero

  • This connects to the inverse relationship with exponential functions

    • If an exponential function has base b and initial value 1

      • then its inverse logarithmic function has base b and a zero at x equals 1

  • E.g. for a model in the form space f open parentheses x close parentheses equals log subscript b open parentheses k x close parentheses

    • suppose input values are multiplied by 2 for each increase by 1 in the output

      • and the output is 0 when x equals 4

    • The proportion, which determines the base of the logarithm, is b equals 2

      • inputs double per unit output increase

    • And the zero is at x equals 4, so k x must equal 1 when x equals 4

      • because log subscript b open parentheses 1 close parentheses equals 0

    • Therefore the model is

      • space f left parenthesis x right parenthesis equals log subscript 2 blank open parentheses x over 4 close parentheses space

How can transformations be used to build a logarithmic model?

  • Logarithmic models can be constructed by applying transformations to the base function space f left parenthesis x right parenthesis equals log subscript b x

  • The transformations allows the function to match the characteristics of the context or data:

    • A vertical shift space log subscript b open parentheses x close parentheses plus k

      • adds k to all the output values

        • the graph goes through open parentheses 1 comma space k close parentheses instead of open parentheses 1 comma space 0 close parentheses

        • the location of the zero will move

    • A horizontal shift space log subscript b open parentheses x plus h close parentheses

      • shifts the graph by h units to the left

        • the zero will occur at open parentheses 1 minus h comma space 0 close parentheses instead of at open parentheses 1 comma space 0 close parentheses

    • A vertical dilation space a log subscript b x space

      • adjusts the rate of growth

How do I construct a logarithmic model using technology?

  • When data does not fit a simple logarithmic form exactly

    • a graphing calculator can fit a logarithmic regression model to the data

  • This is done using the LnReg (or similar) function on most graphing calculators

    • The calculator determines the best-fit values for the constants a and b

    • in the model a plus b ln x

Why is the natural logarithm often used in modeling?

  • The natural logarithm (\ln, with base e \approx 2.718) appears frequently in real-world models

    • Many natural processes involve continuous growth or decay

      • and the natural base e arises naturally in these contexts

  • In logarithmic modeling questions on the exam, ln appears far more regularly than other logarithm bases

How can a logarithmic model be used to make predictions?

  • Once a logarithmic model is constructed, it can be used to predict values of the dependent variable

    • by substituting input values into the function

  • You can also predict input values

    • by substituting output values into the function

    • and solving to find the corresponding input value

  • Some things to keep in mind:

    • Logarithmic functions grow very slowly for large inputs

      • Predictions for very large input values may not change much

    • The model may not remain valid beyond the range of data used to construct it

      • Just as with any model

Worked Example

The number of bird species observed in a nature reserve can be modeled by the function S given by S left parenthesis t right parenthesis equals a plus b ln left parenthesis t plus 1 right parenthesis, where S left parenthesis t right parenthesis is the total number of species observed during the first t months of a long-term survey.

At the start of the survey left parenthesis t equals 0 right parenthesis, 15 species were observed. After 5 months left parenthesis t equals 5 right parenthesis, 24 species had been observed.

(a) Use the given data to write two equations that can be used to find the values for constants a and b in the expression for S left parenthesis t right parenthesis.

Answer:

Substitute the two data points into S(t) = a + b\ln(t + 1)

S(0) = 15
a plus b ln left parenthesis 0 plus 1 right parenthesis equals 15

a + b\ln(1) = 15

S(5) = 24
a plus b ln left parenthesis 5 plus 1 right parenthesis equals 24

a + b\ln(6) = 24

(b) Find the values for a and b as decimal approximations.

Answer:

Use ln left parenthesis 1 right parenthesis equals 0 in the first equation

a equals 15

Substitute that into the second equation

15 + b\ln(6) = 24

b\ln(6) = 9

b equals fraction numerator 9 over denominator ln 6 end fraction equals 5.022995...

Round to 3 decimal places

b equals 5.023 space space open parentheses 3 space straight d. straight p. close parentheses

Worked Example

Two function models space f and g are constructed to represent the depth of water, in meters, in a reservoir after t weeks, for t greater or equal than 2. The functions are given by space f left parenthesis t right parenthesis equals 16 minus 3.6 ln t space and space g left parenthesis t right parenthesis equals negative t plus 16.

What is the first time t that the depth predicted by the logarithmic model will be 0.1 meters more than the depth predicted by the linear model?

(A) space t equals 8.713

(B) space t equals 7.213

(C) space t equals 6.413

(D) space t equals 5.713

Answer:

You need to find when space f left parenthesis t right parenthesis minus g left parenthesis t right parenthesis equals 0.1

\left(16 - 3.6\ln t\right) - \left(-t + 16\right) = 0.1

t - 3.6\ln t = 0.1

This equation cannot be solved algebraically, so use a graphing calculator

  • Graph space y subscript 1 equals t minus 3.6 ln t space and space y subscript 2 equals 0.1

    • then find the intersection (or solve t - 3.6\ln t - 0.1 = 0).

  • The t-value of the intersection is the time you are looking for

Be careful here, as there are actually 2 points of intersection

  • But only one of them occurs for the interval t greater or equal than 2

Graph of a curve intersecting y=0.1 at labelled point (7.21337, 0.1), on a grid with marked axes.

To 3 decimal places that t-coordinate has value 7.213

(B) space t equals 7.213

Examiner Tips and Tricks

The second Worked Example requires using your graphing calculator because the equation mixes a polynomial term (t) with a logarithmic term (ln t).

  • Recognizing when technology is needed (rather than spending time trying to solve algebraically) is an important exam skill

Also note that you may also be able to solve space t minus 3.6 ln t equals 0.1 space using your calculator's equation solving functionality.

  • This is an alternative to drawing a graph and finding the intersection

  • You would still need to take care to find the solution that satisfies t greater or equal than 2

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.