Problem 5.31 Ryan H Kian L Jun Oh Y Starting Out:  Define a Round Robin Tournament:  A tournament in which each player plays every other player. There.

Slides:



Advertisements
Similar presentations
Extensible Networking Platform CSE 240 – Logic and Discrete Mathematics Review: Mathematical Induction Use induction to prove that the sum of the.
Advertisements

Statements and Reasoning
Eggs, Chickens, and Dinosaurs
Review for CS1050. Review Questions Without using truth tables, prove that  (p  q)   q is a tautology. Prove that the sum of an even integer and an.
Mathematical induction Isaac Fung. Announcement ► Homework 1 released ► Due on 6 Oct 2008 (in class)
Permutations and Combinations
Statistics and Probability
Falcon on a Cloudy Day A Ro Sham Bo Algorithm by Andrew Post.
Computational Democracy: Algorithms, Game Theory, and Elections Steven Wolfman 2011/10/27.
Lower bound: Decision tree and adversary argument
Hamiltonian Circuits and Paths
B cd a e f g h i j k One answer is; a-g-c-b-f-e-i-k-h-d-j-a Year 2 Warm Up 10/21/10 State a Hamilton Circuit for the following figure:
FAFSA/CALIFORNIA DREAM ACT APPLICATION SUPPORT SESSION 1.
Two-Player Zero-Sum Games
I’m bored! I've got an idea! Let's play a game of Rock Paper Scissors!
Induction Lecture 5: Sep 21 (chapter of the book and chapter of the notes)
What is your favorite food?. Preference Schedule A Preference Schedule is a way to represent the order in which people like (prefer) certain items. The.
Use logic to teach the computer how to play a game
Games of probability What are my chances?. Roll a single die (6 faces). –What is the probability of each number showing on top? Activity 1: Simple probability:
Created by Charles Jenkins
1-11 Round Robin Scheduling Round Robin Each entry plays all other entries in their league at least ONCE Wins and losses do not affect participation.
Multiplication Rule. A tree structure is a useful tool for keeping systematic track of all possibilities in situations in which events happen in order.
Games of pure conflict two person constant sum. Two-person constant sum game Sometimes called zero-sum game. The sum of the players’ payoffs is the same,
Foundations of (Theoretical) Computer Science Chapter 1 Lecture Notes (more on Section 1.4) David Martin This work is licensed under.
Can you use your clicker? 1. Yes 2. No. Let A = we won the first game, B = we won the second game, and C = we are first in the league. The following sentence.
Partner Battle.
Time for playing games Form pairs You will get a sheet of paper to play games with You will have 12 minutes to play the games and turn them in.
DAST 2005 Tirgul 6 Heaps Induction. DAST 2005 Heaps A binary heap is a nearly complete binary tree stored in an array object In a max heap, the value.
VOCABULARY  Deck or pack  Suit  Hearts  Clubs  Diamonds  Spades  Dealer  Shuffle  Pick up  Rank  Draw  Set  Joker  Jack 
Mathematical Induction
International sporting events world championships Football Rugby – 1987 wwec Cricket Athletics Formula one
NET GAMES:. IMPORTANT RULES FOR ALL GAMES Racquet/Paddle Safety – Do not slam racquets/paddles on the floor, table, etc. – Be aware of your surroundings.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 15 Chances, Probabilities, and Odds 15.1Random Experiments and.
Simplest Fractions for Whole Numbers. Look at this picture. How many parts are in each group? Yes, 4. What’s the bottom number for the fraction shown.
The Hat Game 11/19/04 James Fiedler. References Hendrik W. Lenstra, Jr. and Gadiel Seroussi, On Hats and Other Covers, preprint, 2002,
How to Keep Score for Tennis How to Keep Score for Tennis
1 Introduction to Abstract Mathematics Chapter 4: Sequences and Mathematical Induction Instructor: Hayk Melikya 4.1- Sequences. 4.2,
Investigation #1 (cont.)
UUCF Summer RE 2011 Brain Glitches Session 8: Ultimatum Game and The Volunteer’s Dilemma.
Section 1.8. Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Nonexistence Proofs Uniqueness Proofs.
©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission.
Mark Dunlop, Computer and Information Sciences, Strathclyde University 1 Algorithms & Complexity 5 Games Mark D Dunlop.
TECH Computer Science Problem: Selection Design and Analysis: Adversary Arguments The selection problem >  Finding max and min Designing against an adversary.
Games. Adversaries Consider the process of reasoning when an adversary is trying to defeat our efforts In game playing situations one searches down the.
Topic 3 Games in Extensive Form 1. A. Perfect Information Games in Extensive Form. 1 RaiseFold Raise (0,0) (-1,1) Raise (1,-1) (-1,1)(2,-2) 2.
Investigation #1 (cont.) Products and Multiples. 1.3 The Product Game.
Proofs, Induction and Recursion Basic Proof Techniques Mathematical Induction Recursive Functions and Recurrence Relations.
Rock, Paper, Scissors A Probability Experiment.
Year 9 Proof Dr J Frost Last modified: 19 th February 2015 Objectives: Understand what is meant by a proof, and examples.
FAFSA STEP-BY-STEP 1. STUDENTS WILL LEARN BASIC INFORMATION ABOUT THE FAFSA INCLUDING KEY DEADLINES, MATERIALS NEEDED, AND THE SIGNIFICANCE OF BOTH APPLICATIONS.
Goals. What is a Goal? It is something that you set when you want something. Example: I want a puppy or I want to learn to play football,
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.PDFs and CDFs, for Random walks, ch 7.6. Reflection principle,
Using GA’s X 3 – y 2 + Z = Create a random population Function name – population Inputs: – N, size of the population – R, range of values for each.
Incomplete Information and Bayes-Nash Equilibrium.
Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach a particular.
 What do you think it means for an event to have a probability of ½ ?  What do you think it means for an event to have a probability of 1/4 ?
K 3 -Saturator By Roy Oursler. What is K 3 -Saturator K 3 -Saturator is a combinatorial game A combinatorial game is a two player game where both of the.
Non-transitivity and Probability Steven Kumer Advised by Dr. Bryan Shader.
Design of Rock-Paper-Scissors end Print instructions Play game Ask user If (s)he wants to play again Play again? Y Print stats: wins, losses and ties start.
VISUAL BASIC FINAL PROGRAMMING PROJECT
Probability and Statistics
Exploring Computer Science Lesson 4-11
Hamiltonian Circuits and Paths
Big problem  small steps
pencil, highlighter, GP notebook, calculator, textbook
To play. click on any dart from the 10 in the rack below to be thrown.
To play. click on any dart from the 10 in the rack below to be thrown.
Game-Based Online Safety!
Pseudo-Code Conditional Branches
2019 SAIMC Puzzle Challenge General Regulations
Presentation transcript:

Problem 5.31 Ryan H Kian L Jun Oh Y

Starting Out:  Define a Round Robin Tournament:  A tournament in which each player plays every other player. There can be no ties.  Suppose we have 3 players: Rock, Paper, and Scissors  If Rock beats Scissors, Scissors beats paper, and Paper beats Rock, who wins ?

Uh-Oh! Rock Paper Scissors

Is there a winner?  But a player x is a top player if:  For every player y, x beats y or beats some other player who beats y.  Who is the top player in our example?  There is no clear winner.

Every tournament with 2 players has a top player!  Let’s call our two players x and y.  One player must win.  Without loss of generality, call this player x.  Calling the winner x is totally arbitrary! xy

But what about 3 players?  We know that a two-player game between x and y must have a winner, x.  Let’s call our new player z.  Is there an easy way to figure out who is a top player?  How about cases?  Think: either x beats z, or loses to z.

YES! A 2 case model!  Case 1: x beats z  If x beats z, then x is still the top player.  Does it matter what happens between y and z ? z y x

Case 2: z beats x  If z beats x, then z is a top player.  Since x beat y, and z beat x, it does not matter what happens between y and z. xy z

The 3-Player Model  Generalized view Set A Set B x

Now it gets tricky...  What about four players?  Well, in a 3 player tournament we have:  A top player x  The set of players that x beat, called A  The (possibly empty) set of players that x lost to. We shall call this set B.  Since x is a top player, every player in B must have lost to at least one player in A.

Moving to 4 Players  Now a new player w joins.  Is x a top player here?  Is a two case model still appropriate?  Basically. Either x beats w, or w beats x. x y z w

Case 1: x beats w  Then w belongs in Set A. x is still a top player Set A Set B x W

Case 2a  If w beats x but loses to a member of A, then x is still a top player Set A Set B x w

Case 2b  If w beats x but does not lose to any member of A, then w is the new top player! Set A Set B w x

The relationship between A and B  Remember, for top player x we have  The set of players that x beat, called A  The set of players that x lost to, called B.  Since x is a top player, every player in B must have lost to at least one player in A.

So what does this mean?  If a 1 is a top player with k ≥ 2 players, we can symbolize sets A and B like this:  A = { a i : i = 2,..., j, where a 1 beats a i }  B = { a i: i = j + 1,... K, where a i beats a 1 }  Can B be an empty set? How about A?  Does a relationship exist between A and B?  Does every member of A need to beat someone in B?  How can we symbolize this with quantifiers?

Quantifier Time!  The relationship is this:  Can we formulate a relationship between members of A and B that starts off by quantifying elements of A?

Induction step  Assume: for some number of n players, every tournament has a top player.  Choose a tournament with n + 1 players.  Show that for every tournament with n+1 players, there exists a top player.  For now, ignore player n + 1’s results.  Within the n players we are observing, by assumption we have a top player, a 1.

Tournament with where k≥2  Case 1  a 1 beats a n+1  a 1 is a top player Set A Set B a1a1 a n+1

Tournament with where k≥2  Case 2. a n+1 beats a 1  Subcase 1: there exists an a i within set A that beats a n+1.  a 1 is a top player Set A Set B a n+1 a1a1 aiai

Tournament with where k≥2  Case 2. a n+1 beats a 1  Subcase 2: a n+1 beats everyone in set A  Do the games between a n+1 and Set B matter?  No, a n+1 is a top player! Set A Set B a1a1 a n+1

We’re Done!  We have shown the induction step  We have shown the basis step (for k = 2)  So as long as we have 2 or more players,  We always have a top player!

Q.E.D.!  A Ryan, Jun Oh, and Kian Production Copyright 2006 Honor code honored. (We Certify) Set A Set B a1a1