Skip to main content
Mathematics LibreTexts

18.4.2: Mathematical Modeling with Exponential and Logarithmic Functions

  • Page ID
    77425
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • Solve applied problems involving logarithmic functions.
    • Solve applied problems involving exponential functions.

    Introduction

    You have seen many different kind of functions. You know that each one can be used to model some kind of situation in the real world. Exponential and logarithmic functions are no exception!

    Using Logarithmic Functions

    Much of the power of logarithms is their usefulness in solving exponential equations. Some examples of this include sound (decibel measures), earthquakes (Richter scale), the brightness of stars, and chemistry (pH balance, a measure of acidity and alkalinity).

    Let’s look at the Richter scale, a logarithmic function that is used to measure the magnitude of earthquakes. The magnitude of an earthquake is related to how much energy is released by the quake. Instruments called seismographs detect movement in the earth; the smallest movement that can be detected shows on a seismograph as a wave with amplitude \(A_{0}\).

    \(A\) - the measure of the amplitude of the earthquake wave

    \(A_{0}\) - the amplitude of the smallest detectable wave (or standard wave)

    From this you can find \(R\), the Richter scale measure of the magnitude of the earthquake using the formula:

    \(\boldsymbol{R}=\log \left(\frac{A}{A_{0}}\right)\)

    The intensity of an earthquake will typically measure between 2 and 10 on the Richter scale. Any earthquakes registering below a 5 are fairly minor; they may shake the ground a bit, but are seldom strong enough to cause much damage. Earthquakes with a Richter rating of between 5 and 7.9 are much more severe, and any quake above an 8 is likely to cause massive damage. (The highest rating ever recorded for an earthquake is 9.5 during the 1960 Valdivia earthquake in Chile.)

    Example

    Problem: An earthquake is measured with a wave amplitude 392 times as great as \(A_{0}\). What is the magnitude of this earthquake using the Richter scale, to the nearest tenth?

    Answer

    Use the Richter scale equation.

    \(R=\log \left(\frac{A}{A_{0}}\right)\)

    Since \(A\) is 392 times as large as \(A_{0}\), \(A = 392A_{0}\). Substitute this expression in for \(A\).

    \(\boldsymbol{R}=\log \left(\frac{392 A_{0}}{A_{0}}\right)\)

    Simplify the expression \(\left(\frac{392 A_{0}}{A_{0}}\right)=392\). Use a calculator to evaluate the logarithm.

    \(\begin{array}{c}
    R=\log 392 \\
    R=2.5932 \ldots \\
    R \cong 2.6
    \end{array}\)

    The magnitude of this earthquake is 2.6 on the Richter scale.

    A difference of 1 point on the Richter scale equates to a 10-fold difference in the amplitude of the earthquake (which is related to the wave strength). This means that an earthquake that measures 3.6 on the Richter scale has 10 times the amplitude of one that measures 2.6.

    Let’s look back at the example just shown. In that example, the wave amplitude of the earthquake was 392 times normal. What if it were 10 times that, or 3,920 times normal? To find the measurement of that size earthquake on the Richter scale, you find \(\log 3920\). A calculator gives a value of 3.5932... or 3.6, when rounded to the nearest tenth. One extra point on the Richter scale can mean a lot more shaking!

    Sound is measured in a logarithmic scale using a unit called a decibel. The formula looks similar to the Richter scale:

    \(d=10 \log \left(\frac{P}{P_{0}}\right)\)

    where \(P\) is the power or intensity of the sound and \(P_{0}\) is the weakest sound that the human ear can hear.

    Example

    Problem: One hot water pump has a noise rating of 50 decibels. One dishwasher, however, has a noise rating of 62 decibels. The dishwasher noise is how many times more intense than the hot water pump noise?

    Answer

    You can’t easily compare the two noises using the formula, but you can compare them to \(P_{0}\). Start by finding the intensity of noise for the hot water pump. Use \(h\) for the intensity of the hot water pump’s noise.

    \(50=10 \log \left(\frac{h}{P_{0}}\right)\)

    Divide the equations by 10 to get the log by itself.

    \(5=\log \left(\frac{h}{P_{0}}\right)\)

    Rewrite the equation as an exponential equation.

    \(10^{5}=\frac{h}{P_{0}}\)

    Multiply by \(P_{0}\) to get \(h\) by itself.

    \(h=10^{5} P_{0}\)

    Repeat the same process to find the intensity of the noise for the dishwasher.

    \(\begin{array}{c}
    62=10 \log \left(\frac{d}{P_{0}}\right) \\
    6.2=\log \left(\frac{d}{P_{0}}\right) \\
    10^{6.2}=\frac{d}{P_{0}} \\
    d=10^{6.2} P_{0}
    \end{array}\)

    To compare \(d\) to \(h\), you can divide. (Think: if the dishwasher’s noise is twice as intense as the pump’s, then \(d\) should be \(2h\); that is, \(\frac{d}{h}\) should be 2.) Use the laws of exponents to simplify the quotient.

    \(\begin{aligned}
    \frac{d}{h} &=\frac{10^{6.2} P_{0}}{10^{5} P_{0}} \\
    &=10^{1.2}
    \end{aligned}\)

    The dishwasher’s noise is \(10^{1.2}\) (or about 15.85) times as intense as the hot water pump.

    With decibels, every increase of 10 means the sound is 10 times more intense. An increase of 20 would be 10 times more intense for the first 10, and another 10 times more intense for the second 10; so a sound that is 75 decibels is 100 times more intense than a sound that is 55 decibels!

    Here’s one more example of logarithms used in scientific contexts. The measure of acidity of a liquid is called the pH of the liquid. This is based on the amount of hydrogen ions (H+) in the liquid. The formula for pH is:

    \(p H=-\log [H+]\)

    where [H+] is the concentration of hydrogen ions, given in a unit called mol/L (“moles per liter”; one mole is \(6.022 \times 10^{23}\) molecules or atoms).

    Liquids with a low pH (down to 0) are more acidic than those with a high pH. Water, which is neutral (neither acidic nor alkaline, the opposite of acidic) has a pH of 7.0.

    Example

    Problem: If lime juice has a pH of 1.7, what is the concentration of hydrogen ions (in mol/L) in lime juice, to the nearest hundredth?

    Answer

    Use the formula for pH.

    \(p H=-\log [H+]\)

    Substitute the known pH into the formula, and represent H+ with the variable \(x\).

    \(1.7=-\log x\)

    If \(1.7=-\log x\) then \(\log x=-1.7\).

    \(-1.7=\log x\)

    Solve for \(x\).

    \(\begin{array}{c}
    x=10^{-1.7} \\
    x=0.02
    \end{array}\)

    The concentration of hydrogen ions in lime juice is 0.02.

    Exercise

    An earthquake monitoring station measured the amplitude of the waves during a recent tremor. It measured the waves as being 100,000 times as large as \(A_{0}\), the smallest detectable wave. How high did this earthquake measure on the Richter scale?

    \(R=\log \left(\frac{A}{A_{0}}\right)\)

    1. 1
    2. 3
    3. 5
    4. 9
    Answer
    1. Incorrect. An earthquake that measured 1 on the Richter scale would have a wave amplitude of only 10 times greater than normal. To solve this problem, setup the equation as \(R=\log \left(\frac{100,000 A_{0}}{A_{0}}\right)\), and solve for \(R\). The correct answer is 5.
    2. Incorrect. An earthquake that measured 3 on the Richter scale would have a wave amplitude of \(10^3\), or 1,000 times greater than normal. To solve this problem, set up the equation as \(\boldsymbol{R}=\log \left(\frac{100,000 A_{0}}{A_{0}}\right)\), and solve for \(R\). The correct answer is 5.
    3. Correct. To find the Richter measure of an earthquake with waves 100,000 times greater than normal, solve \(\boldsymbol{R}=\log \left(\frac{100,000 A_{0}}{A_{0}}\right)\). The answer is 5.
    4. Incorrect. An earthquake that measured 9 on the Richter scale would have a wave amplitude of 1,000,000,000 times greater than normal. To solve this problem, set up the equation as \(\boldsymbol{R}=\log \left(\frac{100,000 A_{0}}{A_{0}}\right)\), and solve for \(R\). The correct answer is 5.

    Using Exponential Functions

    Exponential functions are used for even more contexts, including population and bacterial growth, radioactive decay, compound interest, cooling of objects, and growth of phenomena such as virus infections, Internet usage, and popularity of fads.

    For example, recall that the formula for compound interest is \(A=P\left(1+\frac{r}{m}\right)^{m t}\), where \(P\) is principal, \(A\) is amount, \(r\) is the annual rate, \(m\) is the number of compounding periods, and \(t\) is the number of years.

    Example

    Problem: How long will it take, to the nearest whole year, for money to double if it is invested at 10% compounded monthly?

    Answer

    Find values for the variables that you can. Note that you don’t know either \(P\) or \(A\), but you know the relationship between \(P\) and \(A\).

    \(P\) = initial investment

    \(A\) = \(2P\) (since you want the money to double)

    \(r\) = 0.1 (10% written as a decimal)

    \(m\) = 12 (12 compound periods per year)

    \(t\) = is the value you are looking for.

    Use the formula.

    \(2 P=P\left(1+\frac{0.1}{12}\right)^{12 t}\)

    Divide both sides by \(P\) to get the exponential expression by itself. Note: This means \(P\) can’t be 0, since you can’t divide by 0. But if \(P\) were 0, no money would actually be invested and the problem wouldn’t make sense anyway. So it’s fine to assume \(P > 0\).

    \(2=\left(1+\frac{0.1}{12}\right)^{12 t}\)

    To solve an equation with the variable in the exponent, take logarithms of both sides. You can use any base, so \(\log\) (base 10) or \(\ln\) (base \(e\)) would be best, then you can use a calculator to evaluate the logarithms.

    \(\ln 2=\ln \left(1+\frac{0.1}{12}\right)^{12 t}\)

    Use the power property of logarithms to get the variable out of the exponent.

    \(\ln 2=12 t \cdot \ln \left(1+\frac{0.1}{12}\right)\)

    Divide to get \(t\) by itself.

    \(\frac{\ln 2}{12 \ln \left(1+\frac{0.1}{12}\right)}=t\)

    Use the calculator to evaluate the logarithms. Round to the nearest whole year.

    \(\begin{array}{c}
    \frac{\ln 2}{12 \ln \left(1+\frac{0.1}{12}\right)}=t \\
    \frac{0.6931 \ldots}{12(0.008298 \ldots)}=t \\
    6.96 \approx t
    \end{array}\)

    The money will double in about 7 years.

    According to the U.S. Census Bureau, the world population in 2011 was about 6.9 billion people, and would grow about 76 million during the year. That is, it would increase about 1.1%.

    If the world population grows by 1.1% every year, then each year the population is multiplied by 1.011. (The 1 represents the current population, and the .011 represents the new growth.) After two years, the population would be 6.9(1.011)\(^2\), and after three years it would be 6.9(1.011)\(^3\). In general, the world population \(P\) (in billions of people) could be estimated for \(t\) years after 2011 by this formula:

    \(P=6.9(1.011)^{t}\)

    Example

    Problem: Using the world population formula \(P=6.9(1.011)^{t}\), where \(t\) is the number of years after 2011 and \(P\) is the world population in billions of people, estimate:

    A) the population in the year 2050 to the nearest hundred million, and

    B) by what year the population will be double what it was in 2011.

    Answer

    Looking at part A first, identify the variables. In this case, 2050 is 39 years after 2011, so \(t = 39\).

    Part A

    t=2050-2011=39. \(P\) is what you are looking for.

    Use the formula and a calculator to evaluate the exponential expression. (Note that “hundred million” is a tenth of a billion, so to the nearest hundred million is 10.6.) According to the problem, the formula finds \(P\) in billions of people, so you have 10.6 billion people.

    \(\begin{array}{c}
    P=6.9(1.011)^{39} \\
    P=10.57 \ldots \\
    P \approx 10.6
    \end{array}\)

    For part B, you want the population to double the 6.9 from 2011, so \(P = 13.8\).

    Part B

    \(t\) is what you are looking for.

    \(P=2(6.9)=13.8\)

    Use the formula and the value for \(P\).

    \(13.8=6.9(1.011)^{t}\)

    Divide by 6.9 to get the exponential expression by itself.

    \(2=1.011^{t}\)

    Since the variable \(t\) is an exponent, take logarithms of both sides. You can use any base, but base 10 or \(e\) will allow you to use the calculator easily.

    \(\log 2=\log (1.011)^{t}\)

    Use the power property of logarithms to get the variable out of the exponent, and then solve for \(t\). The population will hit the doubling point about halfway through the 63rd year, so you will round up to 64 (since the question asks by what year).

    \(\begin{array}{c}
    \log 2=t \log 1.011 \\
    \frac{\log 2}{\log 1.011}=t \\
    \frac{0.3010 . . .}{0.00475 \ldots}=t \\
    63.359=t
    \end{array}\)

    It will take about 64 years for the population to double, so you have to add 64 to 2011 to estimate the year the world population will be 13.8 billion people.

    \(2011+64=2075\)

    Be sure to answer the questions asked.

    A) The population in 2050 will be about 10.6 billion people.

    B) The population will double (13.8 billion people) the population by the year 2075.

    Exercise

    A particular bacterial colony doubles its population every 15 hours. A scientist running an experiment is starting with 100 bacteria cells. She expects the number of cells to be given by the formula \(c=100(2)^{\frac{t}{15}}\), where \(t\) is the number of hours since the experiment started.

    After how many hours would the scientist expect to have 300 bacteria cells? Give your answer to the nearest hour.

    1. 2 hours
    2. 24 hours
    3. \(1,048,577\) hours
    4. \(104,857,699\) hours
    Answer
    1. Incorrect. You may have forgotten that the exponent is \(\frac{t}{15}\) rather than just \(t\). The correct answer is 24 hours.
    2. Correct. 24 hours is the solution to \(300=100(2)^{\frac{t}{15}}\).
    3. Incorrect. You need to find the solution to \(300=100(2)^{\frac{t}{15}}\). The correct answer is 24 hours.
    4. Incorrect. You need to find the solution to \(300=100(2)^{\frac{t}{15}}\). The correct answer is 24 hours.

    Summary

    Logarithmic and exponential functions can be used to model real-world situations. Logarithmic functions are very helpful when working with phenomena that have a very wide range of values, because they allow you to keep the values you actually work with in a smaller range. Exponential functions are helpful with phenomena that change very quickly, or that grow or decay by a percentage over a particular time period.


    18.4.2: Mathematical Modeling with Exponential and Logarithmic Functions is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?