Samjhake
Introduction to Probability
Notesโ€บIntroduction to Probabilityโ€บHomework 2: Probability and its Application (MTH432/532)

MTH-PROB ยท Page 7 of 10

Homework 2: Probability and its Application (MTH432/532)

Question 1 โ€” Colorblindness and Bayes' Theorem

Problem

Suppose that 5 percent of men and 2 percent of women are colorblind. A randomly chosen person is colorblind. What is the probability that this person is male? Assume that there are an equal number of males and females.

English solution

Step 1 โ€” Define the events

Let \(M\) be the event that the selected person is male, \(W\) the event that the person is female, and \(C\) the event that the person is colorblind.

Since the numbers of males and females are equal,

\[ P(M)=P(W)=\frac12. \]

The given colorblindness probabilities are

\[ P(C\mid M)=0.05=\frac5{100}, \qquad P(C\mid W)=0.02=\frac2{100}. \]

Step 2 โ€” Find the total probability of being colorblind

A colorblind person can be either a colorblind male or a colorblind female. By the law of total probability,

\[ P(C) =P(C\mid M)P(M)+P(C\mid W)P(W). \]

Therefore,

\[ P(C) =0.05\left(\frac12\right)+0.02\left(\frac12\right) =0.025+0.01 =0.035. \]

Step 3 โ€” Apply Bayes' theorem

We want the probability that the person is male given that the person is colorblind:

\[ P(M\mid C) = \frac{P(C\mid M)P(M)}{P(C)}. \]

Substituting the values,

\[ P(M\mid C) = \frac{0.05\cdot\frac12}{0.035} = \frac{0.025}{0.035} = \frac57. \]

Final answer

\[ \boxed{P(M\mid C)=\frac57\approx0.7143} \]

Thus, given that the randomly chosen person is colorblind, the probability that the person is male is approximately \(71.43\%\).

Quick check using 100 men and 100 women

Imagine 100 men and 100 women. About 5 men and 2 women are colorblind, so among the \(5+2=7\) colorblind people, 5 are men. Therefore the probability is \(5/7\), confirming the result.

Hinglish explanation

Question ka basic idea

Humein ye diya hai ki males mein \(5\%\) colorblind hain aur females mein \(2\%\). Ab humein pata chal gaya ki randomly selected person colorblind hai. Humein reverse probability chahiye: ab uske male hone ka chance kitna hai?

Ye exactly Bayes' theorem ka case hai.

Step 1 โ€” Male aur female equally likely hain

Question bolta hai males aur females equal number mein hain, isliye

\[ P(M)=P(W)=\frac12. \]

Saath hi,

\[ P(C\mid M)=0.05, \qquad P(C\mid W)=0.02. \]

Step 2 โ€” Overall colorblind hone ki probability

Colorblind person do routes se aa sakta hai: male hokar colorblind, ya female hokar colorblind.

\[ P(C) = 0.05\cdot\frac12 + 0.02\cdot\frac12 = 0.035. \]

Step 3 โ€” Bayes lagao

\[ P(M\mid C) = \frac{P(C\mid M)P(M)}{P(C)} = \frac{0.05\cdot\frac12}{0.035} = \frac57. \]

Isliye colorblind person ke male hone ka chance \(\frac57\approx71.43\%\) hai.

Sabse easy intuition

100 males aur 100 females maan lo. Males mein 5 colorblind honge, females mein 2. Total colorblind \(=7\), jinmein male \(=5\). Isliye directly \(5/7\).

Common mistake

\(P(C\mid M)=5\%\) ko hi answer mat samajhna. Question \(P(M\mid C)\) pooch raha hai. Conditional probability mein condition ka direction bahut important hota hai.

Question 2 โ€” Two Cards and Conditional Probability

Problem

Two cards are randomly selected from a deck of 52 playing cards.

  1. What is the probability they constitute a pair, that is, that they are of the same denomination?
  2. What is the conditional probability they constitute a pair given that they are of different suits?

English solution

Deck facts

