Tutorials › Calculus I › Piecewise Exponential Models with Rate Changes

Growth and Decay Models · Tutorial 1414 of 1495

Piecewise Exponential Models with Rate Changes

Model successive periods of constant exponential growth or decay by carrying each interval’s ending amount continuously into the next.

Intermediate 10 min read

What You'll Learn

  • Write an exponential amount formula for each interval with its own constant rate.
  • Match adjacent formulas so the amount remains continuous at every change time.
  • Calculate amounts across several growth and decay phases using cumulative rate-times-duration terms.
  • Find an unknown interval rate from an observed amount.
  • Distinguish a change in rate from a jump in amount.
  • Check a piecewise model at its change times and verify its calculations.

Why Use a Piecewise Exponential Model?

A single exponential model assumes one constant rate throughout the time period being studied. In practice, conditions can change: a population may grow quickly during one period and more slowly later, or a substance may be exposed to different decay conditions at different times.

A piecewise exponential model represents these phases with separate exponential formulas. Each phase has a constant rate of its own. The essential bookkeeping rule is that the amount at the end of one phase becomes the starting amount for the next. A rate can change abruptly while the amount itself remains continuous.

Here, \(A(t)\) denotes an amount at time \(t\), and each rate constant \(k_i\) is measured in inverse units of time. Positive \(k_i\) describes growth, negative \(k_i\) describes decay, and \(k_i=0\) describes a constant amount.

One Formula for Each Time Interval

Suppose the rate changes at times \(t_1,t_2,\ldots,t_{n-1}\), with \(t_0<t_1<\cdots<t_n\). On the interval from \(t_{i-1}\) to \(t_i\), assume the rate constant is \(k_i\). If the amount at the start of that interval is \(A(t_{i-1})\), the exponential model for that phase is

$$ A(t)=A(t_{i-1})e^{k_i(t-t_{i-1})}, \qquad t_{i-1}\leq t\leq t_i. $$

The time difference \(t-t_{i-1}\) is the elapsed time within this interval. The exponent is the rate for that interval multiplied by its elapsed duration. Because \(k_i\) has units of inverse time, the exponent is dimensionless, as required for an exponential.

Definition: A piecewise exponential model with change times \(t_1,\ldots,t_{n-1}\) uses a constant rate \(k_i\) on each interval \([t_{i-1},t_i]\), and sets the starting amount of each new interval equal to the ending amount of the preceding interval. This matching condition makes \(A(t)\) continuous at every change time.

For example, with two intervals and initial amount \(A_0=A(t_0)\), the model is

$$ A(t)= \begin{cases} A_0e^{k_1(t-t_0)}, & t_0\leq t\leq t_1,\\ A(t_1)e^{k_2(t-t_1)}, & t_1\leq t\leq t_2, \end{cases} \qquad A(t_1)=A_0e^{k_1(t_1-t_0)}. $$

Writing the second formula this way matters: its starting amount is \(A(t_1)\), not the original amount \(A_0\). At \(t=t_1\), the first formula gives \(A(t_1)\), and the second gives \(A(t_1)e^0=A(t_1)\). Thus the formulas agree at the change time.

Calculating Across Several Phases

For a time \(t\) in the \(j\)th interval, the amount can also be written directly from the initial value. The amount is multiplied by the exponential growth or decay factor from every completed interval, followed by the factor for the elapsed part of the current interval:

$$ A(t)=A_0 \left(\prod_{i=1}^{j-1}e^{k_i(t_i-t_{i-1})}\right) e^{k_j(t-t_{j-1})}, \qquad t_{j-1}\leq t\leq t_j. $$

Since a product of exponentials is the exponential of the sum of their exponents, the same calculation can be written as

$$ A(t)=A_0\exp\left( \sum_{i=1}^{j-1} k_i(t_i-t_{i-1}) +k_j(t-t_{j-1}) \right). $$

Each term \(k_i(t_i-t_{i-1})\) uses the rate and duration from one phase. This form is useful for calculations, but the interval-by-interval form makes it especially clear how continuity is enforced.

Why Matching at the Change Time Works

The reason for carrying the ending amount into the next interval follows directly from the exponential formula. Suppose a phase begins at \(t_{i-1}\) with amount \(A(t_{i-1})\). Its amount at the end is

$$ A(t_i)=A(t_{i-1})e^{k_i(t_i-t_{i-1})}. $$

The next phase starts at \(t_i\) with this ending amount. If its rate is \(k_{i+1}\), then its formula is \(A(t_i)e^{k_{i+1}(t-t_i)}\). At the change time itself, this gives

$$ A(t_i)e^{k_{i+1}(t_i-t_i)} =A(t_i)e^0 =A(t_i). $$

The preceding phase also gives \(A(t_i)\) there. Therefore the two pieces have the same value at the boundary. Applying this argument at each change time shows that the constructed model is continuous across all phases.

Continuity does not require the rates on either side to be equal. The amount can pass smoothly through a change time while its growth or decay rate changes. In a model with distinct rates on the two sides, the slope of the amount-versus-time graph generally changes there as well.

Worked Examples

Worked Example: Growth Followed by Decay

An amount starts at \(100\) units at time \(t=0\). It grows with rate constant \(k_1=\ln 2\) per day for \(2\) days, then decays with rate constant \(k_2=-\ln 2\) per day for the next \(1.5\) days. Find the amount at \(t=3.5\), and check continuity at the change time.

First calculate the amount at the change time, \(t=2\):

$$ A(2)=100e^{(\ln 2)(2-0)} =100e^{2\ln 2} =100\cdot 2^2 =400. $$

The second interval starts from \(400\) units. Its duration is \(3.5-2=1.5\) days, so

