Docsity

Combinatorial analysis | Purdue Math, Lecture notes of Probability and Statistics

Partial preview of the text

Download Combinatorial analysis | Purdue Math and more Lecture notes Probability and Statistics in PDF only on Docsity!

Combinatorial analysis

Samy Tindel

Purdue University

Probability - MA 416

Mostly taken from A first course in probability by S. Ross

Outline

(^1) Introduction

(^2) The basic principle of counting

(^3) Permutations

(^4) Combinations

(^5) Multinomial coefficients

A simple example of counting

A communication system: Setup: n antennas lined up Functional system: ↪ → when no 2 consecutive defective antennas We know that m antennas are defective

Problem: compute P (functional system)

A simple example of counting (2)

Particular instance of the previous situation: Take n = 4 and m = 2 Possible configurations: 0011 0101 0110 1001 1010 1100 We get 3 working configurations among 6, and thus

P (functional system) =

Conclusion: need an effective way to count, that is

Combinatorial analysis

Basic principle of counting

Suppose 2 experiments to be performed and For Experiment 1, we have m possible outcomes For each outcome of Experiment 1 ↪ → We have n outcomes for Experiment 2 Then

Total number of possible outcomes is m × n

Theorem 1.

Proof

Sketch of the proof: Set

( i, j ) ≡ Outcome i for Experiment 1 & Outcome j for Experiment 2

Then enumerate possibilities

Generalized principle of counting

Suppose r experiments to be performed and For Experiment 1, we have n 1 possible outcomes For each outcome of Experiment i ↪ → We have ni + 1 outcomes for Experiment i + 1

Then total number of possible outcomes is

∏^ r i = 1

ni = n 1 × n 2 × · · · × nr

Theorem 2.

Application of basic principle of counting

Example 1: Find # possible 7 place license plates if First 3 places are letters Final 4 places are numbers Answer: 175,760,

Example 2: Find # possible 7 place license plates if First 3 places are letters Final 4 places are numbers No repetition among letters or numbers Answer: 78,624,

Permutations

Definition: A permutation of n objects is an ordered sequence of those n objects.

Property: Two permutations only differ according to the order of the objects

Counting: Let Pn be the number of permutations for n objects. Then

Pn = n! = n × ( n − 1 ) · · · × 2 =

∏^ n j = 1

j

Example of permutation

Example: 3 balls, Red, Black, Green

Permutations: RBG, RGB, BRG, BGR, GBN, GBR ↪ → 6 possibilities

Formula: P 3 = 3! = 6

Example of permutation (1)

Problem: Count possible arrangements of letters in PEPPER

Example of permutation (2)

Solution 1: Consider all letters as distinct objects

P 1 E 1 P 2 P 3 E 2 R

Then P 6 = 6! = 720 possibilities

Outline

(^1) Introduction

(^2) The basic principle of counting

(^3) Permutations

(^4) Combinations

(^5) Multinomial coefficients

Combinations

Definition: A combination of p objects among n objects is non ordered subset of p objects.

Property: Two combinations only differ according to nature of their objects

Counting: The number of combinations of p objects among n objects is ( n p

)

n! p! ( n − p )!