A standard 52-card deck has 13 denominations (ranks): \(A,2,\ldots,10,J,Q,K\). Each denomination occurs in 4 suits.

Since two cards are selected without regard to order, the total number of 2-card hands is

\[ \binom{52}{2}=1326. \]

(a) Probability that the two cards form a pair

A pair means that the two cards have the same denomination.

First choose the denomination: \(13\) choices. For that denomination, choose any 2 of its 4 suits:

\[ 13\binom42 = 13\cdot6 = 78. \]

Hence

\[ P(\text{pair}) = \frac{13\binom42}{\binom{52}{2}} = \frac{78}{1326} = \boxed{\frac1{17}}. \]

(b) Probability of a pair given that the cards have different suits

Let

\[ A=\{\text{the two cards form a pair}\}, \qquad D=\{\text{the two cards have different suits}\}. \]

We need

\[ P(A\mid D) = \frac{P(A\cap D)}{P(D)}. \]

If two cards have the same denomination, they must automatically be from different suits because a deck has only one card of each denomination in each suit. Therefore

\[ A\subseteq D \quad\Longrightarrow\quad A\cap D=A. \]

Count the hands having different suits

The number of all 2-card hands is \(\binom{52}{2}=1326\).

The number of hands whose two cards are from the same suit is

\[ 4\binom{13}{2} = 4\cdot78 = 312. \]

Hence the number having different suits is

\[ 1326-312=1014. \]

Every pair is included among these different-suit hands, so

\[ P(A\mid D) = \frac{78}{1014} = \boxed{\frac1{13}}. \]

Final answers

  • (a) \(\boxed{\frac1{17}}\)
  • (b) \(\boxed{\frac1{13}}\)

Alternative check for part (b)

Condition on the first card. Given that the second card must have a different suit, there are \(39\) possible cards among the remaining deck that have a different suit from the first card. Exactly \(3\) of these have the same denomination as the first card. Thus

\[ P(\text{pair}\mid\text{different suits}) = \frac3{39} = \frac1{13}. \]

Hinglish explanation

Basic deck structure

52-card deck mein 13 denominations/ranks hote hain aur har rank ke 4 suits hote hain. Jaise 4 kings, 4 queens, 4 aces, etc.

Do cards ka order matter nahi karta, isliye total hands

\[ \binom{52}{2}=1326. \]

(a) Same denomination, yani pair

Pehle rank choose karo: 13 choices. Phir us rank ke 4 cards mein se koi 2 choose karo:

\[ 13\binom42=13\cdot6=78. \]

To probability

\[ \frac{78}{1326} = \frac1{17}. \]

(b) Given ki suits different hain

Ab sample space chhota ho gaya. Humein sirf un hands ko consider karna hai jisme suits different hain.

Same-suit hands:

\[ 4\binom{13}{2}=312. \]

Isliye different-suit hands:

\[ 1326-312=1014. \]

Pair ke 78 hands sab automatically different-suit hote hain, kyunki same rank ke do cards same suit ke ho hi nahi sakte.

So conditional probability:

\[ \frac{78}{1014} = \frac1{13}. \]

Fastest shortcut

Pehla card fix kar lo. Different suit ki condition ke baad second card ke liye \(3\times13=39\) possible cards bachte hain. Unmein same rank ke exactly 3 cards hain. To answer \(3/39=1/13\).

Final answers

(a) \(\frac1{17}\), (b) \(\frac1{13}\).

Question 3 โ€” Rain on Monday and Tuesday

Problem

There is a 40 percent chance of rain on Monday, a 30 percent chance of rain on Tuesday, and a 20 percent chance of rain on both days. It did not rain on Monday. What is the probability it will rain on Tuesday?

English solution

Step 1 โ€” Define events

Let

\[ M=\{\text{rain on Monday}\}, \qquad T=\{\text{rain on Tuesday}\}. \]

The data are

\[ P(M)=0.40,\qquad P(T)=0.30,\qquad P(M\cap T)=0.20. \]

We are told that it did not rain on Monday, so we want

