I Formula for credit card balance as a function of payments

AI Thread Summary
The discussion focuses on finding a formula to calculate the time required to pay off credit card debt based on monthly payments and interest rates. The basic formula for an annuity is referenced, where the present value (PV) represents the loan balance, P is the monthly payment, r is the interest rate, and n is the number of periods. To determine n, the formula n = log(P / (P - rPV)) / log(1 + r) is suggested, although it may require iteration for practical use. The complexity increases when solving for the interest rate r, especially for higher-order polynomials. Understanding these calculations is essential for effective debt management.
barryj
Messages
856
Reaction score
51
I have been trying to find the financial formula that will give the balance of a credit card debt as a function of time. Example, at 18% interest, if I pay $150 a month how long will it take me to pay off my debt. When I google, I get pointers to Excello functions. I want to know the exact formula.
 
Mathematics news on Phys.org
It all comes from the basic formula for an annuity

annuity_formula.svg

In your case the PV is the loan balance, P the payment, r the rate and n the number of periods - so you need to solve for n, so it’s easier to just iterate
 
BWV said:
It all comes from the basic formula for an annuity

annuity_formula.svg

In your case the PV is the loan balance, P the payment, r the rate and n the number of periods - so you need to solve for n, so it’s easier to just iterate

Taking logs is hardly difficult. <br /> n = \left.\log\left( \frac{P}{P - rPV}\right)\right/ \log(1 + r). Having made \lfloor n \rfloor payments, you will have one further payment of less than P to make.

Solving for r is the difficult one, as this is a polynomial of order n + 1 which cannot be solved analytically for n \geq 4 (although r = 0 is always a solution).
 
Last edited:
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Back
Top