With home ownership on the horizon, I’ve been curious about how amortized mortgage payments work. My goal was the following: given a loan for the amount , to be paid in installments, and compounded at the time of each payment with interest rate , determine what constant payment should be paid each month to discharge the loan.
For one thing, it’s not entirely obvious that this should be possible. The problem sounds like it might be over- or under-constrained so that may not be uniquely determined (or even exist at all). However, practical experience suggested that I ignore my misgivings. My next difficulty was in defining the problem carefully and correctly. While I had vague notions as to the mechanics of the loan and its payments, writing them down in mathematical terms is not totally trivial (I have never held a loan, amortized or otherwise).
On the first due date, there is still a principal outstanding. The bank calculates its interest: you owe interest on top of your principal. [Note that I define my so, e.g., a per annum interest rate would translate to as a monthly compounding factor in my model.] Your first payment will cover the in interest, and whatever is left over will go to reduce the principal. What if isn’t enough to cover that interest? Then, come next month, your outstanding loan will have increased: you will never pay off the loan. Things only make sense if always exceeds the interest payment.
It’s helpful to split up payment into a principal payment and an interest payment . We stipulate that , for every . At the time of the first payment, we know that
At the time of the next payment, we only owe in principal (the principal is the same as the outstanding loan amount, because the interest tacked on each pay period gets paid off in full), so the interest charged is
Continuing, we find a recurrence relation:
I know more about the principal payments than I do about the interest payments: specifically, I know that my principal payments eventually sum to the original value of the loan,
Because of that, I prefer to rewrite the recurrence relation in terms of :
We’re in luck, because this is as easy as recurrence relations come! This is a geometric sequence:
for some constant .
Now my knowledge about principal payments comes in handy:
determines . We also previously computed the first principal payment, so now we have two expressions for it:
Solving for , we have the desired payment amount
With a typical loan, we have and (?), so is ever so slightly greater than the first interest payment. As a result, you put very little towards principal at the outset. As we see above, the principal payments increase geometrically from then on.
How much interest gets paid over the lifetime of the loan?
We can easily compare the total interest paid to the face value of the loan: their ratio is
For example, on a 30-year loan with a per annum interest rate, the total interest paid over the lifetime of the loan is approximately of the principal. With a rate, the total interest paid drops to of the principal.
The result above is fine, but it’s not obvious how it behaves as a function of interest rate, . Intuitively, the payment amount will go up if the interest rate goes up. How can this be quantified?
Letting , we have
We can expand the binomial and then, if (which is typical), expand in a Taylor series and drop high-order terms in :
To leading order, the payment is , just what you’d pay if there was no interest. However, we have seen that, under typical circumstances, you can easily end up paying more in total interest than the face value of the loan. Thus the leading order approximation must not be very good if it completely discounts interest.
The first correction is effectively independent of :
We recall that the interest payment at the first pay period was and, of course, the interest payment at the final payment is approximately zero. Thus, this correction is an averaging of interest payments between the beginning and end, as if the decrease with time was linear (it’s not — it’s geometric).
With these two terms, let’s compare to the real thing. A 30-year loan () with a () interest rate results in a monthly payment
while the approximation is
This is pretty bad! If we only treat the dependence on interest rate as linear, the approximation to the payment amount is way off the mark.
The next term is
With this term, the approximation becomes
which is much closer.
Thus the payment amount goes up, to good approximation, quadratically with interest rate. Given a desired payment amount (as fraction of principal ), the relation can be inverted via the quadratic formula to find the appropriate interest rate: