Derivative of the compound interest equation

Click For Summary
SUMMARY

The discussion centers on the derivative of the compound interest equation, specifically the formula $ = P(1 + I/x)^x, where P is the principal, I is the annualized interest rate, and x is the number of compounding periods per year. The simplified form Y = (1 + 1/x)^x reveals that as x approaches infinity, Y approaches e, indicating that more frequent compounding results in higher interest accumulation. The derivative dy/dx is derived using logarithmic differentiation, leading to the conclusion that the slope is always negative, which contradicts the expected positive growth of interest with increased compounding frequency.

PREREQUISITES
  • Understanding of compound interest formulas
  • Familiarity with calculus, specifically differentiation
  • Knowledge of logarithmic functions and their properties
  • Basic financial literacy regarding interest rates and compounding
NEXT STEPS
  • Study the application of logarithmic differentiation in calculus
  • Explore the implications of compounding frequency on financial products
  • Learn about the mathematical constant e and its significance in finance
  • Investigate the limits and behavior of functions as variables approach infinity
USEFUL FOR

Mathematicians, finance professionals, students studying calculus, and anyone interested in the effects of compounding interest on loans and investments.

ShawnD
Science Advisor
Messages
715
Reaction score
2
I'm trying to prove a point to someone about compounding periods and mortgage payments. Interest is calculated as $ = P(1 + I/x)^x where P is how much you borrowed, I is "annualized" interest rate and x is how many compound periods are in a year. For example, a credit card at 20% compounded monthly would be $ = P(1 + 0.2/12)^12

If you strip out the garbage, you're left with Y = (1 + 1/x)^x
The real life limits of this equation are Y = 1 when X = 0 (no interest accumulates when there's no compounding period) and Y = e when X = a big number. If you graph it from X=0 to X=999 you'll see that the slope is always positive. In real terms, that means the bank screws you more if the money compounds more often, and this is always true. There's no point where more frequent compound periods means less interest.

I can rewrite that above equation as Y = (1 + x^-1)^x to make this easier.
dy/dx = (x)(-x^-2)(1 + x^-1)^(x-1)
dy/dx = -(1/x)(1 +x^-1)^(x-1)

This dy/dx slope, which is apparently correct based on several google search results, says the slope is always negative. What went wrong? The result I'm anticipating is a slope graph that shows large positive changes at the start and the chages get smaller and smaller. In real terms that means the interest rate grows the most for the first jumps in frequency, then the jumps after that are smaller - going from 1 compound yearly to 12 monthly is a huge change but going from 12 monthly to 365 daily is a fairly small change.
 
Physics news on Phys.org
The power rule does not apply when the power is a function of the independent variable. Instead, you can rearrange the equation until each side is a function you can differentiate and then apply the chain rule when differentiating y with respect to x. When we have a function of x as a power, it is common to take the logarithm of both sides to make use of the power law for simplifying logarithms: If y = (1 + 1/x)^x, then ln y = x ln(1 + 1/x) when x > -1 where ln is the natural logarithm with base e. We use this base only because its derivative is very simple. Taking the derivative of both sides with respect to x, we get
<br /> \frac{1}{y}\frac{dy}{dx} = 1 \cdot \ln\left(1 + \frac{1}{x}\right) + x \cdot \frac{1}{1 + \frac{1}{x}} \cdot \left(-\frac{1}{x^2}\right)<br />
You can then solve for dy/dx, and replace y with the function of x that it represents to get dy/dx in terms of x only.
 
Last edited:
Awesome, thanks!
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K