4.9.2 · D4 · HinglishProbability Theory & Statistics

ExercisesInclusion-exclusion principle

2,114 words10 min read↑ Read in English

4.9.2 · D4 · Maths › Probability Theory & Statistics › Inclusion-exclusion principle

Woh ek identity jis par neeche har solution tika hai:

Ise is tarah padho: ==odd-size intersections ko milta hai, even-size ko ==.


Level 1 — Recognition

Recall Solution

KAUNSA tool: two-set inclusion–exclusion, kyunki hum ek union ke baare mein pooch rahe hain aur hume overlap diya gaya hai. KYUN ghataate hain: woh dono-wale log ke andar bhi hain aur ke andar bhi, toh seedha addition unhe do baar count karti hai. Answer: .

Recall Solution

ek sets ka intersection hai. Sign hai . KYUN: teen odd hai, aur odd-size intersections add kiye jaate hain. Answer: (positive).


Level 2 — Application

Recall Solution

Maano = ke multiples, = ke multiples.

  • = ke multiples: KYUN nahin, lcm: koi number jo dono aur se divisible ho, woh unke least common multiple, se divisible hona chahiye — product se nahin (warna miss ho jaayenge). Answer: .
Recall Solution

Step by step: singles ; pairs ghataao ; triple jodo . KYUN : woh all-three students baar add kiye gaye (har single mein ek baar) aur baar ghataaye gaye (har pair mein ek baar), net hua — toh unhe ek baar wapas restore karna padega. Answer: .


Level 3 — Analysis

Recall Solution

KAUNSA tool: inclusion–exclusion se "kam se kam ek" count karo, phir total se ghataao — "none" ko directly count karne se kahin zyada aasaan hai. Neeche shaded region dekho.

Figure — Inclusion-exclusion principle

Maano kramashah ke multiples hain.

  • Singles:
  • Pairs (lcm use karo):
  • Triple: Kisi se bhi divisible nahin: KYUN complement: "kisi se divisible nahin" union ka bahar hai; total minus union ek line mein de deta hai. Answer: .
Recall Solution

KYUN ek nayi formula: union "one or more" count karta hai, lekin hum strictly ek chahte hain. Exactly ek set mein jo element ho woh ek baar count ho; exactly do mein ho toh zero baar; exactly teen mein ho toh zero baar. "Exactly one" ki count hai KYUN coefficients hain: exactly do sets mein koi element singles mein aur pair mein aata hai, toh . Teeno mein wala element singles, pairs, triple mein aata hai: . Sirf "exactly ek mein" wala coefficient ke saath bachta hai. Answer: .


Level 4 — Synthesis

Recall Solution

KAUNSA tool: inclusion–exclusion se "bad" functions count karo jo kam se kam ek box miss karte hain, phir saare functions se ghataao. Maano = woh functions jo box ko avoid karte hain.

  • Total functions:
  • = doosre boxes mein functions ; inke hain.
  • = baaki box mein functions ; inke hain.
  • = boxes mein functions ; . Kam se kam ek box miss karne wale functions: Surjections KYUN yeh formula se match karta hai: surjections Answer: .
Recall Solution

KAUNSA tool: derangements , ek inclusion–exclusion ka payoff (parent example 3 dekho). Maano = woh arrangements jahan letter apne sahi envelope mein hai, toh , aur -fold intersection letters ko fix karta hai: with choices. Bracket compute karo: , aur Answer: .


Level 5 — Mastery

Recall Solution

KAUNSA tool: Bonferroni Inequalities — inclusion–exclusion ko odd number of terms par truncate karne se over-estimate milta hai (upper bound); even number par under-estimate (lower bound).

  • term ke baad (odd → upper): (Trivially par cap.)
  • terms ke baad (even → lower): Toh KAB exact lower bound : equality tab hoti hai jab triple intersection empty ho, , kyunki full formula lower bound mein add karta hai. Answer: bounds ; exact iff .
Recall Solution

Strategy: ek element fix karo jo exactly sets mein hai, aur dikhao ki woh mein contribute karta hai jab ho aur otherwise. Phir saare par sum karne se count mil jaati hai.

mein uska contribution. ek -fold intersection mein tab aata hai jab chune gaye saare sets us mein se hon jo use contain karte hain, toh woh mein contribute karta hai (aur agar ).

mein uska contribution. Substitute karo: Subset-of-a-subset identity use karo (KYUN: mein se choose karna phir un mein se choose karna, barabar hai mein se directly woh choose karna phir bache hue mein se choose karna). factor out karo: let karo: KYUN yahan binomial theorem: alternating sum ko mein collapse kar deta hai.

  • Agar : contribute karta hai. ✓
  • Agar : , aur contribute karta hai. ✓
  • Agar : sum empty hai → . ✓ Exactly sets mein har element contribute karta hai, baaki sab . Isliye unhe exactly count karta hai.

Connections

  • Inclusion-exclusion principle — woh parent principle jis par har exercise apply hoti hai
  • Set Theory & Venn Diagrams — L1–L3 ke peechhe union/intersection regions
  • Counting Principles & Combinatorics aur lcm counting poori note mein use hui
  • Derangements & Permutations — L4·Q2 ka derangement payoff
  • Binomial Theorem — L5·Q2 mein alternating sums collapse karta hai
  • Probability Axioms — L5·Q1 ka probabilistic form
  • Bonferroni Inequalities — L5·Q1 mein truncation bounds