|
In mathematics, a combination is a way of selecting items from a collection, such that (unlike permutations) the order of selection does not matter. In smaller cases it is possible to count the number of combinations. 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 : which can be written using factorials as whenever , and which is zero when . The set of all ''k''-combinations of a set ''S'' is sometimes denoted by . 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,〔 also referred to as an ''unordered selection''.〕 ''k''-multiset, or ''k''-combination with repetition are often used.〔When the term ''combination'' is used to refer to either situation (as in ) care must be taken to clarify whether sets or multisets are being discussed.〕 If, in the above example, it was 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, with large sets this becomes impractical. 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. == Number of ''k''-combinations == (詳細はnumber of ''k''-combinations from a given set ''S'' of ''n'' elements is often denoted in elementary combinatorics texts by , or by a variation such as , or even (the latter form was standard in French, Romanian, Russian, Chinese and Polish texts). The same number however occurs in many other mathematical contexts, where it is denoted by (often read as "n choose k"); notably it occurs as a coefficient in the binomial formula, hence its name binomial coefficient. One can define for all natural numbers ''k'' at once by the relation : from which it is clear that and for ''k'' > ''n''. To see that these coefficients count ''k''-combinations from ''S'', one can first consider a collection of ''n'' distinct variables ''X''''s'' labeled by the elements ''s'' of ''S'', and expand the product over all elements of ''S'': : it has 2''n'' distinct terms corresponding to all the subsets of ''S'', each subset giving the product of the corresponding variables ''X''''s''. Now setting all of the ''X''''s'' equal to the unlabeled variable ''X'', so that the product becomes , the term for each ''k''-combination from ''S'' becomes ''X''''k'', so that the coefficient of that power in the result equals the number of such ''k''-combinations. Binomial coefficients can be computed explicitly in various ways. To get all of them for the expansions up to , one can use (in addition to the basic cases already given) the recursion relation : 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「combination」の詳細全文を読む スポンサード リンク
|