Worked examples — Joint distributions — joint PMF - PDF, marginal, conditional
4.9.10 · D3· Maths › Probability Theory & Statistics › Joint distributions — joint PMF - PDF, marginal, conditional
Scenario matrix
Har joint-distribution problem in cases mein se ek hoti hai. Right column us worked example ka naam deta hai jo use cover karta hai.
| Cell | Case class | Tricky kyon hai | Covered by |
|---|---|---|---|
| C1 | Discrete, finite table | sirf sums, lekin marginals dhundhne padte hain aur independence test karni hoti hai | Example 1 |
| C2 | Discrete, truly independent | joint bilkul factor hota hai — "null" case | Example 2 |
| C3 | Continuous on a rectangle | constant bounds, sabse aasaan continuous case | Example 3 |
| C4 | Continuous on a triangle (support matters) | bounds dusre variable par depend karte hain | Example 4 |
| C5 | Degenerate / zero input | par conditioning — undefined | Example 5 |
| C6 | Limiting behaviour | kya hota hai jab conditioning value ko edge ki taraf slide karein | Example 6 |
| C7 | Real-world word problem | English ko joint PMF mein translate karo, phir question ka answer do | Example 7 |
| C8 | Exam twist: given conditional + marginal se joint rebuild karo (chain rule) | reverse direction, Bayes' Theorem flavour use karta hai | Example 8 |
Hum saaton cells neeche cover karte hain.
Example 1 — Discrete table (Cell C1)
Step 1 — check karo ki valid PMF hai. Yeh step kyon? Table tabhi distribution hoti hai jab saari entries hon aur sum ho; warna saara downstream kaam bekaar hai.
Step 2 — marginal of (har row ka sum). Yeh step kyon? — " aur kuch bhi" matlab Law of Total Probability -values ke upar.
Step 3 — marginal of (har column ka sum).
Step 4 — conditional. Yeh step kyon? freeze karo: sirf us column ko dekho , phir uske total se divide karo taaki slice re-normalize ho jaye (dekho Conditional Probability).
Step 5 — independence test. Yeh step kyon? Independence ek statement hai joint ke factoring ke baare mein, kabhi akele marginals ke baare mein nahi. Ek cell test karo. Ek matching cell kaafi nahi — doosra check karo: Kyunki ek cell fail karta hai, dependent hain.
Verify: rows ka sum (total ); columns ka sum (total ); conditional column ka sum hai. ✔
Example 2 — Independent case (Cell C2)
Step 1 — joint multiply karke banao. Yeh step kyon? Independence of Random Variables ka matlab hi hai — joint literally marginals ka outer product hota hai.
Step 2 — total check karo.
Step 3 — independence ki tell-tale: conditional = marginal. Yeh step kyon? Independence ke under, jaanna ke baare mein kuch nahi batata, isliye slice marginal ke barabar hoti hai.
Verify: conditional exactly marginal ke barabar hai — independence ka fingerprint. ✔
Example 3 — Continuous, rectangular support (Cell C3)
Step 1 — nikalo total probability se. Yeh step kyon? Har density ko apne support par integrate karna chahiye; isse constant pin hota hai.
Step 2 — marginal of ( ko integrate out karo, constant bounds to ). Yeh step kyon? ; rectangle matlab hamesha pura chalता hai.
Step 3 — marginal of (symmetry se).
Step 4 — conditional. Yeh step kyon? Joint ko conditioning variable ke marginal se divide karo.
Step 5 — independent? Toh dependent hain — ek clean square par bhi, ek additive density factor nahi karta.
Verify: ✔; har ke liye ✔.
Example 4 — Continuous, triangular support (Cell C4)

