Seeking Perfect Circle Challenges Illinois Tech鈥檚 AWM Chapter

Date

Author

By Casey Moffitt
Seeking Perfect Circle Challenges Illinois Tech鈥檚 AWM Chapter

We are introduced to the simple shape of a basic circle as children. However, determining who can come closest to drawing a perfect circle proved far from child鈥檚 play for a group of students in Illinois Institute of Technology鈥檚 chapter of the Association for Women in Mathematics.

The idea was simple: hold a contest to see who can come closest to drawing a perfect circle, in freehand, to celebrate Pi Day (March 14). Contestants would draw a circle on a tablet, and an app would be used to determine which circle was the closest to being perfect.

鈥淲e initially tried to Google it, and we didn鈥檛 really understand what we were looking for,鈥 says Rena Haswah (AMAT 4th year). 鈥淪o we didn鈥檛 find anything.鈥

鈥淚t seemed as though no one had written a numerical solver for eccentricity or circularity,鈥 says Victoria Belotti (AMAT 1st year). 

鈥淲e could find bits and pieces of the idea, but we couldn鈥檛 find the whole thing,鈥 Haswah says. 鈥淟uckily we have all these professors who can answer anything.鈥

鈥淲e would ask, 鈥楬ow would you measure how close a hand-drawn circle is to being a perfect circle?鈥 and the professors would give us a 10-to 20-minute explanation,鈥 Belotti says. 鈥淚t was great hearing the different approaches that professors from different areas of research had on the question.鈥

One professor wrote an entire document explaining different possibilities. Another professor suggested the students send the idea to the entire applied mathematics faculty as a contest. The students spent five weeks talking with professors in the applied math and computer science departments to find the most efficient method.

鈥淲e had only so much time to do it,鈥 says Michael Elnajami (CS 4th year). 鈥淚t had to be a relatively simple algorithm and not too computationally expensive, because we wanted to be able to get the results in that same day.鈥

A 鈥檅ot was built to read the freehand circles and apply an algorithm. Within two weeks, Haswah and Elnajami wrote an algorithm based on a circular regression model, in which points on a freehand circle would be compared to points on a programmed perfect circle. Belotti wrote an algorithm to determine the mean radius of a freehand circle, and then applied a standard deviation metric.

鈥淔rom the CS side we used a lot of reading-in image, importing libraries, and running the algorithm under the hood like magic,鈥 Haswah says. 鈥淥n the math side we used evaluating in a discrete or continuous-based way, statistics, computational math, and a little calculus.鈥

About 45 people participated in the contest at The McCormick Tribune Campus Center, where some flaws in the overall program were exposed. Smaller freehand circles tended to be closer to perfect as there are fewer points to read. Circles drawn more quickly were read more easily than circles drawn more slowly.

鈥淚 think we would do it a little differently next year,鈥 Haswah says. 鈥淲here people think Pi comes from is the ratio of circumference over diameter. We could get a supposed circumference over this supposed circle people are drawing, and then take the maximum distance as the diameter. If we take that ratio, it should be something close to 3.14.鈥