Cody Ray Unit 3 Problem Set
Cody Ray Unit 3 Problem Set
6
P (sum is 7) =
36
Since we’re trying to find an “at least” criteria, it’s easiest to compute the probability of the
complement (i.e., the probability that “seven” will never show), and use the identity
to compute the “at least” probability. Then the complement, that the sum is not 7, has probability
30 5
P (sum is not 7) = =
36 6
A roll of the dice is considered an i.i.d experiment, so we can calculate the probability that we
don’t roll a single “seven” in 10 rolls is ( 65 )10 . Therefore, the probability that we roll at least once
“seven” is
5
1 − ( )10
6
4) A coin with p{h} = p = 1 − q is tossed n times. Show that the probability that the number of
heads is even equals 0.5[1 + (q − p)n ].
We know that this experiment can be modeled as a binomial distribution of parameters n and p,
such that X ∼ Bin(n, p). Therefore, we know that
n k
P (X = k) = p (1 − p)n−k
k
Working backwards from the desired number, we expand (q − p)n by applying the binomial expan-
sion theorem:
n
n
X n n−r r
r n n 0 n n−1 1 n n 0 n n n−1 1 n n 0
(q−p) = (−1) q p = q p − q p +· · ·+ q p =q − q p +· · ·+ q p
r=0
r 0 1 n 1 n
We can see that we need to get ride of every other term, and these are negative in the equation
above. By adding the positive binomial expansion of (q + p)n these terms cancel.
I haven’t yet determined the remaining steps in this derivation.
1
5) Hypergeometric series) A shipment contains K good and N − K defective components. We pick
at random n ≤ K components and test them. Show that the probability p that k of the tested
components are good equals (compare with (3-39))
K N −K N
p=
k n−k n