Debian Codegraph @

texmf-dist/doc/latex/probsoln/samples/prob-probspaces2.tex

raw
1 % This file is public domain
2 %
3 % Finite probability spaces
4 \begin{defproblem}{weightedcoin}
5 \begin{onlyproblem}%
6 A coin is weighted so that heads is four times as likely
7 as tails. Find the probability that:
8 \begin{textenum}
9 \item tails appears,
10 \item heads appears
11 \end{textenum}
12 \end{onlyproblem}
13 \begin{onlysolution}%
14 Let $p=P(T)$, then $P(H)=4p$. We require $P(H)+P(T)=1$,
15 so $4p+p=1$, hence $p=\frac{1}{5}$. Therefore:
16 \begin{textenum}
17 \item $P(T)=\frac{1}{5}$,
18 \item $P(H)=\frac{4}{5}$
19 \end{textenum}
20 \end{onlysolution}
21 \end{defproblem}
22
23 \begin{defproblem}{validprobspaces}
24 \begin{onlyproblem}%
25 Under which of the following functions does
26 $S=\{a_1,a_2\}$ become a probability space?
27 \par
28 \begin{textenum}
29 \begin{tabular}{ll}
30 \item $P(a_1)=\frac{1}{3}$, $P(a_2)=\frac{1}{2}$
31 &
32 \item\label{validprobspacescorrect1} $P(a_1)=\frac{3}{4}$, $P(a_2)=\frac{1}{4}$
33 \\
34 \item\label{validprobspacescorrect2} $P(a_1)=1$, $P(a_2)=0$
35 &
36 \item $P(a_1)=\frac{5}{4}$, $P(a_2)=-\frac{1}{4}$
37 \end{tabular}
38 \end{textenum}
39 \end{onlyproblem}%
40 \begin{onlysolution}%
41 \ref{validprobspacescorrect1} and \ref{validprobspacescorrect2}%
42 \end{onlysolution}
43 \end{defproblem}