maths.free › Combinatorics & Graph Theory › The counting principles

The counting principles

Product rule, sum rule, permutations, combinations, and when each applies.

Independent choices multiply; exclusive alternatives add. Ordered selections are permutations, unordered are combinations. Picture it: a tree diagram, each level a choice, each leaf an outcome. Think it: every counting formula is a bijection with something easy to count.

Ohatra · 5 choose 2

5 choose 2

5,\ 2

Dingana amin'ny dingana

  1. \binom{5}{2} = \frac{5!}{2!\,(5-2)!}

    Unordered selections: n! / (k! (n−k)!).

  2. = \frac{120}{2 \times 6} = 10

Asehoy ny valinteny
\binom{5}{2} = 10

Ankehitriny ianao Misafidiana olana iray, na soraty na esory ny anao manokana. Ny dingana tsirairay, sary iray, ny valiny miafina mandra-pahafantaranao.

Aoka ho miasa ny anao

Ny kaonty maimaimpoana dia mampiditra ny fanamarihana amin'ny lesona tsirairay, ny tahirin'ny zavatra vitanao, ny olana voavahao ao amin'ny toerana iray, ary ny mpampianatra iray izay azonao anontanio momba ity pejy ity. misokatra ho an'ny rehetra ny matematika, na efa niditra na tsy niditra.

Misoratra anarana Fidirana

Marika ampiasaina eto

Tsindrio ny marika iray mba hahitana ny famaritana feno, sary, ary ny dikan'ny litera tsirairay ao aminy.

Ahoana ny fomba: The counting principles

  1. Decide whether order matters (permutation) or not (combination).
  2. Decide whether repetition is allowed.
  3. Break the count into independent stages (multiply) or exclusive cases (add).
  4. Sanity-check with a tiny case you can list by hand.

Fanontaniana napetrak'ireo olona

Permutation or combination?

Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).

What is a graph in this sense?

Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.

Mbola maro ao Combinatorics & Graph Theory