Posts in Category: Math

You never know when someone will do something cool with your open-source project

So, a little bit of backstory: about 5 years ago, I became very interested in triangle centers for a while, because I thought they were going to solve my problems with the square-peg theorem (they didn’t). Triangle centers are various special points that you can define for a triangle in the plane: say, the center of the inscribed circle, or of the circumscribed circle, or the point where the medians meet. These points are generally all the same for the equilateral triangle, but for an arbitrary triangle they can be quite different. And there are tons of beautiful relations between different centers.

Trigonometric_centresThis picture, from Wikipedia, shows five different centers for an example triangle: notice that four of them are on a straight line.¬†I wanted to run some experiments with them, so I found the coordinates at the comprehensive Encyclopedia of Triangle Centers page. Since the formulas alone weren’t particularly useful to me, I spent a day or two writing a program to auto-translate them into Perl code that I could execute.

I had found out what I needed to know, and the effort I’d put into it wasn’t particularly novel. But I thought, well, maybe I can save someone else some time. And I packaged the thing up as the Perl Encyclopedia of Triangle Centers, put it on my webpage, and promptly forgot all about it. I think I tracked that there had been a few hundred downloads at one point, but I never got any feedback about it, and I figured that it was probably just one of those many things you do in science which are cool at the time, but don’t particularly go anywhere.

But the other day, I got a pingback for the page, which led me to discover this post, and find out that for at least since 2011, the Perl ETC has been a tiny little part of GeoGebra. Which means that thousands and thousands of people are running, every day, a program with a little bit of my code in it! Which is a pretty good thing to find out on a random Tuesday in the summer. ūüôā

The moral of the story, if there is one, is that there are a lot of things that mathematicians produce which can be usefully contributed to the world which are more “research-byproducts” than “research”. So we probably ought to at least think: could this be useful to someone else? Is there an easy, efficient way to package it for distribution? And if so, I encourage you to do it. You never know when something might really catch on!

 

How “building a fence around FERPA” is hurting your college education

So I just got back from the TPSE Math (Transforming Post-Secondary Education (in Math)) meeting in Austin this weekend.¬†First off, it was in fact really cool, with a ton of interesting people with lots of interesting things to say about the future of math teaching in college.¬†The experience got me in the mood to write about teaching again, and today’s topic is… FERPA. The Family Educational Rights and Privacy Act of 1974.

Now if you’re not a professor, you probably think of FERPA as that thing which you periodically waive your rights under in order to get a letter of recommendation, or maybe as that thing which keeps your parents from finding out that you failed Chemistry (again).¬†But it’s a lot more than that, and some of the effects of it are downright damaging for your education.

Suppose you were in the hospital, and on your third or fourth day in, after receiving numerous treatments, tests, and prescriptions, your doctor rotated off shift and the new doctor came in the door. Only, instead of your chart, the doctor was holding a sheet of paper with your name, your email address, and your university ID number. “So”, the doctor says, “tell me why you’re here in the radiology department¬†again?”. Your blood runs cold.

You see, when I teach a new class, that’s all I get from the University about you. Do I know your major? No. Do I know when you took the prerequisites for this course? No. Do I know¬†if you took the prerequisites for this course or tested out of them with AP credit? No. Can I see your placement exam to see whether you might benefit from a quick review of, say, trigonometry, before we start using it in the calculus course? No. If your preparation is really good, can I find out where you went to high school and ask what they are doing right? No. If your preparation is lacking something, can I find out where you went to high school and complain that they are doing something wrong?¬†Heck, no. After you leave my course, does anyone tell me how you did in calculus II so I can see if I did a good job? How about how you did in your physics major? Or once you graduate? (I think you’re starting the guess the answers here.)

Although we live in a world where Google knows that I like high-end coffee shops, dark chocolate, and MakerBots and Amazon knows that I’ve read all the Parker novels, to your college professors, you’re a blank slate. Every piece of information about you that we might possibly use to help us improve your education is between hard and impossible for us to get. We can’t even get your picture in order to greet you by name when you show up for our classes.

And forget improving our teaching by comparing the results to other classes, or other institutions. Amazon runs hundreds of A/B tests each year to see which version of the front page attracts more clicks and more sales. But¬†though you fill out hundreds of online homework questions in my course alone, I can barely get that¬†data out of the system to assign you a grade, and¬†there’s no way I can compare it to results from other sections or other colleges.

Now does FERPA as written¬†forbid me from getting this data? Actually, it does not. The law states that student records may be accessed “for any legitimate educational purpose, including studies for the purpose of improving instruction”. You might think that customizing a course to fit the students or improving teaching at the University would qualify as a “legitimate educational purpose”. However, the University legal department can have different opinions about which purposes are “educational” or “legitimate”.

The problem is that it’s institutionally very difficult to actually get any particular record. This is considered “a security risk”. Now, I understand that risk management is an important function in any large organization, and there’s an old Jewish proverb which says that “you should build a fence around the Torah”, meaning that you should avoid anything that’s even close to violating Jewish law. I get it.¬†But this is why large organizations are so often very very slow¬†to innovate. After all, the UGA legal team will not be rewarded if we teach better. But they will certainly be punished if we’re sued. The problem is that¬†teaching is the core mission of the institution, and once the various arms of an institution start to lose sight of the fact we are all here to accomplish a mission, the mission starts to suffer. And that’s where we are today.

