Combinational Mathematics - I

Size: px
Start display at page:

Download "Combinational Mathematics - I"

Transcription

1 Combinational Mathematics - I Jon T. Butler Naval Postgraduate School, Monterey, CA, USA We are here I live here Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 1 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 2 San Francisco Monterey Los Angeles Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 3 Monterey Coast Pacific Grove Monterey Bay Aquarium Naval Postgraduate School Carmel Big Sur Monterey Points of Interest Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 4 Monterey Coast Pacific Grove Purple Ice Plant Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 5 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 6 1

2 Monterey Bay Acquarium Naval Postgraduate School Hotel Del Monte Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 7 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 8 Carmel Linus Pauling Clint Eastwood Carmel Mission The only person to win two unshared Nobel Prizes chemistry and peace. He lived in Big Sur. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 9 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 10 Passwords Question? Which of these passwords are strong? tomoko p@ssw0rd 5. $1ngle 6. IgfMUiM2 4% 52% 50% 76% 34% 57% Score: RoboForm Password Meter ordmeter.com/ Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 11 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 13 2

3 Storing Passwords Storing Passwords Cracking Passwords It is too slow to try to break into a system by trying combinations at the accountpassword page. Hackers prefer to breakin once and steal the whole password file. Then, they can use a supercomputer to try many combinations. Computer Password File 1234 tomoko2015 $!ngle IgfMUiM2 Plaintext Easy to crack Meiji Univ. 10:30-12:00 October 9, 2015 J. T. Butler Combinatorial Mathematics Part 1 14 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 15 Storing Passwords Storing Passwords Computer Password File #6ag&kP0 Z +jq?xlb62 d= />LpV* :z<)6kxw3 Po7(!X&zJ K,6Q1/8kc Encryption easy to go from plaintext to ciphertext and easy to go from ciphertext to plaintext Harder to crack Computer Password File )?Hk2m3D =8Jc:fF9q #2JK/.Ksz p[=9hbz@ o_+v2wg L*wn;2?sa One-Way Hash easy to go from plaintext to cipher-text but hard from ciphertext to plaintext Very Hard to crack Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 16 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 17 Assume a one-way hash In a brute-force attack, an attacker tries many passwords and sees if any of the hashed forms matches one of the passwords he tried. For each match, he can access that person s account. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 18 Assume a one-way hash If all passwords are 4 digits, then the passwords are 0000 through There are only 10 4 = 10,000 passwords, and it is easy to try all of them. If the passwords are all 4 lowercase letters, then the passwords are between aaaa and zzzz. Now, there are 26 4 = 456,976 passwords. It is also easy to try all. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 19 3

4 Hack LinkedIn, a social network website was hacked on June 5, 2012 by Russian hackers. Nearly 6,500,000* user accounts were hacked. The stolen passwords, were encrypted, but were decrypted and posted on a Russian password decryption forum later on that same day. *Recent reports state that 117,000,000 accounts were hacked. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 20 Hack This provides an understanding of how people choose their passwords. 21% use only lowercase letters 44% use lowercase & numbers Thus, 65% choose a combination of lowercase letters and numbers. This is good news for hackers!! Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 21 Brute force times to crack all passwords A GPU can do. 20M hashes per second is 20,000,000 passwords per second. A CPU can do. 38 days to crack all 8 character passwords! Dictionaries People usually do not use random characters. Therefore, hackers often use dictionaries to test for patterns. The dictionary can even be the passwords previously hacked in a password file! a A 1 $ Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 22 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 23 Dictionaries + Rules People often leetify dictionary words to produce passwords. s are 1. E or e 3 2. S or s $ 3. A or 4. I or i! 5. Add numbers to the end of words Hackers know these rules and can take dictionary words and apply the rules. How to choose a password 1.Choose random characters with uppercase letters, lower case letters, numbers, and special characters # $ etc.) 2.Choose long passwords password cracking time goes up exponentially with password length Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 24 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 25 4