$$ A(3.5)=400e^{(-\ln 2)(3.5-2)} =400e^{-1.5\ln 2} =\frac{400}{2^{1.5}} =\frac{400}{2\sqrt{2}} =100\sqrt{2}. $$

Thus the amount is \(100\sqrt{2}\), approximately \(141.42\) units. At the boundary, the first piece gives \(400\), while the second gives \(400e^{(-\ln 2)(2-2)}=400\). The pieces agree, so the model is continuous at \(t=2\).

As a further check on the total calculation, the growth factor is \(e^{2\ln 2}=4\), and the decay factor is \(e^{-1.5\ln 2}=1/(2\sqrt{2})\). Their product is \(4/(2\sqrt{2})=\sqrt{2}\), giving \(100\sqrt{2}\) from the initial \(100\) units.

Worked Example: Three Intervals with Different Rates

An amount begins at \(80\) units. Its rate is \(\ln(3/2)\) per week from \(t=0\) to \(t=2\), \(\ln(2/3)\) per week from \(t=2\) to \(t=3\), and \(\ln 2\) per week from \(t=3\) to \(t=4.5\). Calculate the amount at each change time and at \(t=4.5\).

During the first two weeks,

$$ A(2)=80e^{\ln(3/2)(2)} =80\left(\frac{3}{2}\right)^2 =80\cdot\frac{9}{4} =180. $$

The second interval lasts one week and starts at \(180\):

$$ A(3)=180e^{\ln(2/3)(3-2)} =180\cdot\frac{2}{3} =120. $$

The third interval lasts \(4.5-3=1.5\) weeks and starts at \(120\):

$$ A(4.5)=120e^{\ln 2(1.5)} =120\cdot 2^{1.5} =120\cdot 2\sqrt{2} =240\sqrt{2}. $$

The amount at \(t=4.5\) is \(240\sqrt{2}\), approximately \(339.41\) units. At \(t=2\), the first formula gives \(180\), and the second gives \(180e^0=180\). At \(t=3\), the second gives \(120\), and the third gives \(120e^0=120\). Both change-time checks confirm continuity.

Worked Example: Finding an Unknown Rate

An amount starts at \(200\) units and grows with rate constant \(k_1=\ln(3/2)/2\) per year for the first \(2\) years. It then follows a constant-rate exponential model for \(3\) more years. At \(t=5\), the amount is \(240\) units. Find the rate \(k_2\) for the second interval and check the resulting amount.

First determine the amount at \(t=2\):

$$ A(2)=200e^{(\ln(3/2)/2)(2-0)} =200e^{\ln(3/2)} =200\cdot\frac{3}{2} =300. $$

Continuity means the second interval starts at \(300\). Its duration is \(5-2=3\), so the observation at \(t=5\) gives

$$ 240=300e^{3k_2}. $$

Divide by \(300\), then take the natural logarithm of both positive sides:

$$ \frac{4}{5}=e^{3k_2}, \qquad \ln\left(\frac{4}{5}\right)=3k_2, \qquad k_2=\frac{1}{3}\ln\left(\frac{4}{5}\right). $$

Because \(4/5<1\), its logarithm is negative, so \(k_2\) describes decay. To check, substitute this rate back into the second-interval formula:

$$ A(5)=300e^{\left(\frac{1}{3}\ln(4/5)\right)(5-2)} =300e^{\ln(4/5)} =300\cdot\frac{4}{5} =240. $$

The model reproduces the observed amount. At the change time, the first interval ends at \(300\), and the second interval starts at \(300e^0=300\), as required.

A Common Mistake: Restarting from the Original Amount

A rate change does not normally reset the amount. For example, suppose an amount starts at \(100\), grows at rate \(\ln 2\) per day for \(2\) days, and then decays at rate \(-\ln 2\) per day for \(1\) day.

A wrong calculation applies the second rate to the original \(100\):

$$ 100e^{(-\ln 2)(1)}=50. $$

This skips the growth phase. The correct amount at the change time is

$$ A(2)=100e^{(\ln 2)(2)}=100\cdot 4=400. $$

Now apply the second rate for one day starting from \(400\):

$$ A(3)=400e^{(-\ln 2)(3-2)} =400\cdot\frac{1}{2} =200. $$

The result is also checked by multiplying the two phase factors: \(100\cdot4\cdot(1/2)=200\). The key is to use each rate for its own duration and carry the resulting amount forward.

Interpreting and Checking the Model

A piecewise exponential model is determined by its initial amount, its change times, and the rate on each interval. Before calculating, check that each rate is paired with the correct interval and that time units are consistent. Then calculate in order: find the amount at the first change, use it as the next starting amount, and continue.

The amount remains continuous under the matching rule, but the model does not claim that the rate is constant across a change time. A change from \(k_i\) to \(k_{i+1}\) changes the exponential factor used after that time. It does not create an instantaneous increase or decrease in the amount.

Key takeaway: On each interval, multiply the amount at the interval’s start by \(e^{k_i\Delta t}\), where \(\Delta t\) is the elapsed time in that interval. The resulting ending amount is the starting amount for the next interval.

Check Your Understanding

For each question, identify the interval durations and carry the amount forward at every change time.

  1. An amount starts at \(50\) units, grows at rate \(\ln 2\) per hour for \(1\) hour, then decays at rate \(-\ln 2\) per hour for \(2\) hours. What is its final amount?
  2. Why must the second interval’s formula use the amount at the first change time rather than the original amount?
  3. An amount starts at \(120\) units and has rate \(k_1=\ln(3/2)\) per day for \(2\) days. What amount should be used to start the next interval?
  4. If the rate changes at \(t=4\), what does continuity require of the two formulas at \(t=4\)?
  5. An interval begins with \(300\) units and ends three years later with \(240\) units under a constant rate \(k\). Write an equation that can be used to find \(k\).

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon