0% found this document useful (0 votes)
58 views7 pages

Problem Set 2 - Due Feb, 1

The document contains a problem set on probability and random processes. It includes 7 problems covering topics like specifying a probability space for drawing balls from an urn, calculating probabilities of events, set operations on events, and solving probability problems using tables. The final problem asks the probability of rolling an even sum and the probability of rolling a 4 and a 1 on peculiar four-sided dice.

Uploaded by

MITALI TAKIAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views7 pages

Problem Set 2 - Due Feb, 1

The document contains a problem set on probability and random processes. It includes 7 problems covering topics like specifying a probability space for drawing balls from an urn, calculating probabilities of events, set operations on events, and solving probability problems using tables. The final problem asks the probability of rolling an even sum and the probability of rolling a 4 and a 1 on peculiar four-sided dice.

Uploaded by

MITALI TAKIAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

EE126: Probability and Random Processes SP’07

Problem Set 2 — Due Feb, 1


Lecturer: Jean C. Walrand GSI: Daniel Preda, Assane Gueye

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

RRR, RGB, GBB, GGG, GRR, BBR, etc . . .

The corresponding probabilities are


7 6 5 7 3 5
P [RRR] = , P [RGB] =
15 14 13 15 14 13
3 5 4 3 2 1
P [GBB] = , P [GGG] =
15 14 13 15 14 13
3 7 6 5 4 7
P [GRR] = , P [BBR] = , etc . . .
15 14 13 15 14 13
Problem 2.2. A part selected for testing is equally likely to have been produced on any
one of six cutting tools.

• What is the sample space?

• What is the probability that the part is from tool 1?

• What is the probability that the part is from tool 1 or tool 3?

• What is the probability that the part is not from tool 5?

Solution:

• The sample space can be written as

Ω = {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:

1. We have already proved in lecture and in the course notes that

P (A ∪ B) = P (A) + P (B) − P (A ∩ B).

Rearranging, we get

P (A ∩ B) = P (A) + P (B) − P (A ∪ B).

Since (A ∪ B) is always a subset of Ω, the universal event, therefore, P (A ∪ B) ≤ P (Ω)


and
P (A ∩ B) ≥ P (A) + P (B) − P (Ω).
Finally, by the normalization axiom, P (Ω) = 1 and

P (A ∩ B) ≥ P (A) + P (B) − 1.

2. We begin by writing

P (A or B, but not both) = P ((Ac ∩ B) ∪ (A ∩ B c ))


= P (Ac ∩ B) + P (A ∩ B c ),

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

P (Ac ∩ B) = P (B) − P (A ∩ B).

2-2
EE126 Problem Set 2 — Due Feb, 1 SP’07

By symmetry, we also have

P (B c ∩ A) = P (A) − P (A ∩ B).

So plugging in for P (Ac ∩ B) and P (B c ∩ A), we get

P (A or B, but not both) = P (B) − P (A ∩ B) + P (A) − P (A ∩ B)


= P (A) + P (B) − 2P (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

E1 = {x|1 ≤ x ≤ 10} and E2 = {x|3 ≤ x ≤ 118}

Write the expressions for


E1 ∪ E2 , E1 ∩ E2 , E1 ∆E2

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 )

3. P (X1 ∪ X2 ) ≤ P (X1 ) + P (X2 )

Solution:

1. By the monotonicity of the probability measure, since X1 ∩ X2 is a subset of X1 ,

α ∈ X1 ∩ X2 ⇒ α ∈ X1 ⇒ P (X1 ∩ X2 ) ≤ P (X1 )

2. Similar to the argument in part (a) above, since X1 is a subset of X1 ∪ X2 ,

α ∈ X1 ⇒ α ∈ X1 ∪ X2 ⇒ P (X1 ) ≤ P (X1 ∪ X2 )

2-3
EE126 Problem Set 2 — Due Feb, 1 SP’07

3. Let A = X1 ∩ X2c , B = X2 ∩ X1c , C = X1 ∩ X2 , Observing that A, B are disjoint by


construction, we have
X1 ∪ X2 = A ∪ B ∪ C
P (X1 ∪ X2 ) = P (A ∪ B ∪ C) = P (A) + P (B) + P (C)
Since A is a subset of X1 and B is a subset of X2 ,

P (X1 ) + P (X2 ) = P (A) + P (B) + 2 ∗ P (C)

and the result follows.

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.

1. What is the probability of the sum being even?

2. What is the probability of Bob rolling a 4 and a 1?

Solution:
The easiest way to solve this problem is to make a table of some sort, similar to the one
below.

Die 1 Die 2 Sum P(Sum)


1 1 2 2p
1 2 3 3p
1 3 4 4p
1 4 5 5p
2 1 3 3p
2 2 4 4p
2 3 5 5p
2 4 6 6p
3 1 4 4p
3 2 5 5p
3 3 6 6p
3 4 7 7p
4 1 5 5p
4 2 6 6p
4 3 7 7p
4 4 8 8p
Total 80p

P (All events) = 1
= 80p(T otal f rom the table)
1
p =
80
1.

P (sum being even) = 2p + 4p + 4p + 6p + 4p + 6p + 6p + 8p


= 40p
= 1/2

2-5
EE126 Problem Set 2 — Due Feb, 1 SP’07

2.

P (rolling a 4 and a 1) = P (1, 4) + P (4, 1)


= 5p + 5p
= 10p
= 1/8

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?

2. What is the probability that individual n wins but not individual n + 1?

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.

As the number of individuals goes to infinity,


1
lim P (A1 ∩ A2 ... ∩ An ∩ B1 ∩ B2 ... ∩ Bn ) = lim =0
n→∞ n→∞ (n + 1)2

2-7

You might also like