Math 408, Actuarial Statistics I, Spring 2008. Solutions to combinatorial problems



Similar documents
Statistics 100A Homework 4 Solutions

Fundamentals of Probability

1 Combinations, Permutations, and Elementary Probability

Math 370/408, Spring 2008 Prof. A.J. Hildebrand. Actuarial Exam Practice Problem Set 2 Solutions

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

We rst consider the game from the player's point of view: Suppose you have picked a number and placed your bet. The probability of winning is

How to Calculate the Probabilities of Winning the Nine PowerBall Prize Levels:

Discrete mathematics

2. How many ways can the letters in PHOENIX be rearranged? 7! = 5,040 ways.

36 Odds, Expected Value, and Conditional Probability

Worksheet for Teaching Module Probability (Lesson 1)

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.

Chapter 5 Section 2 day f.notebook. November 17, Honors Statistics

PROBABILITY SECOND EDITION

Statistics 100A Homework 3 Solutions

WHERE DOES THE 10% CONDITION COME FROM?

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Statistics 100A Homework 1 Solutions

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

The Math. P (x) = 5! = = 120.

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

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

How to Calculate the Probabilities of Winning the Eight LUCKY MONEY Prize Levels:

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

THE WHE TO PLAY. Teacher s Guide Getting Started. Shereen Khan & Fayad Ali Trinidad and Tobago

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

Ch5: Discrete Probability Distributions Section 5-1: Probability Distribution

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

Basic Probability Concepts

STATISTICS 8: CHAPTERS 7 TO 10, SAMPLE MULTIPLE CHOICE QUESTIONS

Statistics 100A Homework 2 Solutions

4. Binomial Expansions

Chapter 4 Lecture Notes

Section 7C: The Law of Large Numbers

Practical Probability:

STAT 35A HW2 Solutions

THE WINNING ROULETTE SYSTEM by

Probability, statistics and football Franka Miriam Bru ckler Paris, 2015.

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

PERMUTATIONS and COMBINATIONS. If the order doesn't matter, it is a Combination. If the order does matter it is a Permutation.

The New Mexico Lottery

KENO TRAINING MANUAL

Week 5: Expected value and Betting systems

Math 370, Actuarial Problemsolving Spring 2008 A.J. Hildebrand. Problem Set 1 (with solutions)

Math 58. Rumbos Fall Solutions to Review Problems for Exam 2

EC3070 FINANCIAL DERIVATIVES. Exercise 1

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

Number of observations is fixed. Independent observations --- knowledge of the outcomes of earlier trials does not affect the

A permutation can also be represented by describing its cycles. What do you suppose is meant by this?

Session 8 Probability

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

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 13. Random Variables: Distribution and Expectation

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

Point Biserial Correlation Tests

Math Quizzes Winter 2009

AP Statistics 7!3! 6!

Final Mathematics 5010, Section 1, Fall 2004 Instructor: D.A. Levin

Math Meets the Bookies: or How to win Football Pools

Math 141. Lecture 2: More Probability! Albyn Jones 1. jones/courses/ Library 304. Albyn Jones Math 141

Homework 3 Solution, due July 16

MOVIES, GAMBLING, SECRET CODES, JUST MATRIX MAGIC

Week 4: Gambler s ruin and bold play

Ch. 13.2: Mathematical Expectation

Near Misses in Bingo

Lecture 13. Understanding Probability and Long-Term Expectations

PERMUTATIONS AND COMBINATIONS HOW TO AVOID THEM AT ALL COSTS AND STILL ACTUALLY UNDERSTAND AND DO COUNTING PROBLEMS WITH EASE!

10.2 Series and Convergence

Lesson Plans for (9 th Grade Main Lesson) Possibility & Probability (including Permutations and Combinations)

CONTENT LAND BASED GAMES

LOOKING FOR A GOOD TIME TO BET

STATISTICS 230 COURSE NOTES. Chris Springer, revised by Jerry Lawless and Don McLeish

Expected Value. 24 February Expected Value 24 February /19

Section 6.1 Discrete Random variables Probability Distribution

Discrete Math in Computer Science Homework 7 Solutions (Max Points: 80)

Elementary Statistics and Inference. Elementary Statistics and Inference. 16 The Law of Averages (cont.) 22S:025 or 7P:025.

Pigeonhole Principle Solutions

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

REPEATED TRIALS. The probability of winning those k chosen times and losing the other times is then p k q n k.

Chapter 4 - Practice Problems 1

9.2 Summation Notation

$5 MONOPOLY MILLIONAIRES CLUB Instant Game ticket from the New Jersey Lottery

Gaming the Law of Large Numbers

Chapter 3. Probability

R Simulations: Monty Hall problem

Probability and Expected Value

Chapter 5 - Practice Problems 1

Midterm Exam #1 Instructions:

Is it possible to beat the lottery system?

Permutations & Combinations

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

Chapter 5: Probability

6.042/18.062J Mathematics for Computer Science. Expected Value I

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850

Chapter 3: DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS. Part 3: Discrete Uniform Distribution Binomial Distribution

Department of Industrial Engineering IE 202: Engineering Statistics Example Questions Spring 2012

Australian Reels Slot Machine By Michael Shackleford, A.S.A. January 13, 2009

CHAPTER 1 COUNTING. shirt slot

Section 6.2 Definition of Probability

Transcription:

