Education
 

Combinatorics

From Mathematics

See also the Wikipedia article:

Combinatorics is an area of discrete mathematics that studies collections of distinct objects and the ways that they can be counted or ordered, or used to satisfy some optimality criterion.

The most basic ideas in combinatorics include:

factorials
The number of possible arrangements of n distinct items is n-factorial, written math, which equals math.
  • Example: Three items, A, B, and C, can be arranged in math different ways: ABC, ACB, BAC, BCA, CAB, and CBA.
permutations
The number of arrangements that are possible when a subset of r items is taken from a set of n distinct items is a "permutation of n objects taken r at a time", which can be written as math or math, and is equal to math.
  • Example: The number of possible arrangements of the four letters A, B, C, and D, taken two at a time, is math: AB, BA, AC, CA, AD, DA, BC, CB, BD, DB, CD, and DC.
combinations
The number of possible subsets of r items taken from a set of n items, where the order of the items doesn't matter (e.g., the sets ABC and BCA are considered equivalent), is a "combination of n objects taken r at a time", which is written math or math or math, and is equal to math.
  • Example: The number of subsets of two letters chosen from the four letters A, B, C, and D, is math: AB, AC, AD, BC, BD, and CD.
distributions
partitions
recurrence relations
inclusions