Loan financing algebra question

jelrod45
Messages
4
Reaction score
0
Hey guys. Thanks for reading. I haven't done any regular algebra in a long time and feel like I am just too rusty to see something that I should be seeing. I am weighing the option of buying a house vs. renting for a year and then buying (giving me a larger down payment and a better apr on the loan).

The formula for the monthly payment for a fixed-rate house loan is given by:

(pr)/(1-(1+r)^(-n))
where p is the initial amount borrowed,
r is the monthly interest rate (apr/12)
and n is the number of payments for the loan.

What I am doing is setting the payment for a loan that I could get with apr 3.5% with a higher mortgage insurance equal to the payment for a loan with lower mortgage insurance and an undetermined value for r. Solving for r will give me the apr for the loan type with lower insurance that will result in the same amount of total payment in the long run. I am having trouble factoring r completely out of the right side of the equation to get the necessary apr. Any help is greatly appreciated!

This is the equation I have set up.

[ (p(.035/12)) / (1 - (1+.035/12)^(-360)) + 81 ] = [ (pr)/(1 - (1+r)^(-360)) ]

The trailing constant in the left term is the difference in monthly payment due to the increased mortgage insurance.

I am going to write a computer program to solve this for me, so that I can compare different total costs of houses based on the loans I qualify for rather than just comparing the market value of the property, which is why I am trying to solve for r in the general form.
 
Mathematics news on Phys.org
You cannot do this by rearranging the equation, you need to solve for r iteratively.

This functionality is built into modern spreadsheets (e.g. Excel's RATE function) which would be a better way to answer your underlying question than writing a program.
 
Oh ok. Cool. I didn't know there was a RATE function in excel. I knew about PMT, but didn't know they had others. So I could have some values that are inputs to the PMT function, and use the result of that in a RATE function to get the APR of the loan where the total payment for the entire loan would be equal, right?

Thanks for your help!
 
jelrod45 said:
Oh ok. Cool. I didn't know there was a RATE function in excel. I knew about PMT, but didn't know they had others. So I could have some values that are inputs to the PMT function, and use the result of that in a RATE function to get the APR of the loan where the total payment for the entire loan would be equal, right?

Thanks for your help!

Exactly that. Note also that to convert APR to a monthly rate you need to use the following formula: 1 + imonthly = (1 + iAPR)1/12. The formula you have used converts an annual rate of interest applied monthly, which is not the same as an APR.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top