Solved Problem Set 3 - Probability with Engineering Application | ECE 313, Assignments of Statistics

Material Type: Assignment; Class: Probability with Engrg Applic; Subject: Electrical and Computer Engr; University: University of Illinois - Urbana-Champaign; Term: Spring 2003;

Typology: Assignments

Pre 2010

Uploaded on 03/11/2009

koofers-user-kph
koofers-user-kph 🇺🇸

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
University Problem Set #3: Solutions ECE 313
of Illinois Page 1 of 2 Spring 2003
1.(a) The outcomes are all the vectors of length 5 in which 3 entries are broccoli and 2 are cauliflower. The days
to serve broccoli can be chosen in ( )
5
3 = 10 ways, so |Ω| = 10.
(b) Broccoli will be served on two other days besides Monday, and these days can be chosen in ( )
4
2 = 6 ways.
Hence, P(broccoli on Monday) = 6/10 = 3/5.
(c) The third broccolous day can be any of 3, and hence probability is 3/10. (d) 1/10.
2. P(A (Bc Cc)c) = P(A(BC)) by DeMorgan's theorem.
(a) P(BC) = P() = 0, and therefore P(A(BC)) = P(A∪∅) = P(A) = 1/3.
(b) P(A(BC)) = P(A) + P(BC) – P(ABC) = 1/2 + 1/4 – 1/8 = 5/8.
(c) P(A(BC)) = P(A) + P(BC) – P(ABC) = 1/2 + 1/3 – 0 = 5/6. (Why?)
(d) (Ac (Bc Cc))c = A (Bc Cc)c by DeMorgan's theorem. Hence,
P(A (Bc Cc)c) = 1 – P(Ac (Bc Cc)) = 1 – 0.6 = 0.4.
A
B
C
0.002
0.3
0
0.098
0.35 0.45
3.(a) From DeMorgan's theorem and P(AcBc) = 0.3, we get that P(AB) = 0.7.
P(AB) = P(A) + P(B) – P(AB) = 0.1. P(ABc) = P(A) – P(AB) = 0.35.
(b) P(ABCc) = P(AB) – P(ABC) = 0.098. Note that C can be partitioned into ABC, (AB)C and AcBcC,
where (AB)C is the shaded set in the right-hand figure shown above. Since P(AcBcC) = 0, we get that
P(C) = P(ABC) + P(AB)C) = 0.006.
(c) P(AcBCc) and P(AC) cannot be computed.
4.(a) Let q = 1–p. Then,
P(F) = p + q4p + q8p + … = p[1 + q4 + q8 + … ] = p
1 – q4
P(W) = qp + q5p + q9p + … = qp[1 + q4 + q8 + … ] = pq
1 – q4= q•P(F)
P(Ba) = q2p + q6p + q10 p + … = q2p[1 + q4 + q8 + … ] = q2p
1 – q4 = q2•P(F)
P(Be) = q3p + q7p + q11 p + … = q3p[1 + q4 + q8 + … ] = q3p
1 – q4= q3•P(F)
Since q < 1, P(F) > P(W) > P(Ba) > P(Be). Also,
P(F) + P(W) + P(Ba) + P(Be) = P(F)•[1 + q + q2 + q3] = P(F)•q4 – 1
q – 1 = p
1 – q4q4 – 1
q – 1 = 1.
(b) Let x = ln 2. Then, P() =
n=0
(ln 2)n
2(n!) = 2–1
n=0
xn
n! = 2 –1 • exp(x) = 1.
P(outcome is an even number) =
n=0
(ln 2)2n
2(2n!) = 2–1
n=0
x2n
(2n!) = 2–1 • cosh(x) = 5
8 since x = ln 2.
pf2

Partial preview of the text

Download Solved Problem Set 3 - Probability with Engineering Application | ECE 313 and more Assignments Statistics in PDF only on Docsity!

University Problem Set #3: Solutions ECE 313

of Illinois Page 1 of 2 Spring 2003

1. (a) The outcomes are all the vectors of length 5 in which 3 entries are broccoli and 2 are cauliflower. The days

to serve broccoli can be chosen in ( )

3 = 10 ways, so^ |Ω|^ = 10.

(b) Broccoli will be served on two other days besides Monday, and these days can be chosen in ( )

2 = 6 ways. Hence, P(broccoli on Monday) = 6/10 = 3/5. (c) The third broccolous day can be any of 3, and hence probability is 3/10. (d) 1/10.

2. P(A ∪ (Bc^ ∪ Cc)c) = P(A∪(B∩C)) by DeMorgan's theorem. (a) P(B∩C) = P(∅) = 0, and therefore P(A∪(B∩C)) = P(A∪∅) = P(A) = 1/3. (b) P(A∪(B∩C)) = P(A) + P(B∩C) – P(A∩B∩C) = 1/2 + 1/4 – 1/8 = 5/8. (c) P(A∪(B∩C)) = P(A) + P(B∩C) – P(A∩B∩C) = 1/2 + 1/3 – 0 = 5/6. (Why?)

(d) (Ac^ ∩ (Bc^ ∪ Cc))c^ = A ∪ (Bc^ ∪ Cc)c^ by DeMorgan's theorem. Hence,

