Exponential growth and decay (Part 15): Logistic growth model

In this series of posts, I provide a deeper look at common applications of exponential functions that arise in an Algebra II or Precalculus class. In the previous posts in this series, I considered financial applications, radioactive decay, and Newton’s Law of Cooling.

Today, I introduce the logistic growth model, which describes how an infection (like a disease, a rumor, or advertise) spreads in a population. For example:

or

Sources: http://www.xkcd.com/1220/ and http://www.xkcd.com/1235/

In yesterday’s post, I described an in-class demonstration that engages students while also making the following formula believable:

A(t) = \displaystyle \frac{L}{1 + (L-1)e^{-rt}}.

Where does this formula come from? Suppose that a disease is spreading in a population of size L. It stands to reason that the rate at which the disease spreads is proportional to the number of possible contacts between those who have the disease and those who don’t. If A(t) is the number of people who have the disease, then L-A(t) is the number of people who don’t have the disease. Therefore, the product A(t) [ L - A(t) ] is the number of possible contacts between those who have the disease and those who don’t. This leads to the governing differential equation

A'(t) = c A(t) [ L - A(t) ],

where c is the constant of proportionality. This is often rewritten by letting c = \displaystyle \frac{r}{L}, or r = cL:

A'(t) = \displaystyle \frac{r}{L} A(t) [ L - A(t) ]

A'(t) = r A(t) \displaystyle \left[1 - \frac{A(t)}{L} \right]

The good news is that this differential equation can be solved using separation of variables, just like the governing differential equations for continuous compound interest, paying off credit card debt, radioactive decay, and Newton’s Law of Cooling. The bad news is that it’s a lot harder to calculate the required integrals! After all, the right-hand side, after distributing, has a term containing A^2, which makes this differential equation non-linear.

Solving this differential equation is a bit tedious, and I don’t feel particularly obligated to re-invent the wheel since it can be found several places on the Internet. Suffice it to say that integration by partial fractions and some very tricky algebra is necessary to solve for A(t) and obtain the solution above. Among several different sources (which likely use different letters than the ones I’m using here):

  1. http://www.math.usu.edu/powell/ysa-html/node8.html
  2. http://www.youtube.com/watch?v=vsYWMEmNmZo
  3. http://www.math24.net/population-growth.html
  4. http://www.ugrad.math.ubc.ca/coursedoc/math101/notes/moreApps/logistic.html
  5. https://www.google.com/search?q=logistic+curve&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#q=logistic+curve+%22partial+fraction%22&rls=org.mozilla:en-US:official

Wikipedia: http://en.wikipedia.org/wiki/Logistic_function#In_ecology:_modeling_population_growth

MathWorld: http://mathworld.wolfram.com/LogisticEquation.html

 

 

 

Exponential growth and decay (Part 14): Logistic growth model

In this series of posts, I provide a deeper look at common applications of exponential functions that arise in an Algebra II or Precalculus class. In the previous posts in this series, I considered financial applications, radioactive decay, and Newton’s Law of Cooling.

Today, I introduce the logistic growth model, which describes how an infection (like a disease, a rumor, or advertise) spreads in a population. Before I actually present the formula to my students, I usually perform a 8- to 10-minute demonstration to convince students that the formula actually works. This demonstration works well with between 15 and 45 students; I have personally not attempted this demo with a class larger than 45.

I wish I could take credit for the idea behind this demonstration. I’m afraid I can’t remember who told me the idea behind this demo about 15 years ago, but I’m thankful to him or her for this idea, as I’ve used it with great success over the years when teaching Precalculus and even when teaching Differential Equations.

Here’s the demonstration:

1. The class period before the demo, I ask my students to bring their calculators to class.

2. On the day of the demo, I prepare slips of paper with the numbers 1, 2, 3, etc. I hand these to my students as they take their seats before class starts (and, as needed, to students who arrive late).

3. I tell the class that we’re going to model how a rumor gets spread. On the chalkboard, I write down the numbers 0, 1, 2, …, up to N, the number of students in the class that day. Invariably, I get asked, “What’s the rumor?” In response, I’ll playfully point to someone in the front row and say, “The rumor is about him.”