5 How to choose a password 3. Change password and use different passwords for different accounts 4. Use a password manager, like 1password ( or LastPass ( You need only remember one password. All of your passwords are stored on your computer or in the cloud. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 26 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 27 Outline Combinatorial Math Introduction Rule of Sum Rule of Product Circle Permutations Pascal s Triangle Choice With Repetition s Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 28 Outline Combinatorial Math Introduction Rule of Sum Rule of Product Circle Permutations Pascal s Triangle Choice With Repetition s Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 29 Yogi Berra Yogi Berra played baseball for the New York Yankees in Yogi Berra He is famous for Yogism s. 1. It is not over, until it is over. 2. Nobody goes there anymore. It is too crowded. 3. Baseball is 90% mental. The other half is physical. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 30 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 31 5

6 Yogisms for combinatorial mathematics 1. If it is impossible, there are 0 ways to do it. 2. If there is only one way to do it, then the number of ways to do it is There is one way to choose 0 objects from 0 objects. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 32 Outline Introduction Rule of Sum Rule of Product Circle Permutations Pascal s Triangle Choice With Repetition s Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 33 Rule of Sum If one event can occur in m ways and another event can occur in n ways, there are m+n ways exactly one event can occur. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 34 Suppose there are 5 red balls and 3 green balls. Then, there are 5+3 = 8 ways to choose one ball of any color Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I Outline Introduction Rule of Sum Rule of Product Circle Permutations Pascal s Triangle Choice With Repetition s Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 36 Rule of Product If one event can occur in m ways and another event can occur in n ways, there are m n ways the two events can occur together. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 37 6

7 Suppose there are 5 red balls and 3 green balls. Then, there are 15 ways to choose one red ball and one green ball Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 38 (cont d) Note: When we choose one red and one green ball, order is not important. For example, 1 2 = 2 1 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 39 Your PC has an address register with 24 bits. How many addresses are there? There are 24 bits, each with two values, 0 and 1. By the rule of product, there are = 2 24 = 16,777,216 addresses. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 40 How many ways, P(n,n), are there to arrange n of n objects? By the rule of product, P(n,n) = n (n-1) (n-2) 2 1 = n!. There are n There are There are ways to n-1 ways to n-2 ways to choose the 1 st object. choose the 2 nd object. choose the 3 rd object. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 41 This is n factorial. By the rule of product, P(n,r) = n(n-1)(n-2) (n r+1) = n! (n-r)! This is a permutation of r of n objects. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 42 P(n,r) = n(n-1)(n-2) (n-r+1) can be viewed as a distribution of n balls to r cells, as follows. There are n ways to fill the 1 st cell. There are n-1 ways to fill the 2 nd cell. There are n-2 ways to fill the 3 rd cell. There are n-r+1 ways to fill the r th cell. Note: Some balls may be left over. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 43 7

8 How many permutations are there of two elements in S = {a,b,c,d}? There are 12 ab, ac, ad, bc, bd, cd, ba, ca, da, cb, db, and dc. That is, n = 4 and r = 2 in P(n,r) = n!/(n-r)! = 12. Remember: In a set S of n distinct objects, a permutation is an arrangement or ordering of objects from S. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 44 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 45 How many ways are there to arrange the three letters in ALL? If all letters were distinct, like AL 1 L 2, there would be 3!=6, by the rule of product. But, two letters are the same! h ALL <=>AL 1 L 2 AL 2 L 1 LAL <=>L 1 AL 2 L 2 AL 1 LLA <=>L 1 L 2 A L 2 L 1 A Therefore, 2! times (the number of arrangements of ALL) = (number of arrangements of AL 1 L 2 ). That is, the number of arrangements of ALL is 3! = 3 2! These are ALL, LAL, and LLA. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 46 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 47 Permuting When There Are Objects of the Same Type If there are n 1 objects of the first type, n 2 objects of the second type,, n r objects of the r th -type, where n = n 1 + n n r, then the number of arrangements of all n objects isiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii n! n 1! n 2! n r! Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 48 In our previous example, n = 3 n 1 = 1 and n 2 = 2. Therefore, the number of arrangements of the letters of ALL is 3! 1! 2! This is 3. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 49 8

9 Permuting When There Are Objects of the Same Type n! n 1! n 2! n r! is called a multinomial. n! C(n,r) = r! (n-r)! is a binomial and is the number of ways to choose r from n objects. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 50 Outline Introduction Rule of Sum Rule of Product Circle Permutations Pascal s Triangle Choice With Repetition s Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 51 Circle Permutations If six people, A, B, C, D, E, and F are seated around a round table, how many circle arrangements are possible? A E A A F E B D F B F B = = C C A C E C D B D D (a) (b) (c) (d) (a) and (b) are identical, while (c) and (d) are different. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 52 E F Circle Permutations Choose one person, say A, to be at the top. Then, choose the order of the remaining people in 5! = 120 ways. Thus, the number of circle permutations on 6 objects is 5!. iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 53 Circle Permutations Suppose that A, B, and C are girls, while D, E, and F are boys. We want to arrange them so that boys and girls alternate. How many ways are their to do this? Choose A, a girl to be in the top position. There are 3! ways to arrange the boys and 2! ways to arrange the remaining girls or 3! 2! = 12 ways. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 54 Recall there are 3 ways to arrange ALL We want to count the ways to choose 2 objects from 3. Let L be the chosen objects and A the unchosen object. Thus, the three ways to choose are ALL, LAL, and LLA. The number of ways to choose 2 from 3 objects is iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii 3! = 3. 1!2! Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 55 9

10 Recall there are 3 ways to arrange ALL From this, we can observe n! P(n,r) C(C(C(n,r) = ii = r!(n-r)! r! C(C( P(n,r) = ir! C(n,r) The set of permutations is just the set of combinations with all chosen objects permuted in some way. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 56 Outline Introduction Rule of Sum Rule of Product Circle Permutations Pascal s Triangle Choice With Repetition s Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 57 Pascal s Rule By the Rule of Sum C(n,r) = C(n-1,r) + C(n-1,r-1) Pascal s Rule - Consider 4 objects C(4,2) = C(3,2) + C(3,1) = = 6 Choose r objects from n-1 objects not including a special object or Choose the special object and r-1 objects from n-1 objects not including the special object {b,c}, {b,d}, {c,d} or {a,b}, {a,c}, {a,d} a is the special object Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 58 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 59 Pascal s Triangle Sum Diff Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 60 Pascal s Triangle r n 0 Sum Diff Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 61 10

11 1. If it is impossible, there Pascal s are 0 ways Triangle to do it. (choose 2 objects from 1 - impossible). 3. There is one way to choose 0 objects from 0 objects. r 2. If there is only one n 0 way to do Sum it, then Diff. the number of ways to do it is 1 (choose objects from 21) Pascal s Triangle Sum Diff. Pascal s Rule C(3,2) + C(3,1) = C(4,2) Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 62 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 63 Pascal s Triangle This was first published in 1653 by Blaise Pascal (from France). These numbers were known more than a 1000 years earlier. Pascal s version of the triangle. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 64 Outline Introduction Rule of Sum Rule of Product Circle Permutations Pascal s Triangle Choice With Repetition s Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 65 Choice With Repetition Question: In how many ways can you choose r objects from n objects when repetitions are allowed? That is, now one can choose an object 0, 1, 2, 3, etc. times. Before, we could only choose 0 or 1 times. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 66 Choice With Repetition : The number of ways to choose r = 2 objects, with repetition, from n = 3 is 6. Consider {a,b,c}. One can choose 2 objects as follows {a,a}, {a,b}, {a,c}, {b,b}, {b,c}, and {c,c}. The number of ways to choose without repetition is 3, (the blue ways). Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 67 11

12 Choice With Repetition Answer: A choice of r objects with repetition can be viewed as follows. Consider n + r 1 objects separated by n 1 lines. The non-selected lines represent choices of r objects with repetition. Choice With Repetition Answer: In our example, we had r = 2 and n = 3. So, among n+r-1 = 4 lines choose n-1 = 2 lines. {a,a} {a,b} {b,b} {a,c} {b,c} {c,c} Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 68 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 69 Choice With Repetition Summary: The number of ways to choose r objects from n with repetition is C(n+r 1, n-1) = C(n+r-1,r). Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 70 Outline Introduction Rule of Sum Rule of Product Circle Permutations Pascal s Triangle Choice With Repetition s Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 71 Naming the Ace Paradox It appears to be wrong, but it is not! A Deck of Cards (52 cards) Each card has a 1) number and a 2) suit. 1) Number A K Q J Ace Jack Queen King 2) Suit Clubs Hearts Spades Diamonds Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 72 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 73 12

13 A Deck of Cards A K Q J Cards Clubs Spades Diamonds Hearts Definitions 1. To deal 52 cards to 4 people means to randomly give 13 cards to each of 4 people. Usually, the people know only those cards given to them. 2. A hand is a set of 13 cards that one deals to a person. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 74 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 75 Naming the Ace 1. Deal 52 cards to 4 people. One person says I have an ace. What is the probability she/he has another ace? Answer: 5359/14498 < 50%. 2. Deal 52 cards to 4 people. One person says I have an ace of spades What is the probability she/he has another ace? Answer: 11686/20825 > 50%. Naming the Ace Question: Why does naming the ace increase the probability of having another ace? Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 76 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 77 Use a Smaller Set Give 2 cards to each of 2 people Below are the six different hands with two cards Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 78 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 79 13

14 Naming the Ace Naming the Ace There are 6 ways a person can have a hand of 2 cards, as shown. If someone says, I have an ace, the probability she/he has another ace is 1/5 (there are 5 hands with at least one ace, only one of which has another ace). If she/he says, I have an ace of spades, then the probability she/he has another ace is 1/3. Naming the ace reduces the possibilities, and thus increases the probability! Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 80 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 81 Children Paradox Mr. Yamada has two children. At least one is a boy. What is the probability that the other is a boy also? There are four equally likely outcomes Older Boy Boy Girl Girl Younger Boy Girl Boy Girl (impossible) Since only one of three possible outcomes consists of two boys, the probability is 1/3! Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 82 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 83 Playing Keno Keno is a game in which you choose 6 numbers from 1 to 80 and the casino chooses 20 numbers from 1 to 80. You enter your choice of numbers for 100 yen. The casino pays you back depending on how many matches occur. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 84 Playing Keno For example, if all 6 of your numbers match numbers chosen by the casino, you win 100,000 yen! Question: What is the probability P(k) that k of the numbers you chose match numbers chosen by the casino? Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 85 14

15 Playing Keno Playing Keno Number of ways k numbers can match. P(k) = C(80,k)C(80-k,20-k)C(60,6-k) C(80,20)C(80,6) Number of ways casino can choose 20 numbers. Number of ways casino can choose the rest of its numbers. Number of ways person can choose the rest of its numbers. Number of ways person can choose 6 numbers. Exp. the results of an experiment done in a class of 40 students. Each student chose 6 numbers and the teacher choose 20. k P(k) Exp Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 86 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 87 Probability Playing Keno Probability of matching k numbers k Probability Experiment Exact How to Become Rich by Playing Keno You cannot. Spend your money somewhere else. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 88 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 89 Yen Paradox A coin has two sides Heads (H) and Tails (T). In this game, a coin is flipped producing H or T. To play, you pay 100 yen. If it is T, the coin is flipped again. If it is H, you receive some money, as shown on the next slide. Yen Paradox Outcome You receive H TH TTH TTTH TTTTH TTTTTH 100 yen 200 yen 400 yen 800 yen 1600 yen 3200 yen Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 90 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 91 15

16 Yen Paradox Yen Paradox Of course, if you pay 100 yen, you should play because you will always receive at least 100 yen. However, should you play if it costs 10,000 yen instead of 100 yen? Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 92 You can expect to receive 1 _ 1 _ You should pay ANY amount to play!! Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 93 Paths in a Chessboard You are here. Go here. Only go EAST or NORTH. How many paths are there? Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 94 Paths in a Chessboard Make 7 EAST moves and 7 NORTH moves. Once you make the EAST moves, the rest are NORTH moves. There are C(14,7) = 3,432 ways to choose the EAST moves. Thus, there are 3,432 different paths. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 95 Birthday Paradox Answer: Compute the probability that no two people among n people will have the same birthday. Birthday Paradox That is, there are 365 n ways n people can have birthdays, but P(365,n) = (365-n+1) ways n people can all have different birthdays. Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 96 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 97 16

17 Birthday Paradox Birthday Paradox Thus, the probability we seek is (365-n+1) P(n) = 1 iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii 365 n n P(n) Note: At n = 23, the probability is greater than 50%! Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 98 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I 99 Meiji University 10:50-12:30 September 28, 2018 J. T. Butler Combinatorial Mathematics I

Combinational Mathematics Part 1

Combinational Mathematics Part 1 j1 Combinational Mathematics Part 1 Jon T. Butler Naval Postgraduate School, Monterey, CA, USA Meiji Univ. 10:30-12:00 October 9, 2015 J. T. Butler Combinatorial Mathematics Part 1 1 Monterey Coast Pacific

More information

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting Discrete Mathematics: Logic Discrete Mathematics: Lecture 15: Counting counting combinatorics: the study of the number of ways to put things together into various combinations basic counting principles

More information

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College Probability The MEnTe Program Math Enrichment through Technology Title V East Los Angeles College 2003 East Los Angeles College. All rights reserved. Topics Introduction Empirical Probability Theoretical

More information

Topics to be covered

Topics to be covered Basic Counting 1 Topics to be covered Sum rule, product rule, generalized product rule Permutations, combinations Binomial coefficients, combinatorial proof Inclusion-exclusion principle Pigeon Hole Principle

More information

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG MATH DISCRETE MATHEMATICS INSTRUCTOR: P. WENG Counting and Probability Suggested Problems Basic Counting Skills, Inclusion-Exclusion, and Complement. (a An office building contains 7 floors and has 7 offices

More information

Math 166: Topics in Contemporary Mathematics II

Math 166: Topics in Contemporary Mathematics II Math 166: Topics in Contemporary Mathematics II Xin Ma Texas A&M University September 30, 2017 Xin Ma (TAMU) Math 166 September 30, 2017 1 / 11 Last Time Factorials For any natural number n, we define

More information

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

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building? 1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building? 2. A particular brand of shirt comes in 12 colors, has a male version and a female version,

More information

Finite Math - Fall 2016

Finite Math - Fall 2016 Finite Math - Fall 206 Lecture Notes - /28/206 Section 7.4 - Permutations and Combinations There are often situations in which we have to multiply many consecutive numbers together, for example, in examples

More information

Secret Key Systems (block encoding) Encrypting a small block of text (say 128 bits) General considerations for cipher design:

Secret Key Systems (block encoding) Encrypting a small block of text (say 128 bits) General considerations for cipher design: Secret Key Systems (block encoding) Encrypting a small block of text (say 128 bits) General considerations for cipher design: Secret Key Systems (block encoding) Encrypting a small block of text (say 128

More information

Combinatorial Proofs

Combinatorial Proofs Combinatorial Proofs Two Counting Principles Some proofs concerning finite sets involve counting the number of elements of the sets, so we will look at the basics of counting. Addition Principle: If A

More information

Section : Combinations and Permutations

Section : Combinations and Permutations Section 11.1-11.2: Combinations and Permutations Diana Pell A construction crew has three members. A team of two must be chosen for a particular job. In how many ways can the team be chosen? How many words

More information

Chapter 2. Permutations and Combinations

Chapter 2. Permutations and Combinations 2. Permutations and Combinations Chapter 2. Permutations and Combinations In this chapter, we define sets and count the objects in them. Example Let S be the set of students in this classroom today. Find

More information

Permutations and Combinations

Permutations and Combinations Motivating question Permutations and Combinations A) Rosen, Chapter 5.3 B) C) D) Permutations A permutation of a set of distinct objects is an ordered arrangement of these objects. : (1, 3, 2, 4) is a