So, folks (and if anyone in the legislature is listening) we could do a lot better teaching in higher education and we could do it a lot cheaper¬†if we had a regulatory environment a little more like Facebook in 2014 and a little less like Delta Airlines in 1964.¬†Nobody is going to die if a freak security breach reveals everyone’s Calculus grade in the year 2007 to a botnet run by teenage Estonian hackers.

So can’t we make the precautions match the risks? Can’t we try to unleash innovation and reduce costs with a little deregulation of our industry? Just this once?

 

 

 

 

 

 

Why are we doing this in Math class again?

I just read a very interesting answer on Quora about whether we have too much math and science education in the U.S. school system. You can read the whole thing at the link, but it made a pretty good discussion about why I’m shifting my calculus class to do some much larger, integrative labs (with writing) as well as the standard “put the n in front of the x and replace it with an n-1” sort of problem solving in calculus.

Here are some excerpts from the Quora post, written by a student, Monika Kothari:

I’m a social science student, but I’ve take more math than I’ll ever need or use, through calculus III. I earned decent grades in those classes by working my butt off. But those skills have¬†never¬†proven useful to me, and I forgot most of them within a year. Most high school students graduate having passed Algebra II, at least in my school district where it’s a requirement to complete four years of math. But most adults don’t know how to apply that algebra to basic life problems. Why?

Take a look at how math is taught, how it’s presented in textbooks, how standardized tests analyze math skills. The emphasis is completely misplaced. When are most people ever going to encounter a problem in life that explicitly tells you to “solve for x”? When are most people ever going to have to construct a geometry proof?

Here’s the thing: they’re not. Problems pop up all the time in every day life, problems that may even require some simple algebra.¬†But people don’t know how to apply the skills they already have to solve those problems. They don’t know what the numbers represent, which formulas to use, which variables are which.¬†They can’t even set up the problem.¬†This is because, instead of teaching students the logic behind math, its uses and flexibility, its applications to everyday problems, etc. math education in the United States tends to emphasize rote memorization and the theoretical at the cost of useful lessons that could applied across fields. (Maybe more word problems would help solve this issue, but that’s something textbook writers need to address as well.)

So here’s my takeaway from this. There are lots of places, especially in social science where some more sophisticated statistical analysis could unlock a lot of useful information, where calculus could be really useful.

But I can guarantee you that outside of the context of a multiple-choice test, any amount of technical skill in calculus is¬†definitely not going to be useful if you don’t know¬†how to find the calculus¬†problem when confronted with a real-world situation. This is why my class spends so much time wrestling with the problem of getting a robot to throw a ball into a cup. It’s not because I think they are all going into robotics or physics (though some are!), it’s because this is a good example of a real-world problem where the really interesting part is¬†defining the math problem. And that process uses all of the skills that we’d really like to see in our students: logical thinking, analysis, problem-solving, and communication.

Image Compression Competition 2014

Every year that I teach the numerical analysis sequence, we end the year with a project on image compression. This year, the students used a technique called Principal Component Analysis (PCA) to sort though large datasets of images, looking for a common structure in the image data. Once they discovered the structure, they could use it to compress the images by only storing some of the pixel data and using what they knew about images to reconstruct the rest. The technique doesn’t work as well as it can on images which are already compressed with JPEG, since that method loses some detail already.

But the results on uncompressed data from a RAW file? Pure genius. Kristen Bach of Treehouse and beautyeveryday and Karen Gerow of Double Helix STEAM Academy donated some of their very excellent photography for the students to try their work on.

After a semi-rigorous set of A/B comparisons between different compressions of various images, the class decided that the best results were due to Fred Hohman (in the 50% compression category, meaning that Fred uses half of the image to predict the other half), Irma Stevens (in the 90% compression category, meaning that Irma used 10% of the image data to predict the rest) and Ke Ma (in the 99% compression category, meaning that Ke used only 1% of the image data to predict the rest).

Here are their results!

Math 4510 Image Compression
Curated by Jason Jason
Alpaca
Alpaca

Image courtesy of Kristen Bach, beautyeveryday.com.

Alpaca
Alpaca

Compressed 50% by Fred Hohman.

Image courtesy of Kristen Bach, beautyeveryday.com.

Alpaca
Alpaca

Compressed 90% by Irma Stevens.

Image courtesy of Kristen Bach, beautyeveryday.com.

Alpaca
Alpaca

Compressed 99% by Ke Ma.

Image courtesy of Kristen Bach, beautyeveryday.com.

Flower
Flower

Image courtesy of Kristen Bach, beautyeveryday.com.

Flower
Flower

Compressed 50% by Fred Hohman.

Image courtesy of Kristen Bach, beautyeveryday.com.

Flower
Flower

Compressed 90% by Irma Stevens.

Image courtesy of Kristen Bach, beautyeveryday.com.

Flower
Flower

Compressed 99% by Ke Ma.

Image courtesy of Kristen Bach, beautyeveryday.com.

Ziggy
Ziggy

Image courtesy of Karen Gerow, Double Helix STEAM Academy.

Ziggy
Ziggy

Compressed 50% by Fred Hohman.

Image courtesy of Karen Gerow, Double Helix STEAM Academy.

Ziggy
Ziggy

Compressed 90% by Irma Stevens.

Image courtesy of Karen Gerow, Double Helix STEAM Academy.

Ziggy
Ziggy

Compressed 99% by Ke Ma.

Image courtesy of Karen Gerow, Double Helix STEAM Academy.

 

3d printable tight knots!