Discrete Mathematics
Comprehensive exam revision notes for BCA-411E Unit 3 (Combinatorics, Recurrence Relations & Binomial Theorem). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.
Discrete Mathematics
Combinatorics, Recurrence Relations & Binomial Theorem
Core Definitions & Key Concepts
State the Rule of Sum and Rule of Product in Combinatorics
Rule of Sum (Addition Principle): If task A can be done in m ways and task B in n ways, and they are mutually exclusive, then doing either task A or task B can be done in $m + n$ ways. Rule of Product (Multiplication Principle): If a procedure can be broken down into two successive stages, where stage 1 has m outcomes and stage 2 has n outcomes, then the total procedure has $m \times n$ outcomes.
Permutations and Combinations with formulas
Permutation: An ordered arrangement of r objects chosen from n distinct objects: $P(n, r) = \frac{n!}{(n - r)!} **Combination:** An unordered selection of r objects chosen from n distinct objects: C(n, r) = \binom{n}{r} = \frac{n!}{r!(n - r)!}$
State Pascal's Identity for combinations
For integers n, r with 1 ≤ r ≤ n: $\binom{n}{r} + \binom{n}{r - 1} = \binom{n + 1}{r}$
State the Binomial Theorem for a positive integral index n
$(a + b)^n = \sum_{r=0}^n \binom{n}{r} a^{n-r} b^r = \binom{n}{0}a^n + \binom{n}{1}a^{n-1}b + \dots + \binom{n}{n}b^n$
State the Pigeonhole Principle (PHP)
Basic PHP: If n pigeonholes are occupied by n + 1 or more pigeons, then at least one pigeonhole must contain two or more pigeons. Generalized PHP: If N objects are placed into k boxes, then at least one box must contain at least \lceil N / k \rceil objects.
What is a Second-Order Linear Homogeneous Recurrence Relation with Constant Coefficients
An equation of the form: $a_n + c_1 a_{n-1} + c_2 a_{n-2} = 0 \quad (c_2 \ne 0) where c1, c2$ are real constants and the highest subscript minus lowest subscript equals 2.
Conceptual & Architectural Analysis
Find the coefficient of x^7 in the binomial expansion of (x^2 + 1/x)^{11}
Finding Specific Coefficient in Binomial Expansion
Step 1: Write General (r+1)-th Term Formula
For (a + b)^n, T_{r+1} = \binom{n}{r} a^{n-r} b^r. Here a = x^2, b = x^{-1}, n = 11: $T_{r+1} = \binom{11}{r} (x^2)^{11-r} (x^{-1})^r = \binom{11}{r} x^{22 - 2r} x^{-r} = \binom{11}{r} x^{22 - 3r}$
Step 2: Equate Power of x to 7
$22 - 3r = 7 \implies 3r = 15 \implies \mathbf{r = 5}$
Step 3: Compute the Coefficient
$Coefficient = \binom{11}{5} = \frac{11 × 10 × 9 × 8 × 7}{5 × 4 × 3 × 2 × 1} = 11 × 3 × 2 × 7 = \mathbf{462} *(Thus, the term is 462 x^7 and the required coefficient is 462$).*
Solve a real-world problem using the Pigeonhole Principle: Show that among any 13 people, at least two must be born in the same month
Pigeonhole Principle Proof
System Assignment:
- Pigeons: N = 13 people.
- Pigeonholes: k = 12 months of the year (January through December).
- Mapping: Each person is placed into the pigeonhole corresponding to their birth month.
Application of Generalized PHP:
According to the Pigeonhole Principle, at least one month must contain at least: $≤ft\lceil \frac{N}{k} \right\rceil = ≤ft\lceil \frac{13}{12} \right\rceil = \lceil 1.083 \rceil = \mathbf{2 people}$
$\mathbf{Q.E.D.}$ (Therefore, among any 13 individuals, at least two must share a common birth month).
The Characteristic Equation Method for solving Linear Homogeneous Recurrence Relations
Characteristic Equation Method
Consider a_n + c_1 a_{n-1} + c_2 a_{n-2} = 0.
Step 1: Form Characteristic Equation
Substitute trial solution a_n = r^n: $r^2 + c_1 r + c_2 = 0$
Step 2: Find Characteristic Roots r_1, r_2
- Case 1: Distinct Real Roots ($r_1 \ne r_2$):
$a_n = C_1 r_1^n + C_2 r_2^n$
- Case 2: Equal Real Roots ($r_1 = r_2 = r$):
$a_n = (C_1 + C_2 n) r^n$
- Case 3: Complex Conjugate Roots ($r = \alpha \pm i\beta = \rho e^{\pm i\theta}$):
$a_n = \rho^n (C_1 \cos n\theta + C_2 \sin n\theta)$
Step 3: Determine Constants
Constants C_1, C_2 are evaluated using initial boundary conditions (e.g., a_0, a_1).
In-Depth Analysis & Implementation
Solve the recurrence relation: a_n - 7a_{n-1} + 12a_{n-2} = 0 for n ≥ 2 with initial conditions a_0 = 2 and a_1 = 7. Also, solve the Fibonacci sequence recurrence F_n = F_{n-1} + F_{n-2} with F_0 = 0, F_1 = 1
Step-by-Step Solution of Recurrence Relations
Part 1: Solving a_n - 7a_{n-1} + 12a_{n-2} = 0
Step 1: Characteristic Equation
$r^2 - 7r + 12 = 0 (r - 3)(r - 4) = 0 \implies r_1 = 3, \; r_2 = 4$
Step 2: General Solution Form (Distinct Real Roots)
$a_n = C_1 (3)^n + C_2 (4)^n$
Step 3: Apply Initial Conditions
- For n = 0:
$a_0 = C_1 (1) + C_2 (1) = 2 \implies C_1 + C_2 = 2$
- For n = 1:
$a_1 = C_1 (3) + C_2 (4) = 7 \implies 3C_1 + 4C_2 = 7$
Multiply first equation by 3: 3C_1 + 3C_2 = 6. Subtract from second: (3C_1 + 4C_2) - (3C_1 + 3C_2) = 7 - 6 \implies \mathbf{C_2 = 1}. Then C_1 = 2 - 1 = \mathbf{1}.
Final Explicit Solution:
$\mathbf{a_n = 3^n + 4^n} *(Verification: a0 = 1+1=2, a1 = 3+4=7, a2 = 9+16=25$. From recurrence: $a2 = 7(7) - 12(2) = 49 - 24 = 25$. Correct!).*
Part 2: Closed-Form Derivation of Fibonacci Sequence (F_n = F_{n-1} + F_{n-2})
Step 1: Characteristic Equation
$r^2 - r - 1 = 0 Using quadratic formula: r = \frac{1 \pm \sqrt{1 - 4(1)(-1)}}{2} = \frac{1 \pm \sqrt{5}}{2} Let \phi = \frac{1 + \sqrt{5}}{2} (Golden Ratio) and \hat{\phi} = \frac{1 - \sqrt{5}}{2}$.
Step 2: General Solution
$F_n = C_1 ≤ft( \frac{1 + \sqrt{5}}{2} \right)^n + C_2 ≤ft( \frac{1 - \sqrt{5}}{2} \right)^n$
Step 3: Apply F_0 = 0, F_1 = 1
- F_0 = C_1 + C_2 = 0 \implies C_2 = -C_1
- F_1 = C_1 \phi + C_2 \hat{\phi} = C_1 (\phi - \hat{\phi}) = 1
$\phi - \hat{\phi} = \frac{1+\sqrt{5}}{2} - \frac{1-\sqrt{5}}{2} = \sqrt{5} C_1 = \frac{1}{\sqrt{5}}, \quad C_2 = -\frac{1}{\sqrt{5}}$
Binet's Formula (Final Closed Form):
$\mathbf{F_n = \frac{1}{\sqrt{5}} ≤ft[ ≤ft( \frac{1 + \sqrt{5}}{2} \right)^n - ≤ft( \frac{1 - \sqrt{5}}{2} \right)^n \right]}$
Critically evaluate Permutations with Repetitions, Circular Permutations, and Combinatorial Identities. Solve: (1) In how many ways can the letters of the word 'MISSISSIPPI' be arranged? (2) In how many ways can 6 people be seated around a round table
Permutations and Combinatorics Problems
Part 1: Permutations with Repetition
If a collection has n total objects where object 1 repeats n_1 times, object 2 repeats n_2 times, \dots, object k repeats n_k times: $Total Distinct Arrangements = \frac{n!}{n_1! \cdot n_2! \cdot \dots \cdot n_k!}$
Solving 'MISSISSIPPI':
- Total letters n = 11.
- Letter frequencies:
- M = 1
- I = 4
- S = 4
- P = 2
- Total distinct arrangements:
$Ways = \frac{11!}{1! \cdot 4! \cdot 4! \cdot 2!} = \frac{39,916,800}{1 × 24 × 24 × 2} = \frac{39,916,800}{1152} = \mathbf{34,650}$
Part 2: Circular Permutations
The number of ways to arrange n distinct persons in a circle where clockwise and counterclockwise orders are distinct is: $P_{circ} = (n - 1)!$ (One person is fixed to eliminate rotational equivalence).
Solving for 6 people around a round table:
$Ways = (6 - 1)! = 5! = 5 × 4 × 3 × 2 × 1 = \mathbf{120 ways} *(If the arrangement were a necklace/keyring where flipping is permitted, it would be \frac{(n-1)!}{2} = 60$).*
Important Exam Points & Quick Revision
Examiner Insights & University Exam Strategy:
- Guaranteed 10/15-Mark Recurrence Relation: Solving a second-order linear homogeneous recurrence relation (like a_n - 7a_{n-1} + 12a_{n-2} = 0) or deriving Fibonacci's Binet formula is almost certain.
- Binomial Expansions: Practice finding the middle term or term independent of x using T_{r+1} = \binom{n}{r} a^{n-r} b^r.
- Pigeonhole Principle: Write the mathematical statement \lceil N/k \rceil and identify clearly what constitutes pigeons vs pigeonholes.
100% left on this page — finishing it closes the gap for Combinatorics, Recurrence Relations & Binomial Theorem.
Combinatorics, Recurrence Relations & Binomial Theorem still counts as a weak topic until you finish this note and answer its questions.
Practise this unitTest Your Understanding
Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.