More information

Week 1: Probability models and counting

Week 1: Probability models and counting Week 1: Probability models and counting Part 1: Probability model Probability theory is the mathematical toolbox to describe phenomena or experiments where randomness occur. To have a probability model

More information

4.1 Sample Spaces and Events

4.1 Sample Spaces and Events 4.1 Sample Spaces and Events An experiment is an activity that has observable results. Examples: Tossing a coin, rolling dice, picking marbles out of a jar, etc. The result of an experiment is called an

More information

JIGSAW ACTIVITY, TASK # Make sure your answer in written in the correct order. Highest powers of x should come first, down to the lowest powers.

JIGSAW ACTIVITY, TASK # Make sure your answer in written in the correct order. Highest powers of x should come first, down to the lowest powers. JIGSAW ACTIVITY, TASK #1 Your job is to multiply and find all the terms in ( 1) Recall that this means ( + 1)( + 1)( + 1)( + 1) Start by multiplying: ( + 1)( + 1) x x x x. x. + 4 x x. Write your answer

More information

Counting Methods and Probability

Counting Methods and Probability CHAPTER Counting Methods and Probability Many good basketball players can make 90% of their free throws. However, the likelihood of a player making several free throws in a row will be less than 90%. You

More information

Section 5.4 Permutations and Combinations

Section 5.4 Permutations and Combinations Section 5.4 Permutations and Combinations Definition: n-factorial For any natural number n, n! = n( n 1)( n 2) 3 2 1. 0! = 1 A combination of a set is arranging the elements of the set without regard to

More information

Fundamentals of Probability

Fundamentals of Probability Fundamentals of Probability Introduction Probability is the likelihood that an event will occur under a set of given conditions. The probability of an event occurring has a value between 0 and 1. An impossible

More information

Math 1111 Math Exam Study Guide

Math 1111 Math Exam Study Guide Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the

More information

CS1800: Permutations & Combinations. Professor Kevin Gold

CS1800: Permutations & Combinations. Professor Kevin Gold CS1800: Permutations & Combinations Professor Kevin Gold Permutations A permutation is a reordering of something. In the context of counting, we re interested in the number of ways to rearrange some items.

More information

Finite Mathematics MAT 141: Chapter 8 Notes

Finite Mathematics MAT 141: Chapter 8 Notes Finite Mathematics MAT 4: Chapter 8 Notes Counting Principles; More David J. Gisch The Multiplication Principle; Permutations Multiplication Principle Multiplication Principle You can think of the multiplication

More information

Counting (Enumerative Combinatorics) X. Zhang, Fordham Univ.

Counting (Enumerative Combinatorics) X. Zhang, Fordham Univ. Counting (Enumerative Combinatorics) X. Zhang, Fordham Univ. 1 Chance of winning?! What s the chances of winning New York Megamillion Jackpot!! just pick 5 numbers from 1 to 56, plus a mega ball number

