Problem Set 2 - Due Feb, 1
Problem Set 2 - Due Feb, 1
Problem 2.1. Pick 3 balls from an urn containing 15 balls (7 red balls, 5 blue balls, and 3
greens balls). Specify the probability space for this experiment.
Solution:
The set of outcomes are all the triplet in the form
Solution:
Ω = {1, 2, 3, 4, 5, 6}
•
1
P [part is from tool 1] =
6
2-1
EE126 Problem Set 2 — Due Feb, 1 SP’07
•
2
P [part is from tool 1 or tool 3] =
6
•
5
P [part is not from tool 5] =
6
Problem 2.3. Let A and B be two events. Use the axioms of probability to prove the
following:
1. P (A ∩ B) ≥ P (A) + P (B) − 1
2. Show that the probability that one and only one of the events A or B occurs is P (A) +
P (B) − 2 · P (A ∩ B).
Solution:
Rearranging, we get
P (A ∩ B) ≥ P (A) + P (B) − 1.
2. We begin by writing
where the last equality is from the additivity axiom. Next, we know that B = (Ac ∩
B) ∪ (A ∩ B) and (Ac ∩ B) ∩ (A ∩ B) = ∅ so that we may apply the additivity axiom
to get
P (B) = P (Ac ∩ B) + P (A ∩ B).
With rearrangement, this becomes
2-2
EE126 Problem Set 2 — Due Feb, 1 SP’07
P (B c ∩ A) = P (A) − P (A ∩ B).
Problem 2.4. Measurements of the time needed to complete a chemical reaction might me
modeled with the sample space S = R+ , the set of positive real numbers. Let
Solution:
E1 ∪ E2 = {x|1 ≤ x ≤ 118}
E1 ∩ E2 = {x|3 ≤ x ≤ 10}
E1 ∆E2 = {x|1 ≤ x < 3} ∪ {x|1 < x ≤ 3}
Problem 2.5. Consider two events, X1 and X2 . Prove the following identities:
1. P (X1 ∩ X2 ) ≤ P (X1 )
2. P (X1 ) ≤ P (X1 ∪ X2 )
Solution:
α ∈ X1 ∩ X2 ⇒ α ∈ X1 ⇒ P (X1 ∩ X2 ) ≤ P (X1 )
α ∈ X1 ⇒ α ∈ X1 ∪ X2 ⇒ P (X1 ) ≤ P (X1 ∪ X2 )
2-3
EE126 Problem Set 2 — Due Feb, 1 SP’07
Problem 2.6. Twenty distinct cars park in the same parking lot everyday. Ten of these
cars are US-made, while the other ten are foreign-made. This parking lot has exactly twenty
spaces, and all are in a row, so the cars park side by side each day. The drivers have different
schedules on any given day, however, so the position any car might take on a certain day is
random.
1. In how many different ways can the cars line up?
2. What is the probability that on a given day, the cars will park in such a way that they
alternate (e.g., US-made, foreign-made, US-made, foreign-made, etc)?
Solution:
1. Since the cars are all distinct, there are 20! ways to line them all up.
2. To find the probability that the cars will be parked in such a way that they will be
alternating: US made, foreign made, etc... we will count the number of “favorable”
outcomes, and divide by the total number of outcomes which we found in part (a)
above. We count in the following manner: first lay the US cars down. We can do this
in 10! ways, since the cars are distinct. Now lay the foreign cars in-between the US
cars. Again we can do this in 10! ways. Finally, we need to multiply by 2, since the
sequence could begin either with a US car or with a foreign car. Thus we have a total
of 2 · 10! · 10!, and the final answer is
2 · 10! · 10!
.
20!
Note that we could have solved the second part of the problem by neglecting the fact
that the cars are distinct. Suppose that the foreign cars are indistinguishable, and
also suppose that the US cars are indistinguishable. Again we count the number of
“favorable” outcomes in the same way: lay the US cars down in one way. Then there
are two ways to lay the foreign cars down since the sequence can begin with either a
20!
US or a foreign car. Thus there are two favorable outcomes, out of a possible 10!·10! ,
and the two methods yield the same answer.
2-4
EE126 Problem Set 2 — Due Feb, 1 SP’07
Problem 2.7. Bob has a peculiar pair of four-sided dice. When he rolls the dice, the
probability of any particular outcome is proportional to the sum of the outcome of each die.
All outcomes that result in a particular sum are equally likely.
Solution:
The easiest way to solve this problem is to make a table of some sort, similar to the one
below.
P (All events) = 1
= 80p(T otal f rom the table)
1
p =
80
1.
2-5
EE126 Problem Set 2 — Due Feb, 1 SP’07
2.
Problem 2.8. A baseball pitcher, Bill, has good control of his pitches. He always throws
his pitches inside the “box” which we consider to be a 2 by 2 square. He throws the pitches
uniformly over the square (i.e. the probability of a pitch falling within an area of the square
is proportional to this area.) Let (0, 0) and (2, 2) be the coordinates of the lower-left corner
and the upper-right corner of the square, respectively as shown below.
y
x
0 2
Two groups A and B of fans are betting on where Bill’s next pitch will fall. Among group
A,
• person 1 bets that the pitch is going to be in the left half part of the square, i.e.
0 ≤ x ≤ 1.
• person 2 bets that it will be in one third of the square from the left, i.e. 0 ≤ x ≤ 23 .
• and in general, person n makes the bet that the pitch will fall in the area 0 ≤ x ≤
2/(n + 1).
1. What is the probability that individual n from group A wins his bet?
Among group B, that fans bet in a similar fashion, but on the height of the pitch, i.e.
individual n bets that the next pitch will fall in the area 0 ≤ y ≤ 2/(n + 1).
(c) What is the probability that individuals 1 through n of both groups win their bets?
2-6
EE126 Problem Set 2 — Due Feb, 1 SP’07
(d) When n goes to infinity, what is the probability that all fans of both groups win their
bets? Note: Be precise in your derivation.
Solution:
(a) The probability that individual n from group A wins his bet is equal to the ratio of
the desired target area to the whole area of the square. Thus P (individual n wins) =
4
1
n+1
4
= n+1
.
(b) The probability that individual n from group A wins but not individual n + 1 =
4
desired target area of ind. n−desired target area of ind. n+1 − 4 1
total area of square
= n+1 n+2
4
= (n+1)(n+2)
.
2
(c) In order for individuals 1 through n of both groups to win, we must have x ≤ n+1 and
2
y ≤ n+1 . For instance, for individuals 1 and 2 from both groups to win their bets,
Bill’s pitch must land inside the square with vertices (0, 0), ( 23 , 0), ( 32 , 23 ), and (0, 23 ).
So, the probability that individuals 1 through n win their bets is the ratio of the area
2 2 2 2
of the square with vertices (0, 0), ( n+1 , 0), ( n+1 , n+1 ), and (0, n+1 ) to the area of the
4
(n+1)2 1
whole square. This ratio equals 4
= (n+1)2
.
(d) Let Ai represent the event that individual i of group A wins his bet. Similarly, let
Bi represent the event that individual i of group B wins his bet. For finitely many
individuals, the probability that individuals 1 through n from both groups win their
1
bets, P (A1 ∩ A2 ... ∩ An ∩ B1 ∩ B2 ... ∩ Bn ), equals (n+1)2.
2-7