Trying to apply my DiffEq solution.

  • Thread starter Thread starter Geofram
  • Start date Start date
  • Tags Tags
    Apply Diffeq
Click For Summary
SUMMARY

The discussion focuses on solving a differential equation related to the balance of a savings account, represented by the equation dS/dt = kS - W, where S is the balance, W is the annual withdrawal, and k is the continuous interest rate. The user successfully isolates terms to derive the general solution S = C3e^(kt) + W/k. They also calculate the time until the savings run out, concluding it lasts approximately 25.54 years under a 2% interest rate with $50,000 annual withdrawals. However, they seek clarification on constructing a phase portrait and assessing stability.

PREREQUISITES
  • Understanding of differential equations, specifically first-order linear equations.
  • Familiarity with continuous compounding interest concepts.
  • Knowledge of phase portraits and stability analysis in dynamical systems.
  • Proficiency in logarithmic and exponential functions.
NEXT STEPS
  • Study the construction of phase portraits for differential equations.
  • Learn about stability analysis techniques for solutions of differential equations.
  • Explore the implications of continuous compounding in financial mathematics.
  • Practice solving first-order linear differential equations with varying parameters.
USEFUL FOR

Students studying differential equations, financial analysts modeling savings accounts, and educators teaching mathematical concepts related to finance and dynamical systems.

Geofram
Messages
5
Reaction score
0

Homework Statement



S is the balance of a savings account
W is the amount withdrawn per year.
k is a rate percentage of continuous interest per year

1. Solve the differential Equation above.
2. Draw a phase portrait and assess the solution's stability.
3. Assume you have $1,000,000 for retirement. How long would this savings last if the balance grows at 2% per year and you have to withdraw $50,000 a year to live?


Homework Equations



dS/dt = kS - W

The Attempt at a Solution



To solve this I've isolated like terms:

dS/(kS - W) = dt

ln(kS - W)/k = t + C1

ln(kS - W) = t + C2

kS - W = ekt + eC2

kS = C2ekt + W

S = (C2ekt + W) / k

S = C3ekt + W/k


I'm just unsure about what to plug into find out what happens to the solution for the phase diagram, and also I'm lost on how to solve #3.

For number 3, I would plug in 0 for S because we want to know when it runs out.
k = .02, t = ?, and W = 50,000

I'm just lost on how I get C3. I can plug in the starting values to get:
t = 0 because we're just starting?
1,000,000 = C3e0.02(0) + 50,000 / .02
-1,500,000 = C3e0
C3 = -1,500,000

But if I plug this back in:

0 = (-1,500,000)e0.02t + 50,000/.02
(-2,500,000)/(-1,500,000) = e0.02t
ln(1.6667) = 0.02t
t = 25.54 years?

That actually makes sense...
 
Last edited:
Physics news on Phys.org
Geofram said:

Homework Statement



S is the balance of a savings account
W is the amount withdrawn per year.
k is a rate percentage of continuous interest per year

1. Solve the differential Equation above.
2. Draw a phase portrait and assess the solution's stability.
3. Assume you have $1,000,000 for retirement. How long would this savings last if the balance grows at 2% per year and you have to withdraw $50,000 a year to live?


Homework Equations



dS/dt = kS - W

The Attempt at a Solution



To solve this I've isolated like terms:

dS/(kS - W) = dt

ln(kS - W)/k = t + C1

ln(kS - W) = t + C2

kS - W = ekt + eC2
You went wrong here.
[tex]e^{t+ C_2}= (e^t)(e^{C_2}[/tex]
the product of the exponentials, not the sum. Also, there should be no "k" multiplying t.

kS = C2ekt + W

S = (C2ekt + W) / k

S = C3ekt + W/k


I'm just unsure about what to plug into find out what happens to the solution for the phase diagram, and also I'm lost on how to solve #3.

For number 3, I would plug in 0 for S because we want to know when it runs out.
k = .02, t = ?, and W = 50,000

I'm just lost on how I get C3.
 
Geofram said:
ln(kS - W)/k = t + C1

ln(kS - W) = t + C2

Actually I just forgot to do it in the step I multiplied k out.
It should be:

Geofram said:
ln(kS - W)/k = t + C1

ln(kS - W) = kt + C2

Take a look at what I added, does that seem right? I'm still confused on how to accomplish #2
 

Similar threads

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