\[ P(T\mid M^c). \]

Step 2 โ€” Find \(P(M^c)\)

\[ P(M^c)=1-P(M)=1-0.40=0.60. \]

Step 3 โ€” Find the probability of Tuesday rain and no Monday rain

The event \(T\) splits into two disjoint cases: it rains on both days, or it rains Tuesday but not Monday. Therefore

\[ P(T\cap M^c) = P(T)-P(T\cap M). \]

Hence

\[ P(T\cap M^c) = 0.30-0.20 = 0.10. \]

Step 4 โ€” Apply conditional probability

\[ P(T\mid M^c) = \frac{P(T\cap M^c)}{P(M^c)} = \frac{0.10}{0.60} = \boxed{\frac16}. \]

Final answer

\[ \boxed{\frac16\approx0.1667} \]

Thus, after learning that it did not rain on Monday, the probability of rain on Tuesday is about \(16.67\%\).

Important observation

The answer is not \(30\%\). The information that Monday was dry changes the probability because Monday and Tuesday rain are not independent under the given data: \(P(M\cap T)=0.20\), whereas independence would require \(P(M)P(T)=0.12\).

Hinglish explanation

Question kya pooch raha hai?

Tuesday rain ka normal chance \(30\%\) diya hai. Lekin ab extra information mil gayi: Monday ko rain nahi hui. Isliye humein conditional probability nikalni hai.

Maan lo \(M\) = Monday rain aur \(T\) = Tuesday rain.

Humein chahiye:

\[ P(T\mid M^c). \]

Step 1 โ€” Monday dry hone ka chance

\[ P(M^c)=1-0.40=0.60. \]

Step 2 โ€” Tuesday rain but Monday no rain

Tuesday rain ka total chance \(0.30\) hai. Ismein \(0.20\) wo case hai jahan dono days rain hui. To Tuesday rain aur Monday dry:

\[ 0.30-0.20=0.10. \]

Step 3 โ€” Conditional formula

\[ P(T\mid M^c) = \frac{0.10}{0.60} = \frac16. \]

Answer approximately \(16.67\%\) hai.

Common mistake

Seedha \(30\%\) mat likhna. \(30\%\) unconditional Tuesday probability hai. Monday ke dry hone ki information milne ke baad sample space change ho gaya, isliye answer \(1/6\) aata hai.

Question 4 โ€” Transferring a Ball Between Two Urns

Problem

Urn 1 contains two white balls and one black ball, and Urn 2 contains three white balls and five black balls. One ball is drawn at random from Urn 1 and placed in Urn 2. A ball is then drawn from Urn 2. It happens to be white. What is the probability that the transferred ball was white?

English solution

Step 1 โ€” Define the events

Let

\[ W_T=\{\text{the transferred ball is white}\}, \qquad W_D=\{\text{the ball drawn from Urn 2 is white}\}. \]

We want

\[ P(W_T\mid W_D). \]

Step 2 โ€” Probability that the transferred ball is white or black

Urn 1 contains 2 white and 1 black ball, so

\[ P(W_T)=\frac23, \qquad P(B_T)=\frac13. \]

Step 3 โ€” Probability of drawing white from Urn 2 in each case

Case 1: transferred ball is white.

Urn 2 originally has \(3W+5B\). After transferring a white ball it has \(4W+5B\), total 9 balls. Therefore

\[ P(W_D\mid W_T)=\frac49. \]

Case 2: transferred ball is black.

Urn 2 then has \(3W+6B\), total 9 balls. Therefore

\[ P(W_D\mid B_T)=\frac39=\frac13. \]

Step 4 โ€” Use Bayes' theorem

\[ P(W_T\mid W_D) = \frac{P(W_D\mid W_T)P(W_T)} {P(W_D\mid W_T)P(W_T)+P(W_D\mid B_T)P(B_T)}. \]

Substitute the values:

\[ P(W_T\mid W_D) = \frac{\frac49\cdot\frac23} {\frac49\cdot\frac23+\frac13\cdot\frac13}. \]

