Home     Wordpress     Codex

Pi Day Song

March 14th, 2010 by admin | No Comments | Filed in Math Art

Happy Pi Day!  Pi day occurs each year on (Surprise!) 3-14.

I found a great video on youtube where a violin player composed a song using pi to 220 decimals.  The description reads:

Composed for PI Day! Imagine being able to hear PI as musical notes! This is a violin solo composed by Steven Rochen, based on the numbers of PI to 220 decimal places. Numbers were converted to notes: 0 = rest, 1=A, 2=A#…(10, 11, 12 as found in the sequence were treated as one note)

Here is the video – enjoy!

  • Share/Bookmark

Tags: , , , , ,

The Binomial Theorem and Pascal’s Triangle

February 24th, 2010 by admin | No Comments | Filed in Math Patterns, Math Tricks, Pascal's Triangle

Back in grade school, I was first introduced to the Binomial Theorem.  The title alone was quite enough to intimidate me, let alone the seemingly impossible to understand equations involved with it.

I’ll not go into the mathematics of the binomial theorem here.  Instead, I’ll introduce you to math tricks which can be used instead.  First, let me refresh your mind on why we were taught the binomial theorem.  Remember when you were asked to expand the equation:

(x + y)2

If you recall, this equation can be expanded to the equivalent equation:

x2 + 2xy + y2

The binomial theorem will allow you to solve a higher order problem of the example above.  For instance, what is the expansion of the equation:

(x + y)5

Generally, an equation of this type can be expanded as:

binomial expansion

where c1, c2, … are the binomial coefficients in the expansion.   So given any n, you can determine the expansion without the coefficients.  Expanding our example above:

(x + y)5 = c1x5y0 + c2x4y1 + c3x3y2 + c4x2y3 + c5x1y4 + c6x0y5

So how do you determine the binomial coefficients?  You can determine the binomial coefficients individually using the equation:

binomial coefficients

for k=0 to k=n.  This works fine, but is a little bit cumbersome – especially for large values of n!  So what is the math trick to solve this quickly?

Before I can answer this, I have to introduce to you Pascal’s Triangle.  Pascal’s triangle is a mathematical progression which is determined by constructing a triangle with numbers using a very simple algorithm.  First, take a look at this example of Pascal’s triangle:

hexagonal pascal triangle

At the very top is row 0, which is simply a 1.  In row 1, there are two numbers, both 1s.  In row 2, there are three numbers: 1, 2, and 1.  Notice that the 2 in row two is the sum of the two numbers above it; this is how you determine the numbers in the triangle – simply add two side-by-side numbers to get the result below and between the numbers:

Animated Pascal TriangleConstruction of Pascal’s Triangle1

So how can you use Pascal’s triangle to find the binomial coefficients when you expand the equation (x + y)5?  First, notice that the equation is raised to the 5th power.  So now simply go to the 5th row of Pascal’s triangle (remember, the top row is row 0), and those numbers are the required coefficients:

1 5 10 10 5 1

And so,

(x + y)5 = x5y0 + 5x4y1 + 10x3y2 + 10x2y3 + 5x1y4 + x0y5

Quite a time saver!

1File by Hersfold, en.wikipedia.org/wiki/User:Hersfold

  • Share/Bookmark

Tags: , , , ,

Snow Days, The Koch Snowflake, and God

January 31st, 2010 by admin | No Comments | Filed in Fractals, Koch Snowflake

As a child, there was nothing like the first snowfall of the year.  It was a sign that the joyous upcoming holiday season was upon us.  Looking around at the growing accumulation, one would begin to anticipate snowball fights and sledding down white, glistening hills.  If you caught a snowflake on your tongue, the cold, crisp beauty of the event would precipitate within your soul.

Now consider the snowflakes themselves.  Their beautiful geometric patterns have fascinated us.  Taken individually, they seem to us lovely enough, but considering the innumerable variety of complex patterns, one is almost overwhelmed with this marvel of nature.

Snowflake patterns do form as a consequence of the physical properties of water, but this does not take away from our appreciation of the astonishing symmetry within them.  Indeed, one can come away with a feeling of the tight bond between mathematics and nature.  To many, a picture of a snowflake represents order within nature.   Simply by looking at a snowflake, you may be convinced that there is an underlying order in our universe.

Natural snowflakes can be imitated mathematically with fractal patterns.  Helge von Koch was a pioneer in fractal mathematics, and in 1904, he came up with a fractal pattern (the Koch snowflake) that resembled a snowflake:

The Koch Snowflake1

Constructing this fractal is an easy process.  You begin with an equilateral triangle.  For each side of the triangle, divide the side into thirds.  For the middle third, draw an equilateral triangle.  When complete, repeat this process for each triangle of your new construct.  This process is illustrated in the figure below:

Construction of the Koch Snowflake2

When properly considered, there is more to the intrinsic beauty within a natural snowflake or one constructed using fractal mathematics.  If you consider the Koch snowflake carefully, you will realize that there is much more to it than what you can see.  Indeed, if you analyze the Koch snowflake mathematically, you will even be able to glimpse of the handiwork of God!

Let me show you two mathematical properties of the Koch snowflake that, taken together, are really very remarkable philosophically.  First, what is the area of the Koch snowflake?  I will not derive the formula for you – I will just give it to you here for iteration k to n:

where s is the length of each side of the original equilateral triangle.

Now, as n approaches infinity, the area of the Koch snowflake becomes a finite value, and is equal to:

So what about the length of the perimeter of the Koch snowflake?  The length of the perimeter at iteration n is given by:

Now, as n approaches infinity, can you see what happens to the length?  Amazingly, the length of the perimeter of the Koch snowflake becomes infinite!  So the Koch snowflake is a mathematical object with finite area bounded by an infinite boundary – how awesome is that?!

There are many things I like to think about when I philosophize about the nature of the universe, and the mathematical properties of the Koch snowflake is one of them.  I like to think of the Koch snowflake as a metaphor for existence outside of our realm of perception.  We are all bounded by the limits of our lives, but is there something beyond our existence that we sometimes fail to see?  Look at the Koch snowflake, and you may see, evidence of intelligence, and what may be.

1Illustration by Wrtlprnft: commons.wikimedia.org/wiki/User:Wrtlprnft

2Illustration by Wxs: commons.wikimedia.org/wiki/User:Wxs

  • Share/Bookmark

Tags: , , , ,

One of the Oldest Math Tricks

January 17th, 2010 by admin | 4 Comments | Filed in Math Tricks

Many of you may have seen this one before – it is very old (I first saw this in grade school, which makes this example of math tricks ancient!).

Yes, it is the infamous 2=1 “proof”.  Here I present it to you as a graphic an also as a video set to Beethoven’s 5th (yea – it was raining yesterday so I had a lot of time on my hands!).

First, here is the graphic of the proof:

And now for the video proof:

So that is the proof.  Can you spot where the error is?

  • Share/Bookmark

Tags: , ,