More information

Chapter 4: Introduction to Probability

Chapter 4: Introduction to Probability MTH 243 Chapter 4: Introduction to Probability Suppose that we found that one of our pieces of data was unusual. For example suppose our pack of M&M s only had 30 and that was 3.1 standard deviations below

More information

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. C) 1 6

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. C) 1 6 Math 300 Exam 4 Review (Chapter 11) Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Give the probability that the spinner shown would land on

More information

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

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Study Guide for Test III (MATH 1630) Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the number of subsets of the set. 1) {x x is an even

More information

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

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman: Math 22 Fall 2017 Homework 2 Drew Armstrong Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman: Section 1.2, Exercises 5, 7, 13, 16. Section 1.3, Exercises,

More information

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015 1 Probability Axioms Let A,B,C be three arbitrary events. Find the probability of exactly one of these events occuring. Sample space S: {ABC, AB, AC, BC, A, B, C, }, and S = 8. P(A or B or C) = 3 8. note:

More information

Section 5.4 Permutations and Combinations

Section 5.4 Permutations and Combinations Section 5.4 Permutations and Combinations Definition: n-factorial For any natural number n, n! n( n 1)( n 2) 3 2 1. 0! = 1 A combination of a set is arranging the elements of the set without regard to

More information

Algebra II- Chapter 12- Test Review

Algebra II- Chapter 12- Test Review Sections: Counting Principle Permutations Combinations Probability Name Choose the letter of the term that best matches each statement or phrase. 1. An illustration used to show the total number of A.

More information

CISC 1400 Discrete Structures

CISC 1400 Discrete Structures CISC 1400 Discrete Structures Chapter 6 Counting CISC1400 Yanjun Li 1 1 New York Lottery New York Mega-million Jackpot Pick 5 numbers from 1 56, plus a mega ball number from 1 46, you could win biggest

More information

Elementary Combinatorics

Elementary Combinatorics 184 DISCRETE MATHEMATICAL STRUCTURES 7 Elementary Combinatorics 7.1 INTRODUCTION Combinatorics deals with counting and enumeration of specified objects, patterns or designs. Techniques of counting are

More information

Probability. Engr. Jeffrey T. Dellosa.

Probability. Engr. Jeffrey T. Dellosa. Probability Engr. Jeffrey T. Dellosa Email: jtdellosa@gmail.com Outline Probability 2.1 Sample Space 2.2 Events 2.3 Counting Sample Points 2.4 Probability of an Event 2.5 Additive Rules 2.6 Conditional

More information

November 6, Chapter 8: Probability: The Mathematics of Chance

November 6, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 6, 2013 Last Time Crystallographic notation Groups Crystallographic notation The first symbol is always a p, which indicates that the pattern

More information

Discrete Structures Lecture Permutations and Combinations

Discrete Structures Lecture Permutations and Combinations Introduction Good morning. Many counting problems can be solved by finding the number of ways to arrange a specified number of distinct elements of a set of a particular size, where the order of these

More information

Generalized Permutations and The Multinomial Theorem

Generalized Permutations and The Multinomial Theorem Generalized Permutations and The Multinomial Theorem 1 / 19 Overview The Binomial Theorem Generalized Permutations The Multinomial Theorem Circular and Ring Permutations 2 / 19 Outline The Binomial Theorem

More information

CS1800: More Counting. Professor Kevin Gold

CS1800: More Counting. Professor Kevin Gold CS1800: More Counting Professor Kevin Gold Today Dealing with illegal values Avoiding overcounting Balls-in-bins, or, allocating resources Review problems Dealing with Illegal Values Password systems often

More information

This Probability Packet Belongs to:

This Probability Packet Belongs to: This Probability Packet Belongs to: 1 2 Station #1: M & M s 1. What is the sample space of your bag of M&M s? 2. Find the theoretical probability of the M&M s in your bag. Then, place the candy back into

More information

November 11, Chapter 8: Probability: The Mathematics of Chance

November 11, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 11, 2013 Last Time Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Probability Rules Probability Rules Rule 1.

More information

Permutations and Combinations

Permutations and Combinations Permutations and Combinations Rosen, Chapter 5.3 Motivating question In a family of 3, how many ways can we arrange the members of the family in a line for a photograph? 1 Permutations A permutation of

More information

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22 Unit 6: Probability Marius Ionescu 10/06/2011 Marius Ionescu () Unit 6: Probability 10/06/2011 1 / 22 Chapter 13: What is a probability Denition The probability that an event happens is the percentage

More information

COUNTING AND PROBABILITY

COUNTING AND PROBABILITY CHAPTER 9 COUNTING AND PROBABILITY Copyright Cengage Learning. All rights reserved. SECTION 9.2 Possibility Trees and the Multiplication Rule Copyright Cengage Learning. All rights reserved. Possibility

More information

Advanced Intermediate Algebra Chapter 12 Summary INTRO TO PROBABILITY

Advanced Intermediate Algebra Chapter 12 Summary INTRO TO PROBABILITY Advanced Intermediate Algebra Chapter 12 Summary INTRO TO PROBABILITY 1. Jack and Jill do not like washing dishes. They decide to use a random method to select whose turn it is. They put some red and blue

More information

Counting. Chapter 6. With Question/Answer Animations

Counting. Chapter 6. With Question/Answer Animations . All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Counting Chapter

More information

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22 Unit 6: Probability Marius Ionescu 10/06/2011 Marius Ionescu () Unit 6: Probability 10/06/2011 1 / 22 Chapter 13: What is a probability Denition The probability that an event happens is the percentage

More information

10-1. Combinations. Vocabulary. Lesson. Mental Math. able to compute the number of subsets of size r.

10-1. Combinations. Vocabulary. Lesson. Mental Math. able to compute the number of subsets of size r. Chapter 10 Lesson 10-1 Combinations BIG IDEA With a set of n elements, it is often useful to be able to compute the number of subsets of size r Vocabulary combination number of combinations of n things

More information

November 8, Chapter 8: Probability: The Mathematics of Chance

November 8, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 8, 2013 Last Time Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Crystallographic notation The first symbol

More information

Content. 1 Understanding and analyzing algorithms. 2 Using graphs and graph algorithms

Content. 1 Understanding and analyzing algorithms. 2 Using graphs and graph algorithms Content 1 Understanding and analyzing algorithms 2 Using graphs and graph algorithms 3 Using combinatorial reasoning and probability to quantitatively analyze algorithms and systems 3.1 Basics of Counting:

More information

Math 1111 Math Exam Study Guide

Math 1111 Math Exam Study Guide Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the

More information

Probability and Counting Techniques

Probability and Counting Techniques Probability and Counting Techniques Diana Pell (Multiplication Principle) Suppose that a task consists of t choices performed consecutively. Suppose that choice 1 can be performed in m 1 ways; for each

More information

Name: Section: Date:

Name: Section: Date: WORKSHEET 5: PROBABILITY Name: Section: Date: Answer the following problems and show computations on the blank spaces provided. 1. In a class there are 14 boys and 16 girls. What is the probability of

More information

Jong C. Park Computer Science Division, KAIST

Jong C. Park Computer Science Division, KAIST Jong C. Park Computer Science Division, KAIST Today s Topics Basic Principles Permutations and Combinations Algorithms for Generating Permutations Generalized Permutations and Combinations Binomial Coefficients

More information

Math 3201 Unit 3: Probability Name:

Math 3201 Unit 3: Probability Name: Multiple Choice Math 3201 Unit 3: Probability Name: 1. Given the following probabilities, which event is most likely to occur? A. P(A) = 0.2 B. P(B) = C. P(C) = 0.3 D. P(D) = 2. Three events, A, B, and

More information

Probability Paradoxes

Probability Paradoxes Probability Paradoxes Washington University Math Circle February 20, 2011 1 Introduction We re all familiar with the idea of probability, even if we haven t studied it. That is what makes probability so

More information

CS1800: Intro to Probability. Professor Kevin Gold

CS1800: Intro to Probability. Professor Kevin Gold CS1800: Intro to Probability Professor Kevin Gold Probability Deals Rationally With an Uncertain World Using probabilities is the only rational way to deal with uncertainty De Finetti: If you disagree,

More information

Grade 6 Math Circles Fall Oct 14/15 Probability

Grade 6 Math Circles Fall Oct 14/15 Probability 1 Faculty of Mathematics Waterloo, Ontario Centre for Education in Mathematics and Computing Grade 6 Math Circles Fall 2014 - Oct 14/15 Probability Probability is the likelihood of an event occurring.

More information

Statistics Intermediate Probability

Statistics Intermediate Probability Session 6 oscardavid.barrerarodriguez@sciencespo.fr April 3, 2018 and Sampling from a Population Outline 1 The Monty Hall Paradox Some Concepts: Event Algebra Axioms and Things About that are True Counting

More information

Section The Multiplication Principle and Permutations

Section The Multiplication Principle and Permutations Section 2.1 - The Multiplication Principle and Permutations Example 1: A yogurt shop has 4 flavors (chocolate, vanilla, strawberry, and blueberry) and three sizes (small, medium, and large). How many different

More information

Probability. Dr. Zhang Fordham Univ.

Probability. Dr. Zhang Fordham Univ. Probability! Dr. Zhang Fordham Univ. 1 Probability: outline Introduction! Experiment, event, sample space! Probability of events! Calculate Probability! Through counting! Sum rule and general sum rule!

More information

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6 CS100: DISCRETE STRUCTURES Lecture 8 Counting - CH6 Lecture Overview 2 6.1 The Basics of Counting: THE PRODUCT RULE THE SUM RULE THE SUBTRACTION RULE THE DIVISION RULE 6.2 The Pigeonhole Principle. 6.3

More information

7.1 Experiments, Sample Spaces, and Events

7.1 Experiments, Sample Spaces, and Events 7.1 Experiments, Sample Spaces, and Events An experiment is an activity that has observable results. Examples: Tossing a coin, rolling dice, picking marbles out of a jar, etc. The result of an experiment

More information

LAMC Junior Circle February 3, Oleg Gleizer. Warm-up

LAMC Junior Circle February 3, Oleg Gleizer. Warm-up LAMC Junior Circle February 3, 2013 Oleg Gleizer oleg1140@gmail.com Warm-up Problem 1 Compute the following. 2 3 ( 4) + 6 2 Problem 2 Can the value of a fraction increase, if we add one to the numerator

More information

Bayes stuff Red Cross and Blood Example

Bayes stuff Red Cross and Blood Example Bayes stuff Red Cross and Blood Example 42% of the workers at Motor Works are female, while 67% of the workers at City Bank are female. If one of these companies is selected at random (assume a 50-50 chance

More information

MATH 1324 (Finite Mathematics or Business Math I) Lecture Notes Author / Copyright: Kevin Pinegar

MATH 1324 (Finite Mathematics or Business Math I) Lecture Notes Author / Copyright: Kevin Pinegar MATH 1324 Module 4 Notes: Sets, Counting and Probability 4.2 Basic Counting Techniques: Addition and Multiplication Principles What is probability? In layman s terms it is the act of assigning numerical

More information

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37 Probability MAT230 Discrete Mathematics Fall 2018 MAT230 (Discrete Math) Probability Fall 2018 1 / 37 Outline 1 Discrete Probability 2 Sum and Product Rules for Probability 3 Expected Value MAT230 (Discrete

More information

CS 237 Fall 2018, Homework SOLUTION

CS 237 Fall 2018, Homework SOLUTION 0//08 hw03.solution.lenka CS 37 Fall 08, Homework 03 -- SOLUTION Due date: PDF file due Thursday September 7th @ :59PM (0% off if up to 4 hours late) in GradeScope General Instructions Please complete

More information

Page 1 of 22. Website: Mobile:

Page 1 of 22. Website:    Mobile: Exercise 15.1 Question 1: Complete the following statements: (i) Probability of an event E + Probability of the event not E =. (ii) The probability of an event that cannot happen is. Such as event is called.

More information

STAT Statistics I Midterm Exam One. Good Luck!

STAT Statistics I Midterm Exam One. Good Luck! STAT 515 - Statistics I Midterm Exam One Name: Instruction: You can use a calculator that has no connection to the Internet. Books, notes, cellphones, and computers are NOT allowed in the test. There are

More information

More Probability: Poker Hands and some issues in Counting

More Probability: Poker Hands and some issues in Counting More Probability: Poker Hands and some issues in Counting Data From Thursday Everybody flipped a pair of coins and recorded how many times they got two heads, two tails, or one of each. We saw that the

More information

Here are two situations involving chance:

Here are two situations involving chance: Obstacle Courses 1. Introduction. Here are two situations involving chance: (i) Someone rolls a die three times. (People usually roll dice in pairs, so dice is more common than die, the singular form.)

More information

RANDOM EXPERIMENTS AND EVENTS

RANDOM EXPERIMENTS AND EVENTS Random Experiments and Events 18 RANDOM EXPERIMENTS AND EVENTS In day-to-day life we see that before commencement of a cricket match two captains go for a toss. Tossing of a coin is an activity and getting

More information

Venn Diagram Problems

Venn Diagram Problems Venn Diagram Problems 1. In a mums & toddlers group, 15 mums have a daughter, 12 mums have a son. a) Julia says 15 + 12 = 27 so there must be 27 mums altogether. Explain why she could be wrong: b) There

More information

INDIAN STATISTICAL INSTITUTE

INDIAN STATISTICAL INSTITUTE INDIAN STATISTICAL INSTITUTE B1/BVR Probability Home Assignment 1 20-07-07 1. A poker hand means a set of five cards selected at random from usual deck of playing cards. (a) Find the probability that it

More information

Course Learning Outcomes for Unit V

Course Learning Outcomes for Unit V UNIT V STUDY GUIDE Counting Reading Assignment See information below. Key Terms 1. Combination 2. Fundamental counting principle 3. Listing 4. Permutation 5. Tree diagrams Course Learning Outcomes for

More information

Independent and Mutually Exclusive Events

Independent and Mutually Exclusive Events Independent and Mutually Exclusive Events By: OpenStaxCollege Independent and mutually exclusive do not mean the same thing. Independent Events Two events are independent if the following are true: P(A

More information

Name Instructor: Uli Walther

Name Instructor: Uli Walther Name Instructor: Uli Walther Math 416 Fall 2016 Practice Exam Questions You are not allowed to use books or notes. Calculators are permitted. Full credit is given for complete correct solutions. Please

More information

CHAPTER 8 Additional Probability Topics

CHAPTER 8 Additional Probability Topics CHAPTER 8 Additional Probability Topics 8.1. Conditional Probability Conditional probability arises in probability experiments when the person performing the experiment is given some extra information

More information

3 The multiplication rule/miscellaneous counting problems

3 The multiplication rule/miscellaneous counting problems Practice for Exam 1 1 Axioms of probability, disjoint and independent events 1. Suppose P (A) = 0.4, P (B) = 0.5. (a) If A and B are independent, what is P (A B)? What is P (A B)? (b) If A and B are disjoint,

More information

PROBABILITY. 1. Introduction. Candidates should able to:

PROBABILITY. 1. Introduction. Candidates should able to: PROBABILITY Candidates should able to: evaluate probabilities in simple cases by means of enumeration of equiprobable elementary events (e.g for the total score when two fair dice are thrown), or by calculation

More information

Poker: Probabilities of the Various Hands

Poker: Probabilities of the Various Hands Poker: Probabilities of the Various Hands 22 February 2012 Poker II 22 February 2012 1/27 Some Review from Monday There are 4 suits and 13 values. The suits are Spades Hearts Diamonds Clubs There are 13

More information

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

{ a, b }, { a, c }, { b, c } 12 d.) 0(5.5) c.) 0(5,0) h.) 0(7,1) a.) 0(6,3) 3.) Simplify the following combinations. PROBLEMS: C(n,k)= the number of combinations of n distinct objects taken k at a time is COMBINATION RULE It can easily

More information

STAT 430/510 Probability Lecture 3: Space and Event; Sample Spaces with Equally Likely Outcomes

STAT 430/510 Probability Lecture 3: Space and Event; Sample Spaces with Equally Likely Outcomes STAT 430/510 Probability Lecture 3: Space and Event; Sample Spaces with Equally Likely Outcomes Pengyuan (Penelope) Wang May 25, 2011 Review We have discussed counting techniques in Chapter 1. (Principle

More information

aabb abab abba baab baba bbaa permutations of these. But, there is a lot of duplicity in this list, each distinct word (such as 6! 3!2!1!

aabb abab abba baab baba bbaa permutations of these. But, there is a lot of duplicity in this list, each distinct word (such as 6! 3!2!1! Introduction to COMBINATORICS In how many ways (permutations) can we arrange n distinct objects in a row?answer: n (n ) (n )... def. = n! EXAMPLE (permuting objects): What is the number of different permutations

More information

PROBABILITY Case of cards

PROBABILITY Case of cards WORKSHEET NO--1 PROBABILITY Case of cards WORKSHEET NO--2 Case of two die Case of coins WORKSHEET NO--3 1) Fill in the blanks: A. The probability of an impossible event is B. The probability of a sure

More information

Chapter 1: Sets and Probability

Chapter 1: Sets and Probability Chapter 1: Sets and Probability Section 1.3-1.5 Recap: Sample Spaces and Events An is an activity that has observable results. An is the result of an experiment. Example 1 Examples of experiments: Flipping

More information

W = {Carrie (U)nderwood, Kelly (C)larkson, Chris (D)aughtry, Fantasia (B)arrino, and Clay (A)iken}

W = {Carrie (U)nderwood, Kelly (C)larkson, Chris (D)aughtry, Fantasia (B)arrino, and Clay (A)iken} UNIT V STUDY GUIDE Counting Course Learning Outcomes for Unit V Upon completion of this unit, students should be able to: 1. Apply mathematical principles used in real-world situations. 1.1 Draw tree diagrams

More information

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

Activity 1: Play comparison games involving fractions, decimals and/or integers. Students will be able to: Lesson Fractions, Decimals, Percents and Integers. Play comparison games involving fractions, decimals and/or integers,. Complete percent increase and decrease problems, and.

More information

6/24/14. The Poker Manipulation. The Counting Principle. MAFS.912.S-IC.1: Understand and evaluate random processes underlying statistical experiments

6/24/14. The Poker Manipulation. The Counting Principle. MAFS.912.S-IC.1: Understand and evaluate random processes underlying statistical experiments The Poker Manipulation Unit 5 Probability 6/24/14 Algebra 1 Ins1tute 1 6/24/14 Algebra 1 Ins1tute 2 MAFS. 7.SP.3: Investigate chance processes and develop, use, and evaluate probability models MAFS. 7.SP.3:

More information

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.) The Teachers Circle Mar. 2, 22 HOW TO GAMBLE IF YOU MUST (I ll bet you $ that if you give me $, I ll give you $2.) Instructor: Paul Zeitz (zeitzp@usfca.edu) Basic Laws and Definitions of Probability If

More information

Probability. The Bag Model

Probability. The Bag Model Probability The Bag Model Imagine a bag (or box) containing balls of various kinds having various colors for example. Assume that a certain fraction p of these balls are of type A. This means N = total

More information

ECON 214 Elements of Statistics for Economists

ECON 214 Elements of Statistics for Economists ECON 214 Elements of Statistics for Economists Session 4 Probability Lecturer: Dr. Bernardin Senadza, Dept. of Economics Contact Information: bsenadza@ug.edu.gh College of Education School of Continuing

More information

With Question/Answer Animations. Chapter 6

With Question/Answer Animations. Chapter 6 With Question/Answer Animations Chapter 6 Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients and Identities Generalized Permutations and

More information

Honors Precalculus Chapter 9 Summary Basic Combinatorics

Honors Precalculus Chapter 9 Summary Basic Combinatorics Honors Precalculus Chapter 9 Summary Basic Combinatorics A. Factorial: n! means 0! = Why? B. Counting principle: 1. How many different ways can a license plate be formed a) if 7 letters are used and each

