Fundamental principle of counting#
If one event can occur in m ways and another in n ways, both together can occur in m × n ways (multiplication principle); either one in m + n ways (addition principle).
Factorial#
n! = n × (n − 1) × … × 1; 0! = 1.
Permutations (arrangements - order matters)#
| Case | Formula |
|---|---|
| r objects from n distinct | ⁿPᵣ = n!/(n − r)! |
| all n distinct | n! |
| repetition allowed | nʳ |
| n objects with p alike, q alike … | n!/(p! q! …) |
Letters of MISSISSIPPI: 11!/(4! 4! 2!) = 34650.
Combinations (selections - order doesn't matter)#
ⁿCᵣ = n!/[r!(n − r)!]. Properties: ⁿCᵣ = ⁿCₙ₋ᵣ; ⁿCᵣ + ⁿCᵣ₋₁ = ⁿ⁺¹Cᵣ; ⁿPᵣ = r! × ⁿCᵣ.
Choose 3 people out of 7: ⁷C₃ = 35. Team of 2 boys and 3 girls from 4 boys and 5 girls: ⁴C₂ × ⁵C₃ = 6 × 10 = 60.
क्रमचय (permutation) में क्रम महत्त्वपूर्ण होता है (व्यवस्थित करना), जबकि संचय (combination) में केवल चयन होता है, क्रम नहीं। ⁿPᵣ = n!/(n − r)! और ⁿCᵣ = n!/[r!(n − r)!]।
Exam tips#
- Decide first: arrangement (P) or selection (C)? Then handle restrictions (together → treat as one unit).