Respuesta :
Let [tex]X[/tex] denote the event that the two [tex]C_1[/tex] flips yield the same faces (1 if the same faces occur, 0 if not), so that
[tex]P(X=x)=\begin{cases}2{p_1}^2-2p_1+1&\text{for }x=1\\2p_1-2{p_1}^2&\text{for }x=0\\0&\text{otherwise}\end{cases}[/tex]
For example,
[tex]P(X=1)=P(C_1=\mathrm{HH}\lor C_1=\mathrm{TT})=P(C_1=\mathrm{HH})+P(C_1=\mathrm{TT})={p_1}^2+(1-p_1)^2[/tex]
Let [tex]Y[/tex] denote the outcome (number of heads) of the next three flips of either [tex]C_2[/tex] or [tex]C_3[/tex]. By the law of total probability,
[tex]P(Y=y)=P(Y=y\land X=1)+P(Y=y\land X=0)[/tex]
[tex]P(Y=y)=P(Y=y\mid X=1)P(X=1)+P(Y=y\mid X=0)P(X=0)[/tex]
and in particular we have
[tex]P(Y=y\mid X=1)=\begin{cases}\dbinom3y{p_2}^y(1-p_2)^{3-y}&\text{for }y\in\{0,1,2,3\}\\\\0&\text{otherwise}\end{cases}[/tex]
[tex]P(Y=y\mid X=0)=\begin{cases}\dbinom3y{p_3}^y(1-p_3)^{3-y}&\text{for }y\in\{0,1,2,3\}\\\\0&\text{otherwise}\end{cases}[/tex]
Then
[tex]P(Y=y)=\begin{cases}\dbinom3y{p_2}^y(1-p_2)^{3-y}(2{p_1}^2-2p_1+1)+\dbinom3y{p_3}^y(1-p_3)^{3-y}(2p_1-2{p_1}^2)&\text{for }y\in\{0,1,2,3\}\\\\0&\text{otherwise}\end{cases}[/tex]
Jack wants to find [tex]P(X=1\mid Y=y)[/tex] for some given [tex]y[/tex].
a. With [tex]y=1[/tex], we have
[tex]P(X=1\mid Y=1)=\dfrac{P(X=1\land Y=1)}{P(Y=1)}[/tex]
[tex]P(X=1\mid Y=1)=\dfrac{P(Y=1\mid X=1)P(X=1)}{P(Y=1)}[/tex]
[tex]P(X=1\mid Y=1)=\dfrac{\binom31p_2(1-p_2)^2(2{p_1}^2-2p_1+1)}{\binom31p_2(1-p_2)^2(2{p_1}^2-2p_1+1)+\binom31p_3(1-p_3)^2(2p_1-2{p_1}^2)}[/tex]
[tex]P(X=1\mid Y=1)\approx\dfrac{0.1498}{0.2376}\approx0.6303[/tex]
b. With [tex]y=0[/tex], we'd get
[tex]P(X=1\mid Y=0)=\dfrac{P(X=1\land Y=0)}{P(Y=0)}[/tex]
[tex]P(X=1\mid Y=0)=\dfrac{P(Y=0\mid X=1)P(X=1)}{P(Y=0)}[/tex]
[tex]P(X=1\mid Y=0)\approx\dfrac{0.0333}{0.1128}\approx0.295[/tex]