More information

Chapter 8: Probability: The Mathematics of Chance

Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance Free-Response 1. A spinner with regions numbered 1 to 4 is spun and a coin is tossed. Both the number spun and whether the coin lands heads or tails is

More information

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

Contemporary Mathematics Math 1030 Sample Exam I Chapters Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific Contemporary Mathematics Math 1030 Sample Exam I Chapters 13-15 Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific Name: The point value of each problem is in the left-hand margin.

More information

CSE 312 Midterm Exam May 7, 2014

CSE 312 Midterm Exam May 7, 2014 Name: CSE 312 Midterm Exam May 7, 2014 Instructions: You have 50 minutes to complete the exam. Feel free to ask for clarification if something is unclear. Please do not turn the page until you are instructed

More information

Permutations and Combinations Section

Permutations and Combinations Section A B I L E N E C H R I S T I A N U N I V E R S I T Y Department of Mathematics Permutations and Combinations Section 13.3-13.4 Dr. John Ehrke Department of Mathematics Fall 2012 Permutations A permutation

More information

CPCS 222 Discrete Structures I Counting

CPCS 222 Discrete Structures I Counting King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222 Discrete Structures I Counting Dr. Eng. Farag Elnagahy farahelnagahy@hotmail.com Office Phone: 67967 The Basics of counting

More information

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

Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules + Chapter 5: Probability: What are the Chances? Section 5.2 + Two-Way Tables and Probability When finding probabilities involving two events, a two-way table can display the sample space in a way that

More information

Unit 9: Probability Assignments

Unit 9: Probability Assignments Unit 9: Probability Assignments #1: Basic Probability In each of exercises 1 & 2, find the probability that the spinner shown would land on (a) red, (b) yellow, (c) blue. 1. 2. Y B B Y B R Y Y B R 3. Suppose

More information