Thursday, March 29, 2012

modulo phyllo



These pictures show some number patterns in phyllotaxis spirals. The one labeled modulo 17 above has points whose index is a multiple of 7 (these are equivalent to 0 modulo 7) shown in black and all other points shown in gray.

These are related to the pictures in the last post, as when you look at primes, what you see are all the numbers that are left over when you have removed all the integers greater than 1 that are not divisible by another integer - or all the x's not congruent to zero modulo some other y.






Note: see this next post for coloring templates that you can use to make your own spirals.

Friday, March 23, 2012

phyllotaxis & primes

I was inspired to make some pictures of phyllotaxis with primes colored in by this post at Maxwell's Demon, which has not only nice pictures, but also explanations for why the primes appear to line up on certain curves. Like the spirals there, the ones in these pictures are not numbered in the "naturally" occurring way - in a phyllotaxis spiral that occurs in nature (as in a sunflower or pine-cone) the outer dots/seeds grow first and are pushed out by the younger seeds that emerge from the center.

It is a lot easier to simulate a phyllotaxis spiral as a function of the radius (described here) rather than modeling the pushing-out from the center that happens in plants (a good description of this is found in The Book of Numbers by Conway and Guy).

Drawing number spirals with primes on them is some sort of recreational mathematics meme - the ulam spiral is the most famous, they are also drawn on quadratic spirals and others.



Wednesday, March 21, 2012

another way to draw simple labyrinths

A while back there was a post that mentioned one way to draw labyrinths (via the method pictured above).

Here's another way. For this second method, you can use some square graph paper, and start with drawing an axis that has two units in each direction (you might call these 4 radial spokes).


From the end of each axis you draw a path as pictured below, extending the end of each axis in an alternating fashion.


If you want, you can finish off the labyrinth by extending the path you drew in step 4 down to the bottom of the grid (step 5).

Once you see the alternating pattern for extending the end of each axis, you can try without the grid, and might find that the free-hand version looks nicer.


If you wanted to extend this process to make larger labyrinths, you would need to start with more radial spokes (this example used four radial spokes - can you do it with three, or with five?).

If you'd like to have a labyrinth that brings you back to the beginning, instead of leaving you stranded in the middle, you can draw a curve through center of the labyrinth's path - you go in on one side of this new curve, and out on the other.

Saturday, March 17, 2012

origami envelope redux

A while ago I posted about how the traditional origami envelope could make a good object for simple math investigations. You can find instructions for the envelope on Origami USA's website. Like I mentioned, there are a lot of nice aspects to the envelope, such as the shapes in its crease pattern and its rotational symmetry.  One thing to look at is the relationship between the size of the envelope and the paper you start with.  It turns out that there is a nice relationship between the interior rectangle in the crease pattern and original paper (the area of the front/back of the envelope is just this rectangle with two of its corners trimmed off).

If you assume that the sides of the original paper are of length a and b, with a greater than b, you can begin to work your way towards finding out the dimensions of the resulting rectangle by following along with the folds, and using the Pythagorean theorem (actually, you just need a very special case of Pythagoras - for triangles with 45 degree angles)


Following the folds, subtracting and adding from some lengths what you deduce from other folds leads to some slightly intimidating looking expressions.



Thankfully, these simplify down to what I found to be a surprising result. The interior rectangle has an area equal to one quarter the area of the original rectangle. More surprising to me was that each side of the smaller rectangle depended only on one of the sides of the original - the longer side of the interior rectangle is 1/sqrt(2) of the shorter original side, and the shorter side of the interior rectangle is 1/(2sqrt(2)) of the longer original. 


I'm sure there are probably easier ways to see this relationship. If you construct it in GSP or other dynamic geometry package you can experiment easily with increasing the side lengths.




Wednesday, March 7, 2012

prisoner's dilemma


"The essence of mathematics resides in its freedom."
- Georg Cantor 

In a recent article in Prospect magazine, David McConnell writes of his experience teaching basic mathematics to prison inmates. He explains,  "I once decided to teach maths to prisoners. Surprisingly, many of them embraced prison discipline to study for the General Educational Development (GED) test...." Like his students, McConnell's own learning path wasn't a direct one:

I’d re-learned maths myself as a kind of tourist or traveller. Instead of the disconnected and seemingly arbitrary techniques I’d studied in the odd moments between recess and leaf collecting and dinosaur books, I found maths a unified country, sober and dazzling, when I returned to it as an adult.

Both in his return to math as an adult, and in his reflections on math's appeal for those that have lost their freedom, McConnell's piece reminded me of an article about Wole Soyinka written by Anushree Majumdar in the Indian Express a couple of years ago:

As a school student, Nigerian author Wole Soyinka loathed mathematics... Little did the Nobel Laureate know at the time, that mathematics would save him from losing his mind, during his imprisonment in 1997. “When I was imprisoned, I was thrown into solitary confinement. I had been placed under trial but it was a barren existence. I invented games in my head. I began doing mathematics again. I’d scratch on the floor of the cell with a stone, working  out permutations and combinations, using different formulae. Hours would pass  but it nearly drove me crazy too ... I had to create an interior life to survive”

A literary example of using mathematics as a means of hanging on to sanity (unsuccessfully) under imprisonment (and torture) is found in George Orwell's 1984. In 1984, Winston Smith clings to the one truth that he feels cannot be unmade, that 2 + 2 = 4.

Against this narrative of mathematics as liberation or resistance stands another that sees the rigor and certainty of math as an oppressive force. As Dostoyevsky's underground man says: " twice two makes five is sometimes a very charming thing too." (See the Wikipedia article on 2+2=5 for more - and also this.)