4. I point out that, at time 0, only one person has heard the rumor…. me. I’m person number 0 (confirming the popular belief of my students). So I’ll cross out the 0 on the board and mark on a table that only one person has heard the rumor so far. (Here’s the spreadsheet that I’ve used to keep track of this information while simultaneously making a graph of the data: logisitic).

5. I begin to spread the rumor. To spread the rumor, I use my calculator to get a random number between 0 and N. This can be done by just using the built-in random number generator found on many calculators and then multiplying by N+1. (After all, there are L= N+1 people in the room: N students plus one instructor.) The part after the decimal point is not important; the number before the decimal point represents the next person to hear the rumor.

For example, in the figure below, I would tell that person #35 of my class of 37 students was the next to hear the rumor. (If my random number is 0, I’ll privately cheat and get until I get a random number other than 0. I only permit the possibility of cheating on the first step so that the data fits the predicted curve as accurately as possible.)

randomnumber6. At this point, I’ll X out the number of the next person to hear the rumor (in this case, 35), and I then ask how many people have heard the rumor. Obviously, two people have heard the rumor. So I’ll note on the table that two people have heard the rumor after one step.

7. Now we repeat the process. I get a new random number, and I ask the first student to pull out his/her calculator to get a random number too. But there’s an important rule: if you get a number that’s already been called, that’s OK. This models what really happens when a rumor (or disease) spreads in a population — it’s perfectly possible to hear the rumor twice.

8. We repeat the process — X’ing out numbers that have been previously called and students calling out the next person to hear the rumor — until the entire class hears the rumor. At some point, it becomes easiest to ask students to only call out if they get a number that hasn’t been called yet. Invariably, there’s always one person at the end who hasn’t heard the rumor yet, and this student is often the subject of some good-natured ribbing. Eventually, a chart like the following is produced.

logistic1

9. Students immediately see that this is a different type of function than pure exponential growth. It actually does start off looking like exponential growth, but at some point the curve levels off. This makes sense because there’s a limiting value of L=N+1 (in this case, 38), which can’t happen for a model like A = A_0 e^{rt}

10. The punchline is that the spreadsheet secretly computes the actual curve predicted by the logistic growth model. The numbers are actually located in column C, which is conveniently hidden beneath the graph. The function is

A = \displaystyle \frac{L}{1 + (L-1)e^{-rt}},

where r = \ln 2. (Had each person the rumor to two different people at each step, then r would have been equal to r = \ln 3.) Here’s the graph, superimposed upon the data collected from class. I can do this pretty quickly in class because the curve is actually already drawn in the figure above… but it’s drawn in gray, the same color as the background. By changing the color to black, the graph becomes clear:

logistic2

I never expect the curve to exactly fit the data, but it should come pretty close. After this fairly dramatic revelation, my students are completely sold that the mathematics that I’m about to show them actually works.

 

 

 

Exponential growth and decay (Part 13): Newton’s Law of Cooling

In this series of posts, I provide a deeper look at common applications of exponential functions that arise in an Algebra II or Precalculus class. In the previous posts in this series, I considered financial applications. In today’s post, I’ll discuss Newton’s Law of Cooling, which describes how quickly a hot object cools in a room at constant temperature. (This law is not to be confused with Newton’s Three Laws of Motion.)

While Newton’s Law of Cooling is easy to state, not many high school teachers are aware of the physical principles from which they arise. The basic idea is that the rate at which a hot object cools is proportional to the difference between its current temperature and the surrounding temperature. After solving the appropriate differential equation, the temperature T(t) of the object is found to be

T = S + (T_0 - S) e^{-kt},

where t is the time, S is the constant surrounding temperature, and k is a constant that depends on the object.

Of course, students in Algebra II or Precalculus (or high school physics) are usually not ready to understand this derivation using calculus. Instead, they are typically given the final formula and are expected to use this formula to solve problems. Still, I think it’s important for the teacher of Algebra II or Precalculus to be aware of how the origins of this formula, as it only requires mathematics that’s only a year or two away in these students’ mathematical development.

This is the third application of exponential functions considered in this series; the previous two were continuous compound interest and radioactive decay. Unlike these previous two applications, Newton’s Law of Cooling can actually be demonstrated in class to engage students. All that’s required is the appropriate classroom technology and a standard-issue temperature probe.This stands in sharp contrast to the previous applications of exponential functions considered in this series. While students can easily envision making money via compound interest, no one will actually give them the money during class. And certainly I don’t encourage performing a real demonstration of radioactive decay with, say uranium-235, during class time! (There are ways of simulating radioactive decay using M&Ms or other manipulatives, however.)

A simple Google search yields thousands of webpages describes multiple classroom activities for Newton’s Law of Cooling. Some activities merely require collecting data and performing a regression fit to an exponential curve; such an activity would be appropriate for middle-school students. Other activities are more explicit about using Newton’s Law of Cooling. Here’s a sampling:

  1. Texas Instruments TI-Nspire: http://education.ti.com/en/us/activity/detail?id=807CCDFC77B74AC093C38E9228235057&ref=/en/us/activity/search/subject?s=75FE5490E95144559647544901BAF03C&sa=F42399B372FE47E9AFDD4B725E6E6690&t=0FFA852BE3A54A5C949F5552EE003E98
  2. Vernier: http://www2.vernier.com/sample_labs/EZ-TMP-17-newton_cooling.pdf
  3. PBasic: http://gk12.poly.edu/amps-cbri/pdf/TELesson-Newton%27s%20Law%20of%20Cooling.pdf
  4. TI-83/TI-84: http://education.ti.com/en/us/activity/detail?id=934E66B83D2B4D8E93B89D36A87863C7
  5. TI CBL: http://www-tc.pbs.org/teachers/mathline/lessonplans/pdf/hsmp/penniespressure.pdf
  6. Casio: http://www.casioeducation.com/resource/pdfs/cooling.pdf

These links are aimed at a students at a variety of levels. Indeed, it’s possible to use a graphing calculator to plot the numerical derivative T'(t) as a function of time, use linear regression to solve for the constant k, and then produce the exponential curve using this value of k. Several years ago, I saw an effective demonstration of this idea at the Joint Mathematics Meetings in which the presenters covered these aspects of Newton’s Law of Cooling in less than 10 minutes. (Naturally, additional time is needed when students perform these activities for themselves.)

Exponential growth and decay (Part 12): Newton’s Law of Cooling

In this series of posts, I provide a deeper look at common applications of exponential functions that arise in an Algebra II or Precalculus class. In the previous posts in this series, I considered financial applications. In today’s post, I’ll discuss Newton’s Law of Cooling, which describes how quickly a hot object cools in a room at constant temperature. (This law is not to be confused with Newton’s Three Laws of Motion.)

While Newton’s Law of Cooling is easy to state, not many high school teachers are aware of the physical principles from which they arise. The basic idea is that the rate at which a hot object cools is proportional to the difference between its current temperature and the surrounding temperature. In other words, in a room at a temperature of $70^\circ$F, a very hot object at $270^\circ$F will cool twice as fast than when its temperature drops to $170^\circ$F.

The above paragraph can be rewritten as a differential equation. Let $T(t)$ be the temperature of the object at time t, and let S be the (constant) surrounding temperature that surrounds the object. Since the rate at which the substance decays is dT/dt, we find that

\displaystyle \frac{dT}{dt} = - k (T - S),

where k is a constant that depends on the object. The negative sign on the right-hand side isn’t strictly necessary, but it’s a reminder that amount present decreases as time increases.

This differential equation can be solved in several ways, including separation of variables (below, I’ll be sloppy with the constant of integration for the sake of simplicity):

\displaystyle \frac{dT}{T-S} = -k

\displaystyle \int \frac{dT}{T-S} = - \displaystyle \int k \, dt

ln |T-S| = -k t + C

|T-S| = e^{-kt+C}

|T-S| = e^{-kt} e^C

T-S = \pm e^C e^{-kt}

T-S = C e^{-kt}

T = S + C e^{-kt}

To solve for the constant, we usually use the initial condition T(0) = T_0, a number that must be given in the problem:

T(0) = S + C e^{-k \cdot 0}

T_0 =S + C \cdot 1

T_0 - S = C

Plugging back in, we obtain the final answer

T = S + (T_0 - S) e^{-kt}

Of course, students in Algebra II or Precalculus (or high school physics) are usually not ready to understand this derivation using calculus. Instead, they are typically given the final formula and are expected to use this formula to solve problems. Still, I think it’s important for the teacher of Algebra II or Precalculus to be aware of how the origins of this formula, as it only requires mathematics that’s only a year or two away in these students’ mathematical development.

The careful reader will notice that this derivation essentially parallels the previous derivations for continuous compound interest and for radioactive decay. In other words, these phenomena from apparently different realms of life have similar solutions because the governing differential equations are very similar.

Exponential growth and decay (Part 11): Half-life

In this series of posts, I provide a deeper look at common applications of exponential functions that arise in an Algebra II or Precalculus class. In the previous posts in this series, I considered financial applications. In today’s post, I’ll discuss radioactive decay and the half-life formula.

One way of writing the formula for how a radioactive substance (carbon-14, uranium-235, brain cells) decays is

A(t) = A_0 e^{-kt}

In yesterday’s post, I showed how this formula is a natural consequence of a certain differential equation. Of course, students in Algebra II or Precalculus (or high school chemistry) are usually not ready to understand this derivation using calculus. Instead, they are typically given the final formula and are expected to use this formula to solve problems. Still, I think it’s important for the teacher of Algebra II or Precalculus to be aware of how the origins of this formula, as it only requires mathematics that’s only a year or two away in these students’ mathematical development.

There is another correct way to write this formula in terms of half-life. Sadly, my experience is that many students are familiar with these two different formulas but are not aware of how the two formulas are connected. As we’ll see, while yesterday’s post using differential equations is inaccessible to Algebra II and Precalculus students, the derivation below is entirely elementary and can be understood by good students in these courses.

Let h be the half-life of the substance. By definition, this means that

A(h) = \displaystyle \frac{1}{2} A_0

Substituting into the above formula, we find

\displaystyle \frac{1}{2} A_0 = A_0 e^{-kh}

Let’s now solve for the constant k in terms of h:

\displaystyle \frac{1}{2} = e^{-kh}

\displaystyle \ln \left( \frac{1}{2} \right) = - k h

\displaystyle -\frac{1}{h} \ln \left( \frac{1}{2} \right) = k

Let’s now substitute this back into the original formula:

A = A_0 e^{-kt}

A = A_0 e^{ -\left[ -\frac{1}{h} \ln \left( \frac{1}{2} \right) \right] t}

A = A_0 e^{\ln \left( \frac{1}{2} \right) \cdot \frac{t}{h}}

A = A_0 \left[e^{\ln \left( \frac{1}{2} \right)} \right]^{t/h}

A = A_0 \displaystyle \left( \frac{1}{2} \right)^{t/h}

This is the usual half-life formula, where the previous base of e has been replaced by a new base of \displaystyle \frac{1}{2} . For most applications, a base of e is preferred. However, for historical reasons, the base of \displaystyle \frac{1}{2} is preferred for problems involving radioactive decay. For example,

A(2h) = A_0 \displaystyle \left( \frac{1}{2} \right)^{2h/h}

A(2h) = A_0 \displaystyle \left( \frac{1}{2} \right)^{2}

A(2h) = \displaystyle \frac{1}{4} A_0

In other words, after two half-life periods, only one-fourth (half of a half) of the substance remains.

Exponential growth and decay (Part 10): Half-life

In this series of posts, I provide a deeper look at common applications of exponential functions that arise in an Algebra II or Precalculus class. In the previous posts in this series, I considered financial applications. In today’s post, I’ll discuss radioactive decay and the half-life formula.

While these formulas are easy to state, not many high school teachers are aware of the physical principles from which they arise. The basic idea is that if amount A of a radioactive substance (carbon-14, uranium-235, brain cells) is present, the rate at which the substance decays is proportional to the amount of the substance currently present. This can be rewritten as a differential equation, since the rate at which the substance decays is dA/dt. So we find that

