Definition
Combinatorics
Combinatorics is a branch of discrete mathematics that deals with combinations of objects to a finite set in accordance with certain constraints.
Rules
Combinatorics is based on the following rules:
Sum Rule
Let and be two finite sets, then:
Product Rule
Definition
Link to originalProduct Rule ( Combinatorics)
If there are ways to perform action 1 followed by ways to perform action , then there are ways to perform action followed by action .
Let and be two finite sets, then:
Equality Rule
If there exists a bijective relation between two finite sets , then has as many elements as :
Counting
| Permutations | Variations | Combinations | |
|---|---|---|---|
| without repetition | |||
| with repetition | 
Permutation with Repetition
Definition
Link to originalPermutation with Repetition
A permutation with repetitions is an ordered rearrangement of elements consisting of distinct elements.
All possible permutations of a -tuple can be counted using:
where is the number of repetitions of the same element, by the product rule.
Permutation without Repetition
Definition
Link to originalPermutation without Repetition
A permutation without repetition is an ordered rearrangement of distinct elements.
All possible rearrangements of a -tuple can be counted using:
by the product rule.
Example: The tuple can be rearranged as:
Variation with Repetition
Definition
Link to originalVariation with Repetition
A variation with repetition is an ordered repeated selection of elements out of .
All possible permutations of a set of length can be counted using:
by the product rule.
Variation without Repetition
Definition
Link to originalVariation without Repetition
A variation without repetition are ordered selections of different elements out of .
All possible variations of a set of length can be counted using:
by the product rule.
Combination with Repetition
Definition
Link to originalCombination with Repetition
A combination with repetition is an unordered repeated selection of elements out of or size multi-sets of elements from a set of size .
All possible combinations can be counted using:
Combination without Repetition
Definition
Link to originalCombination without Repetition
A combination without repetition is an unordered selection of elements out of elements or a subset of size from a set of size .
All possible combinations of a set of length can be counted using the binomial coefficient:
by the product rule.