The Game of Contorted Fractions. 2 Rules of the Game Typical position has a number of real numbers in boxes. The typical legal move is to alter just one.

Slides:



Advertisements
Similar presentations
Introduction to Combinatorial Game Acm Honored Class Weitao.
Advertisements

EGR 141 Computer Problem Solving in Engineering and Computer Science
The Wonderful World of Hackenbush Games And Their Relation to the Surreal Numbers.
Progressively Finite Games
CHECKMATE! A Brief Introduction to Game Theory Dan Garcia UC Berkeley The World Kasparov.
CHECKMATE! A Brief Introduction to Game Theory Dan Garcia UC Berkeley The World Kasparov.
Continued Fractions in Combinatorial Game Theory Mary A. Cox.
Playing Konane Mathematically with Combinatorial Game Theory
Combinatorial Games Martin Müller. Contents Combinatorial game theory Thermographs Go and Amazons as combinatorial games.
(as opposed to fake numbers?)
Rational and Irrational Numbers
The Real Number System. The natural numbers are the counting numbers, without _______. Whole numbers include the natural numbers and ____________. Integers.
Making Sense of Rational and Irrational Numbers
My game… You pay £1 to play I roll a dice If it lands on 1 or 2 you win £1.50 If it lands on 3, 4, 5, 6 you lose Will this game make me a profit if 10.
Great Theoretical Ideas in Computer Science.
Real Numbers Week 1 Topic 1. Real Numbers  Irrational Numbers  Numbers that cannot be written as a fraction  √2, π  Rational Numbers  Numbers that.
5-2 Rational Numbers. Converting Decimals to Fractions To convert a decimal to a fraction: 1)Determine where the decimal ends 2)Place the numerals after.
Game Playing.
Z. Z Scissors Paper Stone  Scissors beats paper (cuts it)  Paper beats rock (wraps it)  Rock beats scissors (blunts it)  Showing the same is a draw.
Surreal Number Tianruo Chen. Introduction In mathematics system, the surreal number system is an arithmetic continuum containing the real number as infinite.
Section 7.1. Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning.
The Real Number System.  Natural Numbers (AKA Counting Numbers): {1, 2, 3, 4, …}  Whole Numbers (Natural Numbers plus zero): {0, 1, 2, 3, …} NOTE: Both.
LET’S PLAY JEOPARDY!! Team A Team B Final JeopardyJeopardy.
P.1 Real Numbers and Algebraic Expressions. Negative numbers Units to the left of the origin are negative. Positive numbers Units to the right of the.
The Real Number System. Whole numbers Whole numbers Rational numbers Whole numbers Natural numbers Integers / ¾ 18% π √2√2 − ….
Number System. Do not train children to learning by force and harshness, but direct them to it by what amuses their minds, so that you may be better able.
Number Systems The Real Number Systems. Objectives: To determine what qualifies something as a mathematical object. To develop some of the basic properties.
11/10/2015.  Copy these definitions into your notes: 1. Rational number: Any number that can be put into the form of a fraction. 2. Irrational number:
Properties for Real Numbers Rules that real numbers follow.
Chapter 2 Real Numbers and algebraic expressions ©2002 by R. Villar All Rights Reserved Re-engineered by Mistah Flynn 2015.
1.2 SKM & PP 1 Types of Numbers There are many “types” of numbers. Each type can be grouped into a collection called a SET.
Bell Ringers Solve the following equations and write the commutative property equation and solve: (-74) + 54 (-87) + (-32) Solve the following equations.
Fractions!!.
Whole, Integers, Rational and Natural Numbers M7N1. Students will understand the meaning of positive and negative rational numbers and use them in computation.
OPERATIONS WITH INTEGERS, ADDING AND SUBTRACTING RATIONAL NUMBERS Objective: To add, subtract, multiply, and divide integers, to compare and order rational.
Tennis is Surreal? Joe McCarry Laredo Community College Texas Section MAA, 2016 at Stephen F. Austin State University.
Solve Absolute Value Inequalities © 2011 The Enlightened Elephant.
Making Sense of Rational and Irrational Numbers
Making Sense of Rational and Irrational Numbers
Rational and Irrational Numbers
Rational and Irrational Numbers
Rational and Irrational Numbers
Great Theoretical Ideas in Computer Science
(as opposed to fake numbers?)
Number Systems INTRODUCTION.
(as opposed to fake numbers?)
BASIC PROBABILITY Probability – the chance of something (an event) happening # of successful outcomes # of possible outcomes All probability answers must.
(as opposed to fake numbers?)
Rational Vs. Irrational
Rational and Irrational Numbers
(as opposed to fake numbers?)
Rational and Irrational Numbers
(as opposed to fake numbers?)
Sets of Numbers Click “Slide Show”. Then click “From Beginning”.
NUMBER SYSTEMS.
(as opposed to fake numbers?)
Real Numbers System.
(as opposed to fake numbers?)
Real Numbers: Number Systems
Rational and Irrational Numbers
(as opposed to fake numbers?)
(as opposed to fake numbers?)
Number Sets.
Natural Numbers The first counting numbers Does NOT include zero
(as opposed to fake numbers?)
Rational and Irrational Numbers
(as opposed to fake numbers?)
(as opposed to fake numbers?)
(as opposed to fake numbers?)
UNIT 1 Chapter 1-1 Number Systems.
Presentation transcript:

The Game of Contorted Fractions

2 Rules of the Game Typical position has a number of real numbers in boxes. The typical legal move is to alter just one of these numbers. The number replacing a given one must have a strictly smaller denominator, or If the given number is already an integer, the new number must be an integer strictly smaller in absolute value.

3 Rules of the Game The only legal move for player 1, Left, is to decrease the number The only legal move for player 2, Right, is to increase the number

Possible Left options: 1/3, ¼, 0, -2, etc. Possible Right options: ½, 2/3, ¾, 17 ¼, etc.

Left’s best option: 1/3 Right’s best option: ½

6 Notice The game will come to an end when each fraction reaches zero, since we require that:  The number replacing a given one must have a strictly smaller denominator, or  If the given number is already an integer, the new number must be an integer strictly smaller in absolute value.

Combinatorial Game Theory

It’s All About Hackenbush

12

13 Blue-Red Hackenbush is an example of a game with 2 players, Left and Right. In Blue-Red Hackenbush, Left deletes any bLue edge, and Right deletes any Red edge. Whichever player cannot move, loses.

14

15

16

17

18

19

20

21

22

23

24

25

Games

27 Defined We are interested in games that:  Have just two players, often called Left and Right.  Have several, usually finitely many, positions, and often a particular starting position.

28  There are clearly defined rules that specify the moves that either player can make from a given position to its options.  Have Left and Right moving alternately, in the game as a whole.

29  In the normal play convention, has the first player unable to move losing.  Will always come to an end because some player will be unable to move.

30  Allow both players to know what is going on; i.e. there is perfect or complete information.  Have no chance moves such as rolling dice or shuffling cards.

“Whose Game?” *Pun from Winning Ways

32 Outcome Classes If Left starts If Right starts Left Wins Right Wins Left Wins Positive (L wins) Zero (2 nd wins) Right Wins Fuzzy (1 st wins) Negative (R wins)

33 Fuzzy Games A fuzzy game is not > 0, not < 0, and not = 0 A fuzzy game is confused with 0

34 Fuzzy Games -212 G

35 Games and Numbers All numbers are games But not all games are numbers!!!

36 Positive, Negative, and Zero Theoretic game value is determined using Surreal Numbers

37 Surrealism in the Arts

38 How to Count The old way of counting:

39 How to Count The new way of counting:

40 How to Count So we have 0, 1, 2, 3 = 4 bananas!!

Surreal Numbers

42 Surreal Numbers: A Class The Surreal Numbers are a proper Class of numbers. Other proper Classes we already know:  - The Natural Numbers - The Integers  - The Rational Numbers  - The Real Numbers  - The Complex Numbers

43 Construction { L | R }

44 Construction {  |  }

45 Construction { | }

46 Construction { | } = 0

47 The Zero Game of Hackenbush You go first, I insist!!!

48 Construction { 0 | } = 1

49 Construction { | 0 } = -1

50 {0 | } = 1 { | 0} = -1 {-1 | 1} = 0

51 Red-Blue Hackenbush Chains

52

53

54

55 a 2 b 0 c - ½

56 d e f

57 gih

58 jk

59 l m

60 n o

So, what’s the value of that loooooong chain???

62 Berlekamp’s Rule

63 Berlekamp’s Rule

64 Berlekamp’s Rule

65 Berlekamp’s Rule ( ) 128

66 Berlekamp’s Rule ( ) 128 =

67 Berlekamp’s Rule Likewise, we can convert a given fractional number into a Hackenbush string Write the fractional number in binary  3 5/8 = Replace the integer part with  LLL (since positive value)

68 Berlekamp’s Rule Replace the point with  LR (since positive) Convert 1’s and 0’s thereafter into L’s and R’s, but omitting the final 1   L R

69 Berlekamp’s Rule Result:  3 5/8 =  L L L L R L R

70 Berlekamp’s Rule This also works for real numbers that don’t terminate, except that there is no final 1 to be omitted  1/3 =  LR R L R L R L R L R...

Value of a Game of Contorted Fractions

72 Use Continued Fractions We can use continued fractions, together with Berlekamp’s rule, to determine the game value of any fraction We convert the fraction into a continued fraction, and then read off the partial quotients a 1, a 2, …, as alternate numbers of 0’s and 1’s, except that the first 0 is replaced by a binary point.

73 Example

74 Example

Positive Game Value: Left Wins

79 Ready to Play?? Here’s a link to a nice little applet that will let you play against the computer CONTORTED FRACTIONS