\displaystyle \frac{dA}{dt} = - k A

The negative sign on the right-hand side isn’t strictly necessary, but it’s a reminder that amount present decreases as time increases.

This differential equation can be solved in several ways, including separation of variables (below, I’ll be sloppy with the constant of integration for the sake of simplicity):

\displaystyle \frac{dA}{A} = -k

\displaystyle \int \frac{dA}{A} = - \displaystyle \int k \, dt

ln |A| = -k t + C

|A| = e^{-kt+C}

|A| = e^{-kt} e^C

A = \pm e^C e^{-kt}

A = C e^{-kt}

To solve for the constant, we usually use the initial condition A(0) = A_0, a number that must be given in the problem:

A(0) = C e^{-k \cdot 0}

A_0 = C \cdot 1

A_0 = C

Plugging back in, we obtain the final answer

A(t) = A_0 e^{-kt}

Of course, students in Algebra II or Precalculus (or high school chemistry) are usually not ready to understand this derivation using calculus. Instead, they are typically given the final formula and are expected to use this formula to solve problems. Still, I think it’s important for the teacher of Algebra II or Precalculus to be aware of how the origins of this formula, as it only requires mathematics that’s only a year or two away in these students’ mathematical development.

Exponential growth and decay (Part 4): Paying off credit-card debt

The following problem in differential equations has a very practical application for anyone who has either (1) taken out a loan to buy a house or a car or (2) is trying to pay off credit card debt. To my surprise, most math majors haven’t thought through the obvious applications of exponential functions as a means of engaging their future students, even though it is directly pertinent to their lives (both the students’ and the teachers’).

You have a balance of $2,000 on your credit card. Interest is compounded continuously with a relative rate of growth of 25% per year. If you pay the minimum amount of $50 per month (or $600 per year), how long will it take for the balance to be paid?

In the previous two posts, I presented the general formula

A = \displaystyle \frac{k}{r} - \left( \frac{k}{r} - P \right) e^{rt}

which can be obtained by solving a certain differential equation. So, if r = 0.25, k = 600, and P = 2000, the amount left on the credit card after t years is

A(t) = 2400 - 400 e^{0.25t}.

On the other hand, if the debtor pays $1200 per year, the equation becomes

A(t) = 4800 - 2800 e^{0.25t}

Today, I’ll give some pedagogical thoughts about how this problem, and other similar problems inspired by financial considerations, could fit into a Precalculus course… and hopefully improve the financial literacy of high school students.

green lineUnder the theory that a picture is worth a thousand words, let’s take a look at the graphs of both of these functions:

creditcardStudents should have no trouble distinguishing which curve is which. Clearly, by paying $1200 per year instead of $600 per year, the credit card debt is paid off considerably quicker.

There’s another immediate take-away from these graphs — especially the graph for k = 600, when the debt is being paid off over 7 years. Notice that the debt is being paid off very slowly in the initial years. Only in the latter years does the pace of paying off the loan pick up. So the moral of the story is: if you can afford to pay extra in the early years of a debt (credit card, mortgage, etc.), it’s much more important to pay off an extra amount in the early years than in the later years.

I believe this to be an important lesson for students to learn before they bury themselves deeply in debt as young adults… and Precalculus provides a natural vehicle for teaching this lesson.

 

 

Exponential growth and decay (Part 3): Paying off credit-card debt

The following problem in differential equations has a very practical application for anyone who has either (1) taken out a loan to buy a house or a car or (2) is trying to pay off credit card debt. To my surprise, most math majors haven’t thought through the obvious applications of exponential functions as a means of engaging their future students, even though it is directly pertinent to their lives (both the students’ and the teachers’).

You have a balance of $2,000 on your credit card. Interest is compounded continuously with a relative rate of growth of 25% per year. If you pay the minimum amount of $50 per month (or $600 per year), how long will it take for the balance to be paid?

In yesterday’s post, I showed that the answer to this question was about 7.2 years. To obtain this answer, I started with the differential equation

