Docsity

Probability Theory and Mathematical Induction, Assignments of Statistics

Toggle sidebar
bg1
University
Solutions: Problem Set 3 ECE 313
of Illinois Fall 1998
1. (a) The right part of the inequality is an extension of one of the properties of a probability measure
derived in class. We know that for anytwo sets,
A
and
B
,
P
(
A
[
B
)=
P
(
A
)+
P
(
B
)
,
P
(
AB
)
P
(
A
)+
P
(
B
)
:
Setting
D
=
B
[
C
,we get
P
(
A
[
B
[
C
)=
P
(
A
[
D
)
P
(
A
)+
P
(
D
)=
P
(
A
)+
P
(
B
[
C
)
P
(
A
)+
P
(
B
)+
P
(
C
)
:
For the other part of the inequality: since
A
A
[
B
[
C
,we know that
P
(
A
)
P
(
A
[
B
[
C
).
Similar
P
(
B
)
P
(
A
[
B
[
C
) and
P
(
C
)
P
(
A
[
B
[
C
). Adding these 3 inequalities gives
P
(
A
)+
P
(
B
)+
P
(
C
)
3
P
(
A
[
B
[
C
), and hence, the left part of the inequality.
(b) Bonferroni's inequality: There are manyways of proving this. One method is the following. From
Part (a), we know that
P
(
A
[
B
[
C
)
P
(
A
)+
P
(
B
)+
P
(
C
). Similarly,we can apply this inequality
to the complements,
A
c
;B
c
;C
c
and get
P
(
A
c
[
B
c
[
C
c
)
P
(
A
c
)+
P
(
B
c
)+
P
(
C
c
). Using De
Morgan's laws, the left hand side of the above inequality is just
P
((
ABC
)
c
)=1
,
P
(
ABC
). The
right hand side is simply 3
,
(
P
(
A
)+
P
(
B
)+
P
(
C
)). Therefore wehave
1
,
P
(
ABC
)
3
,
(
P
(
A
)+
P
(
B
)+
P
(
C
))
)
(
P
(
A
)+
P
(
B
)+
P
(
C
))
,
2
P
(
ABC
)
;
completing the proof.
(c) Generalized Bonferroni's inequality: This is typical of the types of mathematical induction proofs
you will encounter or have to produce in future. We rst establish the inequality for
n
=1. For
this case, the inequality reduces to showing that
P
(
A
1
)
P
(
A
1
), which is trivially true (In fact,
we proved it to be true for
n
= 3 above, and
n
= 2 follows along similar lines). Now assume
that the assertion (in this case, the inequality) is true for all
n
upto
n
=
k
,
1. The method of
mathematical induction involves showing that the assertion is true for
n
=
k
, and since it was
true for
n
= 1, and it is true for all
n
upto
n
=
k
,
1, it is true for all
n
. So, wehavetoshow
that
P
(
A
1
A
2
:::A
k
)
P
(
A
1
)+
P
(
A
2
)+

P
(
A
k
)
,
(
k
,
1)
Denote the set
A
1
A
2
A
3
:::A
k
,
1
by
B
. Then the right hand side above becomes
P
(
BA
k
). Now
wehave
P
(
BA
k
)
a
P
(
B
)+
P
(
A
k
)
,
1
=
P
(
A
1
A
2
A
3
:::A
k
,
1
)+
P
(
A
k
)
,
1
b
P
(
A
1
)+
P
(
A
2
)+

P
(
A
k
,
1
)
,
(
k
,
2) +
P
(
A
k
)
,
1
=
P
(
A
1
)+
P
(
A
2
)+

P
(
A
k
)
,
(
k
,
1)
;
proving the claim. Inequalities (
a
) and (
b
)above follow from the induction hypothesis on
n
=2
and
n
=
k
,
1 respectively.
1
pf3
pf4
pf5

Partial preview of the text

Download Probability Theory and Mathematical Induction and more Assignments Statistics in PDF only on Docsity!

University Solutions : Problem Set 3 ECE 313

of Illinois Fall 1998

  1. (a) The right part of the inequality is an extension of one of the prop erties of a probability measure derived in class. We know that for any two sets, A and B , P (A [ B ) = P (A) + P (B ) P (AB )  P (A) + P (B ): Setting D = B [ C , we get P (A [ B [ C ) = P (A [ D )  P (A) + P (D ) = P (A) + P (B [ C )  P (A) + P (B ) + P (C ):

For the other part of the inequality: since A  A [ B [ C , we know that P (A)  P (A [ B [ C ). Similar P (B )  P (A [ B [ C ) and P (C )  P (A [ B [ C ). Adding these 3 inequalities gives P (A) + P (B ) + P (C )  3 P (A [ B [ C ), and hence, the left part of the inequality. (b) Bonferroni's inequality: There are many ways of proving this. One metho d is the following. From Part (a), we know that P (A[B [C )  P (A)+P (B )+P (C ). Similarly, we can apply this inequality to the complements, Ac^ ; B c^ ; C c^ and get P (Ac^ [ B c^ [ C c^ )  P (Ac^ ) + P (B c^ ) + P (C c^ ). Using De Morgan's laws, the left hand side of the ab ove inequality is just P ((AB C )c^ ) = 1 P (AB C ). The right hand side is simply 3 (P (A) + P (B ) + P (C )). Therefore we have

1 P (AB C )  3 (P (A) + P (B ) + P (C )) ) (P (A) + P (B ) + P (C )) 2  P (AB C ); completing the pro of. (c) Generalized Bonferroni's inequality: This is typical of the typ es of mathematical induction pro ofs you will encounter or have to pro duce in future. We rst establish the inequality for n = 1. For this case, the inequality reduces to showing that P (A 1 )  P (A 1 ), which is trivially true (In fact, we proved it to b e true for n = 3 ab ove, and n = 2 follows along similar lines). Now assume that the assertion (in this case, the inequality) is true for all n upto n = k 1. The metho d of mathematical induction involves showing that the assertion is true for n = k , and since it was true for n = 1, and it is true for all n upto n = k 1, it is true for all n. So, we have to show that P (A 1 A 2 : : : Ak )  P (A 1 ) + P (A 2 ) +    P (Ak ) (k 1)

Denote the set A 1 A 2 A 3 : : : Ak 1 by B. Then the right hand side ab ove b ecomes P (B Ak ). Now we have P (B Ak )

a

 P (B ) + P (Ak ) 1 = P (A 1 A 2 A 3 : : : Ak 1 ) + P (Ak ) 1

b

 P (A 1 ) + P (A 2 ) +    P (Ak 1 ) (k 2) + P (Ak ) 1 = P (A 1 ) + P (A 2 ) +    P (Ak ) (k 1); proving the claim. Inequalities (a) and (b) ab ove follow from the induction hyp othesis on n = 2 and n = k 1 resp ectively.

  1. P (A [ (B c^ [ C c^ )c^ ) = P (A [ B C ). From this, we can calculate this probability in the following three cases:

(a) B ; C mutually exclusive =) B C = ;. Therefore P (A [ B C ) = P (A) = 3 =7. (b) P (A [ B C ) = P (A) + P (B C ) P (AB C ), from the formula for the probability of the union of two sets. Since P (AC ) = 0, it follows that P (AB C ) = 0 (why?) and therefore, plugging in the given probabilities for the other events, we get P (A [ B C ) = 1 = 2 + 1 = 3 = 5 =6. (c) P (A [ (B c^ [ C c^ )c^ ) = 1 P (Ac^ \ (B c^ [ C c^ )) = 1 P (Ac^ B c^ [ Ac^ C c^ ) = 4 =7, using De Morgan's laws.

  1. (a) Let us group A and B together as a new \p erson". The numb er of \p eople" to b e arranged in line is now N 1, and the numb er of ways of doing this is (N 1)!. But the numb er of ways of p ermuting A and B within their group is 2, and so the total numb er of arrangements keeping A and B together is 2  (N 1)!. Therefore the probability that A and B are together is 2  (N 1)! N!

=^2

N

(b) When the N p eople are arranged in a circle, the total numb er of arrangements go es down (b ecause of circular symmetry) to (N 1)!. One way to think ab out this is the following: if you x a particular order of p eople, no matter how you rotate them around the table, their relative p ositions (and hence their order) remains the same (convince yourselves of this by taking an example with a small enough N ), i.e., the numb er of e ective p eople now is N 1. Now again, we group A and B together to form one \p erson" and the numb er of \p eople" to arrange now is N 2. And as b efore, the numb er of ways this can b e done is 2  (N 2)!. Therefore the probability that A and B are together is

2  (N 2)! (N 1)! =

N 1.

  1. The key b ehind this problem is obviously to compare the 3 di erent pairs of spinners. Lets start with spinners a and b. We denote the event that spinner a lands on the numb er 9 by fa = 9 g and so on. The probability of spinner a winning over spinner b is

P fa = 9 g + P fa = 5 ; b = 4 g + P fa = 5 ; b = 3 g =

3 ^

3 ^

9 : Therefore the probability of spinner b winning over spinner a is 4 =9. Comparing spinners b and c, we see that the probability of spinner b winning over spinner c is

P fb = 8 g + P fb = 4 ; c = 2 g + P fb = 3 ; c = 2 g =^1 3

+^1

 1 3

+^1

 1 3

=^5

;

and so the probability of spinner c winning over spinner b is 4 =9. Likewise, comparing spinners c and a, we see that the probability of c winning over a is 5 =9. Hence, it is b etter to b e player B b ecause whichever spinner A cho oses, B can always cho ose a spinner that gives him/her a b etter probability of winning.

(b) We rst de ne the events we are interested in:

E = fThe router gets at least 6 packets routed correctlyg

Ei = fRouter gets exactly i packets routed correctlyg

Now, we see that E = E 6 [ E 8 (what ab out E 7 ?). The probability of routing all 8 packets correctly

is the probability of getting one particular arrangement out of 8! p ossible arrangements of packets, and therefore P (E 8 ) =

8!.^ Similarly,^ P^ (E^6 )^ =

=8!, where

is the numb er of ways of cho osing 6 stations out of 8, and 1 is the numb er of ways in which the remaining two stations can get their packets wrong (they have to get their packets exchanged). Therefore,

P (E ) = P (E 6 ) + P (E 8 ) =

(c) We \renumb er" the stations A; B ; : : : ; H as 1 ; 2 ; : : : ; 8, and de ne the following events:

A = fStation 1 gets the wrong packetg

B = fNo station gets it's desired packetg

It is clear that the probability we seek is P (B j A) = P (B A)=P (A) = P (B )=P (A), since B  A.

It is further easy to see that the probability that station A gets the wrong packet, P (A) = 7 =8. Therefore, the desired probability

P (B j A) = P (B )=P (A)  0 : 36788  8 = 7  0 : 4204

  1. De ne the following events:

Ak =

n

The rst ace is the k th^ card to app ear

o

B = fThe next card is the ace of spades g

C = fThe next card is the two of clubs g

(i) P (B j A 3 ) = P (A 3 B )=P (A 3 ), and P (A 3 ) = 48 = 52  47 = 51  4 =50. Now, P (A 3 B ), the probabil-

ity that the rst ace to app ear is the third card and that the next card is the ace of spades, is

P (A 3 B ) =^4852  4751  503  491. Therefore

P (B j A 3 ) =

52 ^

51 ^

50 ^

52 ^

51 ^

(ii) Similarly, P (C j A 3 ) = P (A 3 C )=P (A 3 ), and P (A 3 C ) =^47

. Therefore,

P (C j A 3 ) =

If the events are changed to re ect the fact that the rst ace to app ear is the k th^ card, then we have:

P (Ak ) =^48 Pk^ ^1 ^4

52 Pk

;

b ecause the rst k 1 cards have to b e chosen out of 48 (no aces) and the k th^ card can b e chosen in

4 ways. Similarly,

P (Ak B ) =^48 Pk^ ^1 ^3 ^1

52 Pk + b ecause now we are cho osing k + 1 cards, and the k th^ card cannot b e the Ace of Spades, while the (k + 1)st^ card has to b e the Ace of Spades. Notice in b oth cases we don't care ab out the remaining

deck of cards. So now P (B j Ak ) = P (Ak B )=P (Ak ) so

P (B j Ak ) =

48 Pk 1  3  1

52 Pk +

48 Pk 1  4

52 Pk

=^3

4(52 k )

=^3

if k = 20

Likewise P (Ak C ) = 47 Pk 1  4  1 = 52 Pk +1 , and so for k = 20, after some simpli cation you get

P (C j Ak ) =

52 ^

51 ^

50 ^ ^ ^

34 ^

33 ^

52 ^

51 ^

50 ^ ^ ^

34 ^

8. [Extra Credit]: This problem can b e worked in two di erent (mayb e more) ways. The hard solution

rst: this uses conditioning. But it is more subtle than the previous question b ecause we have to condition on each of the events, Ak =

The rst ace to app ear is the k th^ card. Let us further de ne the events

B = fThe next card is the ace of spadesg

C = fThe next card is the two of clubs g

There are two ways to approach the problem. The rst way is through the theorem of total probability. This states that P (B ) =

P

k P^ (B^ j^ Ak^ )P^ (Ak^ )^ =

P

k P^ (B^ Ak^ ).^ In^ this^ case,^ it^ is^ easier^ to^ calculate

P (B Ak ) than P (B j Ak ). The event B Ak is the event that the rst ace is the k th^ card and the (k + 1)st

card is the ace of spades. Similar to part (a),

P (B A 1 ) =

52 ^

P (B Ak ) =^48 52

   50 ^ k

54 k

53 k

52 k

; 2  k  49

P (B Ak ) = 0 ; k = 50 ; 51 ; 52 Convince yourselves of the limits for k. Therefore,

P (B ) =^3 52

X^49

k =

   50 ^ k

54 k

53 k

52 k

X^49

k =

52! (51^ ^ k^ )(50^ ^ k^ )^ =

X^49

k =

k (k + 1);