Permutations and combinations: does order matter?Permutations and combinations: does order matter?
🧭 Chủ đề:Topic: Tổ hợp và tư duy logicCombinatorics & logic · xem bài cùng chủ đề ở mọi độ tuổisee this topic at every age
🎯 Sau bài này bạn sẽ
Phân biệt chọn có thứ tự và không có thứ tự Tính $n!$, $A_n^k$, $C_n^k$ trong bài toán thực tế
Tell ordered selections from unordered ones Compute $n!$, $P(n,k)$ and $\binom nk$ in real problems
Câu hỏi then chốt: đổi chỗ có tạo ra cách mới không?
| Loại | Ý nghĩa | Công thức |
|---|---|---|
| Hoán vị | Xếp $n$ người thành hàng | $n! = 1 \cdot 2 \cdots n$ |
| Chỉnh hợp | Chọn $k$ trong $n$ có thứ tự (lớp trưởng, lớp phó) | $A_n^k = n(n-1)\cdots(n-k+1)$ |
| Tổ hợp | Chọn $k$ trong $n$ không thứ tự (một nhóm) | $C_n^k = \dfrac{A_n^k}{k!}$ |
Ví dụ. Lớp 10 bạn: chọn 1 lớp trưởng và 1 lớp phó ⇒ $10 \cdot 9 = 90$ cách. Chọn 2 bạn đi trực nhật ⇒ $90 : 2 = 45$ cách (vì An–Bình và Bình–An là một).
Bắt tay: $n$ người, mỗi người bắt tay một lần với mỗi người khác ⇒ $C_n^2 = \frac{n(n - 1)}{2}$ cái bắt tay.
The key question: does swapping two choices create a new outcome?
| Type | Meaning | Formula |
|---|---|---|
| Permutation of all | Arrange $n$ people in a line | $n! = 1 \cdot 2 \cdots n$ |
| Permutation of $k$ | Choose $k$ of $n$ in order (captain, vice-captain) | $P(n,k) = n(n-1)\cdots(n-k+1)$ |
| Combination | Choose $k$ of $n$ without order (a group) | $\binom nk = \dfrac{P(n,k)}{k!}$ |
Example. A class of 10: choosing a class president and a vice-president ⇒ $10 \cdot 9 = 90$ ways. Choosing 2 pupils for cleaning duty ⇒ $90 : 2 = 45$ ways (An–Binh and Binh–An are the same pair).
Handshakes: if each of $n$ people shakes hands once with every other person, there are $\binom n2 = \frac{n(n - 1)}{2}$ handshakes.
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!