You are currently browsing the tag archive for the 'math' tag.

I realize that it may seem that most of my waking thoughts are concerned with numbers and equations.  While this is true for my desire to understand and explain everything around me, I do enjoy many other things other than making spreadsheets and coming up with equations.  Included in my many other passions is writing and reading poetry.  This blog will be about one of my favorite poems – “La Tierra Giro para Acercarnos” – or “The Earth Turned to Bring Us Closer”.  It was written by Eugenio Montejo, and was even mentioned in the movie “21 Grams.”  Here it is:

The earth turned to bring us closer,
it spun on itself and within us,
and finally joined us together in this dream
as written in the Symposium.
Nights passed by, snowfalls and solstices;
time passed in minutes and millennia.
An ox cart that was on its way to Nineveh
arrived in Nebraska.
A rooster was singing some distance from the world,
in one of the thousand pre–lives of our fathers.
The earth was spinning with its music
carrying us on board;
it didn’t stop turning a single moment
as if so much love, so much that’s miraculous
was only an adagio written long ago
in the Symposium’s score.

Now, my interpretation of this poem has to do with (as always) the mathematical side of this, and it has always been why this poem has stuck in my mind over the years.  I see it being written about someone who has found the love of their life – suggested by “The earth was spinning with its music carrying us on board.”  He or she is looking back in amazement and the infinitely many things that had to happen in a certain way for their love to be realized suggested by “An ox cart that was on its way to Nineveh arrived in Nebraska” and “A rooster was singing some distance from the world, in one of the thousand pre–lives of our fathers.“  It is almost that the these future events had to have been written a long time ago to ensure such a beautiful outcome - “as if so much love, so much that’s miraculous was only an adagio written long ago in the Symposium’s score.”

But the mathematical side that really makes this special to me is that I realize that so many events had to happen in just the right way to allow me and my future wife to meet and fall in love.  If you really consider how many variables would have to be exactly right to ensure that I would meet this girl at the right time in history, it is truly mind boggling.  Now consider the amount of wars, famines, large disasters, small accidents that must have happened over the course of the last couple thousand of years.  They all had to occur with the proper outcome in order for her and I to be born at the proper times and places and to then meet at sometime in the future.  I love that thought, and therefore this poem.  Let me know your thoughts.  CD

Yesterday we came up with a formula that helps us find the Annual Percentage Yield based on the interest rate a bank offers. Today we are going to check this formula and see if we can test how this applies to real, everyday life.

First,we will check the current interest rate for a popular online savings institution – INGDirect (www.ingdirect.com) – to see if our formula works. They show the interest rate at 3.590% and the APY at 3.650%.

Second, we can check to see how much $10,000 will grow to at a 5% interest rate over 40 years compounding each month.

Finally, we will check to see which earns more money: $10,000 at 8% for 9 years, or $10,000 at 9% for 8 years?


For the first problem, lets organize our variables:

I = 3.590% (or .0359) This is our INTEREST RATE. (Note: This comes from the information in the problem.)

P = 1 month This is our PERIOD. (Note: The interest compounds monthly, so the period has to be one month.)

N = 12 This is the NUMBER OF PERIODS. (Note: The number of periods is 12 because there are 12 months/periods in a year and we and to check the Annual Percentage Yield.)

Ok, let’s take our equation from yesterday (1+(I/P))^N and plug the variables in:

(1+(.0359/12))^12 Simplify – Division.

(1+(.002992))^12 Simplify – Addition.

(1.002992)^12 Now we will need a calculator. After plugging it in our solution is:

1.036500769 Rounding gives us 1.03650 or 103.650% of our original investment after 1 year of compounding interest at 3.59%

That makes the Annual Percentage Yield 3.650%! The formula checks out!

For the second problem, lets start again by organizing our variables:

I = 5% (or .05)

P = 1 month

N = 480 (Note: We want to find the yield for 40 years. 40 years * 12 months (or periods) = 480 months (or periods). It is just like finding the APY for 1 year, but we are finding a similar percentage for 40 years and we will multiply this percentage by the Initial Principle.

$ = 10,000 (This is our initial principle.)

So we will use the formula from the problem above again, but since we want to find the dollar amount after 40 years, we need to multiply by the initial principle after we find the yield for 40 years. It will look like this: $ * (1 + (I/P)^N)) Let’s plug in the variables:

10000 * (1 + (.050/12)) ^ 480 Simplify – Division.

10000 * (1 + (.004166666)) ^ 480 Simplify – Addition.

10000 * (1.004166666) ^ 480 Use a calculator to figure out 1.0041666 ^ 480.

10000 * 7.358417 Multiply.

$73,584.17 – You will have 73,584.17 after 40 years.

For the last problem, lets organize the variables for the first part:

I = 8% (or .08)

P = 1 month

N = 108 (9 years * 12 months = 108 months)

$ = 10,000

Lets plug these variables into our formula:

10000 * (1 + (.08/12)) ^ 108 Simplify – Division.

10000 * (1 + (.00666666)) ^ 108 Simplify – Addition.

10000 * (1.00666666)) ^ 108 Use a calculator to figure out 1.00666666 ^ 108.

10000 * 2.04953026 Multiply.

$20,495.30 for the first part.

Now, lets organize the variables for the second part:

I = 9% (or .09)

P = 1 month

N = 96 (8 years * 12 months = 96 months)

$ = 10,000

Lets plug these variables into our formula:

10000 * (1 + (.09/12)) ^ 96 Simplify – Division.

10000 * (1 + (.0075)) ^ 96 Simplify – Addition.

