← All Free Study Guides · Course: FM

Module 3: Loan Amortization and Sinking Funds

Where each loan payment goes, how much is still owed, and two ways of paying back the same debt

1. The amortization method

Under the amortization method a loan LL is repaid by level payments PP at the end of each period for nn periods at rate ii. The payment is fixed by one equation of value at time 0:

P an‾∣=LP\,a_{\overline{n}|} = L

Each payment does two jobs. It first pays the interest that accrued on the balance during the period; whatever is left reduces the balance. If Bt−1B_{t-1} is the balance just after payment t−1t-1:

It=i Bt−1,PRt=P−It,Bt=Bt−1−PRtI_t = i\,B_{t-1}, \qquad PR_t = P - I_t, \qquad B_t = B_{t-1} - PR_t

These three lines are the whole method. Everything else in this module is a shortcut to an entry of the table they generate.

Example 1.1: A complete schedule

A loan of 25,000 is repaid by 6 annual payments at 6.5%. Then P=25000/a6‾∣=5164.21P = 25000 / a_{\overline{6}|} = 5164.21.

YearPaymentInterestPrincipalBalance
15164.211625.003539.2121460.79
25164.211394.953769.2617691.54
35164.211149.954014.2613677.28
45164.21889.024275.189402.09
55164.21611.144553.074849.02
65164.21315.194849.020.00
How each payment of 5,164.21 is split
01,0002,0003,0004,000123456Payment numberAmount
  • Interest
  • Principal

Early payments are mostly interest because the balance is large. The principal column grows by exactly 6.5% a year: 3539.21 × 1.065 = 3769.26.

2. The outstanding balance, two ways

The balance is a value, not a count of what is left to pay: three remaining payments of 5,164.21 total 15,492.63, but the balance after payment 3 is only 13,677.28, because the remaining payments include interest that has not yet accrued.

The three lines of Section 1 combine into one recursion, Bt+1=(1+i)Bt−PB_{t+1} = (1+i)B_t - P: the balance earns a period's interest, then the payment comes off. Two closed forms solve it.

Building the table row by row is slow for a 30-year loan. Two closed forms give the balance directly, and proving they agree is a good test of understanding.

Prospective (look forward): the balance is the value of the payments still to come.

Btpro=P an−t‾∣B_t^{\text{pro}} = P\,a_{\overline{n-t}|}

Retrospective (look back): the balance is the original loan accumulated, minus the payments made, accumulated.

Btretro=L(1+i)t−P st‾∣B_t^{\text{retro}} = L(1+i)^t - P\,s_{\overline{t}|}

Why they are equal. Substitute L=P an‾∣L = P\,a_{\overline{n}|} into the retrospective form:

P[(1+i)tan‾∣−st‾∣]=P (1+i)t−vn−t−(1+i)t+1i=P 1−vn−ti=P an−t‾∣P\left[(1+i)^t a_{\overline{n}|} - s_{\overline{t}|}\right] = P\,\frac{(1+i)^t - v^{n-t} - (1+i)^t + 1}{i} = P\,\frac{1 - v^{n-t}}{i} = P\,a_{\overline{n-t}|}

So the two methods are the same number written differently. Use the prospective form when the remaining payments are level and known. Use the retrospective form when the loan terms changed along the way or the final payment is irregular, because the past is known exactly.

Example 2.1: Balance after three payments

From the loan above: prospectively 5164.21 a3‾∣=13677.285164.21\,a_{\overline{3}|} = 13677.28; retrospectively 25000(1.065)3−5164.21 s3‾∣=30198.74−16521.46=13677.2825000(1.065)^3 - 5164.21\,s_{\overline{3}|} = 30198.74 - 16521.46 = 13677.28. Both match row 3 of the table.

2.1 Why the two balances agree

3. Shortcuts for a single row

