
University of Illinois Fall 1998
ECE 313: Solutions to Problem Set #4
1. Let
B
be the event that the target is hit, and let
A
be the eventthat there is a gust of wind. Then, by the theorem
of total probability, we have
(a)
P
(
B
)=
P
(
B
j
A
)
P
(
A
)+
P
(
B
j
A
c
)
P
(
A
c
)=(0
:
4)(0
:
3) + (0
:
7)(0
:
7) = 0
:
61
Part (b) is asking for the conditionalprobability of the event
A
c
given that the event
B
c
occurred. Using Bayes
inversion formula, we obtain
P
(
A
c
j
B
c
)=
P
(
B
c
j
A
c
)
P
(
A
c
)
=P
(
B
c
)
.
(b) ¿From part (a), we have
P
(
B
c
)=0
:
39
.Furthermore
P
(
B
c
j
A
c
)=1
,
P
(
B
j
A
c
)=0
:
3
. Therefore
P
(
A
c
j
B
c
)=(0
:
3)(0
:
7)
=
0
:
39 = 0
:
54
.
2. (a) Define the followingevents:
T
=
f
Exactly 2 white balls were chosen
g
W
F
=
f
Ball from urn F was white
g
W
E
=
f
Ball from urn E was white
g
W
G
=
f
Ball from urn G was white
g
The probability we seek is
P
(
W
E
j
T
)=
P
(
W
E
T
)
=P
(
T
)
. Since the picks from the three baskets are
all independent, we can write
P
(
T
)=
P
(
W
E
W
F
W
c
G
)+
P
(
W
E
W
c
F
W
G
)+
P
(
W
c
E
W
F
W
G
)
a
=
3
6
8
12
3
4
+
3
6
4
12
1
4
+
3
6
8
12
1
4
=
9
24
P
(
W
E
T
)=
P
(
W
E
W
F
W
c
G
)+
P
(
W
E
W
c
F
W
G
)
b
=
3
6
8
12
3
4
+
3
6
4
12
1
4
=
7
24
;
where
(
a
)
and
(
b
)
follow from independence. Therefore
P
(
W
E
j
T
)=
7
=
24
9
=
24
=
7
9
.
(b) Define the followingevents:
W
=
f
Ball picked was white
g
P
F
=
f
Ball picked was from urn F
g
P
E
=
f
Ball picked was from urn E
g
P
G
=
f
Ball picked was from urn G
g
The probability we seek is
P
(
P
E
j
W
)=
P
(
P
E
W
)
=P
(
W
)
, which, by Bayes’ Rule, can be written as
P
(
P
E
j
W
)=
P
(
W
j
P
E
)
P
(
P
E
)
P
(
W
)
. From the theorem of total probability, we can write
P
(
W
)=
P
(
W
j
P
E
)
P
(
P
E
)+
P
(
W
j
P
F
)
P
(
P
F
)+
P
(
W
j
P
G
)
P
(
P
G
)
:
Now
P
(
P
E
)=
P
(
P
F
)=
P
(
P
G
)=1
=
3
, since the ball was chosen with equal probability from any of
the baskets; also
P
(
W
j
P
E
)=3
=
6
;P
(
W
j
P
F
)=8
=
12
;P
(
W
j
P
G
)=1
=
4
.Thisgives
P
(
W
)=
3
6
1
3
+
8
12
1
3
+
1
4
1
3
=
17
36
:
Therefore,
P
(
P
E
j
W
)=
3
=
6
1
=
3
17
=
36
=
6
17
.