The numerator is

\[ \frac49\cdot\frac23=\frac8{27}, \]

and the denominator is

\[ \frac8{27}+\frac19 = \frac8{27}+\frac3{27} = \frac{11}{27}. \]

Thus

\[ P(W_T\mid W_D) = \frac{\frac8{27}}{\frac{11}{27}} = \boxed{\frac8{11}}. \]

Final answer

\[ \boxed{\frac8{11}\approx0.7273} \]

Hinglish explanation

Question ka flow

Pehle Urn 1 se ek ball Urn 2 mein transfer hoti hai. Phir Urn 2 se ek ball nikali aur wo white nikli. Ab reverse mein pooch raha hai: jo ball transfer hui thi, uske white hone ka chance kitna hai?

Ye bhi Bayes theorem ka question hai.

Case 1 โ€” Transfer white hua

Urn 1 mein 2 white aur 1 black hai, to white transfer hone ka chance

\[ \frac23. \]

Agar white transfer hua, Urn 2 \(3W,5B\) se \(4W,5B\) banega. Total 9 balls. Phir white draw hone ka chance

\[ \frac49. \]

Is complete route ki probability:

\[ \frac23\cdot\frac49=\frac8{27}. \]

Case 2 โ€” Transfer black hua

Black transfer hone ka chance \(1/3\). Urn 2 phir \(3W,6B\) hoga, isliye white draw hone ka chance \(3/9=1/3\).

Is route ki probability:

\[ \frac13\cdot\frac13=\frac19=\frac3{27}. \]

Ab given hai ki final ball white hai

Final white hone ke possible routes ke weights \(8/27\) aur \(3/27\) hain. Inmein se transferred-white route ka fraction:

\[ \frac{8/27}{8/27+3/27} = \frac8{11}. \]

Final answer \(\boxed{8/11}\), approximately \(72.73\%\).

Tree-diagram intuition

Bas do branches banao: transfer W aur transfer B. Har branch par next white-draw probability multiply karo. Given final result white hai, dono white-ending branches ko normalize kar do. Bayes questions mein ye tree method bahut useful hai.

Question 5 โ€” Dominant and Recessive Genes in Rats

Problem

In a certain species of rats, black dominates over brown. Suppose that a black rat with two black parents has a brown sibling.

  1. What is the probability that this rat is a pure black rat, as opposed to being a hybrid with one black and one brown gene?
  2. Suppose that when the black rat is mated with a brown rat, all five of their offspring are black. Now, what is the probability that the rat is a pure black rat?

English solution

Genetic notation

Let \(B\) denote the dominant black gene and \(b\) the recessive brown gene.

  • \(BB\): pure black (homozygous dominant),
  • \(Bb\): hybrid black (heterozygous),
  • \(bb\): brown.

What do we know about the parents?

Both parents are black, but they produced a brown offspring. A brown rat must have genotype \(bb\), so it received a \(b\) gene from each parent.

Therefore each black parent must carry one recessive brown gene. Thus both parents have genotype

\[ Bb\times Bb. \]

Possible offspring from \(Bb\times Bb\)

The four equally likely gene combinations are

\[ BB,\quad Bb,\quad Bb,\quad bb. \]

Hence

\[ P(BB)=\frac14,\qquad P(Bb)=\frac12,\qquad P(bb)=\frac14. \]

(a) Probability that the given black rat is pure black

We are already told that this particular rat is black, so genotype \(bb\) is impossible. Conditional on the rat being black, the possible outcomes are

\[ BB,\quad Bb,\quad Bb. \]

Therefore

\[ P(BB\mid\text{black}) = \frac{1}{3}. \]

Equivalently, using conditional probability,

\[ P(BB\mid\text{black}) = \frac{P(BB)}{P(\text{black})} = \frac{\frac14}{\frac34} = \boxed{\frac13}. \]

(b) Five black offspring after mating with a brown rat

The brown mate has genotype \(bb\).

