In die and coin problems, unless stated otherwise, it is assumed coins and dice are fair and repeated trials are independent.
You purchase a certain product. The manual states that the lifetime $T$ of the product, defined as the amount of time (in years) the product works properly until it breaks down, satisfies $$P(T \geq t)=e^>, \textrm < for all >t \geq 0.$$ For example, the probability that the product lasts more than (or equal to) $2$ years is $P(T \geq 2)=e^>=0.6703$. I purchase the product and use it for two years without any problems. What is the probability that it breaks down in the third year?
$P(B)$ | $=P(T \geq 2)$ |
$=e^>$. |
$P(A)$ | $=P(2 \leq T \leq 3)$ |
$=P(T \geq 2)-P(T \geq 3)$ | |
$=e^>-e^>$. |
Finally, since $A \subset B$, we have $A \cap B=A$. Therefore,
$P(A|B)$ | $=\frac $ |
$=\frac$ | |
$=\frac>-e^>>>>$ | |
$=0.1813$ |
$P(\textrm)$ | $=P(HTT \cup THT \cup TTH)$ |
$=P(HTT)+P(THT)+P(TTH)$ | |
$=\frac+\frac+\frac$ | |
$=\frac$. |
$P(A_2|A_1)$ | $=\frac $ |
$=\frac$ | |
$=\frac.\frac=\frac$. |
$P(A \cap B)$ | $=\sum_^ P(A \cap B|C_i)P(C_i)$ |
$=\sum_^ P(A|C_i)P(B|C_i)P(C_i) \hspace$ | $\textrm< ($A$ and $B$ are conditionally independent)>$ |
$=\sum_^ P(A|C_i)P(B)P(C_i)$ | $\textrm< ($B$ is independent of all $C_i$'s)>$ |
$=P(B) \sum_^ P(A|C_i)P(C_i)$ | |
$=P(B) P(A)$ | $\textrm< (law of total probability).>$ |
$P(R^c \cap T \cap L^c)$ | $= P(R^c)P(T|R^c)P(L^c|R^c \cap T)$ |
$=\frac \cdot \frac \cdot \frac$ | |
$=\frac$. |
$P(L)$ | $ = P(R,T,L)+P(R,T^c,L)+P(R^c,T,L)+P(R^c,T^c,L)$ |
$=\frac+\frac+\frac+\frac$ | |
$= \frac$. |
$P(R \cap L)$ | $ = P(R,T,L)+P(R,T^c,L)$ |
$=\frac+\frac$ | |
$= \frac$. |
$P(R|L)$ | $ = \frac $ |
$=\frac. \frac$ | |
$= \frac$. |
$P(H)$ | $=P(H|C_1)P(C_1)+P(H|C_2)P(C_2)$ |
$= \frac. \frac + 1 . \frac$ | |
$=\frac$. |
$P(C_2|H)$ | $=\frac$ |
$=\frac>>$ | |
$=\frac$. |
Here is another variation of the family-with-two-children problem [1] [7]. A family has two children. We ask the father, "Do you have at least one daughter named Lilia?" He replies, "Yes!" What is the probability that both children are girls? In other words, we want to find the probability that both children are girls, given that the family has at least one daughter named Lilia. Here you can assume that if a child is a girl, her name will be Lilia with probability $\alpha \ll 1$ independently from other children's names. If the child is a boy, his name will not be Lilia. Compare your result with the second part of Example 1.18.
$P(GG|L)$ | $=\frac$ |
$= \frac$ | |
$= \frac<(2 \alpha-\alpha^2)\frac><(2 \alpha-\alpha^2)\frac+ \alpha \frac+ \alpha \frac+0.\frac>$ | |
$= \frac\approx \frac$. |
Problem
If you are not yet confused, let's look at another family-with-two-children problem! I know that a family has two children. I see one of the children in the mall and notice that she is a girl. What is the probability that both children are girls? Again compare your result with the second part of Example 1.18. Note: Let's agree on what precisely the problem statement means. Here is a more precise statement of the problem: "A family has two children. We choose one of them at random and find out that she is a girl. What is the probability that both children are girls?"
$P(GG|G_r)$ | $=\frac$ |
$= \frac$ | |
$= \frac>+ \frac \frac+ \frac \frac+0.\frac>$ | |
$= \frac$. |
Okay, another family-with-two-children problem. Just kidding! This problem has nothing to do with the two previous problems. I toss a coin repeatedly. The coin is unfair and $P(H)=p$. The game ends the first time that two consecutive heads ($HH$) or two consecutive tails ($TT$) are observed. I win if $HH$ is observed and lose if $TT$ is observed. For example if the outcome is $HTH\underline$, I lose. On the other hand, if the outcome is $THTHT\underline$, I win. Find the probability that I win.
$W$ | $=P(\)+P(\)$ |
$=p^2+p^3q+ p^4q^2+\cdots+p^2q+p^3q^2+ p^4q^3+\cdots$ | |
$=p^2(1+pq+(pq)^2+(pq)^3+\cdots)+p^2q(1+pq+(pq)^2+(pq)^3+\cdots)$ | |
$=p^2(1+q)(1+pq+(pq)^2+(pq)^3+\cdots)$ | |
$=\frac, \hspace\textrm< Using the geometric series formula>$ | |
$=\frac$. |
The print version of the book is available on Amazon.
Practical uncertainty: Useful Ideas in Decision-Making, Risk, Randomness, & AI