Combination

In mathematics, a combination is a selection of items from a collection, such that the order of selection does not matter (unlike permutations). For example, given three fruits, say an apple, an orange and a pear, there are three combinations of two that can be drawn from this set: an apple and a pear; an apple and an orange; or a pear and an orange.
More formally, a k-combination of a set S is a subset of k distinct elements of S. If the set has n elements, the number of k-combinations is equal to the binomial coefficient







(


n
k


)



=



n
(
n

1
)

(
n

k
+
1
)


k
(
k

1
)

1



,


{\displaystyle {\binom {n}{k}}={\frac {n(n-1)\dotsb (n-k+1)}{k(k-1)\dotsb 1}},}
which can be written using factorials as







n
!


k
!
(
n

k
)
!






{\displaystyle \textstyle {\frac {n!}{k!(n-k)!}}}
whenever



k

n


{\displaystyle k\leq n}
, and which is zero when



k
>
n


{\displaystyle k>n}
. The set of all k-combinations of a set S is often denoted by







(


S
k


)






{\displaystyle \textstyle {\binom {S}{k}}}
.
Combinations refer to the combination of n things taken k at a time without repetition. To refer to combinations in which repetition is allowed, the terms k-selection, k-multiset, or k-combination with repetition are often used. If, in the above example, it were possible to have two of any one kind of fruit there would be 3 more 2-selections: one with two apples, one with two oranges, and one with two pears.
Although the set of three fruits was small enough to write a complete list of combinations, this becomes impractical as the size of the set increases. For example, a poker hand can be described as a 5-combination (k = 5) of cards from a 52 card deck (n = 52). The 5 cards of the hand are all distinct, and the order of cards in the hand does not matter. There are 2,598,960 such combinations, and the chance of drawing any one hand at random is 1 / 2,598,960.

View More On Wikipedia.org
Back
Top