Exponential and Logarithmic Models
By the end of this section, you will be able to:
- Model exponential growth and decay
- Use Newton’s Law of Cooling
- Use logistic-growth models
- Choose an appropriate model for data
- Express an exponential model in base
We have already explored some basic applications of exponential and logarithmic functions. In this section, we explore some important applications in more depth, including radioactive isotopes and Newton’s Law of Cooling.
Modeling Exponential Growth and Decay
In real-world applications, we need to model the behavior of a function. In mathematical modeling, we choose a familiar general function with properties that suggest that it will model the real-world phenomenon we wish to analyze. In the case of rapid growth, we may choose the exponential growth function:
where is equal to the value at time zero, is Euler’s constant, and is a positive constant that determines the rate (percentage) of growth. We may use the exponential growth function in applications involving doubling time, the time it takes for a quantity to double. Such phenomena as wildlife populations, financial investments, biological samples, and natural resources may exhibit growth based on a doubling time. In some applications, however, as we will see when we discuss the logistic equation, the logistic model sometimes fits the data better than the exponential model.
On the other hand, if a quantity is falling rapidly toward zero, without ever reaching zero, then we should probably choose the exponential decay model. Again, we have the form where is the starting value, and is Euler’s constant. Now is a negative constant that determines the rate of decay. We may use the exponential decay model when we are calculating half-life, or the time it takes for a substance to exponentially decay to half of its original quantity. We use half-life in applications involving radioactive isotopes.
In our choice of a function to serve as a mathematical model, we often use data points gathered by careful observation and measurement to construct points on a graph and hope we can recognize the shape of the graph. Exponential growth and decay graphs have a distinctive shape, as we can see below. It is important to remember that, although parts of each of the two graphs seem to lie on the -axis, they are really a tiny distance above the -axis.
Exponential growth and decay often involve very large or very small numbers. To describe these numbers, we often use orders of magnitude. The order of magnitude is the power of ten, when the number is expressed in scientific notation, with one digit to the left of the decimal. For example, the distance to the nearest star, Proxima Centauri, measured in kilometers, is kilometers. Expressed in scientific notation, this is . So, we could describe this number as having order of magnitude .
Characteristics of the Exponential Function, . An exponential function with the form has the following characteristics:
- one-to-one function
- horizontal asymptote:
- domain:
- range:
- -intercept: none
- -intercept:
- increasing if (see below)
- decreasing if (see below)
Example. A population of bacteria doubles every hour. If the culture started with 10 bacteria, graph the population as a function of time.
Solution. When an amount grows at a fixed percent per unit time, the growth is exponential. To find we use the fact that is the amount at time zero, so . To find , use the fact that after one hour the population doubles from to . The formula is derived as follows
so . Thus the equation we want to graph is . The graph is shown below.
Analysis. The population of bacteria after ten hours is . We could describe this amount is being of the order of magnitude . The population of bacteria after twenty hours is which is of the order of magnitude , so we could say that the population has increased by three orders of magnitude in ten hours.
Half-Life
We now turn to exponential decay. One of the common terms associated with exponential decay, as stated above, is half-life, the length of time it takes an exponentially decaying quantity to decrease to half its original amount. Every radioactive isotope has a half-life, and the process describing the exponential decay of an isotope is called radioactive decay.
To find the half-life of a function describing exponential decay, solve the following equation:
We find that the half-life depends only on the constant and not on the starting quantity .
The formula is derived as follows
Since , the time, is positive, must, as expected, be negative. This gives us the half-life formula
How to: given the half-life, find the decay rate.
- Write .
- Replace by and replace by the given half-life.
- Solve to find . Express as an exact value (do not round).
Note. It is also possible to find the decay rate using .
Example. The half-life of carbon-14 is years. Express the amount of carbon-14 remaining as a function of time, .
Solution. This formula is derived as follows.
The function that describes this continuous decay is . We observe that the coefficient of , , is negative, as expected in the case of exponential decay.
The half-life of plutonium-244 is 80,000,000 years. Find a function that gives the amount of plutonium-244 remaining as a function of time, measured in years.
Substitute the half-life forandforin, then solve for.Radiocarbon Dating
The formula for radioactive decay is important in radiocarbon dating, which is used to calculate the approximate date a plant or animal died. Radiocarbon dating was discovered in 1949 by Willard Libby, who won a Nobel Prize for his discovery. It compares the difference between the ratio of two isotopes of carbon in an organic artifact or fossil to the ratio of those two isotopes in the air. It is believed to be accurate to within about 1% error for plants or animals that died within the last years.
Carbon-14 is a radioactive isotope of carbon that has a half-life of years. It occurs in small quantities in the carbon dioxide in the air we breathe. Most of the carbon on Earth is carbon-12, which has an atomic weight of 12 and is not radioactive. Scientists have determined the ratio of carbon-14 to carbon-12 in the air for the last years, using tree rings and other organic samples of known dates — although the ratio has changed slightly over the centuries.
As long as a plant or animal is alive, the ratio of the two isotopes of carbon in its body is close to the ratio in the atmosphere. When it dies, the carbon-14 in its body decays and is not replaced. By comparing the ratio of carbon-14 to carbon-12 in a decaying sample to the known ratio in the atmosphere, the date the plant or animal died can be approximated.
Since the half-life of carbon-14 is years, the formula for the amount of carbon-14 remaining after years is
where
- is the amount of carbon-14 remaining
- is the amount of carbon-14 when the plant or animal began decaying
This formula is derived as follows:
To find the age of an object, we solve this equation for :
Out of necessity, we neglect here the many details that a scientist takes into consideration when doing carbon-14 dating, and we only look at the basic formula. The ratio of carbon-14 to carbon-12 in the atmosphere is approximately . Let be the ratio of carbon-14 to carbon-12 in the organic artifact or fossil to be dated, determined by a method called liquid scintillation. From the equation we know the ratio of the percentage of carbon-14 in the object we are dating to the initial amount of carbon-14 in the object when it was formed is . We solve this equation for , to get
How to: given the percentage of carbon-14 in an object, determine its age.
- Express the given percentage of carbon-14 as an equivalent decimal, .
- Substitute for in the equation and solve for the age, .
Example. A bone fragment is found that contains 20% of its original carbon-14. To the nearest year, how old is the bone?
Solution. We substitute for in the equation and solve for :
The bone fragment is about years old.
Analysis. The instruments that measure the percentage of carbon-14 are extremely sensitive and, as we mention above, a scientist will need to do much more work than we did in order to be satisfied. Even so, carbon dating is only accurate to about 1%, so this age should be given as years 1%, or years 133 years.
Cesium-137 has a half-life of about 30 years. If we begin with 200 mg of cesium-137, will it take more or less than 230 years until only 1 milligram remains?
Solvewith, and compare the result with 230.To four decimal places, exactly how many years will it take the cesium-137 in that same scenario to decay from 200 mg to 1 milligram?
yearsSolvefor, where.Calculating Doubling Time
For decaying quantities, we determined how long it took for half of a substance to decay. For growing quantities, we might want to find out how long it takes for a quantity to double. As we mentioned above, the time it takes for a quantity to double is called the doubling time.
Given the basic exponential growth equation , doubling time can be found by solving for when the original quantity has doubled, that is, by solving .
The formula is derived as follows:
Thus the doubling time is
Example. According to Moore’s Law, the doubling time for the number of transistors that can be put on a computer chip is approximately two years. Give a function that describes this behavior.
Solution. The formula is derived as follows:
The function is .
Recent data suggests that, as of 2013, the rate of growth predicted by Moore’s Law no longer holds. Growth has slowed to a doubling time of approximately three years. Find the new function that takes that longer doubling time into account.
Use the doubling time formulawith, solve for, then substitute into the continuous growth formula.Using Newton’s Law of Cooling
Exponential decay can also be applied to temperature. When a hot object is left in surrounding air that is at a lower temperature, the object’s temperature will decrease exponentially, leveling off as it approaches the surrounding air temperature. On a graph of the temperature function, the leveling off will correspond to a horizontal asymptote at the temperature of the surrounding air. Unless the room temperature is zero, this will correspond to a vertical shift of the generic exponential decay function. This translation leads to Newton’s Law of Cooling, the scientific formula for temperature as a function of time as an object’s temperature is equalized with the ambient temperature
This formula is derived as follows:
Newton’s Law of Cooling. The temperature of an object, , in surrounding air with temperature will behave according to the formula
where
- is time
- is the difference between the initial temperature of the object and the surroundings
- is a constant, the continuous rate of cooling of the object
How to: given a set of conditions, apply Newton’s Law of Cooling.
- Set equal to the -coordinate of the horizontal asymptote (usually the ambient temperature).
- Substitute the given values into the continuous growth formula to find the parameters and .
- Substitute in the desired time to find the temperature or the desired temperature to find the time.
Example. A cheesecake is taken out of the oven with an ideal internal temperature of F, and is placed into a F refrigerator. After 10 minutes, the cheesecake has cooled to F. If we must wait until the cheesecake has cooled to F before we eat it, how long will we have to wait?
Solution. Because the surrounding air temperature in the refrigerator is 35 degrees, the cheesecake’s temperature will decay exponentially toward 35, following the equation
We know the initial temperature was 165, so .
We were given another data point, , which we can use to solve for .
This gives us the equation for the cooling of the cheesecake: .
Now we can solve for the time it will take for the temperature to cool to 70 degrees.
It will take about 107 minutes, or one hour and 47 minutes, for the cheesecake to cool to F.
A pitcher of water at 40 degrees Fahrenheit is placed into a 70 degree room. One hour later, the temperature has risen to 45 degrees. To three decimal places, how long will it take, in hours, for the temperature to rise to 60 degrees?
hoursSetand, useto find, then solvefor.Using Logistic Growth Models
Exponential growth cannot continue forever. Exponential models, while they may be useful in the short term, tend to fall apart the longer they continue. Consider an aspiring writer who writes a single line on day one and plans to double the number of lines she writes each day for a month. By the end of the month, she must write over 17 billion lines, or one-half-billion pages. It is impractical, if not impossible, for anyone to write that much in such a short period of time. Eventually, an exponential model must begin to approach some limiting value, and then the growth is forced to slow. For this reason, it is often better to use a model with an upper bound instead of an exponential growth model, though the exponential growth model is still useful over a short term, before approaching the limiting value.
The logistic growth model is approximately exponential at first, but it has a reduced rate of growth as the output approaches the model’s upper bound, called the carrying capacity. For constants , , and , the logistic growth of a population over time is represented by the model
The graph below shows how the growth rate changes over time. The graph increases from left to right, but the growth rate only increases until it reaches its point of maximum growth rate, at which point the rate of increase decreases.
Logistic Growth. The logistic growth model is
where
- is the initial value
- is the carrying capacity, or limiting value
- is a constant determined by the rate of growth
Example. An influenza epidemic spreads through a population rapidly, at a rate that depends on two factors: The more people who have the flu, the more rapidly it spreads, and also the more uninfected people there are, the more rapidly it spreads. These two factors make the logistic model a good one to study the spread of communicable diseases. And, clearly, there is a maximum value for the number of people infected: the entire population.
For example, at time there is one person in a community of 1,000 people who has the flu. So, in that community, at most 1,000 people can have the flu. Researchers find that for this particular strain of the flu, the logistic growth constant is . Estimate the number of people in this community who will have had this flu after ten days. Predict how many people in this community will have had this flu after a long period of time has passed.
Solution. We substitute the given data into the logistic growth model
Because at most 1,000 people, the entire population of the community, can get the flu, we know the limiting value is . To find , we use the formula that the number of cases at time is , from which it follows that . This model predicts that, after ten days, the number of people who have had the flu is . Because the actual number must be a whole number (a person has either had the flu or not) we round to 294. In the long term, the number of people who will contract the flu is the limiting value, .
Analysis. Remember that, because we are dealing with a virus, we cannot predict with certainty the number of people infected. The model only approximates the number of people infected and will not give us exact or actual values.
The graph below gives a good picture of how this model fits the data.
Using that same flu model, estimate the number of cases of flu on day 15.
895 casesEvaluateand round to the nearest whole number.Choosing an Appropriate Model for Data
Now that we have discussed various mathematical models, we need to learn how to choose the appropriate model for the raw data we have. Many factors influence the choice of a mathematical model, among which are experience, scientific laws, and patterns in the data itself. Not all data can be described by elementary functions. Sometimes, a function is chosen that approximates the data over a given interval. For instance, suppose data were gathered on the number of homes bought in the United States from the years 1960 to 2013. After plotting these data in a scatter plot, we notice that the shape of the data from the years 2000 to 2013 follow a logarithmic curve. We could restrict the interval from 2000 to 2010, apply regression analysis using a logarithmic model, and use it to predict the number of home buyers for the year 2015.
Three kinds of functions that are often useful in mathematical models are linear functions, exponential functions, and logarithmic functions. If the data lies on a straight line, or seems to lie approximately along a straight line, a linear model may be best. If the data is non-linear, we often consider an exponential or logarithmic model, though other models, such as quadratic models, may also be considered.
In choosing between an exponential model and a logarithmic model, we look at the way the data curves. This is called the concavity. If we draw a line between two data points, and all (or most) of the data between those two points lies above that line, we say the curve is concave down. We can think of it as a bowl that bends downward and therefore cannot hold water. If all (or most) of the data between those two points lies below the line, we say the curve is concave up. In this case, we can think of a bowl that bends upward and can therefore hold water. An exponential curve, whether rising or falling, whether representing growth or decay, is always concave up away from its horizontal asymptote. A logarithmic curve is always concave away from its vertical asymptote. In the case of positive data, which is the most common case, an exponential curve is always concave up, and a logarithmic curve always concave down.
A logistic curve changes concavity. It starts out concave up and then changes to concave down beyond a certain point, called a point of inflection.
After using the graph to help us choose a type of function to use as a model, we substitute points, and solve to find the parameters. We reduce round-off error by choosing points as far apart as possible.
Example. Does a linear, exponential, logarithmic, or logistic model best fit the values listed below? Find the model, and use a graph to check your choice.
Solution. First, plot the data on a graph as below. For the purpose of graphing, round the data to two decimal places.
Clearly, the points do not lie on a straight line, so we reject a linear model. If we draw a line between any two of the points, most or all of the points between those two points lie above the line, so the graph is concave down, suggesting a logarithmic model. We can try . Plugging in the first point, , gives . We reject the case that (if it were, all outputs would be 0), so we know . Thus and . Next we can use the point to solve for :
Because , an appropriate model for the data is .
To check the accuracy of the model, we graph the function together with the given points below.
We can conclude that the model is a good fit to the data.
Compare to the graph of shown below.
The graphs appear to be identical when . A quick check confirms this conclusion: for .
However, if , the graph of includes an “extra” branch, as shown below. This occurs because, while cannot have negative values in the domain (as such values would force the argument to be negative), the function can have negative domain values.
Does a linear, exponential, or logarithmic model best fit the data in the table below? Find the model.
Check whether consecutive-values share a common ratio; if so, the model is exponential,.Expressing an Exponential Model in Base
While powers and logarithms of any base can be used in modeling, the two most common bases are and . In science and mathematics, the base is often preferred. We can use laws of exponents and laws of logarithms to change any base to base .
How to: given a model with the form , change it to the form .
- Rewrite as .
- Use the power rule of logarithms to rewrite as .
- Note that and in the equation .
Example. Change the function so that this same function is written in the form .
Solution. The formula is derived as follows
Change the functionto one havingas the base.
Rewriteas, then apply the power rule of logarithms.Key equations
| Half-life formula | If , , the half-life is . |
|---|---|
| Carbon-14 dating | ; is the amount of carbon-14 when the plant or animal died, is the amount of carbon-14 remaining today, and is the age of the fossil in years |
| Doubling time formula | If , , the doubling time is |
| Newton’s Law of Cooling | , where is the ambient temperature, , and is the continuous rate of cooling |
Key concepts
- The basic exponential function is . If , we have exponential growth; if , we have exponential decay.
- We can also write this formula in terms of continuous growth as , where is the starting value. If is positive, then we have exponential growth when and exponential decay when .
- In general, we solve problems involving exponential growth or decay in two steps. First, we set up a model and use the model to find the parameters. Then we use the formula with these parameters to predict growth and decay.
- We can find the age, , of an organic artifact by measuring the amount, , of carbon-14 remaining in the artifact and using the formula to solve for .
- Given a substance’s doubling time or half-time, we can find a function that represents its exponential growth or decay.
- We can use Newton’s Law of Cooling to find how long it will take for a cooling object to reach a desired temperature, or to find what temperature an object will be after a given time.
- We can use logistic growth functions to model real-world situations where the rate of growth changes over time, such as population growth, spread of disease, and spread of rumors.
- We can use real-world data gathered over time to observe trends. Knowledge of linear, exponential, logarithmic, and logistic graphs help us to develop models that best fit our data.
- Any exponential function with the form can be rewritten as an equivalent exponential function with the form where .
Practice
Model exponential growth and decay
With what kind of exponential model would half-life be associated?
Half-life measures how long it takes an amount to fall to half its original value.The half-life of Erbium-165 is 10.4 hours. What is the hourly decay rate? Express the decimal result to four decimal places.
Solveforusing.For that same Erbium-165 half-life, express the hourly decay rate as a percentage, to two decimal places.
Convert the decimal decay rate you just found to a percentage.A research student is working with a culture of bacteria that doubles in size every twenty minutes. The initial population count was 1350 bacteria. Rounding to five decimal places, write an exponential equation, in minutes, representing this situation.
Use the doubling-time formulawith a doubling time of 20 minutes to solve for.To the nearest whole number, what is that same bacteria population’s size after 3 hours?
Evaluate the equation atminutes.A tumor is injected with 0.5 grams of Iodine-125, which has a decay rate of 1.15% per day. To the nearest day, how long will it take for half of the Iodine-125 to decay?
60 daysSolveforwith.Use Newton’s Law of Cooling
A turkey is taken out of the oven with an internal temperature of 165°F and is allowed to cool in a 75°F room. After half an hour, the internal temperature of the turkey is 145°F. Write a formula, T(t), that models this situation, with t in minutes.
Setand, then useto solve for.Using that same turkey’s cooling model, to the nearest minute, how long will it take the turkey to cool to 110°F?
113 minutesSolveforusing.A pot of warm soup with an internal temperature of 100° Fahrenheit was taken off the stove to cool in a 69° F room. After fifteen minutes, the internal temperature of the soup was 95° F. To the nearest minute, how long will it take the soup to cool to 80° F?
88 minutesSetand, useto find, then solvefor.Use logistic-growth models
The population of a fish farm inyears is modeled by the equation. To the nearest tenth, what is the doubling time for the fish population?
1.4 yearsFind, then solvefor.Using that same fish population model, to the nearest tenth, how long will it take for the population to reach 900?
7.3 yearsSolvefor.A different logistic growth model is given by .
For that model, find the carrying capacity.
The carrying capacity is the constantin— the value the population approaches asgrows without bound, not an evaluated point.The equationmodels the number of people in a town who have heard a rumor afterdays. To the nearest whole number, how many people will have heard the rumor after 3 days?
71 peopleEvaluateand round to the nearest whole number.Choose an appropriate model for data
A graphing calculator scatter plot of the data below rises steeply at first, then levels off, always increasing. Does the data best fit a linear, exponential, or logarithmic model?
Check whether the curve is concave down, always rising but by smaller and smaller amounts.Determine whether the data from the table below could best be represented as a function that is linear, exponential, or logarithmic.
Check whether consecutive-values share a common ratio.Write a formula for a model that represents that same data.
Since the-values share a common ratio, the model is exponential; usefor the leading coefficient and the common ratio for the base.Express an exponential model in base
A doctor prescribes 125 milligrams of a therapeutic drug that decays by about 30% each hour. Write the continuous hourly ratein the exponential model, to four decimal places.
A 30% hourly decay means each hour multiplies the amount by 0.70, so.Using that same drug model, find the amount of the drug that would remain in the patient’s system after 3 hours. Round to the nearest milligram.
43 mgEvaluate.To prove the identityfor positive, start fromand take the natural logarithm of both sides:____.
Apply the power rule of logarithms to.This section is adapted from Precalculus 2e, Section 4.7: Exponential and Logarithmic Models by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: excluded a “coreq-skills” block present in the pinned CNXML module (a corequisite-course skills review covering compound interest, exponential growth/decay applications, decibel levels, and the Richter scale, with its own short exercise set) that does not appear in the printed Precalculus 2e text — pages 494–495 of the source PDF confirm the printed section runs directly from the chapter introduction into “Modeling Exponential Growth and Decay,” with no corequisite-skills material between them; omitted the decorative nuclear-reactor photograph, which carries no mathematics; omitted the section’s five Media links to external graphing-calculator resources; recreated every graph as an accessible inline SVG — the labeled-points growth curve and decay curve ; the generic growth/decay panels of (drawn with concrete , so the curves are plottable, keeping the source’s own symbolic point labels, which name the high point and low point of each panel rather than literal coordinates); the bacteria-growth curve , labeled by its equivalent simplified form ; the generic logistic S-curve with its carrying-capacity asymptote, initial-value point, and point-of-maximum-growth point; the flu-epidemic logistic curve with its four data-point annotations; the nine-point scatter plot of Table 1; the logarithmic curve and the identical-looking over , each overlaid with the same nine data points; and the full two-branch graph of showing the extra branch for . The generic logistic S-curve, the flu-epidemic logistic curve, and the left-hand () branch of are each drawn from their exact closed-form equation by an analytic primitive: this authoring pass added a logistic curve kind and a reflect option on the log curve to graph-core.mjs, which previously had neither, so all three had to be hand-sampled as dense point lists. Presented the compound-model comparison table (Try It data) and Table 1/Table 2 data as Markdown tables; renamed the rumor model’s population function from the source’s to , since is reserved by this project’s compute engine for numeric evaluation; converted the “Try It” practice problems into interactive exercises with instant feedback — a fill-in for the plutonium-244 half-life function, a multiple-choice plus fill-in for the cesium-137 comparison (splitting the source’s combined “which, and what is the exact value” answer into a categorical choice and a decimal value), a fill-in for the three-year Moore’s-Law doubling function, a fill-in for the pitcher-of-water cooling time, a fill-in for the day-15 flu estimate, a fill-in for the data-table exponential model, and a fill-in for the base- conversion of ; and adapted eighteen selected end-of-section exercises with an answer present in the CNXML solution key — a half-life verbal identification, the Erbium-165 hourly decay rate (split into its decimal and percentage parts), the twenty-minute bacteria-doubling model and its three-hour population, the Iodine-125 half-life, the turkey and soup Newton’s-Law-of-Cooling problems, the fish-farm logistic doubling time and time-to-900, a separate logistic carrying-capacity identification, the town-rumor logistic evaluation, two Technology-section model-classification tables, and the drug-decay base- conversion together with its three-hour evaluation and the general identity — into nineteen interactive components in a closing Practice block, one group per objective.