There are two hypotheses for the black parent:

  • \(H_1\): the black rat is pure, \(BB\), with prior probability \(1/3\);
  • \(H_2\): the black rat is hybrid, \(Bb\), with prior probability \(2/3\).

Let \(F\) be the event that all 5 offspring are black.

If the parent is \(BB\)

The mating is \(BB\times bb\). Every offspring is \(Bb\), hence black. Therefore

\[ P(F\mid BB)=1. \]

If the parent is \(Bb\)

The mating is \(Bb\times bb\). Each offspring has probability \(1/2\) of being black and \(1/2\) of being brown. Assuming the offspring genotypes are independent,

\[ P(F\mid Bb) = \left(\frac12\right)^5 = \frac1{32}. \]

Apply Bayes' theorem

\[ P(BB\mid F) = \frac{P(F\mid BB)P(BB)} {P(F\mid BB)P(BB)+P(F\mid Bb)P(Bb)}. \]

Substitute the values:

\[ P(BB\mid F) = \frac{1\cdot\frac13} {1\cdot\frac13+\frac1{32}\cdot\frac23}. \]

Now

\[ \frac13=\frac{16}{48}, \qquad \frac1{32}\cdot\frac23=\frac1{48}. \]

Therefore

\[ P(BB\mid F) = \frac{16/48}{17/48} = \boxed{\frac{16}{17}}. \]

Final answers

  • (a) \(\boxed{\frac13}\)
  • (b) \(\boxed{\frac{16}{17}}\)

Interpretation

Before observing the offspring, a black rat from \(Bb\times Bb\) has only probability \(1/3\) of being pure \(BB\). But five consecutive black offspring are much more likely if the rat is \(BB\) than if it is \(Bb\), so the posterior probability rises to \(16/17\).

Hinglish explanation

Sabse pehle genetics ko simple way mein samjho

\(B\) = black dominant gene, \(b\) = brown recessive gene.

  • \(BB\) = pure black,
  • \(Bb\) = hybrid black,
  • \(bb\) = brown.

Brown tabhi dikhega jab dono genes \(b\) hon.

Parents ka genotype kya hoga?

Dono parents black hain, lekin unka ek brown child bhi hai. Brown child \(bb\) hai, to usko ek \(b\) mother se aur ek \(b\) father se mila hoga. Isliye dono black parents \(BB\) nahi ho sakte; dono ko \(b\) carry karna hi padega.

So parents:

\[ Bb\times Bb. \]

Inke offspring combinations:

\[ BB,\quad Bb,\quad Bb,\quad bb. \]

(a) Given rat already black hai

Black hone ki wajah se \(bb\) case remove ho gaya. Ab black possibilities sirf 3 hain:

\[ BB,\quad Bb,\quad Bb. \]

Inmein pure \(BB\) sirf 1 case hai, to

\[ P(\text{pure black}\mid\text{black}) = \frac13. \]

(b) Brown rat ke saath mating aur 5 ke 5 babies black

Brown mate ka genotype \(bb\) hoga.

Agar hamara black rat \(BB\) hai:

\[ BB\times bb \Longrightarrow \text{all offspring }Bb, \]

so 5 ke 5 black hone ka chance \(1\).

Agar rat \(Bb\) hai:

\[ Bb\times bb, \]

to har offspring ke black hone ka chance \(1/2\). 5 ke 5 black hone ka chance

\[ \left(\frac12\right)^5=\frac1{32}. \]

Prior probabilities part (a) se:

\[ P(BB)=\frac13, \qquad P(Bb)=\frac23. \]

Bayes:

\[ P(BB\mid\text{5 black}) = \frac{1\cdot\frac13} {1\cdot\frac13+\frac1{32}\cdot\frac23} = \frac{16}{17}. \]

Intuition

\(BB\) rat ke liye 5 black babies guaranteed hain. \(Bb\) rat ke liye same observation ka chance sirf \(1/32\) hai. Isliye 5 black offspring dekhne ke baad pure-black hypothesis bahut strongly supported ho jaata hai.

Final answers

(a) \(\frac13\), (b) \(\frac{16}{17}\).

