How Do You Solve an Annuity Differential Equation?

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation related to annuities, specifically the equation \(\frac{dS}{dt} = rS + d\) with the initial condition \(S(0) = S_0\). Participants are exploring the integration methods and the implications of initial conditions on the solution.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • One participant attempts to derive the solution using the integrating factor method but encounters a negative term that raises questions about the correctness of their approach. Another participant suggests a relationship between constants in the solution and the initial condition, prompting reflection on the initial value aspect of the problem.

Discussion Status

The discussion is active, with participants providing insights and clarifications regarding the derivation process. One participant acknowledges a realization about the initial value condition, while another emphasizes the importance of verifying solutions against both the differential equation and initial conditions.

Contextual Notes

Participants are navigating the complexities of the annuity problem, including the integration process and the significance of initial conditions. There is a mention of a potential simplification in the approach, indicating that different methods are being considered.

_N3WTON_
Messages
350
Reaction score
3

Homework Statement


Solve the annuity problem:
\frac{dS}{dt} = rS + d
S(0) = S_0

Homework Equations


Integrating factor method equation
Future value of an annuity equation (this should be the final answer):
S(t) = S_0e^{rt} + \frac{d}{r}(e^{rt} - 1)

The Attempt at a Solution


Ok, I am getting quite close to doing this derivation correctly. However, I keep ending up with a negative that should not be there.
First, I set:
p(x) = -r
Then:
u(x) = e^{-rt}
This means that I need to take the integral of:
\frac{d}{dt} (e^{-rt}S(t)) = de^{-rt}
After taking the integral of both sides I end up with:
(e^{-rt} * S(t)) = - \frac{d}{r} e^{-rt} + C
Therefore:
S(t) = - \frac{d}{r} + Ce^{rt}
At this point I am not sure what to do because I believe that the negative symbol should not be there. If somebody could point out where my mistake is I would greatly appreciate it.
 
Last edited:
Physics news on Phys.org
_N3WTON_ said:
At this point I am not sure what to do because I believe that the negative symbol should not be there...

Why? Your answer seems to agree with ##
S(t) = S_0e^{rt} + \frac{d}{r}(e^{rt} - 1)
## if ##C=S_0+\frac{d}{r}##.
 
ZetaOfThree said:
Why? Your answer seems to agree with ##
S(t) = S_0e^{rt} + \frac{d}{r}(e^{rt} - 1)
## if ##C=S_0+\frac{d}{r}##.
ok I see it now, I guess I am just an idiot XD ...sorry for the waste of time, I forgot to do the initial value portion of the problem
 
_N3WTON_,
It's a good habit to get into to check a solution you get. If the solution you get 1) satisfies the initial condition, and 2) satisfies the differential equation, you're golden. You don't need us to verify that your solution is correct.
 
_N3WTON_ said:
ok I see it now, I guess I am just an idiot XD ...sorry for the waste of time, I forgot to do the initial value portion of the problem

An easier way is to note that if ##V = S + (d/r)## then ##dV/dt = dS/dt = r V##, so ##V(t) = V_0 e^{rt}##, where ##V_0 = S_0 + d/r##.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
1K
Replies
6
Views
3K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K