Compound interest as a recurrence relation
Learn how compound interest works in Year 12 General Mathematics for Queensland (QCAA). Whether it is a term deposit at a Brisbane bank or a credit card balance that is never paid off, interest is added to the balance each period and then earns interest of its own, so money grows faster and faster the longer it is left.
You will turn an annual rate into a rate per period, write the recurrence \(A_{n+1} = rA_n\) with a starting value, and generate the value period by period in a table. You will work out interest earned or charged, compare rates and find when a savings goal is first reached, ready for the rule that jumps straight to any period.
Theory
With compound interest, interest is added to the balance each period and then earns interest itself. This Year 12 General Mathematics guide for Queensland students shows how to model an investment or a loan with the recurrence relation \(A_{n+1} = rA_n\), \(A_0 = P\), where \(r = 1 + i\), find the rate per period for any compounding frequency, build a table of values and work out the interest earned or charged.
With compound interest, the interest earned in each period is added to the balance, and the next period's interest is worked out on that bigger balance. So the money earns interest on its interest. A loan with no repayments grows in exactly the same way: interest is charged on the balance owing, including the interest already charged.
Let \(A_0 = P\) be the principal (the amount invested or borrowed at the start) and \(A_n\) the value after \(n\) compounding periods. If \(i\) is the interest rate per period as a decimal, one period of interest multiplies the value by \(r = 1 + i\). The rate per period is the annual rate divided by the number of periods in a year: \(1\) (annually), \(2\) (six-monthly), \(4\) (quarterly), \(12\) (monthly), \(52\) (weekly) or \(365\) (daily).
Writing this as a recurrence relation, \(A_{n+1} = rA_n\) with \(A_0 = P\), lets you generate the value one period at a time. The values \(A_0, A_1, A_2, \ldots\) form a geometric sequence with common ratio \(r\).
The interest rate per compounding period, and the multiplier for one period:
The compound interest recurrence relation, with its starting value:
Interest for one period, and the total interest after \(n\) periods:
How to model compound interest with a recurrence relation
- Find \(i\). Divide the annual rate by the number of compounding periods in a year and write it as a decimal. For \(6\%\) p.a. compounded monthly, \(i = 0.06 \div 12 = 0.005\).
- Find \(r\). \(r = 1 + i\), for example \(r = 1.005\).
- Write the recurrence. \(A_{n+1} = rA_n\) with \(A_0\) equal to the principal, and say what \(A_n\) means and how long one period is.
- Generate values. Multiply by \(r\) once for each period, keeping the unrounded value. A table of value at the start, interest and value at the end works well.
- Answer the question. Round money to the nearest cent. Interest earned or charged is \(A_n - A_0\). To find when a target is first passed, keep listing values.
(i) Quarterly means \(4\) periods a year.
| \(i\) | \(=\) | \(0.066 \div 4\) |
| \(i\) | \(=\) | \(0.0165\) |
| \(r\) | \(=\) | \(1 + 0.0165\) |
| \(r\) | \(=\) | \(1.0165\) |
(ii) \(A_{n+1} = 1.0165A_n,\; A_0 = 4500\).
(iii)
| \(A_{1}\) | \(=\) | \(1.0165 \times 4500\) |
| \(A_{1}\) | \(=\) | \(4574.25\) |
| \(A_{2}\) | \(=\) | \(1.0165 \times 4574.25\) |
| \(A_{2}\) | \(=\) | \(4649.7251\ldots\) |
| \(A_{2}\) | \(\approx\) | \(4649.73\) |
After \(2\) quarters the investment is worth \(\$4649.73\).
Six-monthly: \(i = 0.043 \div 2 = 0.0215\) and \(r = 1.0215\), so \(A_{n+1} = 1.0215A_n,\; A_0 = 12~000\). Each period, interest \(= 0.0215 \times\) value at the start.
| Period | Value at start (\(\$\)) | Interest (\(\$\)) | Value at end (\(\$\)) |
|---|---|---|---|
| \(1\) | \(12~000.00\) | \(258.00\) | \(12~258.00\) |
| \(2\) | \(12~258.00\) | \(263.55\) | \(12~521.55\) |
| \(3\) | \(12~521.55\) | \(269.21\) | \(12~790.76\) |
| \(4\) | \(12~790.76\) | \(275.00\) | \(13~065.76\) |
| \(\text{interest}\) | \(=\) | \(A_4 - A_0\) |
| \(\text{interest}\) | \(=\) | \(13~065.76 - 12~000\) |
| \(\text{interest}\) | \(=\) | \(1065.76\) |
After \(2\) years the deposit is worth \(\$13~065.76\), so the interest earned is \(\$1065.76\). The interest grows each period because it is worked out on a bigger value each time.
(i) \(A_0 = 16~000\), so \(\$16~000\) was borrowed. \(r = 1.0075\) gives \(i = 0.0075 = 0.75\%\) per month.
| \(\text{annual rate}\) | \(=\) | \(12 \times 0.75\%\) |
| \(\text{annual rate}\) | \(=\) | \(9\%\ \text{p.a.}\) |
(ii)
| \(A_{1}\) | \(=\) | \(1.0075 \times 16~000\) |
| \(A_{1}\) | \(=\) | \(16~120\) |
| \(A_{2}\) | \(=\) | \(1.0075 \times 16~120\) |
| \(A_{2}\) | \(=\) | \(16~240.9\) |
| \(A_{3}\) | \(=\) | \(1.0075 \times 16~240.9\) |
| \(A_{3}\) | \(=\) | \(16~362.7068\ldots\) |
| \(A_{3}\) | \(\approx\) | \(16~362.71\) |
| \(\text{interest}\) | \(=\) | \(16~362.71 - 16~000\) |
| \(\text{interest}\) | \(=\) | \(362.71\) |
After \(3\) months Jayden owes \(\$16~362.71\), so \(\$362.71\) of interest has been charged.
The recurrence is \(A_{n+1} = 1.06A_n,\; A_0 = 7500\). List the values one year at a time.
| \(A_{1}\) | \(=\) | \(1.06 \times 7500\) |
| \(A_{1}\) | \(=\) | \(7950\) |
| \(A_{2}\) | \(=\) | \(1.06 \times 7950\) |
| \(A_{2}\) | \(=\) | \(8427\) |
| \(A_{3}\) | \(=\) | \(1.06 \times 8427\) |
| \(A_{3}\) | \(=\) | \(8932.62\) |
| \(A_{4}\) | \(=\) | \(1.06 \times 8932.62\) |
| \(A_{4}\) | \(=\) | \(9468.5772\) |
| \(A_{5}\) | \(=\) | \(1.06 \times 9468.5772\) |
| \(A_{5}\) | \(=\) | \(10~036.6918\ldots\) |
| \(A_{5}\) | \(\approx\) | \(10~036.69\) |
\(A_4 \approx \$9468.58\) is still below the goal, but \(A_5 \approx \$10~036.69\) is above it. The investment is first worth more than \(\$10~000\) after \(5\) years.
Common pitfalls
Frequently asked questions
What is compound interest?
Compound interest is interest that is added to the balance at the end of each period, so the next period's interest is worked out on the bigger balance. Over time you earn interest on your interest, and the balance grows faster each period.
What is the recurrence relation for compound interest?
It is A(n+1) = rA(n) with A(0) = P, where P is the principal, A(n) is the value after n compounding periods and r = 1 + i. The rate i is the interest rate per period, written as a decimal.
How do you find r for interest compounded monthly?
Divide the annual rate by 12 and add 1. For 4.8% p.a. compounded monthly, i = 0.048 / 12 = 0.004, so r = 1.004 and the recurrence is A(n+1) = 1.004A(n).
How do you work out the interest earned?
Subtract the starting value from the final value: interest = A(n) - A(0). The interest for a single period is i times the value at the start of that period.
Is a loan with no repayments modelled the same way?
Yes. Without repayments, interest is charged on the balance owing each period, so the balance owing follows A(n+1) = rA(n), with A(0) equal to the amount borrowed. It grows just like an investment.
Why is compound interest a geometric sequence?
Each value is the one before multiplied by the same number r, which is how a geometric sequence works. Because r is greater than 1, the values show exponential growth.