Question 6 โ€” Pรณlya-Type Urn and Conditional Probability

Problem

An urn contains \(b\) black balls and \(r\) red balls. One of the balls is drawn at random, but when it is put back in the urn, \(c\) additional balls of the same colour are put in with it. Now suppose that we draw another ball. Show that the probability that the first ball drawn was black given that the second ball drawn was red is

\[ \frac{b}{b+r+c}. \]

English solution

Step 1 โ€” Define the events

Let

\[ B_1=\{\text{first ball is black}\}, \qquad R_1=\{\text{first ball is red}\}, \qquad R_2=\{\text{second ball is red}\}. \]

We must show that

\[ P(B_1\mid R_2) = \frac{b}{b+r+c}. \]

Step 2 โ€” Probability of the first draw

Initially there are \(b+r\) balls, so

\[ P(B_1)=\frac{b}{b+r}, \qquad P(R_1)=\frac{r}{b+r}. \]

Step 3 โ€” Second draw if the first ball was black

If the first ball is black, it is returned and \(c\) additional black balls are added.

The urn then contains

\[ b+c\text{ black balls},\qquad r\text{ red balls}, \]

for a total of \(b+r+c\) balls. Hence

\[ P(R_2\mid B_1) = \frac{r}{b+r+c}. \]

Step 4 โ€” Second draw if the first ball was red

If the first ball is red, it is returned and \(c\) additional red balls are added. The urn then contains

\[ b\text{ black balls},\qquad r+c\text{ red balls}. \]

Therefore

\[ P(R_2\mid R_1) = \frac{r+c}{b+r+c}. \]

Step 5 โ€” Find \(P(R_2)\)

Using the law of total probability,

\[ P(R_2) = P(R_2\mid B_1)P(B_1) + P(R_2\mid R_1)P(R_1). \]

Substitute:

\[ P(R_2) = \frac{r}{b+r+c}\cdot\frac{b}{b+r} + \frac{r+c}{b+r+c}\cdot\frac{r}{b+r}. \]

Take the common denominator:

\[ P(R_2) = \frac{br+r(r+c)} {(b+r)(b+r+c)}. \]

Simplify the numerator:

\[ br+r(r+c) = r(b+r+c). \]

Thus

\[ P(R_2) = \frac{r(b+r+c)} {(b+r)(b+r+c)} = \frac{r}{b+r}. \]

Step 6 โ€” Apply Bayes' theorem

\[ P(B_1\mid R_2) = \frac{P(R_2\mid B_1)P(B_1)} {P(R_2)}. \]

Substituting,

\[ P(B_1\mid R_2) = \frac{ \frac{r}{b+r+c}\cdot\frac{b}{b+r} }{ \frac{r}{b+r} }. \]

Cancel the common factor \(\frac{r}{b+r}\):

\[ P(B_1\mid R_2) = \boxed{\frac{b}{b+r+c}}. \]

Hence proved

\[ \boxed{ P(\text{first black}\mid\text{second red}) = \frac{b}{b+r+c} } \]

Useful observation

Notice that \(P(R_2)=r/(b+r)\), the same as the initial proportion of red balls. Although reinforcement makes the two draws dependent, the unconditional probability that the second draw is red remains equal to the initial red proportion.

Hinglish explanation

Process ko dhyan se samjho

Initially urn mein \(b\) black aur \(r\) red balls hain.

Rule:

  1. Pehli ball draw karo.
  2. Us ball ko wapas daalo.
  3. Usi colour ki \(c\) extra balls aur daalo.
  4. Phir second ball draw karo.

Given hai ki second ball red nikli. Humein poochha hai first ball black hone ki conditional probability.

Case 1 โ€” First ball black

\[ P(B_1)=\frac{b}{b+r}. \]

Black draw hone ke baad \(c\) extra black balls add hongi. Total balls \(b+r+c\) ho jayengi, lekin red balls abhi bhi \(r\) hi hain.

So

\[ P(R_2\mid B_1) = \frac{r}{b+r+c}. \]

