



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A set of 11 unique handpicked questions on Probability and sets, Conditional Probability, Baye's Theorm and Independence, with solutions.
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Math 463/ Homework #2 - Solutions
SOLUTION: There could be no more than two different digits in the number. First count the numbers formed out of exactly one digit, such as 77777. There are 9 of them. Next count the numbers made of two digits, call them digit a and digit b, where a appears twice, and b appears three times in a number (for example abbab). There are 9 × 8 = 72 choices for a and b, and (^) 2!3!5! = 10 ways to arrange two a and three b in a string of five digits. Thus the answer is 9 + 72 × 10 = 729.
SOLUTION: First, we compute P (A ∩ B). There is only one way to place card 5 : it will take the second spot from the top. There are 2 spots left for card 1 : it can be placed either first or third. There are 4! ways to arrange the rest of the cards. Thus |A ∩ B| = 2 × 4! = 48 and P (A ∩ B) = (^48) 6! = 151. Trivially, P (A) = 12 , and P (B) = 16. Thus, by the inclusion-exclusion theorem,
and therefore
(E ∪ F ) ∩ (E ∪ F ) ∩ (E ∪ F ) = F ∩ (E ∪ F ) = (F ∩ E) ∪ (F ∩ F ) = E ∩ F
(a) At least one of the three events occurs. (b) At most one of the three events occurs.
(c) Exactly two of them occur. (d) At most two of the three events occur. (e) All three events occur. (f ) None of the three events occurs. (g) At most three of the events occur. (h) E or F , but not G occur. (i) Both E and F , but not G occur. (j) Exactly one of the three events occurs.
Example: The event that “only G occurs” is expressed as E ∩ F ∩ G.
(a) E ∪ F ∪ G (b) (E ∩ F ∩ G) ∪ (E ∩ F ∩ G) ∪ (E ∩ F ∩ G) ∪ (E ∩ F ∩ G) (c) (E ∩ F ∩ G) ∪ (E ∩ F ∩ G) ∪ (E ∩ F ∩ G) (d) E ∩ F ∩ G = E ∪ F ∪ G (e) E ∩ F ∩ G (f ) E ∪ F ∪ G = E ∩ F ∩ G (g) S (h) (E ∪ F ) ∩ G (i) E ∩ F ∩ G (j) (E ∩ F ∩ G) ∪ (E ∩ F ∩ G) ∪ (E ∩ F ∩ G)
P (E∪F ∪G) = P (E)+P (F )+P (G)−P (E∩F ∩G)−P (E∩F ∩G)−P (E∩F ∩G)− 2 P (E∩F ∩G)
SOLUTION: The inclusion-exclusion rule implies
P (E ∪F ∪G) = P (E)+P (F )+P (G)−P (E ∩F )−P (E ∩G)−P (F ∩G)+P (E ∩F ∩G),
where, after plugging in
P (E ∩ F ) = P (E ∩ F ∩ G) + P (E ∩ F ∩ G),
P (E ∩ G) = P (E ∩ F ∩ G) + P (E ∩ F ∩ G)
P (E 1 ∩ E 2 ∩... ∩ En) ≥ P (E 1 ) + P (E 2 ) + · · · + P (En) − (n − 1)
SOLUTION: We know this is true for n = 2:
P (E 1 ∩ E 2 ) ≥ P (E 1 ) + P (E 2 ) − 1
For n ≥ 2, suppose we established the Bonferroni’s inequality for any n events:
P (E 1 ∩ E 2 ∩... ∩ En) ≥ P (E 1 ) + P (E 2 ) + · · · + P (En) − (n − 1)
We need to prove the inequality for any n + 1 events:
P (E 1 ∩ E 2 ∩... ∩ En ∩ En+1) ≥ P (E 1 ) + P (E 2 ) + · · · + P (En) + P (En+1) − n
We use the Bonferroni’s inequality for any n events, E 1 , E 2 ,... , En− 1 and En ∩ En+1, to get
P (E 1 ∩E 2 ∩.. .∩En− 1 ∩(En∩En+1)) ≥ P (E 1 )+P (E 2 )+· · ·+P (En− 1 )+P (En∩En+1)−(n−1),
where P (En ∩ En+1) ≥ P (En) + P (En+1) − 1, and therefore
P (E 1 ∩E 2 ∩.. .∩En∩En+1) ≥ P (E 1 )+P (E 2 )+· · ·+P (En− 1 )+P (En)+P (En+1)− 1 −(n−1)
P (E) + P (F ) − 2 P (E ∩ F )
SOLUTION: (E ∩ F ) ∪ (E ∩ F ) is the event that exactly one of the two occurs. The inclusion-exclusion formula implies
P
as P (E ∩ F ) = P (E) − P (E ∩ F ) and P (E ∩ F ) = P (F ) − P (E ∩ F )
P (E 1 ∪ E 2 ∪... ∪ En) = 1 −
∏^ n
i=
1 − P (Ei)
P (E 1 ∪ E 2 ∪... ∪ En) = 1 − P ((E 1 ∪ E 2 ∪ · · · ∪ En)c) = 1 − P (E 1 ∩ E 2 ∩... ∩ En) by De Morgan’s law. Hence, by independence,
P (E 1 ∪ E 2 ∪ · · · ∪ En) = 1 − P (E 1 ∩ E 2 ∩... ∩ En) = 1 −
∏^ n
i=
P (Ei) = 1 −
∏^ n
i=
(1 − P (Ei))
SOLUTION: The outcome of the experiment will not change if you pull all but one last marble from the urn, and then check its color. Now, removing n + m − 1 marbles from the urn, and checking the color of the last marble is no different from selecting one marble and checking its color. Both are equivalent to separating marbles into two groups, one of size one, and the other of size n + m − 1. Thus the marble is green with probability (^) n+nm.