Vous êtes sur la page 1sur 60

The unshuffle and other card tricks

James Carraher

University of Nebraska – Lincoln

s-jcarrah1@math.unl.edu

March 2013

1 / 17
Trick 1

Today we are going to learn several “magic” tricks.

2 / 17
Trick 1

Today we are going to learn several “magic” tricks.

2 / 17
Trick 1

Today we are going to learn several “magic” tricks.

2 / 17
Trick 1

Today we are going to learn several “magic” tricks.

2 / 17
Trick 1

Today we are going to learn several “magic” tricks.

2 / 17
Trick 1

Today we are going to learn several “magic” tricks.

2 / 17
The next tricks use a special shuffling technique.

3 / 17
The next tricks use a special shuffling technique.

The perfect shuffle (or faro shuffle) is performed by splitting


the deck in half and interweaving the two halves.

3 / 17
The next tricks use a special shuffling technique.

The perfect shuffle (or faro shuffle) is performed by splitting


the deck in half and interweaving the two halves.

3 / 17
The perfect shuffle is difficult to perform so we are going to
use a variation of the perfect shuffle, the unshuffle.

The unshuffle is performed by splitting the deck into two piles


one card at a time and then placing on the of the piles on top
of the other one.

4 / 17
The perfect shuffle is difficult to perform so we are going to
use a variation of the perfect shuffle, the unshuffle.

The unshuffle is performed by splitting the deck into two piles


one card at a time and then placing on the of the piles on top
of the other one.

4 / 17
The perfect shuffle is difficult to perform so we are going to
use a variation of the perfect shuffle, the unshuffle.

The unshuffle is performed by splitting the deck into two piles


one card at a time and then placing on the of the piles on top
of the other one.

4 / 17
Trick 2

Given the cards ace through queen in order shuffle the deck
using the unshuffle.

5 / 17
Trick 2

Given the cards ace through queen in order shuffle the deck
using the unshuffle.

How does knowing the bottom card help me find the top card?

5 / 17
Trick 2

Given the cards ace through queen in order shuffle the deck
using the unshuffle.

How does knowing the bottom card help me find the top card?

5 / 17
Trick 2

Given the cards ace through queen in order shuffle the deck
using the unshuffle.

How does knowing the bottom card help me find the top card?

5 / 17
Trick 2

Given the cards ace through queen in order shuffle the deck
using the unshuffle.

How does knowing the bottom card help me find the top card?

5 / 17
Trick 2

Given the cards ace through queen in order shuffle the deck
using the unshuffle.

How does knowing the bottom card help me find the top card?

5 / 17
Trick 2

Given the cards ace through queen in order shuffle the deck
using the unshuffle.

How does knowing the bottom card help me find the top card?

5 / 17
Trick 2

Given the cards ace through queen in order shuffle the deck
using the unshuffle.

How does knowing the bottom card help me find the top card?

The unshuffle preserves central symmetry. The sum of the


inside and outside card is always 13.

5 / 17
How well does the unshuffle shuffle the deck?

Total number of ways to shuffle the 12 cards

6 / 17
How well does the unshuffle shuffle the deck?

Total number of ways to shuffle the 12 cards

6 / 17
How well does the unshuffle shuffle the deck?

Total number of ways to shuffle the 12 cards

12 × 11 × 10 × 9 × 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1 = 12!
= 479001600

6 / 17
How well does the unshuffle shuffle the deck?

Total number of ways to shuffle the 12 cards using the


unshuffle.

7 / 17
How well does the unshuffle shuffle the deck?

Total number of ways to shuffle the 12 cards using the


unshuffle.

7 / 17
How well does the unshuffle shuffle the deck?

Total number of ways to shuffle the 12 cards using the


unshuffle.

7 / 17
How well does the unshuffle shuffle the deck?

Total number of ways to shuffle the 12 cards using the


unshuffle.

12 × 10 × 8 × 6 × 4 × 2 = 46080

7 / 17
How well does the unshuffle shuffle the deck?

Total number of ways to shuffle the 12 cards using the


unshuffle.

12 × 10 × 8 × 6 × 4 × 2 = 46080

12 × 10 × 8 × 6 × 4 × 2

= 0.00009620009.
12!
7 / 17
Trick 3

In groups of five deal out 5 cards to each person.


1 Pick a card from the five dealt cards and place it on top.
2 Stack all 5 hands back into one pile.
3 Go around either cutting the deck or performing the
unshuffle.
4 After everyone has either cut the deck or performed the
unshuffle deal the cards back out one at a time.

8 / 17
Trick 3

In groups of five deal out 5 cards to each person.


1 Pick a card from the five dealt cards and place it on top.
2 Stack all 5 hands back into one pile.
3 Go around either cutting the deck or performing the
unshuffle.
4 After everyone has either cut the deck or performed the
unshuffle deal the cards back out one at a time.

One person should be dealt all five selected cards.

8 / 17
Trick 3

9 / 17
Trick 3

9 / 17
Trick 3

9 / 17
The perfect shuffle.

The following video is an shows how to perform the perfect