Black-first and red-second route:

\[ P(B_1\cap R_2) = \frac{b}{b+r}\cdot\frac{r}{b+r+c}. \]

Case 2 โ€” First ball red

\[ P(R_1)=\frac{r}{b+r}. \]

Ab red balls \(r+c\) ho jayengi, total \(b+r+c\). So

\[ P(R_2\mid R_1) = \frac{r+c}{b+r+c}. \]

Second ball red hone ki total probability

\[ P(R_2) = \frac{b}{b+r}\frac{r}{b+r+c} + \frac{r}{b+r}\frac{r+c}{b+r+c}. \]

Numerator combine karo:

\[ br+r(r+c)=r(b+r+c). \]

Isliye

\[ P(R_2) = \frac{r}{b+r}. \]

Ab Bayes lagao

\[ P(B_1\mid R_2) = \frac{P(R_2\mid B_1)P(B_1)}{P(R_2)}. \]

Substitute:

\[ P(B_1\mid R_2) = \frac{ \frac{r}{b+r+c}\cdot\frac{b}{b+r} }{ \frac{r}{b+r} } = \frac{b}{b+r+c}. \]

Hence proved:

\[ \boxed{ P(\text{first black}\mid\text{second red}) = \frac{b}{b+r+c} }. \]

Main concept

Ye problem conditional probability + Bayes theorem + reinforcement ka combination hai. Pehli draw second draw ko affect karti hai, isliye draws independent nahi hain.

Quick Revision โ€” Homework 2

English summary

  • Q1: Bayes theorem with equal male/female priors: \[ P(M\mid C)=\frac57. \]
  • Q2(a): Same denomination: \[ P(\text{pair})=\frac{13\binom42}{\binom{52}{2}}=\frac1{17}. \]
  • Q2(b): Pair given different suits: \[ P(\text{pair}\mid\text{different suits})=\frac1{13}. \]
  • Q3: Tuesday rain given no Monday rain: \[ P(T\mid M^c)=\frac{0.30-0.20}{1-0.40}=\frac16. \]
  • Q4: Transferred ball was white given final white: \[ P(W_T\mid W_D)=\frac8{11}. \]
  • Q5(a): Pure black rat: \[ P(BB\mid\text{black})=\frac13. \]
  • Q5(b): Pure black after five black offspring: \[ P(BB\mid\text{5 black offspring})=\frac{16}{17}. \]
  • Q6: Reinforced urn: \[ P(B_1\mid R_2)=\frac{b}{b+r+c}. \]

Key ideas used

  • Bayes' theorem: \[ P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}. \]
  • Conditional probability: \[ P(A\mid B)=\frac{P(A\cap B)}{P(B)}. \]
  • Law of total probability.
  • Combinations for unordered card selections.
  • Complement events such as \(M^c\).
  • Updating probabilities after observing new evidence.

Hinglish summary

Homework 2 ka main theme conditional probability aur Bayes theorem hai. Jab question mein โ€œgiven thatโ€, โ€œit happens thatโ€, โ€œknowing thatโ€, ya kisi observed result ke baad reverse probability poochhi jaaye, Bayes theorem ko check karo.

  • Q1: Colorblind person male hone ka chance \(5/7\).
  • Q2(a): Two-card pair ka chance \(1/17\).
  • Q2(b): Different suits given hone par pair ka chance \(1/13\).
  • Q3: Monday dry given hai, Tuesday rain ka chance \(1/6\).
  • Q4: Final white dekhne ke baad transferred ball white hone ka chance \(8/11\).
  • Q5(a): Black rat pure \(BB\) hone ka chance \(1/3\).
  • Q5(b): 5 black offspring observe karne ke baad pure \(BB\) hone ka chance \(16/17\).
  • Q6: Second red given hone par first black ka chance \(b/(b+r+c)\).

Exam trick: Bayes question mein pehle possible causes/cases list karo, har case ka prior probability likho, observed event ki likelihood likho, phir numerator ko total possible observed-event probability se divide karo.