✅ UNIT 2 — COMBINATORICS
1. Permutations & Combinations
Permutation
Arrangement of objects where order matters.
-
Formula:
Example:
Number of ways to arrange 3 letters from ABCD
=
Combination
Selection of objects where order does NOT matter.
-
Formula:
Example:
Choose 2 students from 5
=
2. Summation
Properties of Σ:
3. Binomial Function
Properties:
-
Number of terms = n+1
-
Middle term depends on n (odd/even)
4. Generating Functions
Used in recurrence and combinatorics.
Basic idea:
If we have sequence {a₀, a₁, a₂, …}
Generating function is:
Example: For sequence 1,1,1,1,…
5. Recurrence Relation
Example: Fibonacci
Solving Linear Recurrences
General form:
Steps:
-
Form characteristic equation
-
Find roots r₁, r₂
No comments:
Post a Comment