Solutions to Exercises 2

Similar documents
Combinations If 5 sprinters compete in a race, how many different ways can the medals for first, second and third place, be awarded

Fundamentals of Probability

(b) You draw two balls from an urn and track the colors. When you start, it contains three blue balls and one red ball.

Poker. 10,Jack,Queen,King,Ace. 10, Jack, Queen, King, Ace of the same suit Five consecutive ranks of the same suit that is not a 5,6,7,8,9

Pigeonhole Principle Solutions

8.3 Probability Applications of Counting Principles

The study of probability has increased in popularity over the years because of its wide range of practical applications.

POKER LOTTO LOTTERY GAME CONDITIONS These Game Conditions apply, until amended or revised, to the POKER LOTTO lottery game.

COUNTING SUBSETS OF A SET: COMBINATIONS

EXAM. Exam #3. Math 1430, Spring April 21, 2001 ANSWERS

Statistics 100A Homework 2 Solutions

Homework 3 (due Tuesday, October 13)

SECTION 10-5 Multiplication Principle, Permutations, and Combinations

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

UNDERGROUND TONK LEAGUE

Contemporary Mathematics- MAT 130. Probability. a) What is the probability of obtaining a number less than 4?

Hoover High School Math League. Counting and Probability

2.5 Conditional Probabilities and 2-Way Tables

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! 314

Andover Soccer Association U7 Boys / Girls High-Level Playing Rules

Bayesian Tutorial (Sheet Updated 20 March)

Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system

Chapter What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52.

Math 319 Problem Set #3 Solution 21 February 2002

Lab 11. Simulations. The Concept

Ready, Set, Go! Math Games for Serious Minds

PROBABILITY II BEGINNER CIRCLE 4/21/2013

Ch. 13.2: Mathematical Expectation

Math 728 Lesson Plan

Section 6-5 Sample Spaces and Probability

LECTURE 3. Probability Computations

Combinatorics 3 poker hands and Some general probability

How To Solve The Social Studies Test

Probabilities of Poker Hands with Variations

AP Stats - Probability Review

Solutions for Practice problems on proofs

Math 55: Discrete Mathematics

Section 6.2 Definition of Probability

Combinatorial Proofs

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

Section Probability (p.55)

A probability experiment is a chance process that leads to well-defined outcomes. 3) What is the difference between an outcome and an event?


Basic Probability Theory II

3 Some Integer Functions

Section 6.4: Counting Subsets of a Set: Combinations

Current California Math Standards Balanced Equations

Basic Probability Concepts

Discrete mathematics

Texas Hold em. From highest to lowest, the possible five card hands in poker are ranked as follows:

Math Quizzes Winter 2009

CS 341 Software Design Homework 5 Identifying Classes, UML Diagrams Due: Oct. 22, 11:30 PM

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

MATH 340: MATRIX GAMES AND POKER

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

BEGINNER S BRIDGE NOTES. Leigh Harding

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

Homework 2 Solutions

2. Three dice are tossed. Find the probability of a) a sum of 4; or b) a sum greater than 4 (may use complement)

Poker Probability from Wikipedia. Frequency of 5-card poker hands % % 72, : 1

MATH10040 Chapter 2: Prime and relatively prime numbers

Probabilistic Strategies: Solutions

Working with whole numbers

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

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay

INTEGRITY CERTIFICATION REQUIREMENTS: PLAYING CARD STANDARDS FOR TABLE GAMES

Source.

4. How many integers between 2004 and 4002 are perfect squares?

Properties of Real Numbers

Creating a NL Texas Hold em Bot

6.3 Conditional Probability and Independence

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

E3: PROBABILITY AND STATISTICS lecture notes

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

3. Mathematical Induction

Probability --QUESTIONS-- Principles of Math 12 - Probability Practice Exam 1

CHAPTER 1 COUNTING. shirt slot

Probability and Venn diagrams UNCORRECTED PAGE PROOFS

Mathematical Induction

Chapter 4 & 5 practice set. The actual exam is not multiple choice nor does it contain like questions.

THE premier card entertainer of

2004 Solutions Ga lois Contest (Grade 10)

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

OKbridge 2/1 Notes CHAPTER 1 THE 2/1 STRUCTURE. Copyright OKbridge All Rights Reserved

Probability. Section 9. Probability. Probability of A = Number of outcomes for which A happens Total number of outcomes (sample space)

Math 55: Discrete Mathematics

