The Pigpen Cipher in Latex

Recently my son and his friends have been enjoying sending secret messages back-and-forth using the pigpen cipher (also called the masonic cipher or Freemason’s cipher). It produces codes that look like: The pigpen cipher is a simple substitution cipher—there is a 1-1 correspondence between these special symbols and letters of the alphabet. The correspondence is…

Online LaTeX editors

For the last 10+ years I’ve taught topology using a modified Moore method, also known as inquiry-based learning (IBL). The students are given the skeleton of a textbook; then they must prove all the theorems and solve all of the problems. They are forbidden from looking at outside sources. The class types up their work as…

Ancient number systems in XeTeX

I am teaching a history of mathematics class this semester. We are beginning with a brief discussion of ancient number systems: Egyptian, Babylonian, Mayan, Chinese, Incan, Greek, Roman, and Hindu-Arabic. As I was writing up the first homework assignment it occured to me that I should investigate whether these numbers could be typeset using LaTeX. It…

Mathematics departments at liberal arts colleges

I’m often curious about how other mathematics departments do things—how they structure their curriculum, run the Putnam Exam, handle research projects, etc. This invariably leads to a lot of web searching. So I decided to put together a collection of links to mathematics departments at schools like mine (a small liberal arts college). Because I…

Plato’s approximation of pi?

Today I came across an assertion that Plato used as an approximation of . Indeed, it is not a bad approximation: (although it is not within Archimedes’s bounds: ). Not only had I not seen this approximation before, I had not heard of any value of attributed to Plato. I investigated a little further and…

Puzzler: a squarable region from Leonardo da Vinci

It is famously impossible to square the circle. That is, given a circle, it is impossible, using only a compass and straightedge, to construct a square having the same area as the circle. I will let you read elsewhere about the exact rules behind compass and straightedge constructions. The punchline is that if you begin…

Angle trisection using origami

It is well known that it is impossible to trisect an arbitrary angle using only a compass and straightedge. However, as we will see in this post, it is possible to trisect an angle using origami. The technique shown here dates back to the 1970s and is due to Hisashi Abe. Assume, as in the…

An interesting multivariable calculus example

Earlier this semester in my Multivariable Calculus course we were discussing the second derivative test. Recall the pesky condition that if is a critical point and , then the test fails. A student emailed me after class and asked the following question. Suppose a function has a critical point at and . Moreover, suppose that…

Parametric curve project for multivariable calculus

I’m teaching two sections of Multivariable Calculus this semester. Each class has 3 hours of lecture and a 1 hour 20 minute lab each week. Last week the students were learning about parametric equations. So in lab I wanted to give them some hands-on experience with 2-dimensional parametric curves. Their assignment was to create a…

Cantor set applet

I made this Cantor set applet for my Real Analysis class. It is nothing fancy, but it saves me from drawing it on the board.

Applet to illustrate the epsilon-delta definition of limit

Here’s a GeoGebra applet that I made for my Real Analysis class. It can be used to explore the definition of limit: Definition. The limit of as approaches is , or equivalently if for any there exists such that whenever , it follows that .

The danger of false positives

As I mentioned earlier, I’m teaching a first-year seminar this semester called “Science or Nonsense?” On Monday and Wednesday this week we discussed some math/stats/numeracy topics. We talked about the Sally Clark murder trial, the prosecutor’s fallacy, the use of DNA testing in law enforcement, Simpson’s paradox, the danger of false positives, and the 2009…