\displaystyle \frac{dA}{dt} = 0.25 A - 600

which, given the initial condition A(0) = 2000, has solution

A(t) = 2400 - 400 e^{0.25t}.

Today, I’ll give some pedagogical thoughts about how this problem, and other similar problems inspired by financial considerations, could fit into a Precalculus course… and hopefully improve the financial literacy of high school students.

green line

I’ve read many Precalculus books; not many of them include applying exponential functions to the paying off of credit-card debt (or a mortgage on a house or car). Of course, yesterday’s derivation was well above the comprehension level of students in Precalculus. However, there’s no reason why Precalculus students couldn’t be given the general formula

A = \displaystyle \frac{k}{r} - \left( \frac{k}{r} - P \right) e^{rt},

where P is the initial amount, r is the relative rate of growth, and k is the amount paid per year. In other words, students could be given the formula without the full explanation of where it comes from. After all, many Precalculus textbooks give the formula for Newton’s Law of Cooling (the subject of a future post) with neither derivation nor explanation (though its derivation is nearly identical to the work of yesterday’s post), So I don’t see why also giving students the above formula for paying off credit-card debt isn’t more common.

Plugging in k = 600, r = 0.25, and P = 2000 into this equation again yields the function

A(t) = 2400 - 400 e^{0.25t},

from which we find that it will take t = 4\ln 6 \approx 7.2 years to pay off the debt.

A natural follow-up question is “How much money actually was spent to pay off this debt?” By this point, the answer is quite easy: the lender paid \$600 per year for 4\ln 6 years, and so the amount spent is

\$600 \times 4 \ln 6 = \$2400 \ln 6 \approx \$4300.

When I teach this topic in differential equations, I let that answer sink in for a while. The original debt was only \$2000, but ultimately \$4300 needs to be paid over 7.2 years in order to pay off the debt.

The natural question is, “Why did it take so long?” Of course, the answer is that the debtor only paid the minimal amount — $50 per month, or $600 per year. It stands to reason that if extra money was paid each month, then the debt will be paid off faster at lesser expense.

To give one example, let’s repeat the calculation if the debtor paid twice as much ($100 per month, or $1200 per year). Then the amount owed as a function of time would be

A(t) = \displaystyle \frac{1200}{0.25} - \left( \frac{1200}{0.25} - 2000 \right) e^{0.25t} = 4800 - 2800 e^{0.25t}

To find when the credit card will be paid off, we set A(t) = 0:

0 = 4800 - 2800 e^{0.25t}

2800 e^{0.25t} = 4800)

e^{0.25t} = \displaystyle \frac{12}{7}

0.25t = \displaystyle \ln \left( \frac{12}{7} \right)

t = \displaystyle 4 \ln \left( \frac{12}{7} \right)

t \approx 2.16

That’s certainly a lot faster! Also, the amount that’s spent over that time is also considerably less:

\displaystyle 1000 \times 4 \ln \left( \frac{12}{7} \right) = 4000 \ln \left( \frac{12}{7} \right) \approx  \$2156.

So, along with being a good way to practice proficiency with exponential and logarithmic functions, this problem lends itself for students discovering some basic principles of financial literacy.

 

Exponential growth and decay (Part 2): Paying off credit-card debt

The following problem in differential equations has a very practical application for anyone who has either (1) taken out a loan to buy a house or a car or (2) is trying to pay off credit card debt. To my surprise, most math majors haven’t thought through the obvious applications of exponential functions as a means of engaging their future students, even though it is directly pertinent to their lives (both the students’ and the teachers’).

You have a balance of $2,000 on your credit card. Interest is compounded continuously with a relative rate of growth of 25% per year. If you pay the minimum amount of $50 per month (or $600 per year), how long will it take for the balance to be paid?

In this post, I present the actual solution of this problem. In tomorrow’s post, I’ll give some pedagogical thoughts about how this problem, and other similar problems inspired by financial considerations, could fit into a Precalculus course.

green line

