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
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.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top