Assignment 3 Solutions - 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: Fall 2008;

Typology: Assignments

Pre 2010

Uploaded on 03/16/2009

koofers-user-quo
koofers-user-quo 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
University of Illinois Fall 2008
ECE 313: Solutions to Problem Set 3
1. (a) Γ(1) = Z
0
exp(t)dt =exp(t)
0
= 1.
(b) For α > 0, Γ(α+ 1) = Z
0
tαexp(t)dt =tα[exp(t)]
0Z
0
αtα1[exp(t)] dx
= 0 + αZ
0
tα1exp(t)dt =αΓ(α).
Hence Γ(n+ 1) = nΓ(n) = n(n1)Γ(n1) = ··· =n(n1) ···2·1·Γ(1) = n!.
(c) Similarly, Γ(α+ 1) = αΓ(α) = α(α1)Γ(α1) = ··· =α(α1)(α2) ···Γ(αbαc) where bαc
is the integer part of α, and 0 < α bαc<1.
(d) Using the substitution x=2t,dt/t=2dx and the suggested change to polar coordinates,
Γ1
2=Z
0
t1/2exp(t)dt =2Z
0
exp(x2/2) dx =2Z
0
exp(y2/2) dy
=2Z
0Z
0
exp([x2+y2]/2) dx dy1/2
= 2Z
r=0 Zπ/2
θ=0
exp(r2/2) ·r dr!1/2
=πZ
r=0
rexp(r2/2)dr1/2
=πvia the result of Problem 5(b) of Problem Set 1.
2. (a) m+n
kcommittees of size kcan be drawn from a set of mmen and nwomen. Of these,
m
i n
kicommittees have imen and kiwomen. Summing over all possible values of i, we
conclude that m+n
k=
k
X
i=0 m
i n
ki.
(b) The coefficient of xkin the polynomial (1 + x)m+nis m+n
k. Now, if h(x) = f(x)g(x),
then the coefficient hkof h(x) is the discrete convolution of the coefficients of f(x) and g(x):
viz., hk=Pifigki. Applying this to f(x) = (1 + x)mand g(x) = (1 + x)n, we get that
m+n
k=
k
X
i=0 m
i n
kias before.
(c) With m=k=n,2n
n=
n
X
i=0 n
i n
ni=
n
X
i=0 n
i2
since n
ni=n
i.
3. Consider the experiment of picking a person at random from the 100,000 population of the town, and
let A,B, and Cdenote the events that the person selected reads Newspapers I, II, and III resp ectively.
We are given that P(A)=0.1, P (B)=0.3,P (C)=0.05; P(AB)=0.08, P (AC)=0.02, P (BC ) =
0.04; and P(AB C) = 0.01. Marking these probabilities on a Karnaugh map, we readily deduce
the probabilities shown in the figure on the next page. (Venn diagramists and those who believe in
brainpower alone unaided by any diagrams can work it out that P(AB) = P(AB C) + P(ABCc) can
be used to deduce that P(ABC c) = 0.07 etc.) From the diagram, it is easy to read off that
(a) P{read one newspaper only}=P(ABcCc) + P(AcB Cc) + P(AcBcC) = 0.220,000 people
read only one newspaper.
(b) P{read at least two newspapers}=P(AB AC BC) = 0.12 12,000 people read at least two
newspaper.
(c) P{read at least one of I and III and also read II}=P((AC)B) = 0.11 11,000 people read
at least one of I and III and also read II.
pf2

Partial preview of the text

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

University of Illinois Fall 2008

ECE 313: Solutions to Problem Set 3

  1. (a) Γ(1) =

0

exp(−t) dt = − exp(−t)

0

(b) For α > 0, Γ(α + 1) =

0

tα^ exp(−t) dt = tα[− exp(−t)]

0

0

αtα−^1 [− exp(−t)] dx

= 0 + α

0

tα−^1 exp(−t) dt = αΓ(α). Hence Γ(n + 1) = nΓ(n) = n(n − 1)Γ(n − 1) = · · · = n(n − 1) · · · 2 · 1 · Γ(1) = n!. (c) Similarly, Γ(α + 1) = αΓ(α) = α(α − 1)Γ(α − 1) = · · · = α(α − 1)(α − 2) · · · Γ(α − bαc) where bαc is the integer part of α, and 0 < α − bαc < 1. (d) Using the substitution x =

2 t, dt/

t =

2 dx and the suggested change to polar coordinates,

Γ

0

t−^1 /^2 exp(−t) dt =

0

exp(−x^2 /2) dx =

0

exp(−y^2 /2) dy

0

0

exp(−[x^2 + y^2 ]/2) dx dy

r=

∫ (^) π/ 2

θ=

exp(−r^2 /2) · r dθ dr

π

r=

r exp(−r^2 /2)dr

π via the result of Problem 5(b) of Problem Set 1.

  1. (a)

m + n k