, Spring 2008 Word counting problems 1. Find the number of possible character passwords under the following restrictions: Note there are 26 letters in the alphabet. a All characters must be lower case letters. 26 b All characters must be lower case letters and distinct. 26 2 24 17= 26!/16! c Letters and digits must alternate and be distinct as in 1w2x9c4us or a1b2c3d4e. 2 26 2 24 23 22 9 8 7 6: 2 counts the two possible patters LDLDLDLDLD and DLDLDLDLDL, where L and D denote letters and digits; 26 22 is the number of ways to fill the L slots with distinct letters, and 6 is the number of ways to fill the D slots with distinct digits chosen from 0, 1,..., 9. This assumes that only lower case letters are allowed. d All characters must be lower case, distinct, and in alphabetical order. allowed, but not bafghikmno. e.g., abfghikmno is 26, since such words correspond exactly to unordered samples of size without replacement from the 26 letters. Given such a sample, there is exactly one way to place the letters in the sample in alphabetical order to form a word of the required type. Conversely, any word of this type induces a sample of the above form. e The word can only contain the upper case letters A and B. 2 : There are 2 choices for each of the slots for the letters, giving 2 2 2 } {{ } choices altogether. = 2 f The word can only contain the upper case letters A and B, and must contain each of these letters. or all B s. 2 2: Subtract 2 from the previous count to exclude the words consisting of all A s g The word can only contain the upper case letters A and B, and must contain an equal number of each. : Choose slots out of the available to fill with A s ways to do this, and put B s into the remaining slots = 1 ways. 2. Find the number of different words that can be formed by rearranging the letters in the following words: Include the given word in the count. a NORMAL 6!: Since the letters in NORMAL are all distinct, the rearrangements are just the permutations of the 6 letters. 1

b HHTTTT 6 2 : Start with 6 blank slots for the letters. Then fill 2 of these with the letter H, and the remaining 4 with the letter T. There are 6 2 ways to choose the slots for the H, and once the H s have been placed, there are 4 4 = 1 ways to place the 4 T s in the remaining 4 slots. Thus, the total count is 6 2. c ILLINI 6 3 3 2 = 6! 3!2!1! : As before start with 6 blank slots for the letters. Then fill 3 of these with the letter I; there are 6 3 ways to do this. Of the 3 remaining slots, fill 2 with the letter L; there are 3 2 ways for this step. Finally, fill the one remaining slot with N; there is only one way to do this step. Hence the total count is 6 3 3 2. The second formula, 6!/3!2!1!, is obtained by expressing the binomial coefficients in terms of factorials and simplifying. d MISSISSIPPI 11 7 3 4 4 2 = 11! 4!4!2!1! : This follows by the same argument as before, using the 4 S s, 4 I s, 2 P s, and 1 M that make up the given word. 3. How many ways are there to seat people, consisting of couples, in a row of seats seats wide if a the seats are assigned at random?!: The possible seating orders are just permutations of 1, 2,...,. b all couples are to get adjacent seats? 8 6 4 2: Fill slots seats left to right keeping in mind the restriction that couples have to sit together. There are choices for the first slot no restriction, 1 choice for the second since the first person s mate has to be seated there, 8 choices for the third slot since 2 people have now been seated, leaving 8, 1 choice for the fourth slot since this seat has to go to the mate of # 3, etc. 4. Assume the final exams are given over a period of 6 days, with 3 slots per day, so that there are a total of 18 final exam slots. If you have classes, each with a final exam, what is the probability that your finals fall onto different days, assuming that the classes all have different final exam slots? Encode the final exam slots for the classes as a -letter word, with each character being one of the 18 available final exam periods. By assumption, the periods are all different, so the total number of such words is 18 17 16 1 14. To count the words that satisfy the additional requirement that the final periods all fall onto different days, imagine filling the slots left to right and counting the number of possibilities at each stage. This gives 18 1 12 9 6 as count. The probability sought is the quotient between these two numbers, 18 1 12 9 6/18 17 14= 0.17.... Birthday type problems 1. What is the probability that in a group of n no two people share a common birthday? Work out the probabilities numerically for n = 20, 30, 40, 0, 60. Assume there are 36 days in a year. The birthdays of the n people can be encoded as an n-letter word, with each letter being one of the 36 possible birthdays in the year. The number of such words, with or without the restriction that the birthdays be distinct, can be counted in the usual way, by constructing the words left-to-right by filling slots and counting the number of choices at each slot. Without restriction, we get a total count 36 } 36 {{ 36} = 36 n ; with the restriction that the birthdays be distinct we get 36 364 36 n+1. n 2

Thus, the probability that all n birthdays are distinct is 36 364 36 n + 1/36 n. The numerical values for n = 20, 30, 40, 0, 60 are 0.88, 0.2936, 0.87, 0.0296, 0.008. 2. Six people get into an elevator at the ground floor of a hotel which has upper floors. Assuming each person gets off at a randomly chosen floor, what is the probability that no two people get off at the same floor? 9 / 6 = 0.1.... This is just like the birthday problem, with the floors corresponding to the 36 birthdays. 3. Suppose you record the birthdays of a large group of people, one at a time just like in the birthday simulation posted on the course webpage until you have found a match, i.e., a birthday that has already been recorded. a What is the probability that it takes more than 20 people for this to occur? It takes more than 20 people if and only if among the first 20 that are asked there is no matching birthday. The latter has probability 36 364 346/36 20, by the standard version of the birthday problem. b What is the probability that it takes exactly 20 people for this to occur? This requires a the first 19 birthdays to be distinct and b the 20th birthday to be equal to one of the first 19. There are 36 364 366 ways to fill 19 slots with distinct birthdays and 19 ways to fill the 20th slot with one of the birthdays in the other 19 slots. Since the total unrestricted number of ways to fill 20 slots with birthdays is 36 20, the above event has probability 36 364 34 19/36 20. 4. Suppose you record the birthdays of a large group of people, one at a time, until you have found a person whose birthday matches your own birthday. What is the probability that it takes exactly 20 people for this to occur? Despite appearances, this is quite different from the standard birthday problem as we are now looking for a birthday matching a given birthday namely, yours. There is a 1/36 chance of a randomly chosen birthday to match the given birthday, so the problem can be modeled by repeated success/failure trials, with success meaning a birthday matching the given birthday and occurring with probability p = 1/36. In terms of this model the probability sought is the probability that the first success occurs at the 20th trial. This probability is given by the geometric distribution 1 p n 1 p with n = 20 and p = 1/36, i.e., it is 364/36 19 1/36= 0.0026.... Urn/ball type problems 1. The classical urn/ball problem. An urn box contains 30 balls, of which are red and the other 20 blue. Suppose you take out 8 balls from this urn, without replacement. What is the probability that among the 8 balls in this sample exactly 3 are red and are blue? The total number of ways to take out 8 balls is the number of unordered samples of size 8, without replacement, from 30, i.e., 30 8. This is the denominator in the probability we need to compute. For the numerator, we need to count those samples that consist of exactly 3 red and blue balls. These samples can be obtained in two stages, by first picking 3 out of the red balls 3 ways to do this, and then picking out of the 20 blue balls 20 ways to do this. The total number of such samples is therefore 20 3, and the probability sought is 20 3 / 30 8 = 0.31.... 3

2. The committee problem. Assume a committee of has to be selected from a group of 0 people, of which 40 are men and 60 are women. a How many ways are there to choose such a committee? 0 b How many ways are there to choose the committee so that exactly half of the members are men? 60 40 c What is the probability that a randomly selected committee of consists of exactly men and women? 40 60 / 0 : This follows by the same argument as for the urn/ball problem. 3. The lottery problem. In a state lottery a player has to choose 6 distinct numbers out of 4 numbers. At each drawing, 6 numbers are drawn at random, without replacement, from these 4 numbers. You win a first prize if all 6 drawn numbers agree with the ones you picked, a second prize if exactly of the drawn numbers agree, etc. Compute the probabilities of winning a first prize, a second prize, etc. This can be viewed as an urn/ball type problem, with a total of 4 balls corresponding to the lottery numbers, red balls corresponding to the 6 lottery numbers you picked, and blue balls corresponding to the remaining 48 numbers. A lottery drawing can be thought of as an unordered sample of size 6 without replacement, and the prize depends on how many red balls i.e., your numbers are among those drawn. For first prize, the probability is 6 48 6 0 / 4 6, for second prize, 6 48 1 / 4 6, etc. Additional examples/problems from Hogg/Tanis 1. Problem 1.3-1 8 4. 2. Problem 1.3-3 a 26 2 4 ; b 26 3 3 3. Problem 1.3- a 4!; b 4 4 4. Problem 1.3-7 Here a lottery drawing can be thought of as an ordered sample of size 4, with replacement, from the digits 0, 1,..., 9. The total number of these is 4, which is the denominator in the probabilities sought. a If you choose 6, 7, 8, 9, there are 4! = 24 permutations in which these numbers can occur, so the probability of winning is 24/ 4. b If you choose 6, 7, 8, 8, there are 4 2 2 1 = 12 ways to rearrange these 4 digits, by the same argument as that used above for counting rearrangements of the letters of ILLINI. Thus, the probability becomes 12/ 4. c For 7, 7, 8, 8, there are 4 2 = 6 rearrangements, so the probability is 6/ 4. c For 7, 8, 8, 8, there are 4 3 = 4 rearrangements, so the probability is 4/ 4.. Problem 1.3-11 4

This boils down to a careful case-by-case analysis, keeping in mind that the series ends as soon as one of the teams wins four games. Thus, for example, a pattern like ANNNNA is not possible, since the series would be over in games. Here are the cases: a Four game series: The only possible patters are AAAA, NNNN, so there are 2 ways for the series to end in four games. b Five game series: Assume first that A wins the series. Then the th game has to go to A, and out of the first 4 games A wins exactly 3. There are 4 3 such patterns resulting in A winning in games. This is just like counting H/T sequences with 3 H s and 1 T. Doubling that number to account for the cases when N wins in games, we get 2 4 3 = 8 ways for the series to last games. c Six game series: 2 3 = 20 ways, by the same argument. d Seven game series: 2 6 3 = 40 ways, by the same argument.