1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Annunity Equation Derivation

  1. Sep 21, 2014 #1
    1. The problem statement, all variables and given/known data
    Solve the annuity problem:
    [itex] \frac{dS}{dt} = rS + d [/itex]
    [itex] S(0) = S_0 [/itex]

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

    3. 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:
    [itex] p(x) = -r [/itex]
    [itex] u(x) = e^{-rt} [/itex]
    This means that I need to take the integral of:
    [itex] \frac{d}{dt} (e^{-rt}S(t)) = de^{-rt} [/itex]
    After taking the integral of both sides I end up with:
    [itex] (e^{-rt} * S(t)) = - \frac{d}{r} e^{-rt} + C [/itex]
    [itex] S(t) = - \frac{d}{r} + Ce^{rt} [/itex]
    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: Sep 21, 2014
  2. jcsd
  3. Sep 21, 2014 #2


    User Avatar
    Gold Member

    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}##.
  4. Sep 21, 2014 #3
    ok I see it now, I guess im just an idiot XD ...sorry for the waste of time, I forgot to do the initial value portion of the problem
  5. Sep 21, 2014 #4


    Staff: Mentor

    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.
  6. Sep 22, 2014 #5

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    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##.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted