Fully Pay Off Your Home Loan in Record Time: ODE Modeling Question Solution

  • Thread starter Thread starter Samuelb88
  • Start date Start date
  • Tags Tags
    Modelling Ode
Click For Summary
SUMMARY

The discussion centers on a mathematical modeling problem involving a home loan of $100,000 at a 9% interest rate, with a payment schedule of $800(1+t/120). The differential equation governing the loan repayment is established as dS/dt = rS + k, where r is the interest rate and k is the payment rate. The solution involves integrating this equation and applying initial conditions, leading to a numerical solution for the time to fully pay off the loan. The discrepancy between the user's calculated time of approximately -131.12 months and the textbook's answer of 135.36 months is attributed to the difference between continuous and discrete payment modeling.

PREREQUISITES
  • Understanding of differential equations, specifically linear equations.
  • Familiarity with integration techniques, including integration by parts.
  • Knowledge of financial mathematics, particularly loan amortization concepts.
  • Experience with numerical methods and software like Mathematica for solving equations.
NEXT STEPS
  • Study the application of differential equations in financial modeling.
  • Learn about discrete vs. continuous payment models in loan amortization.
  • Explore numerical methods for solving differential equations using Mathematica.
  • Investigate the implications of interest rates on loan repayment schedules.
USEFUL FOR

Mathematics students, financial analysts, and anyone involved in modeling loan repayments or studying differential equations in financial contexts.

Samuelb88
Messages
160
Reaction score
0

Homework Statement


A college graduate borrows $100,000 at an interest rate of 9% to buy a house. The college graduate plans to make payments at a monthly rate of 800(1+t/120), t is the number of months since the loan was made. Assuming this payment schedule can be maintained, when will the loan be fully paid?

The Attempt at a Solution


Let S(t) be the amount to be paid at some t
S(0) = 100,000
r = interest rate = .09
k = constant payment rate = -(800 + 20t/3)

So the differential equation modeling this problem is:

(i) \frac{dS}{dt}\right = rS +k

The equation is linear and its integrating factor is u = Exp[-rt] so multiplying eq. (i) through by u, rewriting LHS by as the derivative of the product S(t)*Exp[-rt], and integrating across t:

(ii) S(t)*e^-^r^t=\int-e^-^r^t(800+20t/3)dt + C

Integrating the RHS integral by parts letting U = 800+20t/3, dV = -Exp[-rt]:

(iii) S(t)*Exp[-rt] = (1/r)*(800+20t/3) - (20/3r) \int Exp[-rt]dt + C

Evaluating the last integral, and multiplying eq. (iii) through by Exp[rt]:

(iv) S(t) = (1/r)(800+20t/3) + (20/3r^2) + CExp[rt]

Exploiting the initial condition, C = 100,000 - (1/r)(800+20t/3) - (20/3r^2), so:

S(t) = (1/r)(800+20t/3) + (20/3r^2) + (100,000 - (1/r)(800+20t/3) - (20/3r^2))Exp[rt]

So the loan should be paid at some time t` when S(t`) = 0. Since the expression for S(t) has arguments of t as a scalar multiple and raised as an exponent, I solved this problem numerically. Using mathematica, it spits a value of t =~ -131.12 months. The answer provided by my book says t =~ 135.36 months.

I'm pretty stumped on this problem... Any help would be greatly appreciated.

PS Sorry latex doesn't seem to be working for me.
 
Last edited:
Physics news on Phys.org
I think that what's going on here is that you modeled the situation by a continuous function in your differential equation, while the actual situation involves payments made at discrete time intervals.

To give you an idea of the difference between the two kinds of processes, consider the following sum and integral, both of which involve the same function, f(x) = 1/x.
\sum_{n = 2}^{10} \frac{1}{n}

\int_1^{10}\frac{dx}{x}

The sum comes out to about 1.929, while the integral comes out to about 2.303. The sum represents a lower bound on the area beneath the graph of y = 1/x.

I suspect that what the author of your text wrote a finite sum that represented all of the payments, and then solved the resulting equation for the time t. I believe that's the reason for the discrepancy between what you got and the answer shown in the book.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 131 ·
5
Replies
131
Views
11K
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
11K
  • · Replies 34 ·
2
Replies
34
Views
6K