Processing math: 100%

Friday, June 13, 2008

Amort

Ever thought about what the actual formula is for your loan payment schedule? Spreadsheet functions and financial calculators make it easy to avoid the details, but let's dig into it anyway. The formula

A=P(r1(1+r)N)

looks sorta complicated.

Let A be the monthly payment we're after, and P is the initial principle. The monthly interest rate is r.  That is, the loan grows by a factor of (1+r) every month. We want to set up the payments so that after N months, the loan is paid and we're done.

So how do we do this? Every month the balance on the loan will be different, let's use αm for the balance at month m. We know two things right away:

α0=P
αN=0

So we have

0=αN=(1+r)αN1A

The last balance, 0, is the penultimate balance increased by the interest and reduced by the monthly payment A. Let's rewrite in terms of A:

A=(1+r)(αN1)

A=(1+r)((1+r)αN2A)

 A(1+(1+r))=(1+r)2αN2

 A(1+(1+r))=(1+r)2((1+r)αN3A)
 
  A(1+(1+r)+(1+r)2)=(1+r)3αN3

We can take this all the way to N, where the form for A will be:

A(N1n=0(1+r)n)=(1+r)Nα0

 The sum on the left is a geometric series that we know how to evaluate:

A(1(1+r)N1(1+r))=(1+r)NP

Finally,

A=rP(1+r)N(1+r)N1=P(r1(1+r)N)