This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: University of California, Los Angeles Department of Statistics Statistics 100A Instructor: Nicolas Christou Combinatorial analysis Basic principle of counting: Suppose two experiments are to be performed. Then, if the first experiment can result in m outcomes and if for each outcome of the first experiment there are n outcomes of the second experiment, then all together there are m × n possible outcomes. Examples: Permutations: How many different ordered arrangements of the letters A,B,C are possible? There are 6 permutations : ABC,ACB,BAC,BCA,CAB,CBA . Or, using the basic principle of count- ing we can find the number of permutations as follows: 3 × 2 × 1 = 6. In general n objects can be ordered in n × ( n- 1) × ( n- 2) × ··· × 1 = n ! ways. Each arrangement it is called a permutation . Example: In how many ways can 4 math books, 3 chemistry books, and 2 history books can be ordered so that books of the same subject are together? Suppose k objects are to be selected and ordered from n objects ( k < n ). Say, n = 4 ( A,B,C,D ), and k = 3. Let’s list all the possible permutations: ABC BCD CDA DAB ABD BCA CDB DAC ACB BDA CAB DBC ACD BDC CAD DBA ADB BAC CBD DCA ADC BAD CBA DCB As we observe there are 24 permutations. Much easier, we can find the number of permuta- tions using the basic principle of counting as follows: 4 × 3 × 2 = 24. In general, the number of ways that k objects can be selected and ordered from n objects are: n × ( n- 1) × ( n- 2) × ··· × ( n- k + 1). This can be simplified if we multiply and divide by ( n- k )!: n × ( n- 1) × ( n- 2) × ··· × ( n- k + 1) ( n- k )! ( n- k )! = n ! ( n- k )! . Example: In how many ways can we select and order 5 cards from the 52 cards? 52! (52- 5)! = 52! 47! = 52 × 51 × 50 × 49 × 48 × 47! 47! = 311875200 . Combinations: Order does not count. For example ABC,ACB,BAC,CAB,CBA,BCA are 6 permutations, but in terms of combinations they count for only one. For every 6 permutations we have one combination. In our example, if we divide 24 by 6 we get the number of combinations: 24 6 = 24 3! = 4. In general: In how many ways can we select k objects from n objects: n ! ( n- k )! k !...
View Full Document
- Fall '09
- Playing card, ways, standard 52-card deck