My Mathematical Magic Show: Part 8b

This mathematical trick was not part of my Pi Day magic show but probably should have been… I’ve performed this for my Precalculus classes in the past but flat forgot about it when organizing my Pi Day show. The next time I perform a magic show, I’ll do this one right after the 1089 trick. (I think I learned this trick from a Martin Gardner book when I was young, but I’m not sure about that.)

Here’s a description of the trick. I give my audience a deck of cards and ask them to select six cards between ace and nine (in other words, no tens, jacks, queens, or kings). The card are placed face up, side by side.

After about 5-10 seconds, I secretly write a pull out a card from the deck and place it face down above the others.

 

pascalcardtrick1

I then announce that we’re going to some addition together… with the understanding that I’ll never write down a number larger than 9. For example, the 4 and 6 of spades are next to each other. Obviously, 4+6 = 10, but my rule is that I’m going to write down a number larger than 9. So I’ll subtract 9 whenever necessary: 10-9 = 1. Since 1 corresponds to ace, I place an ace about the 4 and 6 of spades.

Continuing in this way (and having the audience participate in the arithmetic so that this doesn’t get boring), I eventually get to this position:

pascalcardtrick5

Finally, I add the two cards at the top (and, in this case, subtract 9) to get 6+9-9 = 6, and I dramatically turn over the last card to reveal a 6.

pascalcardtrick6

How does this trick work? This is an exercise in modular arithmetic (see also Wikipedia). Suppose that the six cards are a, b, c, d, e, and f. Forgetting for now about subtracting by 9, here’s how the triangle unfolds (turning the triangle upside down):

a \qquad \qquad \qquad \quad b \qquad \qquad \qquad \quad c \qquad \qquad \qquad \quad d \qquad \qquad \qquad \quad e \qquad \qquad \qquad \quad f

a+b \qquad \qquad \qquad b+c \qquad \qquad \qquad c+d \qquad \qquad \qquad d+e \qquad \qquad \qquad e+f

a+2b+c \qquad \qquad b+2c+d \qquad \qquad c+2d+e \qquad \qquad d+2e+f

a+3b+3c+d \qquad \quad b+3c+3d+e \qquad \quad c+3d+3e+f

a+4b+6c+4d+e \qquad b+4c+6d+5e+f

a+5b+10c+10d+5e+f

 Therefore, the top card will simply be a+5b+10c+10d+5e+f minus a multiple of 9.

That’s a pretty big calculation for the magician to do on the spot. Fortunately, 9c + 9d is also a multiple of 9, and so the top card will be

 a+5b+10c+10d+5e+f - (9c + 9d) minus a multiple of 9, or

5(b+e) + a +  c + d +  f minus a multiple of 9.

For the case at hand, b = 6 and e =8, so 5(b+e) = 70. That’s still a big number to keep straight when performing the trick. However, since I’m going to be subtracting 9’s anyway, I can do this faster by replacing the 8 by 8 - 9 = -1. So, for the purposes of the trick, 5(b+e) = 5 \times (6-1) = 25, and I subtract 18 to get 7.

I now add the rest of the cards, subtracting 9 as I go along. For this example, I’d add the 2 first to get 9, which is 0 after subtracting another 9. I then add the remaining cards of 4, 3, and 8 (remembering that the 8 is basically 8-9 = -1, yielding 4+3-1 = 6. So the top card has to be 6.

The key point of this calculation is to subtract 9 whenever possible to keep the numbers small, making it easier to do in your head when performing the trick.

 

One thought on “My Mathematical Magic Show: Part 8b

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.