shuffle. Performing 8 perfect shuffles results in the deck
returning to its original order. Perfect Shuffle
(http://www.youtube.com/watch?v=OFjgPGPQ0NA)

10 / 17
The perfect shuffle.

The following video is an shows how to perform the perfect


shuffle. Performing 8 perfect shuffles results in the deck
returning to its original order. Perfect Shuffle
(http://www.youtube.com/watch?v=OFjgPGPQ0NA)

Label the cards from 0 to 51. Then the position of card  after
a perfect shuffle is

2 mod 51 if 0 ≤  ≤ 50
.
51 if  = 51

10 / 17
Modular Arithmetic

What is 2 mod 51?

11 / 17
Modular Arithmetic

What is 2 mod 51?

Divide 2 by 51 and record the remainder.

11 / 17
Modular Arithmetic

What is 2 mod 51?

Divide 2 by 51 and record the remainder.

For example suppose  = 27.

Then 2 = 54 = 51 × 1 + 3,

so 54 mod 51 ≡ 3 mod 51.

11 / 17
The perfect shuffle

After one perfect shuffle, card  is at position 2 mod 51.

12 / 17
The perfect shuffle

After one perfect shuffle, card  is at position 2 mod 51.


After two perfect shuffles 2(2) mod 51 ≡ 22  mod 51.

12 / 17
The perfect shuffle

After one perfect shuffle, card  is at position 2 mod 51.


After two perfect shuffles 2(2) mod 51 ≡ 22  mod 51.
After three perfect shuffles 2(22 ) mod 51 ≡ 23  mod 51.

12 / 17
The perfect shuffle

After one perfect shuffle, card  is at position 2 mod 51.


After two perfect shuffles 2(2) mod 51 ≡ 22  mod 51.
After three perfect shuffles 2(22 ) mod 51 ≡ 23  mod 51.
After 8 perfect shuffles, card  is at position

28  mod 51 ≡ 256 mod 51.

12 / 17
The perfect shuffle

After one perfect shuffle, card  is at position 2 mod 51.


After two perfect shuffles 2(2) mod 51 ≡ 22  mod 51.
After three perfect shuffles 2(22 ) mod 51 ≡ 23  mod 51.
After 8 perfect shuffles, card  is at position

28  mod 51 ≡ 256 mod 51.

Since 256 = 51 × 5 + 1, 256 mod 51 ≡ 1 mod 51.


So 28  mod 51 ≡  mod 51.

12 / 17
The perfect shuffle

After one perfect shuffle, card  is at position 2 mod 51.


After two perfect shuffles 2(2) mod 51 ≡ 22  mod 51.
After three perfect shuffles 2(22 ) mod 51 ≡ 23  mod 51.
After 8 perfect shuffles, card  is at position

28  mod 51 ≡ 256 mod 51.

Since 256 = 51 × 5 + 1, 256 mod 51 ≡ 1 mod 51.


So 28  mod 51 ≡  mod 51.
So all the cards are in the same position that they started in.

12 / 17
Trick 4

Take one card from every suit.

Moves
1 You can flip all the cards over.
2 Take the top card and move it to the bottom.
3 Flip the top two cards over.

13 / 17
Trick 4

Take one card from every suit.

Moves
1 You can flip all the cards over.
2 Take the top card and move it to the bottom.
3 Flip the top two cards over.

13 / 17
Trick 4

Take one card from every suit.

Moves
1 You can flip all the cards over.
2 Take the top card and move it to the bottom.
3 Flip the top two cards over.

13 / 17
Trick 4

Take one card from every suit.

Moves
1 You can flip all the cards over.
2 Take the top card and move it to the bottom.
3 Flip the top two cards over.

13 / 17
Trick 4

Take one card from every suit.

Moves
1 You can flip all the cards over.
2 Take the top card and move it to the bottom.
3 Flip the top two cards over.

13 / 17
Trick 4

Take one card from every suit.

Moves
1 You can flip all the cards over.
2 Take the top card and move it to the bottom.
3 Flip the top two cards over.

13 / 17
Trick 4

Take one card from every suit.

Moves
1 You can flip all the cards over.
2 Take the top card and move it to the bottom.
3 Flip the top two cards over.

13 / 17
Trick 4

Take one card from every suit.

Moves
1 You can flip all the cards over.
2 Take the top card and move it to the bottom.
3 Flip the top two cards over.

13 / 17
Trick 5

Take a deck of 20 cards, 10 J Q K A of each suit.


1 I go through the deck in pairs placing some cards face to
face, some back to back and others in the same direction.
2 You determine if a pair should be flipped.
3 You determine which groups of four cards should be
flipped.
4 I deal out the cards.
5 You decide how they should be folded back together.

14 / 17
Trick 5

15 / 17
Trick 5

15 / 17
Trick 5

15 / 17
Trick 5

15 / 17
Trick 5

Rules The initial flipping of the pairs of cards is all that is


needed to do this trick.

1 If neither card is a heart then place the cards face to face.


2 If both cards are hearts then place the cards back to back.
3 If there is one heart then both cards are placed faceup,
but the heart always goes on top.

16 / 17
Acknowledgements:

Unshuffling for the Imperfect Magician. Doug Ensley. Math


Horizons.

An Amazing Card Trick. Arthur Benjamin. Harvey Mudd


College.

Chris Aguilar for the library of vectorized playing cards.

17 / 17

Vous aimerez peut-être aussi