committees of size k can be drawn from a set of m men and n women. Of these, ( m i

n k − i

committees have i men and k − i women. Summing over all possible values of i, we

conclude that

m + n k

∑^ k i=

m i

n k − i

(b) The coefficient of xk^ in the polynomial (1 + x)m+n^ is

m + n k

. Now, if h(x) = f (x)g(x), then the coefficient hk of h(x) is the discrete convolution of the coefficients of f (x) and g(x): viz., hk =

i figk−i.^ Applying this to^ f^ (x) = (1 +^ x) m (^) and g(x) = (1 + x)n, we get that ( m + n k

∑^ k i=

m i

n k − i

as before.

(c) With m = k = n,

2 n n

∑^ n i=

n i

n n − i

∑^ n i=

[(

n i

)] 2

since

n n − i

n i

  1. Consider the experiment of picking a person at random from the 100,000 population of the town, and let A, B, and C denote the events that the person selected reads Newspapers I, II, and III respectively. We are given that P (A) = 0. 1 , P (B) = 0. 3 , P (C) = 0.05; P (AB) = 0. 08 , P (AC) = 0. 02 , P (BC) = 0 .04; and P (ABC) = 0.01. Marking these probabilities on a Karnaugh map, we readily deduce the probabilities shown in the figure on the next page. (Venn diagramists and those who believe in brainpower alone unaided by any diagrams can work it out that P (AB) = P (ABC) + P (ABCc) can be used to deduce that P (ABCc) = 0.07 etc.) From the diagram, it is easy to read off that (a) P {read one newspaper only} = P (ABcCc) + P (AcBCc) + P (AcBcC) = 0. 2 ⇒ 20 , 000 people read only one newspaper. (b) P {read at least two newspapers} = P (AB ∪ AC ∪ BC) = 0. 12 ⇒ 12 , 000 people read at least two newspaper. (c) P {read at least one of I and III and also read II} = P ((A ∪ C) ∩ B) = 0. 11 ⇒ 11 , 000 people read at least one of I and III and also read II.

(d) P {read no newspapers} = P (AcBcCc) = 0. 68 ⇒ 68 , 000 people read no newspapers. (e) P {read exactly one of I and III and also read II} = P ((A ⊕ C) ∩ B) = 0. 1 ⇒ 10 , 000 people read exactly one of I and III and also read II.

  1. (a) Since exactly half of the possible bytes contain a one in the least significant bit, P (A) = 12.

(b) P (B) =

(c) P (A ∪ B) = P (A) + P (Ac^ ∩ B)) = 12 + (^12)

5

2

= 149256 ≈ 0. 5820. P (A ∩ B) = 12

4

2

35 256 ≈^0.^1367. P^ (A^ ⊕^ B) = (A^ ∪^ B)^ −^ P^ (A^ ∩^ B)^ ≈^0.^4453.

  1. (a) i. The sample space consists of 5-tuples of the form (B, C, B, B, C) where B and C have the obvious meaning, and 3 of the entrees must be B and 2 must be C. Obviously, the broccolous days can be chosen in

3

= 10 ways and hence |Ω| = 10. ii. P (broccoli on Monday) =

2

2

iii. P (broccoli on Monday and Friday) =

2

2

iv. P (broccoli on Monday, Wednesday, and Friday) = 1/

2

(b) We now have 3 independent trials of an experiment. i. P (same veg on three days) = P (AAA)+P (BBB)+P (CCC) = (0.2)^3 +(0.5)^3 +(0.3)^3 = 0.16. ii. Let Ac^ = B ∪ C. Then, P (same veg on two days) = 3[P (AAAc) + P (BBBc) + P (CCCc)] = 3[(0.2)^2 × 0 .8 + (0.5)^2 × 0 .5 + (0. 32 ) × 0 .7] = 0.66. Why the factor 3? iii. P (three different) = 3!P (A)P (B)P (C) = 0.18. But why 3!?? Alternatively, we can compute this as 1 − 0. 16 − 0 .66 = 0.18. Why?

  1. (a) i. P (Ω) =

∑^ ∞

n=

(ln 2)n 2(n!)

∑^ ∞

n=

(ln 2)n n!

exp(ln 2) = 1.

ii. P (n is even) =

∑^ ∞

n=

(ln 2)^2 n 2(2n)!

. Now, exp(x) + exp(−x) = 2 cosh(x) = 2

∑^ ∞

n=

x^2 n (2n)!

. Hence, P (n is even) = (1/4)[exp(ln 2) + exp(− ln 2)] = 5/8. (b) P (B) = P (H) + P (T T T T H) + P (T T T T T T T T H) + · · · = p + q^4 p + q^8 p + · · · = p 1 − q^4

P (C) = P (T H) + P (T T T T T H) + P (T T T T T T T T T H) + · · · = q[p + q^4 p + q^8 p + · · · ] = pq 1 − q^4

Similarly, we have that P (T ) = pq^2 1 − q^4 and P (A) = pq^3 1 − q^4

A nicer way of expressing these results is to note that 1 − q^4 = (1 − q)(1 + q + q^2 + q^3 ) and therefore P (B) =

1 + q + q^2 + q^3

, P (C) =

q 1 + q + q^2 + q^3

, P (T ) =

q^2 1 + q + q^2 + q^3

, P (A) =

q^3 1 + q + q^2 + q^3. Since^ q <^ 1, we have that^ P^ (B)^ > P^ (C)^ > P^ (T^ )^ > P^ (A) which perhaps explains why Alice doesn’t live here anymore. Also, quite obviously, P (B) + P (C) + P (T ) + P (A) = 1.

  1. Since each of the 36 possible outcomes are equally likely, we can count the number of outcomes that result in a product of i and divide by 36, to obtain the probability that X=i. P (X = i) = 361 for i = 1, 9 , 16 , 25 , 36. P (X = i) = 362 for i = 2, 3 , 5 , 8 , 10 , 15 , 18 , 20 , 24 , 30. P (X = i) = 363 for i = 4. P (X = i) = 364 for i = 6, 12. P (X = i) = 0 for any other values of i.