10000 * (1.0075)) ^ 96 Use a calculator to figure out 1.0075 ^ 96.

10000 * 2.048922128 Multiply.

$20,489.22 for the second part.

So, the two totals are relatively close. The 8% for 9 years is $6.08 higher. There are two things to note based on this last problem. Time is the biggest factor in compounding interest. The longer that money is invested, the higher the return will be. For all of you people putting off investments, this equation proves that the earlier you get your money in, the better. It also shows the importance of shopping around (or choosing your investment wisely) in order to ensure the best rate possible. For example, you can make up for lost time by choosing an investment vehicle that has a high return. But there are many, many, many more factors that are involved in managing a portfolio – risk, target dates, goals, etc. This sort of math would just help compare one single facet of investing (time vs. rate) – and thats only practical for investments like savings accounts or Certificates of Deposit, where rates fluctuate much less. I am far from an expert on investing, but I just thought I would point out these trends.

The second thing to note is that we started with $10,000 and ended with more than $20,000. Both investments more than doubled over this time at these rates. I chose 8% for 9 years, and 9% for 8 years for a reason…because tomorrow we will explore The Rule of 72, as it applies to investing money. I hope these examples help explain the formula from yesterday, and that it takes some of the mystery out of how much money the bank gives every month for keeping your principle there. CD

Well, I am back! I was out of the country for a while and catching up on work for the other part, but I am hopefully back to writing three times a week or more. I figured a good place to start anew would be an interest of mine: interest – compound interest to be precise.

Today we will explore the difference and connection between an annual percentage yield a bank advertises and the interest rate that adds to your account every month. These two terms apply to your checking accounts, savings accounts, certificates of deposit, almost all investment products that banks offer.

When you sign up for a savings account, you are allowing the bank to hold your money for a period of time in exchange for an extra percentage of money over that period of time. This percentage is your interest rate. The banks usually give you an interest payment every month (they call it a period – you will see why later.) They calculate this by taking the interest rate and dividing it by 12 (because there are 12 months – or periods – in a year) and multiplying it by the amount of money in the account or the principle. This gives you your interest payment for the month. This happens quite the same next month, but the amount of money in your account is higher – because of last month’s interest payment. In addition to the interest on your initial principle, you are now earning interest on the interest you earned last month. This concept is what is known as compounding interest. Your money is now working hard to earn you more money. Over the course of a year, you earn interest on your interest (in addition to the interest on your initial principle) over and over again as the months go by. The annual percentage yield is the percentage your principle has increased over the course of one year compared to the initial principle.We are going to figure out what the annual percentage yield would be for a 10% Interest Rate.We need to organize our variables first:

Interest Rate (I) = 10.00% per year

Period (P) = 1 month

Number of Periods (N)= 12 (12 months in a year)

Principle ($) = Does not matter right now…we will just use $ as a placeholder.

Annual Percentage Yield (APY) = ???

This math may look daunting if you scan though it, but if you take it step by step, it will make sense.

OK. Let’s start by figuring out the first month. It will look something like this:

We start with the initial principle: $ At the end of the month the bank will give you interest (I) on this money, but they won’t give you 10%, because it is 10% per year. Instead they will divide 10% by 12 (because there is 12 months or periods (P) in a year.) They will then take that monthly interest percentage and multiply it by your principle. So our equation will look like this:

$ + $*(10%/12) = New1$ (New Principle after 1 month/period) Or with only variables from above, it will look like this:

$ + $(I/P) = New1$ We can factor out the principle ($)

$ * (1 + (I/P)) = New1$

Next month/period it will look like this because our $ after this month now equals $*(1 + (I/P)):

New1$ * (1 + (I/P)) = New2$ (New Principle after 2 months). But since we know what New1$ equals, let’s substitute it in and simplify:

[$ * (1 + (I/P))] * (1 + (I/P)) = New2$ Simplify.

$ * (1 + (I/P))^2 = New2$. (^2 means squared or to the power of 2)

The next month will look almost the same:

New2$ * (1 + (I/P)) = New3$ (New Principle after 3 months). Since we know what New2$ equals, let’s substitute it in and simplify:

[$ * (1 + (I/P))^2] * (1 + (I/P)) = New3$ Simplify.

$ * (1 + (I/P))^3 = New3$. (^3 means cubed or to the power of 3)

We can see a pattern:The (1 + (I/P)) part is raised to the power of the number of periods that you wish to calculate: $ * (1 + (I/P))^N This is our formula! The best thing about this formula is that it is a simple formula for complex mathematics. The initial principle stays the same from beginning to end and only the percentage changes over N periods. (1 + (I/P))^N will give you the yield for any number of periods you desire. If we want to see the rate for 12 months or periods we need to raise it to the power of 12. We started out trying to find the annual percentage yield for 10%. Lets give it a shot:

Since 10% = .10,$ * (1 + (.10/12))^12 We need a calculator for this. .10/12 = .008333. So:

$ * (1 + .008333)^12 or:

$ * (1.008333)^12

Using a calculator we see that 1.008333^12 = 1.10471.

So we would have $ * 1.10471, or an increase of $ * .10471 over our original principle.

This means that we have now 110.471% of the money we had initially, thereby making our Annual Percentage Yield 10.471%!

In other words, an interest rate of 10% earns you 10.471% over the course of one year employing the compound interest.

Thanks for stopping by again after my short hiatus. Next time, we will test this formula to ensure it’s accuracy, and we will use this equation to calculate how a given principle will grow over a certain number of periods with a certain interest rate. If anything was unclear about today’s long post, then hopefully the next post will clear it up. CD