Combinat orics Definition 1 (Combinatorics). Combinatorics is the - - PDF document

combinat orics
SMART_READER_LITE
LIVE PREVIEW

Combinat orics Definition 1 (Combinatorics). Combinatorics is the - - PDF document

Combinat orics Definition 1 (Combinatorics). Combinatorics is the science of counting. Theorem 1 (Fundamental Principle of Count- ing). If a sequence of choices are made and the first choice can be made in n 1 ways, the sec- ond in n 2 ways, the


slide-1
SLIDE 1

Combinat orics

Definition 1 (Combinatorics). Combinatorics is the science of counting. Theorem 1 (Fundamental Principle of Count- ing). If a sequence of choices are made and the first choice can be made in n1 ways, the sec-

  • nd in n2 ways, the third in n3 ways, and so
  • n, then the entire sequence of choices can be

made in n1 · n2 · n3 . . . ways. Definition 2 (Permutation). A permut at ion is a arrangement or list. Definition 3 (Combination). A combinat ion is a set. Given a combinat ion, t here may be several per- mut at ions of t he same element s.

slide-2
SLIDE 2

Example: T he set {a, b, c} yields t he following permuat ions: a,b,c a,c,b b,a,c b,c,a c,a,b c,b,a W e may refer t o permut at ions wit h or without replacement . In a permut at ion with replace- ment, t he same element may appear more t han

  • nce.

In a permuat ion without replacement, no element may appear more t han once. Theorem 2. The number of permutations wit h replacement

  • f length r of elements chosen

from a set of size n is nr. T his t heorem is almost obvious from t he Fun- damental Principle of Counting.

slide-3
SLIDE 3
  • Notation. The number of permutations wit h-
  • ut replacement of length r of elements chosen

from a set of size n is denoted by P( n, r) . Alt ernat e not at ions which may be found in ot her sources: Pn,r, nPr. Theorem 3. P( n, r) = n( n − 1) ( n − 2) · · · ( n − [r − 1]) = n! ( n − r) !. Here, k!, read k factorial, means k( k − 1) ( k − 2) · · · 3 · 2 · 1. In ot her words, k! is t he product of all t he posit ive int egers between 1 and k. k must be an integer!

slide-4
SLIDE 4

Notation (Combinations). The number of com- binations of r elements chosen from a set of size n is denoted by C( n, r) . Alt ernat e not at ions which may be found in ot her sources: Cn,r, nCr,

n

r

  • .

W e somet imes refer t o C( n, r) as n choose r, since it may be t hought of as t he number of ways of choosing r object s from a set of size n.

slide-5
SLIDE 5

Theorem 4. C( n, r) = n! r!( n − r) !.

  • Proof. Each combinat ion of r element s gives

rise t o P( r, r) diff erent permut at ions of t he same element s. T hus, t he number of permu- t at ions of size r is P( r, r) t imes t he number of combinat ions of t he same size. It follows t hat P( n, r) = C( n, r) P( r, r) . Since P( n, r) = n! ( n − r) ! and P( r, r) = r! 0! = r!, it follows t hat C( n, r) = n!/( n − r) ! r! = n! r!( n − r) !. Example: T he number of Gin Rummy hands is C( 52, 10) = 52! 10!42!.