Step 1 — picture se bounds padho. Yeh step kyon? Region hai : fixed ke liye, se tak jaata hai; fixed ke liye, se tak jaata hai. Constant bounds galat answer denge. Figure mein amber slice dekho.
Step 2 — confirm total .
Step 3 — marginal of (fixed ke liye, se tak).
Step 4 — marginal of (fixed ke liye, se tak).
Step 5 — conditional of given . Yeh step kyon? Hum chahte hain, toh par condition karo. Joint ko se divide karo; support ban jaata hai .
Step 6 — par requested probability.
Verify: ✔; numeric answer neeche re-check kiya gaya hai.
Example 5 — Degenerate / zero conditioning (Cell C5)
Step 1 — conditioning value par marginal evaluate karo. Yeh step kyon? Conditional sirf wahan defined hai jahan .
Step 2 — undefined declare karo. Dono mein ya " over -support" situation aati hai:
Verify: aur support require karta hai , isliye ki zero density hai — dono conditionals undefined hain. ✔ (Koi numeric answer nahi; "answer" hai undefined.)
Example 6 — Limiting behaviour (Cell C6)

Step 1 — given ka conditional likho. Yeh step kyon? Is baar par condition karo: joint ko se divide karo, support .
Step 2 — limit . Puri interval par ek wide, gently increasing slope — picture ki cyan curve.
Step 3 — limit . Yeh step kyon? Shape dekho: shrinking interval par density hai. par iska peak hai, lekin width hai. Mass rehta hai lekin ke paas ek spike mein concentrate ho jaata hai. Toh par slice ek ever-taller, ever-narrower spike ban jaata hai (ek "point mass forming"), even though par khud object undefined hai (Example 5). Figure mein amber curves yeh squeeze dikhate hain.
Verify: ke neeche area hai har ke liye; par limit deta hai. ✔
Example 7 — Real-world word problem (Cell C7)
Step 1 — validity check karo aur nikalo. Yeh step kyon? Hum par condition kar rahe hain, isliye us column ka weight chahiye. Total ✔.
Step 2 — given ki conditional distribution. Yeh step kyon? column ko slice karo aur se re-normalize karo.
Step 3 — headline question ka answer do. Baseline se compare karo. Pastry kharidna 2 coffees ka chance badhata hai () — yeh saath saath chalta hai.
Step 4 — conditional expectation (dekho Expectation and Variance). Yeh step kyon? Conditional distribution ke under expected value har coffee-count ko uski conditional probability se weight karta hai.
Verify: conditional probs ✔; aur neeche re-check kiye gaye hain.
Example 8 — Exam twist: joint rebuild karo (Cell C8)
Step 1 — chain rule se joint nikalo. Yeh step kyon? — slice ko jis cheez par condition kiya us uske weight se multiply karo. Triangle par height ki flat density.
Step 2 — sanity check: kya integrate karta hai?
Step 3 — marginal of ( ko integrate out karo; fixed ke liye, chalta hai).
Step 4 — reverse conditional (Bayes direction). Yeh step kyon? Ab hum given chahte hain: joint ko se divide karo. Yeh par uniform hai — forward "uniform on " ka mirror.
Verify: joint integrate karta hai ✔; ✔; ✔.
Recall Kaun sa cell sabse mushkil tha — aur kyon
Cell C5 (degenerate). Yeh answerable lagta hai kyunki aap "plug in" kar sakte ho, lekin zero-density value par conditioning genuinely undefined hai — algebra mein chhup jaata hai. Kabhi bhi " hai?" check mat skip karo.
Recall
Marginal of from a triangle joint on with
ke liye undefined kyon hai?
Discrete table mein independence fingerprint
Chain rule se conditional aur marginal se joint rebuild karna
par on ke liye kya hota hai?
Connections
- Joint distributions — joint PMF - PDF, marginal, conditional — parent jiska machinery har example yahan exercise karta hai.
- Conditional Probability — har upar wale conditional ke peechhe ka slice-and-renormalize rule.
- Independence of Random Variables — Examples 1–3 mein test kiya gaya.
- Law of Total Probability — marginals nikalne ke liye sum/integrate karne ka justification.
- Bayes' Theorem — Example 8 mein reversal direction.
- Expectation and Variance — Example 7 mein conditional expectation.
- Covariance and Correlation — natural next step jab aap joint moments compute kar sako.
- Bivariate Normal Distribution — continuous joint jo aap aage miloge.