*a/k/a What does a regular 3.5-gon look like?*

Functions come in discrete and continuous families, which are something like the Montagues and the Capulets. Very little in common. Sometimes angry with each other.

Continuous functions tell you something about the real numbers. A function that converts from Fahrenheit to Celsius is continuous because it’ll tell you Celsius for any value of Fahrenheit, including decimals, rationals, irrationals, any real number.

Discrete functions, meanwhile, only tell you something about sets of numbers you can count — the whole numbers, for one example. The function that tells you what your tax credit is for the number of kids you have is discrete because it won’t give you a credit for your fractional 2.34 children.

Another discrete function is the one that takes the number of sides of a regular polygon and tells you the measure of one of its inner angles. A regular triangle has three sides and its inner angle is 60 degrees. A regular quadrilateral has four sides and its inner angle is 90 degrees. A regular pentagon has five sides and its inner angle is 108 degrees.

That’s a recipe for a regular pentagon right there. Draw a 108 degree angle between two segments with the same length.

Then draw another 108 degree angle on the last segment.

And another, and another, until the segments reconnect and you have a regular polygon with five sides.

We can write a table:

We can graph those values:

We can also write an equation:

That equation *perfectly* describes the discrete values in that graph. But the equation is stupid. It doesn’t know it’s *only* supposed to describe those discrete values. We can put in *other* values and, like a sucker, it’ll give us a number, even though it isn’t supposed to and even though that number won’t make any sense.

Like n = 3.5. A regular polygon with 3.5 sides? No such thing. But if we throw n = 3.5 into that function, it gives us the number 77.1 degrees.

Maybe that’s just gibberish, the result of pushing this function machine beyond its warranty. But maybe it isn’t.

What if we tried to draw a regular 3.5-gon in the same way we did the regular 5-gon up there?

We’d lay down a 77.1 degree angle.

Then another on top of that one.

Then another. And another. And another. And another. And one more. And we’re back where we started.

Blam. The regular 3.5-gon *exists*!

So different representations of functions (the table, the graph, the polygons, the equations) show and reveal different features of the function. Sometimes they reveal dirty, interesting secrets. The domain of the function — the part that says, “I only work with discrete numbers.” — is like a product warranty. But warranties were meant to be voided. Push your way *past* the warranty, hack away, find something interesting, and show it off.

**BTW**. One of you enterprising programmers should create the animation that runs through continuous values of n and shows the regular polygon with that many sides. That’d blow my mind. I can only do the *discrete* values.

**BTW**. Malcolm Swan demonstrated the 3.5-gon on the back of some scratch paper in the middle of a design session here in Nottingham. That kind of throwaway moment (often before tea, of course) has been a lot of fun these last two months.

**BTW**. But where is the 3.5 in that shape? Maybe you see how the number 3.5 turned into the number 77.1 and how the number 77.1 turned into that star shape. But where is the 3.5 in the star? I’ll hint at it in the comments but I’ll encourage you to think this through. (It may be helpful to see 3.5 as the rational number 7/2.)

**2013 Mar 28**. I love you guys. I fall asleep for a few hours and wake to find out it’s Christmas. Some interesting visualizations of rational regular polygons from Marc Garneau, Eric Berger, Stuart Price, and Josh Giesbrecht.

**2013 Mar 29**. More applets. One from Andrew Alexander and the other from Khan Academy.

**Featured Comments**

So, we can now draw a p/q-gon for any natural p,q. Does it allow us to run continuously through polygons? what about irrational number (so many of them between any two rationals…). To make it really continuous we need to have polygons for them as well. According to the above construction, I don’t thing that is possible because an irrational polygon will never meet its starting point (if it will, it will contradict its irrationality).

Matt:

The visual math discovered is cool, but what I’m really amazed by is the fact that the online math ecosystem allowed people to quickly create interactive visual demos in at least five different free, visual environments! Scratch, Desmos, Geogebra, Logo, and Sage. (JavaScript might be a sixth, though Andrew’s nice JavaScript demo wasn’t created within a visual tool, and KA’s JavaScript demo was pre-existing.)

Isn’t that just awesome?