Updated: 2025-09-10 11:56:32 Β· Views: 71

πŸ“˜ Combinatorics Notes

1. Factorial (n!)

  • n! = n Γ— (n-1) Γ— (n-2) Γ— ... Γ— 1
  • 0! = 1 (by definition) πŸ‘‰ Counts the number of ways to arrange n distinct objects.

---

2. Permutations (Order matters)

a) Without Repetition

P(n,r) = n! Γ· (n-r)! πŸ‘‰ Choose r objects from n, order matters, no repeats allowed.

Example: Seating 3 students out of 10 chairs β†’ order matters.

b) With Repetition

n^r πŸ‘‰ Each position can be filled in n ways, repeats allowed.

Example: 4-digit PIN code using 0–9 (digits can repeat).

---

3. Combinations (Order does not matter)

a) Without Repetition

C(n,r) = n! Γ· ( r! Γ— (n-r)! ) πŸ‘‰ Choose r objects from n, order doesn’t matter, no repeats.

Example: Picking 3 team members out of 10 students.

b) With Repetition

C(n+r-1, r) = ( (n+r-1)! ) Γ· ( r! Γ— (n-1)! ) πŸ‘‰ Choose r objects from n, order doesn’t matter, repeats allowed.

Example: Choosing 3 scoops of ice cream from 5 flavors (flavors can repeat).

---

4. Key Differences

  • Permutation = Order matters
  • Without repeat β†’ P(n,r)
  • With repeat β†’ n^r
  • Combination = Order does not matter
  • Without repeat β†’ C(n,r)
  • With repeat β†’ C(n+r-1, r)

πŸ‘‰ Trick to remember:

  • PIN codes β†’ Permutations (order matters)
  • Teams β†’ Combinations (order doesn’t matter)
  • Ice cream scoops β†’ Combination with repetition
← Back to Home