P(A ∪ (Bc^ ∪ Cc)c) = 1 – P(Ac^ ∩(Bc^ ∪ Cc)) = 1 – 0.6 = 0.4.

A

B

0.002 C

3.(a) From DeMorgan's theorem and P(AcBc) = 0.3, we get that P(A∪B) = 0.7.

P(AB) = P(A) + P(B) – P(A∪B) = 0.1. P(ABc) = P(A) – P(AB) = 0.35.

(b) P(ABCc) = P(AB) – P(ABC) = 0.098. Note that C can be partitioned into ABC, (A⊕B)C and AcBcC,

where (A⊕B)C is the shaded set in the right-hand figure shown above. Since P(AcBcC) = 0, we get that P(C) = P(ABC) + P(A⊕B)C) = 0.006.

(c) P(AcBCc) and P(A∪C) cannot be computed.

4.(a) Let q = 1–p. Then,

P(F) = p + q^4 p + q^8 p + … = p[1 + q^4 + q^8 + … ] =

p 1 – q^4

P(W) = qp + q^5 p + q^9 p + … = qp[1 + q^4 + q^8 + … ] =

pq 1 – q^4

= q•P(F)

P(Ba) = q^2 p + q^6 p + q^10 p + … = q^2 p[1 + q^4 + q^8 + … ] =

q^2 p 1 – q^4

= q^2 •P(F)

P(Be) = q^3 p + q^7 p + q^11 p + … = q^3 p[1 + q^4 + q^8 + … ] =

q^3 p 1 – q^4

= q^3 •P(F)

Since q < 1, P(F) > P(W) > P(Ba) > P(Be). Also,

P(F) + P(W) + P(Ba) + P(Be) = P(F)•[1 + q + q^2 + q^3 ] = P(F)•

q^4 – 1 q – 1

p 1 – q^4

q^4 – 1 q – 1

(b) Let x = ln 2. Then, P(Ω ) = ∑

n=

∞ (ln 2)n 2(n!)

= 2–1^ ∑

n=

∞ xn n!

= 2–1^ • exp(x) = 1.

P(outcome is an even number) = ∑

n=

∞ (ln 2)2n 2(2n!)

= 2–1^ ∑

n=

∞ x2n (2n!)

= 2–1^ • cosh(x) =

since x = ln 2.

University Problem Set #3: Solutions ECE 313

of Illinois Page 2 of 2 Spring 2003

5.(a) The number of weeks that your investment doubles in value is a binomial random variable Y with parameters (5,1/2). Since the investment halves in value during the remaining 5– Y weeks, and each halving cancels one doubling, we have that X = 32•2^2 Y –5^. The possible values of X are 1, 4, 16, 64, 256, and 1024, corresponding to Y = 0, 1, 2, 3, 4, 5 respectively. (b) P{ X = 1} = P{ Y = 0} = 1/32. P{ X = 4} = P{ Y = 1} = 5/32. P{ X = 16} = P{ Y = 2} = 10/32. P{ X = 64} = P{ Y = 3} = 10/32. P{ X = 256} = P{ Y = 4} = 5/32. P{ X = 1024} = P{ Y = 5} = 1/32. (c) E[ X ] = 1•(1/32) + 4•(5/32) + 16•(10/32) + 64•(10/32) + 256•(5/32) + 1024•(1/32) = 97.65625. The TV commercial understates the performance — undoubtedly a first! (d) P{ X < 32} = P{ X = 1} + P{ X = 4} + P{ X = 16} = 1/2. (e) There is a 50% chance of losing money on this investment. Most people do not mind making investments if the amount at risk is small but the payoff from a win is enormous, e.g. lottery tickets are a losing bet for most buyers, but people don’t mind an almost sure loss of a dollar because all they see is the huge payoff. Matters are considerably different when the amounts at risk are large, and most people tend to choose more conservatively. This explains why the local 7-11 sells lottery tickets but Neiman-Marcus does not.

6. P{ X is even} = P{ X = 0} + P{ X = 2} + … + P{ X = M} where M = N if N is even and M = N – 1 if N is

odd. Hence, P{ X is even} = qN^ + ( )

N

2 q

N–2p (^2) + … +

N

M q

N–MpM (^). Note that the last term is pN (^) if N

is even, and it is NqpN–1^ if N is odd (whatever happened to ( )

N

M ??)

Now, (q + p)N^ = qN^ + ( )

N

1 q

N–1p +

N

2 q

N–2p (^2) + … +

N

N–1 qp

N–1 (^) + pN (^) while

(q – p)N^ = qN^ – ( )

N

1 q

N–1p +

N

2 q

N–2p (^2) – …+ (–1)N–

N

N–1 qp

N–1 (^) + (–1)NpN.

We add these equations together and note alternate terms cancel.. Also if N is odd, the last terms cancel, while if N is even, the next–to–last terms cancel. In either case, we see that the sum is just 2P{ X is even}, i.e. P{ X is even} = [(q+p)N+(q – p)N]/2 = [1 + (1 – 2p)N]/2. Exercise: when is P{ X is even} < 1/2?