My six-year-old son loves the website ActivityTV.com, especially their science, origami, cooking, and magic videos.
I watched a few of the magic how-to videos with him and was pleasantly surprised to see that some of them had a distinctly mathematical feel to them. For example:
- Jumping rubber bands: topological properties of circles and linked circles
- Magic knots: knot theory
- Ring escape: topology/knot theory
- Magic compass: reflections of a square
- Mathemagic: properties of integers
When I stared to watch the “mathemagic” video I was expecting one of those formulaic tricks involving the integers which are simply basic algebra in disguise. While not earth shattering, the trick turned out to be slightly more subtle than that. In case you don’t want to watch the video, here’s the trick:
Pick a 3-digit number with all three digits different. Reverse the digits and subtract to get another 3-digit number (if the difference is negative, take its absolute value, if it is less than 100, add leading zeros (e.g., 71 becomes 071). Reverse the digits of the difference and add it to the difference. Your sum will be 1089.
For example, start with 845. Then 845-548=297 and 297+792=1089.
Usually “Ryan” explains his tricks afterward. For this one he doesn’t. So why does it work?
SPOILER: Suppose you pick the number (that is, ). Furthermore, suppose (the other case is handled similarly). This implies that . If we reverse the digits and subtract we obtain
This is perhaps easier to see if we line the digits up in columns (note that so we must “carry” twice):
Finally, if we reverse the digits and add we get
(Actually, if you examine the trick more closely you see that the three digits need not be distinct. But the number cannot be a palindrome; that is, .)
[Aside: it is too bad that “Ryan” starts this video with his comments about math not being fun.]