

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to problem set #8 in the ece 313 course offered by the university of illinois during the spring 2003 semester. The problem set covers topics related to probability distributions, including continuous and discrete random variables, probability density functions (pdfs), cumulative distribution functions (cdfs), and expected values. The solutions involve calculating probabilities, finding pdfs and cdfs, and applying integration to find expected values.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


University Problem Set #8: Solutions ECE 313 of Illinois Page 1 of 2 Spring 2003
1. (a) F X (1) = 1, F X (3/2) = 3/4. Thus, F X (u) is not a nondecreasing function and thus cannot be a valid CDF. (b) Yes. F X (u) is a valid CDF, and is continuous except at u = 0.
P{| X | > 0.5} = 1 -–P{| X | ≤ 0.5} = 1 – (F X (0.5) – F X (–0.5–)) = 1 – (F X (0.5) – F X (–0.5)) = 1 -–(1 – (1/4)exp(–3/2) – (1/2)exp(–1)) = (1/4)exp(–3/2) + (1/2) exp(–1). (c) F X (u) is not right continuous at u = 0 and thus cannot be a valid CDF.
2.(a) P(works for exactly 2 hours) = P{ X = 2} = F X (2+) – F X (2–) = 1/4.
(b) P(works for more than 2 hours) = P{ X > 2} = 1 – F X (2+) = 1/4.
(c) P(works for less than 2 hours) = P{ X < 2} = F X (2–) = 1/2.
(d) P(works for exactly 3 hours) = P{ X = 3} = F X (3+) – F X (3–) = 0.
(e) P(works for more than 1/2 but less than 3 hours) = P{1/2 < X < 3} = F X (3–) – F X ((1/2)+) = 7/8 – 3/16 = 11/16. (f) P(works for more than 2 hours given that the student works at all) = P{ X > 2| X > 0}
= P({ X^ > 2}P{ X ∩> 0}{ X^ > 0})= P{P{ XX^ > 2}> 0} =
(g) The CDF is as shown, and as discussed in class, E[ X ] = shaded area between CDF and the line at height 1. By elementary geometry, the shaded area is 1×(7/8 + 6/8)/2 + 1/2 + (1/2)×(2)×(1/4) = 22/16 = 1.375 hours. Noncredit Exercise: How does this compare with the number reported by Eta Kappa Nu in their survey?
0
∞
0
1
1
2
2
3 P{ X >u}du + … But, X takes on only integer values.
Thus, for any given nonnegative integer k, it must be that for all u ∈ [k,k+1), P{ X > u} = P{ X > k}.
k
k+
k=
∞ P{ X > k}. This
k=
∞ P{ X ≥ k}.
(b) If X is a geometric random variable with parameter p, then P{ X > k} = P{first k trials ended in failure} = (1–p)k. This formula holds even when k = 0, since obviously P{ X > 0} = 1.
Hence, E[ X ] = (^) ∑ k=
∞ P{ X ≥ k} = (^) ∑ k=
∞ P{ X > k} = (^) ∑ k=
∞ (1–p)k^ = 1 + (1–p) + (1–p)^2 + … = (^) 1 – (1–p)^1 =^1 p
4.(a) This is a valid pdf. (b) This is a valid pdf.
ln u du = u ln u – u
= –1, so –ln u, u ∈ (0,1) is a valid pdf. (d) This is not a valid pdf because the function is negative for u ∈ (0,1). Also, since the function is positive for u ∈ (1,2), Cf(u) cannot be a valid pdf for any C. (e) This is a valid pdf.
University Problem Set #8: Solutions ECE 313 of Illinois Page 2 of 2 Spring 2003
(2/3)(u–1)du = (1/3)(u–1)^2
= 1, this is not a valid pdf because the function is negative for
u ∈ (0,1). Also, since the function is positive for u ∈ (1,3), Cf(u) cannot be a valid pdf for any C.
exp(–2u)du = 1/2, this is not a valid pdf. However, 2 exp(–2u), u ∈ (0,∞) is a valid pdf; it is the
exponential density with parameter 2.
4exp(–2u) – exp(–u)du = 2 – 1 = 1, this is not a valid pdf because the function is negative for
u > ln 4. Since the function is positive for u < ln 4, Cf(u) cannot be a valid pdf for any C.
5. (Look, Ma! No integration!) The pdf is as shown below,
The total area under the curve is (1/2)×α×1 = α/2 which gives α = 2. (a) P{6 X^2 > 5 X – 1} = P{6 X^2 – 5 X + 1 > 0} = P{(3 X – 1)(2 X – 1) > 0} = P[({ X > 1/3} ∩ { X > 1/2}) ∪ ({ X < 1/3} ∩ { X < 1/2})] = P[{ X > 1/2} ∪ { X < 1/3}] = 1 – P[1/3 ≤ X ≤ 1/2]. Now, P[1/3 ≤ X ≤ 1/2] = area under the pdf from 1/3 to 1/2. This is the difference of two triangular areas and is thus (1/2)×[(4/3)×(2/3) – 1×(1/2)] = 7/36. Hence, P{6 X^2 > 5 X – 1} = = 1 – P[1/3 ≤ X ≤ 1/2] = 1 – 7/36 = 29/36. (b) F X (u) is the area under the pdf upto the point u. By inspection, we have that F X (u) = 0 if u < 0 and F X (u) = 1 if u > 1. For 0 ≤ u ≤ 1, F X (u) is the area shaded in the right–hand figure above = 1 – (1/2)×(1–u)×(2–2u) = 1 – (1–u)^2 = 2u – u^2.
6.(a) No, the tank is empty after 500 gallons have been sold, and towards the end of the week, the people asking for the extra 180 gallons are s.o.l. (b) Sure, with 70 gallons to spare. (c) The weekly demand can be satisfied if it (the demand) does not exceed 0.5. Thus,
5(1 – u)^4 du = –(1 – u)^5
0
5 = (^3132)
(d) We want the smallest value of C such that P{ X > C} ≤ 10 –5. But,
5(1 – u)^4 du = –(1 – u)^5
C
= (1 – C)^5 ≤ 10 –5 if C ≥ 0.9. Thus, a 900 gallon tank is
required to achieve the desired goal.