Derivative of the compound interest equation

In summary, the conversation discusses the calculation of interest using the formula $ = P(1 + I/x)^x, where P is the borrowed amount, I is the annualized interest rate, and x is the number of compound periods in a year. The conversation also explores the limits of this equation and the implications of more frequent compounding periods. The speaker also mentions the use of logarithms and the chain rule to differentiate the equation. Overall, the conversation aims to clarify the concept of compounding periods and their effects on interest rates.
  • #1
ShawnD
Science Advisor
718
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
  • #2
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
[tex]
\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)
[/tex]
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:
  • #3
Awesome, thanks!
 

FAQ: Derivative of the compound interest equation

What is the compound interest equation and why is it important?

The compound interest equation is a mathematical formula used to calculate the total amount of interest earned on an investment over time. It is important because it allows us to understand and predict how our investments will grow over time.

What is the derivative of the compound interest equation and how is it calculated?

The derivative of the compound interest equation is the rate at which the total amount of interest changes with respect to time. It is calculated by taking the limit as the time interval approaches zero.

Why is the derivative of the compound interest equation useful?

The derivative of the compound interest equation is useful because it allows us to understand how changes in time affect the growth of our investments. It also helps us to optimize our investments by determining the most beneficial time periods for compounding.

What factors can affect the derivative of the compound interest equation?

The derivative of the compound interest equation can be affected by various factors such as the interest rate, the compounding period, and the initial investment amount. These factors can impact the rate of growth and the total amount of interest earned.

How can the derivative of the compound interest equation be applied in real-life situations?

The derivative of the compound interest equation can be applied in various real-life situations, such as calculating the growth of investments, understanding the impact of different compounding periods, and determining the best time to make withdrawals from an investment account.

Back
Top