combinatorics

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

Product 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:

Link to original

Equality Rule

If there exists a bijective relation between two finite sets , then has as many elements as :

Counting

PermutationsVariationsCombinations
without repetition
with repetition

Permutation with Repetition

Definition

Permutation 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.

Link to original

Permutation without Repetition

Definition

Permutation 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:

Link to original

Variation with Repetition

Definition

Variation 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.

Link to original

Variation without Repetition

Definition

Variation 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.

Link to original

Combination with Repetition

Definition

Combination 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:

Link to original

Combination without Repetition

Definition

Combination 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.

Link to original