"Solution for differential equation describing linear input and exponential decay I try to model the concentration over time when there's an linear input and an exponential output (i.e. exponential decay) with known half-life. Input(t) = a+b*t, where t is the time (in years), a the input at year 0 and b the yearly growth to that input. Output(t) = lambda*N(t), where t is the time (in years), lambda the exponential decay constant and N(t) the concentration at year t. lambda is defined as lambda = ln(2)/th, where th is the half-life in years.

Keenan Conway 2022-09-17 Answered
Solution for differential equation describing linear input and exponential decay
I try to model the concentration over time when there's an linear input and an exponential output (i.e. exponential decay) with known half-life.
Input(t) = a+b*t
where t is the time (in years), a the input at year 0 and b the yearly growth to that input.
Output(t) = lambda*N(t)
where t is the time (in years), lambda the exponential decay constant and N(t) the concentration at year t.
lambda is defined as
lambda = ln(2)/th
where th is the half-life in years.
The differential equation is therefore:
dN/dt = Input - Output = a+b*t-lambda*N(t)
Using wolframAlpha I get this solution:
N(t) = C*exp(-lambda*t) + (b/lambda)*t + (a/lambda) - (b/lambda^2)
where C is the initial concentration at t=0.
For small values of th this makes sense, but if th assumes higher values, the concentration is negative. How can this be?
As example:
a = 300
b = 20
th = 2
C = 300
For t = 10 I get a concentration of 1285.561.
But if I set th to 200, I get -1520536 at t = 10
You can still ask an expert for help

Want to know more about Exponential growth and decay?

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

Solve your problem for the price of one coffee

  • Available 24/7
  • Math expert for every subject
  • Pay only if we can solve it
Ask Question

Answers (1)

Haylee Krause
Answered 2022-09-18 Author has 10 answers
You assumed that C was the initial amount ("concentration" is a term indicating the ratio of "active" amount to total amount, which is not something so easily controlled). But this is not the case. The initial amount is N(0), and that value is
N ( 0 ) = C + a λ b λ 2
When a=300,b=20,C=300 and the half-life is 200 years, that value is about −1578233.5. The reason that after 10 years you have a negative amount is that you started with an even more negative amount and have not yet managed to overcome it.
If you want an initial amount N(0) to be 300, then you need to set C = 300 a λ + b λ 2 1578833.5
However, as I indicated in a comment, I am doubtful this equation is modelling what you think it is.
By your description, the repository starts out with an amount of 300. The first year, an additional 300 are added to it, for a total of 600, not including decay. The next year, an additional 320 are added, the year after 340 are added, then 360 the year after that, etc. Since you described it as "linear", I don't think this is what you are after.
Instead, I am guessing that a is supposed to be the initial amount, and each year an additional amount b is added. This gives the differential equation
d N d t = b λ N
whose solution is
N ( t ) = b λ + C e λ t
Since a = N ( 0 ) = b / λ + C, we have C = a b / λ. Therefore
N ( t ) = b λ + ( a b λ ) e λ t
Is the equation you are after.

We have step-by-step solutions for your answer!

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

You might be interested in

asked 2020-11-07
For any elements a and to from a group and any integer n, prove that (a1ba)n=a1bna.
asked 2022-09-18
A Bacteria Culture Contains 100 Cells and Grows at a Rate Proportional to its Size
A bacteria culture contains 100 cells and grows at a rate proportional to its size. After an hour the population has increased to 420.
a) Find and expression for the number of bacteria after t hours
P ( t ) = P ( 0 ) e k t = 100
b) Find the number of bacteria after 3 hours.
P ( t ) = P ( 3 ) e k 3 = (confused as to how to set this up)
d) When will the population reach 10,000?
asked 2021-09-11
A fruit fly population of 24 flies is in a closed container. The number of flies grows exponentially, reaching 384 in 18 days. Find the doubling time (time for the population to double) and write an equation that models this scenario.
asked 2021-05-05
Tell whether the function represents exponential growth or exponential decay. Explain.
y=(12)(1.01)x
asked 2021-05-08
Write an exponential growth or decay function to model each situation. Then find the value of the function after the given amount of time. A new car is worth $25,000, and its value decreases by 15% each year; 6 years.
asked 2022-07-28
City water, which is slightly chlorinated, is being used to flush a tank of heavily chlorinated water. The concentration C = C(t) of the chlorine in the tank t hours after flushing begins is given by the following formula. C = 0.2 + 2.79e-0.39t milligrams per gallon
(a) What is the initial concentration of chlorine in the tank? mg/gal
(b) Express the concentration of chlorine in the tank after 4 hours using functional notation.
(c) Calculate the concentration of chlorine in the tank after 4 hours.
(Round your answer to two decimal places.) mg/gal
asked 2022-01-29
Does a group with exponential growth always have a hyperbolic subgroup which has exponential growth?