Quotient Rings and Field Extensions

Mathematics. ( : Focus on free Education) (Chapter 5) (Complex Numbers and Quadratic Equations) (Class XI)

Lecture Note 1 Set and Probability Theory. MIT Spring 2006 Herman Bennett

Chapter 13. Fractional Factorials Fractional replicates

Answer: (a) Since we cannot repeat men on the committee, and the order we select them in does not matter, ( )

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

Exam. Name. How many distinguishable permutations of letters are possible in the word? 1) CRITICS

Math Compute C(1000,2) (a) (b) (c) 2. (d) (e) None of the above.

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

of Nebraska - Lincoln

WORKED EXAMPLES 1 TOTAL PROBABILITY AND BAYES THEOREM

Grade 7/8 Math Circles Fall 2012 Factors and Primes

(Refer Slide Time: 01.26)

Transcription:

Discrete Mathematics Lent 2009 MA210 Solutions to Exercises 2 (1 The rules for the University of ABC five-a-side soccer competition specify that the members of each team must have birthdays in the same month How many mathematics students are needed in order to guarantee that they can rise a team? Solution We need 4 12 + 1 = 49 students By Pigeonhole Principle, there is one month with at least 4 + 1 = 5 students born in it (2 (a How many solutions are there of the equation x 1 + x 2 + x 3 = 12 with x 1, x 2, x 3 non-negative integers? Solution This is the same as the number of ways to choose 12 objects from 3 distinct objects with repetition and order does not matter, ie, ( ( 12+3 1 3 1 = 14 2 = 91 (b How many solutions are there of the equation x 1 + x 2 + x 3 = 12 with x 1, x 2, x 3 positive integers? Solution We set x i = y i + 1 for i = 1, 2, 3 and obtain y 1 + y 2 + y 3 = 12 3 = 9 So, there is one-to-one correspondence between the positive integer solutions of x 1 + x 2 + x 3 = 12 and the non-negative integer solutions of y 1 + y 2 + y 3 = 9 Hence, both equation have the same number of solutions Since y 1 + y 2 + y 3 = 9 has ( ( 9+3 1 3 1 = 11 2 = 55 non-negative integer solutions (we use the same method as in (a, x 1 + x 2 + x 3 = 12 has also 55 solutions in positive integers (3 A baseball team is made up of a pitcher and eight other players The manager must choose the team from a group of 20 players, six of whom are pitchers Note that non-pitchers cannot play at the pitcher s position (a In how many ways can manager pick the team if the pitchers do not want to play in any other position than as a pitcher? Solution The manager can choose one pitcher in ( 6 1 ways and the remaining eight players in ( ( 20 6 8 = 14 8 ways By the Multiplication Rule, the team can be picked in ( 6 14 1( 8 ways (b In how many ways can the team be formed if the pitchers can also play as one of the other players? Solution Again, the manager can choose one pitcher in ( 6 1 ways After selecting the pitcher, he has 19 players available to play the field, so he can choose eight of them in ( ( 20 1 8 = 19 8 ways By the Multiplication Rule, the team can be picked in ( 6 19 1( 8 ways

2 (4 Prove, by using a counting argument, that for 0 k r n, ( ( ( ( n r n n k = r k k r k Solution We will count in two ways the number N of pairs (A, B of subsets A, B of {1, 2,, n} satisfying all the following properties: (i A = r, (ii B = k, and (iii B A We can choose A in ( n r ways Once A is selected, we must pick B as a subset of A (to satisfy (iii, hence we need to choose k elements (to satisfy (ii out of r possible This can be done in ( r k ways By the Multiplication Rule, we have ( ( n r N = r k Another way to count is to choose B first; this can be done in ( n k ways To satisfy (i and (iii, we see that k elements of A are already selected (all elements of B and so we need to choose only r k elements from n k available Hence ( ( n n k N = k r k Consequently, ( ( n r r k = N = ( n k ( n k r k (5 A domino has two numbers from {0, 1, 2, 3, 4, 5, 6}, one at each side of its (indistinguishable ends So, for example, there is a 3-3 domino, with a 3 at each end, and a 4-0 domino, which is the same as 0-4 domino A set of dominoes contains one copy of each different domino How many dominoes are there? Solution There are 7 dominoes with the same number on both ends (0 0,, 6 6 and ( 7 2 = 21 dominoes with different numbers on both ends (the order does not matter because we cannot distinguish between the ends Thus, there are 7 + 21 = 28 dominoes (6 In how many ways can one choose 2 dominoes from the complete set so that at least one domino contains a 1 and at least one contains a 6? Solution If one of the dominoes is 1 6, then the other one can be any of the remaining 27 dominoes Otherwise, one domino must have 1 at one of its ends (but it is not 1 6 and the the other one must have 6 at one of its ends (but it cannot be 1 6 We have 6 options for the first one and 6 for the second one, so, by the Multiplication Rule, we have 36 possibilities The total number of options is 27 + 36 = 63

(7 What is the coefficient of x 5 y 2 z 3 in (x + y + z 10? Solution By the Multinomial Theorem, this is ( 10 5,2,3 = 10! 5!2!3! (8 How many different arrangements are there of the letters in the word MICROECO- NOMICS? Solution The total number of ways to order 14 letters is 14! but we cannot distinguish between any two M s or I s or O s or C s so the total number of ways is: 14! 2!2!3!3! (9 How many integers from 1 to 1000 are divisible by none of 5,7, 11? Solution Let A j will be the set of numbers between 1 and 1000 divisible by j We want to find the value of 1000 A 5 A 7 A 11 By the Inclusion-Exclusion Principle, we have A 5 A 7 A 11 = A 5 + A 7 + A 11 A 5 A 7 A 5 A 11 A 11 A 7 + A 5 A 7 A 11 We have that A 5 = 200, A 7 = 142, A 11 = 90 A 5 A 7 counts the number of numbers divisible by 5 and 7 Since 5 and 7 are primes, we have that A 5 A 7 = A 35, and A 5 A 7 = A 35 = 28 Similarly, A 5 A 11 = A 55 = 18 and A 11 A 7 = A 77 = 12 Finally, A 5 A 7 A 11 = A 385 = 2 Hence, A 5 A 7 A 11 = 200 + 142 + 90 28 18 12 + 2 = 376 and there are 1000 A 5 A 7 A 11 = 1000 376 = 624 numbers between 1 and 1000 not divisible by neither of 5, 7 and 11 (10 How many orderings are there of numbers 1, 2, 8 in which none of the patterns 12, 34, 56, or 78 appears? Solution Let A ij will be the set of all orderings in which the pattern ij appears The total number of orderings of numbers 1, 2, 8 is 8! What we are looking for is the quantity 8! A 12 A 34 A 56 A 78 (by the Addition Principle By the Inclusion-Exclusion Principle, we have A 12 A 34 A 56 A 78 = A 12 + A 34 + A 56 + A 78 A 12 A 34 A 12 A 56 A 12 A 78 A 34 A 56 A 34 A 78 A 56 A 78 + A 12 A 34 A 56 + A 12 A 34 A 78 + A 34 A 56 A 78 A 12 A 34 A 56 A 78 3

4 How do we find the size of A 12? We treat 12 as one number, so we need to find in how many ways we can order 7 numbers 12, 3, 4, 5, 6, 7, 8 This is 7!, hence A 12 = 7! In the same way, we obtain that A 34 = A 56 = A 78 = 7! To find A 12 A 34, we need to find the number of orderings that fix 12 and 34 Again, we treat 12 as one number, 34 as another one, and so A 12 A 34 is equal to the number of orderings of 6 numbers, ie, A 12 A 34 = 6! In the same way, we get that A 12 A 56 = A 12 A 78 = A 34 A 56 = A 34 A 78 = A 56 A 78 = 6! Analogous reasoning gives A 12 A 34 A 56 = A 12 A 34 A 78 = A 34 A 56 A 78 = 5! and A 12 A 34 A 56 A 78 = 4! Hence, A 12 A 34 A 56 A 78 = 4(7! 6(6! + 4(5! 4! and 8! A 12 A 34 A 56 A 78 = 8! 4(7! + 6(6! 4(5! + 4! (11 A (standard deck consists of 52 cards: there are four suits (Spades, Diamonds, Hearts, and Clubs and distinguishable cards (Ace, Two,, Ten, Jack, Queen, King in each of the suits A k-hand is a set of k different cards from this deck (a How many -hands are there? Solution ( 52 (b Use the Inclusion-Exclusion principle to find the number of -hands that contain at least one card from each suit Solution Let A i, i {Spades, Diamonds, Hearts, Clubs}, be the set of all - hands that avoid suit i Then A Spades A Diamonds A Hearts A Clubs is the set of all -hands that avoid some suit By (a, the total number of -hands is ( 52 So, by the Addition Principle, we are looking for the value of ( 52 A Spades A Diamonds A Hearts A Clubs The size of A i is the number of -hands drawn from 52 = 39 cards avoiding suit i, ie, A i = ( 39 The size of A i A j is the number of -hands drawn from 52 2 = 26 cards avoiding suits i, j, ie, A i A j = ( 26 The size of A i A j A k is the number of -hands drawn from 52 3 = cards avoiding suits i, j, k, ie, A i A j A k = ( = 1 Since every 14-hand must use some suit, we have A Spades A Diamonds A Hearts A Clubs = 0

5 By the Inclusion-Exclusion Principle, we have A Spades A Diamonds A Hearts A Clubs = A Spades + A Diamonds + A Hearts + A Clubs Consequently, ( 52 A Spades A Diamonds A Hearts A Clubs = A Spades A Diamonds A Hearts A Clubs A Spades A Hearts A Diamonds A Clubs A Spades A Clubs A Diamonds A Hearts + A Spades A Diamonds A Hearts + A Spades A Diamonds A Clubs + A Spades A Hearts A Clubs + A Diamonds A Hearts A Clubs A Spades A Diamonds A Hearts A Clubs ( ( ( 39 26 =4 6 + 4 0 ( 52 4 ( ( 39 26 + 6 4 (c What is the chance that you obtain a -hand in which there are at most three suits? Solution This chance is given by ( 6 26 A Spades A Diamonds A Hearts A Clubs the total number of -hands = 4( 39 ( 52 + 4 (12 The game of korfball is played with teams of 6 players Each team contains 3 female and 3 male players A coach must select a korfball team from 8 male and 7 female candidates (a How many choices are there to choose the team? Solution The coach has ( ( 7 3 choices for the female players and 8 3 choices for the male ones By the Multiplication Rule, there are ( 7 8 3( 3 ways to choose the team In fact, the rules for forming a korfball team of 6 players are a bit more complicated A team actually consists of 3 pairs, each containing one female and one male player One pair will play in the offense, one pair plays mid-field, and one pair plays defense Our coach still has 8 male and 7 female candidates (b In how many ways can the coach choose 3 pairs (one offensive, one defensive and one for the mid-field, each pair consisting of one female and one male player?

6 Solution For the offense, we can chose one woman and one man in ( 7 8 1( 1 = 56 ways (Again, we used the Multiplication Rule Have chosen offense, we can chose one woman and one man for the mid-field in = 42 ways After this, we can chose one woman and one man for defense ( 6 ( 7 1 1 in ( 5 1( 6 1 = 30 ways By the Multiplication Rule, the coach can choose the team in ways 56 42 30 = 70560 A coach of a different club has 7 female and 7 male players to form a korfball team These players are actually 7 married couples The second coach knows from experience that a married couple should not form one of the pairs in a team (c Determine, using the Inclusion-Exclusion principle or otherwise, in how many ways the second coach can choose 3 pairs (one offensive, one defensive and one for the mid-field, each pair consisting of one female and one male player, so that none of the pairs is a married couple Solution Similarly to (b, there are ( 7 1 2 ( 6 1 2 ( 5 1 2 = 49 36 25 = 44100 ways to form the team Let A i be the set of all teams in which couple i plays as a pair in some position So, A 1 A 7 is the number of teams in which some couple plays as a pair Hence, we want to find the value of 44100 A 1 A 7 We use the Inclusion-Exclusion Principle Since there are 3 pairs in the team, the intersection of four or more of A i s must be empty We have A i A j A k = 3! = 6 because for each of the couples we just need to select its position (offense, midfield, defense Similarly, we have A i A j = 3 2 ( 5 2 1 = 150 because there are 3 possibilities for the position of the couple i, then only 2 possibilities for the position of the couple j, and then we have ( ( 5 1 female candidates and 5 1 male candidates for the last pair Finally, we have A i = 3 (6 2 ( 5 2 1 1 = 2700 because there are 3 possibilities for the position of the couple i, then we have ( ( 6 1 female candidates and 6 1 male candidates for the pair in one of the remaining positions and then we have ( 5 1 female candidates and ( 5 1 male candidates for the last pair By the Inclusion-Exclusion Principle, A 1 A 7 = ( 7 1 2700 ( 7 2 150 + ( 7 6 = 15960 3 Consequently, the coach can choose the team in 44100 15960 = 28140 ways