Presentation is loading. Please wait.

Presentation is loading. Please wait.

381 Probability-III (Permutations and Combinations) QSCI 381 – Lecture 11 (Larson and Farber, Sect 3.4)

Similar presentations


Presentation on theme: "381 Probability-III (Permutations and Combinations) QSCI 381 – Lecture 11 (Larson and Farber, Sect 3.4)"— Presentation transcript:

1 381 Probability-III (Permutations and Combinations) QSCI 381 – Lecture 11 (Larson and Farber, Sect 3.4)

2 381 Permutations-I A is an ordered arrangement of objects. The number of different arrangements (permutations) of n different objects is n! (n-factorial). Key note: We are interested in the order of things.

3 381 3! = 3 x 2 x 1 = 6 1 2 3 Permutations-I

4 381 Permutations-II The number of permutations of n distinct objects taken r (r <n) at a time is: Returning to our earlier example; selecting 4 of 10 animals to age. Here n=10 and r=4 so

5 381 There are forty-three republican candidates hoping to be in the top three candidates at each primary election. In each state, how many ways can the candidates finish first, second, and third? n P r = 43 P 3 = 43!/(43-3)! = 43!/40! = 43 x 42 x 41 74,046 primary standing options Permutations-II

6 381 Permutations-III The number of of n objects when n 1 are of one type, n 2 are of another type, etc. is: = 6!/(3! x 2! X 1!) = (6 x 5 x 4)/(2 x 1) = 120/2 = 60

7 381 Permutations-III (Example) You have five sockeye, four pink and four chum salmon. How many ways can they be arranged?

8 381 Permutations-III (Example) You have five sockeye, four pink and four chum salmon. How many ways can they be arranged?

9 381 Combinations-I A is a selection of r objects from a group of n objects without regard to order and is denoted by. The number of combinations of r objects selected from a group of n objects is: Key note: We are not interested in the order of things.

10 381 Combinations-II Example. We have fish from three species (A, B, C) and wish to select two of them. How many ways can we do this: (A,B), (B,C), (A,C). 3 C 2 =3 It is not (A,B),(B,C),(A,C),(B,A),(C,B),(C,A) Because order does not count. 3!/(3-2)!2! = 6/2 = 3

11 381 Combinations-III (Example) You wish to test the impact of five treatments. However, your experiment can only consider three treatments at once. How many experiments do you need to conduct so that all combinations of the three treatments are examined? Hint: after the lecture write down all the combinations after naming them A, B, C, D, E.

12 381 Combinations -IV The number of combinations of r objects chosen from n distinct objects allowing for repetitions is:

13 381 Combinations vs Permutations-I Permutations relate to the number of ways of selecting r objects from n when the order of the items matters. Combinations relate to the number of ways of selecting r objects from n when the order does not matter.

14 381 Combinations vs Permutations-II Without repetition With repetition Permutations Combinations

15 381 Relationship to Probability-I If there are n people together - what is the probability that all have different birthdays: Total number of permutations of birthdays: 365 n (fundamental counting rule 365x365…) Number of ways that n people can have different birthdays: 365 P n =365!/(365-n)! For n=23, the ratio 365 P 23 / 365 23 =0.493. Permutation without repetition

16 381 More on Birthdays and Probability Number of people

17 381 Relationship to Probability-II A subgroup of four people is selected at random from a group of 5 married couples. What is the probability that the selection consists of two married couples: Number of ways of selecting 4 people from 10 is: 10!/(6!.4!) Number of ways of selecting 2 couples from 5 couples is : 5!/(3!.2!) The ratio of these is 0.0476. Combination without repetition

18 381 Relationship to Probability-III There are 33 candidates in an election to a Committee of 3. What is the probability that Smith, Jones and Williams are elected (assume that elections are random): We are interested in one combination of all possible combinations. There 33 C 3 combinations of 3 selected from 33 so the probability 1/ 33 C 3 =0.000183. Hint. The factorial function in EXCEL is “Fact(x)” and there are also functions “Combin(A,B)” and “Permut(A,B)”.

19 381 Relationship to Probability-IV An experiment involves three counting devices. Each has a probability of failure of 0.02. What is the probability that one fails? What is the probability that none fails? What is the probability at least two don’t fail?

20 381 Common Mistakes Assuming probabilities have a memory: You toss a (fair) coin and get eight heads – what was the probability of this and what is the probability of an eight head? 0.0040.50.25 Adding probabilities incorrectly. Why is the probability of surveying a pregnant female bowhead whale not 0.7 if the probability of encountering a female is 0.5 and 20% of the population is pregnant?


Download ppt "381 Probability-III (Permutations and Combinations) QSCI 381 – Lecture 11 (Larson and Farber, Sect 3.4)"

Similar presentations


Ads by Google