4 ms·
One thing I don't see mentioned in TFA (I quickly skimmed it) is the relationship of the rule to continuous compounding. The article does say that it works bett
by names_are_hard 5y ago
One thing I don't see mentioned in TFA (I quickly skimmed it) is the relationship of the rule to continuous compounding. The article does say that it works better for "small R", after all - if interest rates where 100%, it should obviously take a year to double, not .72 years, right?
Well...no. Theoretically, if interest is 100% paid continuously throughout the year, you'll double your money in about .72 years. The issue is that we generally quote interest rates as annualized rates _after_ taking into account the compounding frequency (this is the difference between "APY" and "APR"), so the rule is usually applied to annualized rates, in which case it's correct to say that the error increases as the rates increase.
But suppose rates were actually quoted as the annual rate before compounding frequency is accounted for.
With monthly compounding, your return is
> (1 + r/12)^(12n)
where r is the annual rate and n is the number of years.
With weekly compounding, your return is
> (1 + r/52)^(52n)
Daily:
> (1 + r/365.25) ^ (365.25n)
More generally, if p is the number of interest periods in the year
> (1 + r/p) ^ pn
Taking the limit of p as it tends to infinity (ie "continuous compounding) it can be shown than the rate is
> e^rn
Some text books write this as "Pe^rt", where P is your starting principle and t is the number of years. Same same. Anyway...
To double your money, solve the following for n:
> e^rn = 2
> n = ln(2) / r
> n = ~.69 / r
Thus the rule of ln(2) is actually perfectly accurate if you're looking at an annual interest rate that is paid continuously, or close to it. Round ln(2) to 72 for simplicity and it's still pretty close. The big error bar comes from the lack of continuous compounding, which is what forces the hand-waving in the articles derivation ("for small R...").
P.S. Written off-the-cuff, it's been years since I looked at the math for this and I might be totally way off. This is not investment advice, this is hacker news and I'm positive some kind soul will correct my mistakes. After all, the best way to get correct information on the internet is to post something wrong on a forum of smart pedantics.
- nly 5y agoNothing in finance is really continuous though. Most banks will calculate interest daily. On a related note, I recently took the time to learn some financial Excel functions to create a Rent vs Buy spreadsheet. It's worth anyone who ever keeps track of their finances using a spreadsheet to learn the FV function: https://support.microsoft.com/en-us/office/fv-function-2eef9f44-a084-4c61-bdd8-4fe4bb1b71b3 https://support.microsoft.com/en-us/office/fv-function-2eef9... And the PMT function, which is useful for mortgage calculations: https://support.microsoft.com/en-us/office/pmt-function-0214da64-9a63-4996-bc20-214433fa6441 https://support.microsoft.com/en-us/office/pmt-function-0214...
- names_are_hard 5y agoYeah, you're right. I'm just talking about spherical chickens here. In real life, if your bank quotes you an APY they've already annualized it. I just think it's interesting to think about how in a perfect world, the rule is actually really good. Reality is just way less elegant than a classroom, unfortunately. So I should have been clearer that I'm not criticizing the article, just offering another perspective on the how and why the rule is imperfect, which the article acknowledges as well.
- kmill 5y agoThe article is taking the first-order approximation of the doubling equation for discrete compounding interest, and as it turns out this value does not change no matter the compounding frequency. For different compounding frequencies, the validity of the approximation is governed by how close r/p is to 0. As p goes to infinity, the approximation becomes arbitrarily good, converging to the continuous case.