Sách toán/Xếp đặt theo thứ tự

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

Xếp đặt theo thứ tự

Xếp đặt một số vật theo một thứ tự đả định

Công thức

Xếp đặt các phần tử trong một tập hợp theo thứ tự không có lặp lại

n×(n1)×(n2)×...×1=n!. What if some of the elements are not distinct?

Xếp đặt các phần tử trong một tập hợp theo thứ tự có lặp lại

n×n×n×...×n=nm. What if some of the elements are not distinct?

if there are k distinct kinds of elements, the total number of possible arrangements is

n!n1!×n2!×...×nk!.

if we are arranging the elements in a circle, rather than a line? Then the number of permutations is

(n1)!.

When faced with very large factorials, a useful approximation is Stirling's formula

n!2πn(ne)n

Now suppose we only choose r distinct elements from the set (without replacement). Then the number of possible permutations becomes

n!(nr)!=nPr.