Dealing with some maths

Similar documents
Chapter 1. Mathematics in the Air

An Amazing Mathematical Card Trick

MC215: MATHEMATICAL REASONING AND DISCRETE STRUCTURES

The mathematics of the flip and horseshoe shuffles

To Your Hearts Content

CLASS NOTES. A mathematical proof is an argument which convinces other people that something is true.

The mathematics of the flip and horseshoe shuffles

Probability Review 41

Counting integral solutions

Math 166: Topics in Contemporary Mathematics II

CRACKING THE 15 PUZZLE - PART 4: TYING EVERYTHING TOGETHER BEGINNERS 02/21/2016

Practice Midterm 2 Solutions

Compound Probability. Set Theory. Basic Definitions

Tribute to Martin Gardner: Combinatorial Card Problems

Mathematical Magic for Muggles April 16, 2013

Activity 1: Play comparison games involving fractions, decimals and/or integers.

8.2 Union, Intersection, and Complement of Events; Odds

{ a, b }, { a, c }, { b, c }

Grade 6, Math Circles 27/28 March, Mathematical Magic

EE 126 Fall 2006 Midterm #1 Thursday October 6, 7 8:30pm DO NOT TURN THIS PAGE OVER UNTIL YOU ARE TOLD TO DO SO

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)

I. WHAT IS PROBABILITY?

How to Become a Mathemagician: Mental Calculations and Math Magic

THE SIGN OF A PERMUTATION

Contemporary Mathematics Math 1030 Sample Exam I Chapters Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific

Up & Down GOAL OF THE GAME UP&DOWN CARD A GAME BY JENS MERKL & JEAN-CLAUDE PELLIN ART BY CAMILLE CHAUSSY

Two-person symmetric whist

Probability: introduction

Teaching the TERNARY BASE

Grades 7 & 8, Math Circles 27/28 February, 1 March, Mathematical Magic

HIGH CARD POINT DISTRIBUTIONS

March 5, What is the area (in square units) of the region in the first quadrant defined by 18 x + y 20?

Mathematical Magic for Muggles April 16, 2013

Today s Topics. Sometimes when counting a set, we count the same item more than once

Lecture 2.3: Symmetric and alternating groups

Poker Hands. Christopher Hayes

Reading 14 : Counting

Professor Alan H. Stein

1.6 Congruence Modulo m

Chapter 1. Probability

PROBLEM SET 2 Due: Friday, September 28. Reading: CLRS Chapter 5 & Appendix C; CLR Sections 6.1, 6.2, 6.3, & 6.6;

Massachusetts Institute of Technology 6.042J/18.062J, Spring 04: Mathematics for Computer Science April 16 Prof. Albert R. Meyer and Dr.

Counting integral solutions

Sorting Squares. (Martin Gardner)

1MA01: Probability. Sinéad Ryan. November 12, 2013 TCD

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

Intermediate Math Circles November 1, 2017 Probability I

Tutorial 1. (ii) There are finite many possible positions. (iii) The players take turns to make moves.

Activity 6: Playing Elevens

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building?

Independent and Mutually Exclusive Events

SMT 2014 Advanced Topics Test Solutions February 15, 2014

SOLUTIONS TO PROBLEM SET 5. Section 9.1

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

LEARN HOW TO PLAY MINI-BRIDGE

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =

Restricted Choice In Bridge and Other Related Puzzles

Mind Explorer. -Community Resources for Science

The Art of the Discard

The Art of the Discard

Theory of Probability - Brett Bernstein

Some Unusual Applications of Math

STANDARD COMPETENCY : 1. To use the statistics rules, the rules of counting, and the characteristic of probability in problem solving.

7.1 Experiments, Sample Spaces, and Events

Math 1313 Section 6.2 Definition of Probability

Counting and Probability Math 2320

(a) Suppose you flip a coin and roll a die. Are the events obtain a head and roll a 5 dependent or independent events?

Cards. There are many possibilities that arise with a deck of cards. S. Brent Morris

A REMARK ON A PAPER OF LUCA AND WALSH 1. Zhao-Jun Li Department of Mathematics, Anhui Normal University, Wuhu, China. Min Tang 2.

Introduction to probability

CS 3233 Discrete Mathematical Structure Midterm 2 Exam Solution Tuesday, April 17, :30 1:45 pm. Last Name: First Name: Student ID:

GAMBLING ( ) Name: Partners: everyone else in the class

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Key Concepts. Theoretical Probability. Terminology. Lesson 11-1

CSE 312: Foundations of Computing II Quiz Section #1: Counting

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Week 1: Probability models and counting

Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules

Moore, IPS 6e Chapter 05

Simulations. 1 The Concept

Olympiad Combinatorics. Pranav A. Sriram

Modular Arithmetic. Kieran Cooney - February 18, 2016

Math 127: Equivalence Relations

POINTS TO REMEMBER Planning when to draw trumps

Important Distributions 7/17/2006

Launchpad Maths. Arithmetic II

Carmen s Core Concepts (Math 135)

Finite Mathematical Structures A

Classical vs. Empirical Probability Activity

MATH-1110 FINAL EXAM FALL 2010

Active and Passive leads. A passive lead has little or no risk attached to it. It means playing safe and waiting for declarer to go wrong.

Acing Math (One Deck At A Time!): A Collection of Math Games. Table of Contents

6. Find an inverse of a modulo m for each of these pairs of relatively prime integers using the method

Well, there are 6 possible pairs: AB, AC, AD, BC, BD, and CD. This is the binomial coefficient s job. The answer we want is abbreviated ( 4

Monotone Sequences & Cauchy Sequences Philippe B. Laval

CS 202, section 2 Final Exam 13 December Pledge: Signature:

Name. Is the game fair or not? Prove your answer with math. If the game is fair, play it 36 times and record the results.

Basic Concepts of Probability and Counting Section 3.1

MAT104: Fundamentals of Mathematics II Counting Techniques Class Exercises Solutions

MATHEMATICS E-102, FALL 2005 SETS, COUNTING, AND PROBABILITY Outline #1 (Probability, Intuition, and Axioms)

Transcription:

Dealing with some maths Hayden Tronnolone School of Mathematical Sciences University of Adelaide August 20th, 2012

To call a spade a spade First, some dealing... Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 2 / 17

To call a spade a spade First, some dealing... This trick is called The Royal Hummer. It uses a technique called a Hummer shuffle. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 2 / 17

I heart Hummer shuffles Definition (Hummer shuffle) Given a deck of cards, a Hummer shuffle is performed by 1 flipping the top two cards, and then 2 cutting the deck at any point. Introduced by Bob Hummer (1905 1981). To understand how this is used, we first consider a simple trick that uses the Hummer shuffle. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 3 / 17

Ten-Card Hummer 1 Take a deck of ten cards, all face-down. 2 Perform any number of Hummer shuffles. 3 Reverse the cards in the even positions. This will leave exactly five cards face-up. This was introduced by Hummer in his manuscript Face-up/Face-down Mysteries (1942). To understand why this works, we need to consider what properties of the deck are preserved by a Hummer shuffle and the limits on the achievable arrangements of cards. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 4 / 17

Card-inality Consider a deck of 2n cards (we won t discuss odd numbers). How many ways can we arrange these cards (order and orientation)? The 2n cards can be arranged in 2n! ways. Each card can be face-up or face-down, so for each ordering there are 2 2n ways to orientate the cards. This gives possible arrangements. 2 2n 2n! For the ten-card deck n = 5, so there are 3, 715, 891, 200 possible arrangements. For 52 cards there are 2.7 10 34. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 5 / 17

Theorems are ace But, when using Hummer shuffles, there is a limitation: Theorem (Even Odd) Take a deck of 2n cards, all face-down. After any number of Hummer shuffles the number of face-up cards at even positions equals the number of face-up cards at odd positions. The Ten-Card Hummer works because of this theorem. Suppose there are a cards face-up at even positions, so there are 10 a face-down. This must also hold for the odd positions. Flipping every even card leaves 10 a face-up. In total there are (10 a) + a = 10 cards face up. We can prove this theorem by induction. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 6 / 17

So are proofs To begin with this is trivially true. Suppose we have performed some number of Hummer shuffles and the result is still true. Flipping the top two cards preserves the equality. Why? Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 7 / 17

Flipping two cards Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 8 / 17

Cutting Cutting one card just swaps the odd and even cards. Cutting an even number doesn t change the odd and even cards. Cutting an odd number is like cutting one card and then cutting an even number of cards. So, the theorem is proved....... Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 9 / 17

Underwhelmed? Join the club Under the assumptions of the even odd theorem, the orientation of 2n 1 cards decides the orientation of the last. So, there are at most 2 2n 1 2! possible arrangements. Not much better! Theorem (Hummer constraint) Take a deck of 2n cards, all face-down, and apply any number of Hummer shuffles. Suppose card j is at position k. Define p(j) to be 1 if j is face-up and 0 otherwise. Then s(k) = j + k + p(j) (mod 2) is the same at every position k. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 10 / 17

A quick proof is a good proof Proof. Initially, card j is at position j and is face-down, so at every position s(k) = 2j 0 (mod 2). Suppose it is true after some number of Hummer shuffles. Flipping the top two cards increases the score associated with the first card by 1, but either adds or removes 1 due to the flip, so the parity of s(2) is unchanged. The same holds for s(1). Cutting an even number of cards doesn t change the parity of s(k). Cutting one card changes the parity of every s(k). Cutting an odd number is equivalent to cutting one card and then cutting an even number of cards. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 11 / 17

The diamond-standard bound It is possible to use Hummer shuffles to put the 2n cards in any order. However, the Hummer constraint theorem means that for any given order, there are only two possible sets of orientations. So, there are only 2 2n! arrangements. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 12 / 17

On the flip side What if we instead start with the cards in order but with alternating orientations? (Exercise: can this arrangement be reached using Hummer shuffles on a face-down deck?) Theorem (Alternating deck) Consider a deck of cards that initially has alternating orientations. The alternating pattern is preserved by Hummer shuffles. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 13 / 17

Another proof?! (Part 1) Flipping the top two cards. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 14 / 17

Another proof?! (Part 2) Cutting one card (even case also holds)....... Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 15 / 17

Finally... We are now in a position to explain the Royal Hummer. Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 16 / 17

Finally... We are now in a position to explain the Royal Hummer. I m not going to. This is an exercise. Along with: Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 16 / 17

Finally... We are now in a position to explain the Royal Hummer. I m not going to. This is an exercise. Along with: 1 Why don t these tricks work with an odd number of cards? 2 What about flipping more than two cards? Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 16 / 17

Reference Hayden Tronnolone (University of Adelaide) Dealing with some maths August 20th, 2012 17 / 17