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.

Вработен пример · 5 choose 2

5 choose 2

5,\ 2

Чекор по чекор

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

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

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

Одкриј го одговорот
\binom{5}{2} = 10

Сега ти. Секој чекор, слика, одговорот е скриен додека не прашаш.

Задржи си ја работата.

Бесплатна сметка додава белешки за секоја лекција, запис за она што сте го завршиле, вашите решени проблеми на едно место, и тутор кој може да го прашате за оваа страница. Самата математика е отворена за сите, потпишана или не.

Потпиши се Најава

Симболи кои се користат тука

Допрете било кој симбол за целосната дефиниција, слика, и што значи секоја буква во неа.

Како да го направиш тоа?: 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.

Прашања што луѓето ги поставуваат

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.

Повеќе во Combinatorics & Graph Theory