Let’s treat this problem as a differential equation (though it could also be considered as a first-order difference equation… more on that later). Let A(t) be the amount of money on the credit card after t years. Then there are two competing forces on the amount of money that will be owed in the future:

  1. The effect of compound interest, which will increase the amount owed by 0.25 A(t) per year.
  2. The amount that’s paid off each year, which will decrease the amount owed by \$600 per year.

Combining, we obtain the differential equation

\displaystyle \frac{dA}{dt} = 0.25 A - 600

There are a variety of techniques by which this differential equation can be solved. One technique is separation of variables, thus pretending that dA/dt is actually a fraction. (In the derivation below, I will be a little sloppy with the arbitrary constant of integration for the sake of simplicity.)

\displaystyle \frac{dA}{0.25 A - 600} = dt

\displaystyle \int \frac{dA}{0.25 A - 600} = \displaystyle \int dt

\displaystyle 4 \int \frac{0.25 dA}{0.25 A - 600} = \displaystyle \int dt

4 \ln |0.25A - 600| = t + C

\ln |0.25A - 600| = 0.25 t + C

|0.25A - 600| = e^{0.25 t + C}

|0.25 A - 600| = C e^{0.25t}

0.25A - 600 = C e^{0.25t}

0.25 A = 600 + C e^{0.25t}

A = 2400 + C e^{0.25t}

To solve for the missing constant C, we use the initial condition A(0) = 2000:

A(0) = 2400 + C e^0

2000 = 2400 + C

-400 = C

We thus conclude that the amount of money owed after t years is

A(t) = 2400 - 400 e^{0.25t}

To determine when the amount of the credit card will be reduced to $0, we see A(t) = 0 and solve for t:

0 = 2400 - 400 e^{0.25 t}

400 e^{0.25 t} = 2400

e^{0.25t} = 6

0.25t = \ln 6

t = 4 \ln 6

t \approx 7.2 \hbox{~years}

green line

In tomorrow’s post, I’ll give some pedagogical thoughts about this problem and similar problems.

Exponential growth and decay (Part 1): Phrasing of homework questions

I just completed a series of posts concerning the different definitions of the number e. As part of this series, we considered the formula for continuous compound interest

A = Pe^{rt}

Indeed, this formula can be applied to other phenomena besides the accumulation of money. Unfortunately, as they appear in Precalculus textbooks, the wording of questions involving exponential growth or decay can be either really awkward or mathematically imprecise (or both). Here’s a sampling of problems that I’ve collected from various sources:

One thousand bacteria on a petri dish are placed in an incubator, encouraging a relative rate of growth of 10% per hour. How many bacteria will there be in two days?

This is mathematically precise, as it relates to the differential equation A'(t) = r A(t) with solution A = P e^{rt}. The meaning of the value of r is clear from dimensional analysis: the units of A'(t) are \hbox{bacteria}/ \hbox{hour}, while the units of A(t) are \hbox{bacteria}. Therefore, the units of r must be \hbox{hour}^{-1}. So saying that there’s a “relative rate of growth of 10% per hour” makes total sense.

Of course, when Precalculus students are solving this problem, they have no idea about what a differential equation is, making the word relative seem superfluous to the problem.

A sum of $5000 is invested at an interest rate of 9% per year. Find the time required for the money to double if the interest is compounded continuously.

What the problem is trying to say is “Let r = 0.09.” But this is a horrible way to write this in ordinary English! After all, if we plug r = 0.09 and t = 1 into the formula, we obtain

A = P e^{0.09 \times 1} \approx 1.09417P

So it would appear that the interest rate after one year is about 9.417%, and not 9%.

Indeed, if we read the problem at face value that the interest rate is 9% per year, then it stands to reason that, after one year, we have

P(1.09) = P e^{r \cdot 1}

1.09 = e^r

\ln 1.09 = r

In a nutshell, saying that there is “an interest rate of 9% per year” can easily be interpreted to mean that the annual percentage rate is 9% year, and this can be a conceptual barrier for literally-minded students.

I don’t have a good solution for this impasse between ordinary English and giving clear directions to students about what numbers should be used in the formula. But I do think that it’s important for teachers to be aware of this possible misunderstanding as students read their homework questions.