Because PRtPR_t grows by the factor 1+i1+i each period (the interest saved on the principal just repaid is added to next period's principal), and because the last payment is all principal except one period's interest:

PRt=P v n−t+1,It=P(1−v n−t+1)PR_t = P\,v^{\,n-t+1}, \qquad I_t = P\left(1 - v^{\,n-t+1}\right)

Proof. It=i Bt−1=i P an−t+1‾∣=P(1−vn−t+1)I_t = i\,B_{t-1} = i\,P\,a_{\overline{n-t+1}|} = P(1 - v^{n-t+1}), and PRt=P−ItPR_t = P - I_t.

The fourth principal repayment in Example 1.1 is 5164.21 v3=4275.185164.21\,v^{3} = 4275.18, without building the table.

3.1 Principal repayments grow geometrically

Notice that:

Pt+1Pt=R⋅vn−(t+1)+1R⋅vn−t+1=vn−tvn−t+1=v−1=1+i\frac{P_{t+1}}{P_t} = \frac{R \cdot v^{n-(t+1)+1}}{R \cdot v^{n-t+1}} = \frac{v^{n-t}}{v^{n-t+1}} = v^{-1} = 1 + i

Thus, principal repayments form a strict geometric progression growing at rate ii:

Pt+k=Pt⋅(1+i)kP_{t+k} = P_t \cdot (1+i)^k
Pt=P1⋅(1+i)t−1P_t = P_1 \cdot (1+i)^{t-1}

3.2 Totals over the whole loan

∑t=1nPt=P1∑t=1n(1+i)t−1=(Rvn)⋅sn‾∣=R⋅an‾∣=L\sum_{t=1}^n P_t = P_1 \sum_{t=1}^n (1+i)^{t-1} = (R v^n) \cdot s_{\overline{n}|} = R \cdot a_{\overline{n}|} = L
∑t=1nIt=∑t=1n(R−Pt)=nR−∑t=1nPt=nR−L\sum_{t=1}^n I_t = \sum_{t=1}^n (R - P_t) = n R - \sum_{t=1}^n P_t = n R - L

4. Changing the plan part-way

Real loans are refinanced, prepaid and restructured. Every case uses the same first step: find the balance under the old terms at the moment of change, then treat that balance as a new loan.

Refinancing. After payment 3 of Example 1.1 the borrower owes 13,677.28. If the lender agrees to 5% for the remaining 3 years, the new payment is 13677.28/a3‾∣0.05=5022.4113677.28 / a_{\overline{3}|0.05} = 5022.41. Any fee that is added to the loan increases the new principal; a lower rate does not by itself mean a lower total cost.

Extra repayment. Paying an extra 2,000 with payment 3 cuts the balance to 11,677.28 and so cuts every later interest charge. Either the payment stays at 5,164.21 and the loan ends early, or the term stays and the payment falls to 11677.28/a3‾∣0.065=4409.0611677.28/a_{\overline{3}|0.065} = 4409.06. The contract says which.

Equal-principal plans. Some loans repay the same principal L/nL/n every period, so the payments themselves fall. For 900 over 3 years at 6%: principal 300 each year, interest 54, 36, 18, payments 354, 336, 318. Compare level payments, where the principal part rises.

Balloon and drop payments. A balloon loan deliberately leaves a balance at the end, paid as one larger final amount. A drop payment is a smaller final amount that clears a balance left by rounding the regular payment. Both come from the same equation of value with one irregular last payment.

4.1 Equal principal repayments

Under this scheme, the borrower repays an equal amount of principal in each of the nn periods:

Pt=Lnfor all t=1,2,…,nP_t = \frac{L}{n} \quad \text{for all } t = 1, 2, \dots, n

Balance Progression:

Bt=L−t⋅Ln=L(1−tn)=n−tnLB_t = L - t \cdot \frac{L}{n} = L \left( 1 - \frac{t}{n} \right) = \frac{n-t}{n} L

Interest Progression:

It=i⋅Bt−1=i⋅L⋅n−(t−1)nI_t = i \cdot B_{t-1} = i \cdot L \cdot \frac{n - (t-1)}{n}

Total Payment Progression (RtR_t):

Rt=Pt+It=Ln+i⋅L(1−t−1n)=(Ln+iL)−(t−1)(iLn)R_t = P_t + I_t = \frac{L}{n} + i \cdot L \left( 1 - \frac{t-1}{n} \right) = \left( \frac{L}{n} + i L \right) - (t-1)\left( \frac{i L}{n} \right)

Notice that RtR_t forms an arithmetic progression decreasing by iLn\frac{i L}{n} each period!

5. The sinking fund method

Under the sinking fund method the borrower pays only interest to the lender each period, iLiL, and separately saves into a fund that earns rate jj, so that the fund equals LL at time nn. The deposit DD satisfies

D sn‾∣j=LD\,s_{\overline{n}|j} = L

The total yearly outlay is iL+DiL + D.

Borrower
Deposit D each yearSinking fund earning j
Interest iL each yearL at time nLender

Comparing the two methods. If j=ij = i the methods cost exactly the same, because 1an‾∣=1sn‾∣+i\frac{1}{a_{\overline{n}|}} = \frac{1}{s_{\overline{n}|}} + i. (Proof: 1sn‾∣+i=i(1+i)n−1+i=i(1+i)n(1+i)n−1=i1−vn\frac{1}{s_{\overline{n}|}} + i = \frac{i}{(1+i)^n - 1} + i = \frac{i(1+i)^n}{(1+i)^n - 1} = \frac{i}{1 - v^n}.) If the fund earns less than the loan rate, j<ij < i, the sinking fund method costs more.

Example 5.1: Which is cheaper?

A 40,000 loan at 7% runs for 8 years. The sinking fund earns 5%.

An amortized loan at 7% would cost 40000/a8‾∣0.07=6698.7140000 / a_{\overline{8}|0.07} = 6698.71. The sinking fund outlay of 6988.87 is what an amortized loan would cost at about 8.11%: that rate measures what the weaker fund return really costs the borrower.

5.1 The net balance under a sinking fund

At time tt, the net balance owed is the original debt minus the balance accumulated in the sinking fund:

BtSF=L−D⋅st‾∣j=L(1−st‾∣jsn‾∣j)B_t^{\text{SF}} = L - D \cdot s_{\overline{t}|j} = L \left( 1 - \frac{s_{\overline{t}|j}}{s_{\overline{n}|j}} \right)

6. Case study: Riverstone buys its office

The bank lends 2,400,000 at an annual effective rate of 6.5%6.5\%, repaid by 20 level payments at the end of each year.

Step 1: the payment. P=2,400,000/a20‾∣0.065=217,815.35P = 2{,}400{,}000 / a_{\overline{20}|0.065} = 217{,}815.35.

Step 2: where the money goes. The first payment carries interest 2,400,000×0.065=156,000.002{,}400{,}000 \times 0.065 = 156{,}000.00 and repays only 61,815.3561{,}815.35 of principal. By payment 10 the split has moved: interest is P(1−v11)=108,861.45P(1 - v^{11}) = 108{,}861.45 and principal is Pv11=108,953.90Pv^{11} = 108{,}953.90. Over the whole loan the fund pays 20P−2,400,000=1,956,306.9820P - 2{,}400{,}000 = 1{,}956{,}306.98 of interest, more than three-quarters of the price of the building.

Step 3: refinancing. After 8 payments, rates have fallen and another bank offers 5.25%5.25\%. The balance is the value of the 12 payments still due:

B8=P a12‾∣0.065=1,777,095.60B_8 = P\,a_{\overline{12}|0.065} = 1{,}777{,}095.60

The retrospective form, 2,400,000(1.065)8−P s8‾∣0.0652{,}400{,}000(1.065)^8 - P\,s_{\overline{8}|0.065}, gives the same figure, which is a useful check. Refinancing the balance over the same 12 years costs 1,777,095.60/a12‾∣0.0525=203,338.451{,}777{,}095.60 / a_{\overline{12}|0.0525} = 203{,}338.45 a year, a saving of 14,476.9014{,}476.90 a year before any fees.

Step 4: would a sinking fund be cheaper? A second bank offers interest-only at 6.5%6.5\%, with the fund saving the principal in its own account at 4.5%4.5\%. The yearly deposit to build 2,400,000 in 20 years is 2,400,000/s20‾∣0.045=76,502.752{,}400{,}000 / s_{\overline{20}|0.045} = 76{,}502.75, so the yearly outlay is 156,000+76,502.75=232,502.75156{,}000 + 76{,}502.75 = 232{,}502.75. That is 14,687.4014{,}687.40 a year more than the amortized loan. In rate terms, paying 232,502.75 a year for 20 years on a loan of 2,400,000 is an amortized loan at 7.34%7.34\%. The sinking fund costs more because the fund earns less on its savings than it pays on the debt.

7. Common traps

Trap 1: Confusing BtB_t and Bt−1B_{t-1} When Computing ItI_t

The interest portion of the tt-th payment is It=i⋅Bt−1I_t = i \cdot B_{t-1}, which is based on the balance after payment t−1t - 1 (the start of period tt). Using i⋅Bti \cdot B_t computes It+1I_{t+1}, the interest due in the next period!

Trap 2: Exponent Error in the Principal Repayment Formula PRt=Pvn−t+1PR_t = P v^{n-t+1}

In a level-payment loan of nn periods, the principal repaid in payment tt is PRt=Pvn−t+1PR_t = P v^{n-t+1}, not Pvn−tP v^{n-t}. Check the boundary case t=nt = n: at the final payment, n−n+1=1n - n + 1 = 1, so PRn=PvPR_n = P v, which matches Bn−1=Pa1‾∣=PvB_{n-1} = P a_{\overline{1}|} = P v.

Trap 3: Using Prospective Method When the Final Payment Is Irregular

The prospective formula Bt=Pan−t‾∣B_t = P a_{\overline{n-t}|} is valid if and only if all remaining n−tn - t payments are level and equal to PP. Whenever a loan has a balloon payment, a drop payment, or a rate/payment change, use the retrospective method Bt=L(1+i)t−Pst‾∣B_t = L(1+i)^t - P s_{\overline{t}|} or explicitly include the irregular final payment in the prospective sum.

Trap 4: Ratio of Two Principal Repayments Reveals (1+i)k(1+i)^{k} Immediately

Because PRt=Pvn−t+1PR_t = P v^{n-t+1} grows geometrically by (1+i)(1+i) each period, PRt+kPRt=(1+i)k\frac{PR_{t+k}}{PR_t} = (1+i)^k. Whenever a question gives two principal repayments PRaPR_a and PRbPR_b (without giving LL, PP, or nn), divide them immediately to find (1+i)b−a(1+i)^{b-a} and the interest rate ii.

Trap 5: Sum of Consecutive Principal Repayments Equals Balance Reduction

The sum of principal repayments from period t1+1t_1 + 1 to t2t_2 is simply Bt1−Bt2=PRt1+1 st2−t1‾∣iB_{t_1} - B_{t_2} = PR_{t_1+1} \, s_{\overline{t_2 - t_1}|i}. You never need to compute each row separately to find the total principal repaid over a multi-year window.

Trap 6: Total Interest Paid Over a Window [t1+1,t2][t_1 + 1, t_2]

The total cash paid from payment t1+1t_1 + 1 through payment t2t_2 inclusive is (t2−t1)P(t_2 - t_1) P. Subtracting the principal reduction (Bt1−Bt2)(B_{t_1} - B_{t_2}) gives the exact interest paid over that window: ∑k=t1+1t2Ik=(t2−t1)P−(Bt1−Bt2)\sum_{k=t_1+1}^{t_2} I_k = (t_2 - t_1) P - (B_{t_1} - B_{t_2}).

Trap 7: Sinking Fund "Interest Earned in Period tt" vs. "Net Interest Paid"

In a sinking fund arrangement where the lender charges ii on LL and the sinking fund earns jj on accumulated deposits SFt−1=Dst−1‾∣jSF_{t-1} = D s_{\overline{t-1}|j}, the interest earned by the sinking fund in period tt is j⋅Dst−1‾∣jj \cdot D s_{\overline{t-1}|j}. Thus the sinking fund balance grows by SFt−SFt−1=D+j⋅Dst−1‾∣j=D(1+j)t−1SF_t - SF_{t-1} = D + j \cdot D s_{\overline{t-1}|j} = D(1+j)^{t-1}, a geometric progression at rate jj!

Trap 8: Net Amount of Debt vs. Gross Debt in a Sinking Fund

Under a sinking fund loan, the gross debt owed to the lender remains LL until maturity nn, so the interest paid to the lender is a constant iLiL every period. The "net balance of the loan" L−Dst‾∣jL - D s_{\overline{t}|j} is an economic accounting measure of the borrower's net liability, not the base on which the lender charges ii.

Trap 9: Finding the Equivalent Amortization Rate for a Sinking Fund Outlay

When j<ij < i, the total periodic sinking fund outlay E=iL+Lsn‾∣jE = iL + \frac{L}{s_{\overline{n}|j}} exceeds the standard amortization payment Lan‾∣i\frac{L}{a_{\overline{n}|i}}. To find the effective rate i∗i^* that the borrower is really paying on an amortized basis, set E⋅an‾∣i∗=LE \cdot a_{\overline{n}|i^*} = L and solve for i∗i^* using the BA II Plus TVM worksheet (N = n, PV = L, PMT = -E, FV = 0 -> CPT I/Y).

Trap 10: Equal Principal Repayment Loans Have Arithmetically Decreasing Payments

When a loan states "repaid by equal annual principal repayments of L/nL/n plus interest on the unpaid balance," the total payment Rt=Ln+iBt−1R_t = \frac{L}{n} + i B_{t-1} is not level! It starts at Ln+iL\frac{L}{n} + iL at t=1t=1 and decreases linearly by iLn\frac{iL}{n} each period.

Trap 11: Present Value of an Equal-Principal Loan Schedule at a Different Rate jj

If a lender sells an equal-principal loan (originally written at interest rate ii) to an investor who prices it to yield j≠ij \neq i, the investor values the cash flow stream Rt=Ln+iLn(n−t+1)R_t = \frac{L}{n} + \frac{iL}{n}(n - t + 1) at rate jj: PVj=Lnan‾∣j+iLn(Da)n‾∣jPV_j = \frac{L}{n} a_{\overline{n}|j} + \frac{iL}{n} (Da)_{\overline{n}|j}.

Trap 12: Refinancing With Points or Origination Fees

When a borrower refinances an outstanding balance BtB_t and pays a percentage origination fee (points) ff rolled into the new loan, the new loan principal is Bt1−f\frac{B_t}{1 - f} (if the fee is ff of the new loan) or Bt(1+f)B_t(1 + f) (if the fee is ff of the old balance). Read the fee wording carefully.

Trap 13: Missed Payments Accumulate at the Loan Rate ii

If a borrower skips payments t=k+1,…,k+mt = k+1, \dots, k+m, the outstanding balance continues to compound at (1+i)(1+i) per period with zero principal reduction, so immediately after the mm-th missed payment the balance is Bk(1+i)mB_k(1+i)^m.

Trap 14: Interest-Only Grace Period Before Amortization Begins

If a loan has an initial kk-year grace period during which no payments at all are made, the balance at t=kt = k is L(1+i)kL(1+i)^k, which is then amortized over the remaining periods. If the borrower pays interest only during the grace period, the balance at t=kt = k stays LL.

Trap 15: BA II Plus [2nd] [AMORT] Worksheet Rounding Awareness

When using [2nd] [AMORT] on the BA II Plus, the calculator uses the unrounded value currently stored in the PMT register unless you re-key the rounded payment and press [PMT]. If a loan contract specifies that regular payments are rounded to the nearest cent, re-key the rounded PMT before computing BAL, PRN, or INT.

8. Practice problems

Problem 1: Balance part-way through

A loan of 60,000 is repaid by 15 level annual payments at 5%. Find the balance just after the fifth payment.

  1. A31097.31
  2. B48015.54
  3. C40000.00
  4. D44635.78
  5. E46867.57

Solution: P=60000/a15‾∣=5780.54P = 60000/a_{\overline{15}|} = 5780.54. Ten payments remain, so B5=5780.54 a10‾∣=44635.78B_5 = 5780.54\,a_{\overline{10}|} = 44635.78. Answer (D).

Why the other choices are wrong:

Problem 2: Principal in a given payment

A loan of 15,000 is repaid by 10 annual payments at 8%. How much of the sixth payment is principal?

  1. A714.04
  2. B1500.00
  3. C1408.71
  4. D1521.40
  5. E1643.12

Solution: P=15000/a10‾∣=2235.44P = 15000/a_{\overline{10}|} = 2235.44 and PR6=P v10−6+1=2235.44 v5=1521.40PR_6 = P\,v^{10-6+1} = 2235.44\,v^5 = 1521.40. Answer (D).

Why the other choices are wrong:

Problem 3: Total interest

For the loan in Problem 2, find the total interest paid over the life of the loan.

  1. A12000.00
  2. B7354.42
  3. C6600.00
  4. D22354.42
  5. E17383.87

Solution: 10×2235.44−15000=7354.4210 \times 2235.44 - 15000 = 7354.42. Answer (B).

Why the other choices are wrong:

Problem 4: Finding Loan Balance and Split of Payment

Problem: A 20-year loan of 200,000 with annual effective interest rate i=6%i = 6\% is repaid with level annual payments.

  1. Determine the annual payment RR.
  2. Compute the outstanding balance B8B_8 immediately after the 8th payment.
  3. Determine the interest component I9I_9 and principal component P9P_9 of the 9th payment.
  4. Calculate the total interest paid over the entire 20-year term.

Solution:

  1. Calculate annual payment RR:
a20‾∣0.06=1−(1.06)−200.06=1−0.31180470.06≈11.469921a_{\overline{20}|0.06} = \frac{1 - (1.06)^{-20}}{0.06} = \frac{1 - 0.3118047}{0.06} \approx 11.469921
R=200,00011.469921≈17,436.91R = \frac{200,000}{11.469921} \approx 17,436.91
  1. Compute outstanding balance B8B_8: Remaining payments: 20−8=1220 - 8 = 12.
a12‾∣0.06=1−(1.06)−120.06=1−0.49696940.06≈8.383844a_{\overline{12}|0.06} = \frac{1 - (1.06)^{-12}}{0.06} = \frac{1 - 0.4969694}{0.06} \approx 8.383844
B8=R⋅a12‾∣0.06=17,436.91×8.383844≈146,188.42B_8 = R \cdot a_{\overline{12}|0.06} = 17,436.91 \times 8.383844 \approx 146,188.42

(Verification via Retrospective Method):

s8‾∣0.06=(1.06)8−10.06≈9.897468s_{\overline{8}|0.06} = \frac{(1.06)^8 - 1}{0.06} \approx 9.897468
B8=200,000(1.06)8−17,436.91(9.897468)=318,769.62−172,581.20=146,188.42✓B_8 = 200,000(1.06)^8 - 17,436.91(9.897468) = 318,769.62 - 172,581.20 = 146,188.42 \quad \checkmark
  1. Split of 9th payment (R=I9+P9R = I_9 + P_9):
I9=i⋅B8=0.06×146,188.42=8,771.31I_9 = i \cdot B_8 = 0.06 \times 146,188.42 = 8,771.31
P9=R−I9=17,436.91−8,771.31=8,665.60P_9 = R - I_9 = 17,436.91 - 8,771.31 = 8,665.60

(Verification via P9=R⋅v20−9+1=Rv12P_9 = R \cdot v^{20 - 9 + 1} = R v^{12}):

P9=17,436.91×(1.06)−12=17,436.91×0.4969694=8,665.60✓P_9 = 17,436.91 \times (1.06)^{-12} = 17,436.91 \times 0.4969694 = 8,665.60 \quad \checkmark
  1. Total interest paid over 20 years:
Total Interest=20×R−L=20(17,436.91)−200,000=348,738.20−200,000=148,738.20\text{Total Interest} = 20 \times R - L = 20(17,436.91) - 200,000 = 348,738.20 - 200,000 = 148,738.20

Problem 5: Sinking Fund with Differential Rates

Problem: A corporation borrows 500,000 for 10 years. The lender charges an annual effective interest rate of 8%8\%. The corporation accumulates the principal by making level annual deposits into a sinking fund earning 5%5\% effective.

  1. Determine the total annual outlay.
  2. Determine the net balance of the loan at the end of year 6.

Solution:

  1. Compute annual outlay:
    • Annual interest to lender:
I=0.08×500,000=40,000I = 0.08 \times 500,000 = 40,000
s10‾∣0.05=(1.05)10−10.05≈12.577893s_{\overline{10}|0.05} = \frac{(1.05)^{10} - 1}{0.05} \approx 12.577893
D=500,00012.577893≈39,752.29D = \frac{500,000}{12.577893} \approx 39,752.29
E=I+D=40,000+39,752.29=79,752.29E = I + D = 40,000 + 39,752.29 = 79,752.29
  1. Net loan balance at t=6t = 6:
    • Sinking fund accumulation at t=6t = 6:
s6‾∣0.05=(1.05)6−10.05≈6.801913s_{\overline{6}|0.05} = \frac{(1.05)^6 - 1}{0.05} \approx 6.801913
SF6=39,752.29×6.801913≈270,391.63\text{SF}_6 = 39,752.29 \times 6.801913 \approx 270,391.63
B6SF=500,000−270,391.63=229,608.37B_6^{\text{SF}} = 500,000 - 270,391.63 = 229,608.37

Problem 6: Finding Loan Amount From Two Principal Repayments

A level-payment loan is repaid by annual payments at the end of each year for 15 years. The principal repaid in the 4th payment is 2,400.00, and the principal repaid in the 9th payment is 3,211.74. Calculate the original loan amount LL.

  1. A55,862.33
  2. B30,226.29
  3. C44,248.20
  4. D46,903.09
  5. E49,717.27

Solution:

  1. Use the geometric progression of principal repayments PR9=PR4(1+i)9−4PR_9 = PR_4 (1+i)^{9-4}:
(1+i)5=3211.742400.00=1.338225  ⟹  1+i=(1.338225)1/5=1.06  ⟹  i=6%(1+i)^5 = \frac{3211.74}{2400.00} = 1.338225 \implies 1 + i = (1.338225)^{1/5} = 1.06 \implies i = 6\%
  1. Find the first principal repayment PR1PR_1:
PR1=PR4(1.06)−3=2400(1.06)−3=2015.086PR_1 = PR_4 (1.06)^{-3} = 2400(1.06)^{-3} = 2015.086
  1. Since the sum of all 15 principal repayments equals L=PR1 s15‾∣0.06L = PR_1 \, s_{\overline{15}|0.06}:
L=2015.086×(1.06)15−10.06=2015.086×23.27597=46903.09L = 2015.086 \times \frac{(1.06)^{15} - 1}{0.06} = 2015.086 \times 23.27597 = 46903.09

Answer (D).

Why the other choices are wrong:

Problem 7: Interest Paid in a Specific Payment Given Prior Principal

A loan is amortized by 20 level annual payments at an annual effective interest rate of 7%7\%. In the 11th payment, the interest portion is 1,850.00. Calculate the interest portion of the 15th payment.

  1. A1,419.53
  2. B1,411.36
  3. C1,079.99
  4. D1,255.50
  5. E1,110.00

Solution:

  1. Use the interest formula It=P(1−vn−t+1)I_t = P(1 - v^{n-t+1}) for n=20n = 20 and i=0.07i = 0.07:
    • At t=11t = 11, n−t+1=20−11+1=10n - t + 1 = 20 - 11 + 1 = 10, so I11=P(1−1.07−10)=P(1−0.508349)=0.491651P=1850I_{11} = P(1 - 1.07^{-10}) = P(1 - 0.508349) = 0.491651 P = 1850.
    • Thus P=18500.491651=3762.83P = \frac{1850}{0.491651} = 3762.83.
  2. At t=15t = 15, n−t+1=20−15+1=6n - t + 1 = 20 - 15 + 1 = 6:
I15=3762.83(1−1.07−6)=3762.83(1−0.666342)=3762.83(0.333658)=1255.50I_{15} = 3762.83\left(1 - 1.07^{-6}\right) = 3762.83(1 - 0.666342) = 3762.83(0.333658) = 1255.50

Answer (D).

Why the other choices are wrong:

Problem 8: Sinking Fund Deposit Increase vs. Balance Growth

A borrower takes out a 12-year loan of 100,000 at an annual effective interest rate of 8%8\% and repays principal via a sinking fund earning 5%5\% effective. Calculate the amount by which the sinking fund balance increases during the 7th year (from t=6t = 6 to t=7t = 7).

  1. A8,018.29
  2. B9,282.17
  3. C6,282.54
  4. D8,840.16
  5. E8,419.20

Solution:

  1. Calculate the annual sinking fund deposit DD:
s12‾∣0.05=(1.05)12−10.05=15.917127  ⟹  D=10000015.917127=6282.54s_{\overline{12}|0.05} = \frac{(1.05)^{12} - 1}{0.05} = 15.917127 \implies D = \frac{100000}{15.917127} = 6282.54
  1. During year tt, the sinking fund increases by the new deposit DD plus interest j⋅SFt−1j \cdot SF_{t-1} on the prior balance, which equals D(1+j)t−1D(1+j)^{t-1}. For t=7t = 7:
ΔSF7=D(1.05)6=6282.54×1.340096=8419.20\Delta SF_7 = D(1.05)^6 = 6282.54 \times 1.340096 = 8419.20

Answer (E).

Why the other choices are wrong:

Problem 9: Equivalent Amortized Rate of a Sinking Fund Loan

A 10-year loan of 80,000 requires the borrower to pay interest at 7.5%7.5\% annually to the lender and make level annual deposits into a sinking fund earning 4.5%4.5\% annually. If the borrower instead entered a standard 10-year amortized loan with the exact same total annual outlay, what annual effective interest rate i∗i^* would the amortized loan charge?

  1. A9.12%
  2. B7.50%
  3. C15.64%
  4. D4.50%
  5. E6.00%

Solution:

  1. Compute the borrower's total annual outlay EE under the sinking fund arrangement:
Ilender=0.075×80000=6000.00I_{\text{lender}} = 0.075 \times 80000 = 6000.00
s10‾∣0.045=(1.045)10−10.045=12.288209  ⟹  D=8000012.288209=6510.31s_{\overline{10}|0.045} = \frac{(1.045)^{10} - 1}{0.045} = 12.288209 \implies D = \frac{80000}{12.288209} = 6510.31
E=6000.00+6510.31=12510.31E = 6000.00 + 6510.31 = 12510.31
  1. Set 12510.31 a10‾∣i∗=80000  ⟹  a10‾∣i∗=8000012510.31=6.3947312510.31 \, a_{\overline{10}|i^*} = 80000 \implies a_{\overline{10}|i^*} = \frac{80000}{12510.31} = 6.39473.
  2. Solve for i∗i^* (at 8.5%8.5\%, a10‾∣0.085=6.5613a_{\overline{10}|0.085} = 6.5613; at 9.0%9.0\%, a10‾∣0.09=6.4177a_{\overline{10}|0.09} = 6.4177; at 9.12%9.12\%, a10‾∣0.0912=6.3947a_{\overline{10}|0.0912} = 6.3947):
i∗=9.12%i^* = 9.12\%

Answer (A).

Why the other choices are wrong:

Problem 10: Equal Principal Repayment Loan Valuation by a Third-Party Buyer

A 10-year loan of 50,000 is repaid by 10 equal annual principal payments of 5,000 at the end of each year, plus interest on the unpaid balance at 6%6\% effective. Immediately after the loan is issued at t=0t = 0, the lender sells the loan cash flows to an investor who prices them to yield an annual effective rate of 8%8\%. Calculate the price paid by the investor.

  1. A33,550.41
  2. B45,887.60
  3. C50,000.00
  4. D43,356.48
  5. E53,680.65

Solution:

  1. In year tt (t=1,…,10t = 1, \dots, 10), the principal payment is 50005000 and the unpaid balance at the start of year tt is 5000(10−t+1)5000(10 - t + 1), so the interest payment is 0.06×5000(11−t)=300(11−t)0.06 \times 5000(11 - t) = 300(11 - t).
  2. Discount the cash flow stream at the buyer's yield rate j=0.08j = 0.08:
PV0.08=5000a10‾∣0.08+300(Da)10‾∣0.08PV_{0.08} = 5000 a_{\overline{10}|0.08} + 300(Da)_{\overline{10}|0.08}
  1. Evaluate a10‾∣0.08a_{\overline{10}|0.08} and (Da)10‾∣0.08(Da)_{\overline{10}|0.08}:
a10‾∣0.08=6.710081,(Da)10‾∣0.08=10−6.7100810.08=41.12398a_{\overline{10}|0.08} = 6.710081, \qquad (Da)_{\overline{10}|0.08} = \frac{10 - 6.710081}{0.08} = 41.12398
  1. Substitute to find the purchase price:
PV0.08=5000(6.710081)+300(41.12398)=33550.41+12337.19=45887.60PV_{0.08} = 5000(6.710081) + 300(41.12398) = 33550.41 + 12337.19 = 45887.60

Answer (B).

Why the other choices are wrong:

Problem 11: Mid-Term Refinancing With a Rate Reduction

A home buyer borrows 240,000 for 30 years at a nominal annual rate of 6.0%6.0\% convertible monthly, with level monthly payments at the end of each month. Immediately after the 60th monthly payment (at the end of year 5), the borrower refinances the remaining balance over the remaining 25 years at a nominal annual rate of 4.8%4.8\% convertible monthly. Calculate the reduction in the borrower's monthly payment.

  1. A63.73
  2. B10.40
  3. C159.24
  4. D80.78
  5. E1,279.68

Solution:

  1. Original payment at j=0.005j = 0.005 over 360 months: Pold=240000a360‾∣0.005=240000166.7916=1438.92P_{\text{old}} = \frac{240000}{a_{\overline{360}|0.005}} = \frac{240000}{166.7916} = 1438.92.
  2. Balance after 60 payments, prospectively over the remaining 300 months: B60=1438.92 a300‾∣0.005=223,330.46B_{60} = 1438.92\,a_{\overline{300}|0.005} = 223{,}330.46.
  3. New payment at j=0.004j = 0.004 over 300 months: Pnew=223330.46a300‾∣0.004=223330.46174.5210=1279.68P_{\text{new}} = \frac{223330.46}{a_{\overline{300}|0.004}} = \frac{223330.46}{174.5210} = 1279.68.
  4. Reduction: 1438.92−1279.68=159.241438.92 - 1279.68 = 159.24.

Answer (C).

Why the other choices are wrong:


Problem 12: Loan With Scheduled Double Payment Every 5th Year

A 10-year loan of 30,000 at an annual effective interest rate of 6%6\% is repaid by annual payments of PP at the end of years 1,2,3,4,6,7,8,91, 2, 3, 4, 6, 7, 8, 9 and double payments of 2P2P at the end of years 55 and 1010. Calculate the base payment PP.

  1. A3,700.35
  2. B3,788.61
  3. C3,008.61
  4. D3,461.91
  5. E4,076.04

Solution:

  1. Decompose the payment stream into a level 10-year annuity of PP every year, plus an extra payment of PP at t=5t = 5 and t=10t = 10:
30000=P(a10‾∣0.06+v5+v10)30000 = P\left(a_{\overline{10}|0.06} + v^5 + v^{10}\right)
  1. Compute each factor at i=0.06i = 0.06:
a10‾∣0.06=7.360087,v5=0.747258,v10=0.558395a_{\overline{10}|0.06} = 7.360087, \quad v^5 = 0.747258, \quad v^{10} = 0.558395
  1. Sum the factors and solve for PP:
30000=P(7.360087+0.747258+0.558395)=8.665740P  ⟹  P=300008.665740=3461.9130000 = P(7.360087 + 0.747258 + 0.558395) = 8.665740 P \implies P = \frac{30000}{8.665740} = 3461.91

Answer (D).

Why the other choices are wrong:

Problem 13: Cumulative Interest Paid Over the First Half of a Loan

A 16-year loan of 100,000 at an annual effective interest rate of 5%5\% is repaid with level annual payments at the end of each year. Calculate the total amount of interest paid during the first 8 years (in payments 1 through 8 inclusive).

  1. A23,815.93
  2. B27,206.74
  3. C39,399.73
  4. D40,000.00
  5. E33,451.92

Solution:

  1. Compute the level annual payment PP:
a16‾∣0.05=10.837770  ⟹  P=10000010.837770=9226.99a_{\overline{16}|0.05} = 10.837770 \implies P = \frac{100000}{10.837770} = 9226.99
  1. Compute the outstanding balance B8B_8 after 8 payments (88 payments remaining):
a8‾∣0.05=6.463213  ⟹  B8=9226.99×6.463213=59636.00a_{\overline{8}|0.05} = 6.463213 \implies B_8 = 9226.99 \times 6.463213 = 59636.00
  1. The principal repaid in the first 8 payments is 100000−59636.00=40364.00100000 - 59636.00 = 40364.00. Subtract this from the total cash paid 8P8 P:
∑t=18It=8(9226.99)−40364.00=73815.92−40364.00=33451.92\sum_{t=1}^8 I_t = 8(9226.99) - 40364.00 = 73815.92 - 40364.00 = 33451.92

Answer (E).

Why the other choices are wrong:

Problem 14: Loan With Two-Rate Tiered Balance Interest Charge

A lender charges 8%8\% annual effective interest on the first 10,000 of outstanding loan balance and 6%6\% annual effective interest on any outstanding balance in excess of 10,000. A borrower takes out a loan of 18,000 and makes level annual payments of 3,500 at the end of each year. Calculate the outstanding loan balance immediately after the 2nd payment.

  1. A13,715.20
  2. B13,014.80
  3. C13,426.80
  4. D13,299.20
  5. E11,000.00

Solution:

  1. At t=0t = 0, the balance is B0=18000>10000B_0 = 18000 > 10000. The interest charged in year 1 is:
I1=10000(0.08)+(18000−10000)(0.06)=800+480=1280.00I_1 = 10000(0.08) + (18000 - 10000)(0.06) = 800 + 480 = 1280.00
  1. Subtract the first payment of 3,500 to get B1B_1:
B1=18000+1280.00−3500=15780.00B_1 = 18000 + 1280.00 - 3500 = 15780.00
  1. Since B1=15780.00>10000B_1 = 15780.00 > 10000, the interest charged in year 2 is:
I2=10000(0.08)+(15780.00−10000)(0.06)=800+346.80=1146.80I_2 = 10000(0.08) + (15780.00 - 10000)(0.06) = 800 + 346.80 = 1146.80
  1. Subtract the second payment of 3,500 to get B2B_2:
B2=15780.00+1146.80−3500=13426.80B_2 = 15780.00 + 1146.80 - 3500 = 13426.80

Answer (C).

Why the other choices are wrong:

Problem 15: Determining the Term nn From PR1PR_1 and I1I_1

On a level-payment amortized loan at an annual effective interest rate of 6%6\%, the interest portion of the first payment is three times the principal portion of the first payment (I1=3PR1I_1 = 3 PR_1). Calculate the total number of annual payments nn.

  1. A18.85
  2. B28.41
  3. C23.10
  4. D27.62
  5. E23.79

Solution:

  1. Since P=I1+PR1=3PR1+PR1=4PR1P = I_1 + PR_1 = 3 PR_1 + PR_1 = 4 PR_1, the first principal repayment satisfies:
PR1P=vn=14=0.25\frac{PR_1}{P} = v^n = \frac{1}{4} = 0.25
  1. Take natural logarithms at i=0.06i = 0.06:
(1.06)−n=0.25  ⟹  n=ln⁡4ln⁡1.06=1.3862940.0582689=23.79 years(1.06)^{-n} = 0.25 \implies n = \frac{\ln 4}{\ln 1.06} = \frac{1.386294}{0.0582689} = 23.79 \text{ years}

Answer (E).

Why the other choices are wrong:

Problem 16: Geometrically Increasing Loan Payments

A 10-year loan of 60,000 carries an annual effective interest rate of 7%7\%. The borrower makes annual payments at the end of each year that increase by 3%3\% per year (so Rt=R1(1.03)t−1R_t = R_1(1.03)^{t-1} for t=1,…,10t = 1, \dots, 10). Calculate the outstanding loan balance immediately after the 5th payment.

  1. A36,971.70
  2. B35,026.55
  3. C30,000.00
  4. D38,343.25
  5. E32,848.88

Solution:

  1. Find the initial payment R1R_1 using the geometric annuity formula at t=0t = 0:
60000=R11−(1.03/1.07)100.07−0.03=R11−0.6832600.04=7.91850R1  ⟹  R1=7577.1960000 = R_1 \frac{1 - (1.03/1.07)^{10}}{0.07 - 0.03} = R_1 \frac{1 - 0.683260}{0.04} = 7.91850 R_1 \implies R_1 = 7577.19
  1. Prospectively, at t=5t = 5, there are 5 remaining payments starting with R6=R1(1.03)5R_6 = R_1(1.03)^5 at t=6t = 6:
B5=R1(1.03)51−(1.03/1.07)50.07−0.03=7577.19(1.159274)(4.365446)=38343.25B_5 = R_1(1.03)^5 \frac{1 - (1.03/1.07)^5}{0.07 - 0.03} = 7577.19(1.159274)(4.365446) = 38343.25

Answer (D).

Why the other choices are wrong:

Problem 17: Sinking Fund Net Interest Paid in Period tt

A 15-year loan of 120,000 charges 7%7\% annual effective interest while the borrower accumulates principal in a sinking fund earning 5%5\% annual effective interest. Define the "net interest paid" in year tt as the interest paid to the lender minus the interest earned by the sinking fund during year tt. Calculate the net interest paid in year 10.

  1. A5,334.02
  2. B4,107.63
  3. C4,902.67
  4. D2,838.93
  5. E5,744.83

Solution:

  1. Interest paid to the lender each year is Ilender=0.07×120000=8400.00I_{\text{lender}} = 0.07 \times 120000 = 8400.00.
  2. Annual sinking fund deposit DD:
s15‾∣0.05=21.578564  ⟹  D=12000021.578564=5561.07s_{\overline{15}|0.05} = 21.578564 \implies D = \frac{120000}{21.578564} = 5561.07
  1. At the start of year 10 (t=9t = 9), the sinking fund balance is SF9=D s9‾∣0.05=5561.07(11.026564)=61319.53SF_9 = D \, s_{\overline{9}|0.05} = 5561.07(11.026564) = 61319.53.
  2. Interest earned by the sinking fund in year 10 is 0.05×61319.53=3065.980.05 \times 61319.53 = 3065.98.
  3. Net interest paid in year 10:
8400.00−3065.98=5334.028400.00 - 3065.98 = 5334.02

Answer (A).

Why the other choices are wrong:

Problem 18: Extra Principal Prepayment Shortening Loan Maturity

A 20-year loan of 100,000 at 6%6\% effective is repaid by level annual payments of P=8,718.46P = 8,718.46. Immediately after the 5th payment, the borrower makes an additional lump-sum principal prepayment of 15,000 and continues paying 8,718.468,718.46 per year until the loan is retired. How many full payments of 8,718.468,718.46 remain after time t=5t = 5?

  1. A12
  2. B10
  3. C14
  4. D13
  5. E11

Solution:

  1. Before the extra prepayment at t=5t = 5, 15 payments remain, so the scheduled balance is:
B5=8718.46 a15‾∣0.06=8718.46(9.712249)=84675.86B_5 = 8718.46 \, a_{\overline{15}|0.06} = 8718.46(9.712249) = 84675.86
  1. Subtract the 15,000 extra principal prepayment:
B5new=84675.86−15000=69675.86B_5^{\text{new}} = 84675.86 - 15000 = 69675.86
  1. Solve for the remaining term mm where 8718.46 am‾∣0.06=69675.868718.46 \, a_{\overline{m}|0.06} = 69675.86:
am‾∣0.06=69675.868718.46=7.99176  ⟹  (1.06)−m=1−0.06(7.99176)=0.520494  ⟹  m=−ln⁡0.520494ln⁡1.06=11.20a_{\overline{m}|0.06} = \frac{69675.86}{8718.46} = 7.99176 \implies (1.06)^{-m} = 1 - 0.06(7.99176) = 0.520494 \implies m = \frac{-\ln 0.520494}{\ln 1.06} = 11.20

Thus 11 full payments of 8,718.468,718.46 remain (followed by a small drop payment). Answer (E).

Why the other choices are wrong:

Problem 19: Amortization With Arithmetic Increasing Payments

A 5-year loan of 20,000 at an annual effective interest rate of 5%5\% is repaid by payments of X,2X,3X,4X,5XX, 2X, 3X, 4X, 5X at the end of years 1,2,3,4,51, 2, 3, 4, 5. Calculate the outstanding loan balance immediately after the 2nd payment at t=2t = 2.

  1. A15,225.36
  2. B17,195.77
  3. C17,275.36
  4. D18,787.33
  5. E14,644.32

Solution:

  1. Solve for XX from 20000=X(Ia)5‾∣0.0520000 = X(Ia)_{\overline{5}|0.05}:
a5‾∣0.05=4.329477,a¨5‾∣0.05=4.545951,v5=0.7835262a_{\overline{5}|0.05} = 4.329477, \quad \ddot{a}_{\overline{5}|0.05} = 4.545951, \quad v^5 = 0.7835262
(Ia)5‾∣0.05=4.545951−5(0.7835262)0.05=12.56640  ⟹  X=2000012.56640=1591.55(Ia)_{\overline{5}|0.05} = \frac{4.545951 - 5(0.7835262)}{0.05} = 12.56640 \implies X = \frac{20000}{12.56640} = 1591.55
  1. Use the retrospective method at t=2t = 2 (after payments XX at t=1t=1 and 2X2X at t=2t=2):
B2=20000(1.05)2−X(1.05)−2X=22050−3.05(1591.55)=22050−4854.23=17195.77B_2 = 20000(1.05)^2 - X(1.05) - 2X = 22050 - 3.05(1591.55) = 22050 - 4854.23 = 17195.77

Answer (B).

Why the other choices are wrong:

Problem 20: Finding Principal Repaid When Only Balance at Two Dates Is Known

A level-payment loan has an annual effective interest rate of 6%6\%. Immediately after the 4th annual payment, the outstanding balance is 50,000. Immediately after the 9th annual payment, the outstanding balance is 32,000. Calculate the principal repaid in the 5th payment (PR5PR_5).

  1. A3,193.14
  2. B4,273.14
  3. C3,384.72
  4. D3,600.00
  5. E3,012.39

Solution:

  1. The total principal repaid in payments 5,6,7,8,95, 6, 7, 8, 9 (five consecutive payments) equals the reduction in balance B4−B9=50000−32000=18000B_4 - B_9 = 50000 - 32000 = 18000.
  2. Because consecutive principal repayments grow geometrically at i=0.06i = 0.06:
PR5+PR6+PR7+PR8+PR9=PR5 s5‾∣0.06=18000PR_5 + PR_6 + PR_7 + PR_8 + PR_9 = PR_5 \, s_{\overline{5}|0.06} = 18000
  1. Since s5‾∣0.06=(1.06)5−10.06=5.637093s_{\overline{5}|0.06} = \frac{(1.06)^5 - 1}{0.06} = 5.637093:
PR5=180005.637093=3193.14PR_5 = \frac{18000}{5.637093} = 3193.14

Answer (A).

Why the other choices are wrong:

Problem 21: Interest inside one payment

Riverstone borrows 500,000, repaid by 15 level payments at the end of each year at an annual effective rate of 6%6\%. Find the interest portion of the 6th payment.

  1. A28,746.93
  2. B30,000.00
  3. C22,734.45
  4. D21,009.63
  5. E24,361.63

Solution: P=500,000/a15‾∣0.06=51,481.38P = 500{,}000/a_{\overline{15}|0.06} = 51{,}481.38. Before payment 6, ten payments remain, so the interest is P(1−v10)=22,734.45P(1 - v^{10}) = 22{,}734.45. Answer (C).

Why the other choices are wrong:

Problem 22: A balloon payment

Riverstone borrows 300,000 at an annual effective rate of 5%5\%. It pays 30,000 at the end of each of years 1 to 9 and clears the loan with one payment at the end of year 10. Find that payment.

  1. A134,601.54
  2. B111,331.61
  3. C218,668.39
  4. D30,000.00
  5. E141,331.61

Solution: X=300,000(1.05)10−30,000 s9‾∣0.05(1.05)=141,331.61X = 300{,}000(1.05)^{10} - 30{,}000\,s_{\overline{9}|0.05}(1.05) = 141{,}331.61. Answer (E).

Why the other choices are wrong:

Problem 23: Refinancing part-way

A loan of 800,000 is repaid by 20 level year-end payments at 7%7\%. Just after the 5th payment, the balance is refinanced at 5.5%5.5\% over the remaining 15 years. Find the new payment.

  1. A75,514.34
  2. B68,520.31
  3. C79,700.48
  4. D57,552.81
  5. E65,793.57

Solution: P=800,000/a20‾∣0.07=75,514.34P = 800{,}000/a_{\overline{20}|0.07} = 75{,}514.34, so B5=P a15‾∣0.07=687,778.12B_5 = P\,a_{\overline{15}|0.07} = 687{,}778.12. The new payment is B5/a15‾∣0.055=68,520.31B_5/a_{\overline{15}|0.055} = 68{,}520.31. Answer (B).

Why the other choices are wrong:

9. Check it in code

python
def schedule(loan: float, i: float, n: int):
    """Rows of (year, interest, principal, balance) for a level-payment loan."""
    payment = loan * i / (1 - (1 + i) ** -n)
    balance, rows = loan, []
    for year in range(1, n + 1):
        interest = balance * i
        principal = payment - interest
        balance -= principal
        rows.append((year, round(interest, 2), round(principal, 2), round(max(balance, 0), 2)))
    return payment, rows

payment, rows = schedule(25000, 0.065, 6)
print(round(payment, 2))   # 5164.21
for row in rows:
    print(row)             # the table in Example 1.1

Extended Algorithmic Verification Suite

python
"""
Module 3: Loan Amortization & Sinking Fund Engine
"""

def generate_amortization_schedule(loan_amount: float, annual_rate: float, n_years: int):
    """
    Generates complete period-by-period amortization schedule.
    Verifies prospective == retrospective balance at every step.
    """
    v = 1.0 / (1.0 + annual_rate)
    a_n = (1.0 - v ** n_years) / annual_rate
    payment = loan_amount / a_n
    
    schedule = []
    balance = loan_amount
    total_interest = 0.0
    total_principal = 0.0
    
    for t in range(1, n_years + 1):
        interest_t = balance * annual_rate
        principal_t = payment - interest_t
        balance -= principal_t
        
        # Verify with prospective formula:
        rem_periods = n_years - t
        a_rem = (1.0 - v ** rem_periods) / annual_rate if rem_periods > 0 else 0.0
        bal_prospective = payment * a_rem
        assert abs(balance - bal_prospective) < 1e-7, f"Balance mismatch at t={t}"
        
        total_interest += interest_t
        total_principal += principal_t
        schedule.append({
            "period": t,
            "payment": payment,
            "interest": interest_t,
            "principal": principal_t,
            "balance": balance
        })
    
    assert abs(total_principal - loan_amount) < 1e-7, "Total principal repaid != loan amount"
    assert abs(total_interest - (n_years * payment - loan_amount)) < 1e-7, "Total interest mismatch"
    return schedule

if __name__ == "__main__":
    sched = generate_amortization_schedule(200000.0, 0.06, 20)
    print(f"Amortization schedule successfully generated for 20-year loan.")
    print(f"Period 1: Pmt={sched[0]['payment']:.2f}, Int={sched[0]['interest']:.2f}, Prin={sched[0]['principal']:.2f}, Bal={sched[0]['balance']:.2f}")
    print(f"Period 20: Pmt={sched[19]['payment']:.2f}, Int={sched[19]['interest']:.2f}, Prin={sched[19]['principal']:.2f}, Bal={sched[19]['balance']:.2f}")

Related Exam FM Free Study Guides & Syllabus

Continue studying the Exam FM syllabus, formula sheets, and practice bank with these free companion modules:

Ready to test this topic under exam pressure?

Practice worked questions with step-by-step solutions and distractor trap diagnostics.

Open Interactive Version →