Sách toán/Kết hợp theo thứ tự

Từ testwiki
Bước tới điều hướng Bước tới tìm kiếm

Combinations

A combination is essentially a subset. It is like a permutation, except with no regard to order. Suppose we have a set of n elements and take r elements. The number of possible combinations is nPrr!=n!r!×(nr)!=nCr=(nr).

Note also that r=0k(mr)×(nkr)=(m+nk)

Combinations are found in binomial expansion. Consider the following binomial expansions:

(x+y)1=x+y

(x+y)2=x2+2xy+y2

(x+y)3=x3+3x2y+3xy2+y3

(x+y)4=x4+4x3y+6x2y1+4xy2+y3

As you may have noticed from the above, for any positive integer n, (x+y)n=i=0n[(nr)×xnr×yr]

Another observation from the above is known as Pascal's law. It states that (nr)=(n1r)+(n1r1)

This allows us to construct Pascal's triangle, which is useful for determining combinations: