

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 #9 in the ece 313 course offered by the university of illinois during the fall 2001 semester. The problem set covers various topics in probability theory, including calculating probabilities, expected values, and variances of random variables.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


University Problem Set #9: Solutions ECE 313
of Illinois Page 1 of 2 Fall 2001
1.(a) This is a valid pdf. (b) This is a valid pdf. (c) This is not a valid pdf because the function is negative for 0 < u < 1.
0
1 ln u du = u ln u – u
1
0
= –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.
0
3 (2/3)(u–1)du = (1/3)(u–1)^2
3
0
= 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.
0
∞ 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.
0
∞ 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.
2. The pdf is as shown on the diagram below where some lines have been added to aid in computation. Each triangle shown has area 1/8.
(a) By inspection, we see that P{| X | < 1/2} = 1/2. Similarly, P{ X < 1/2} = 5/8} and P[{ X > 0} ∩ { X < 1/2} = P{0 < X < 1/2} = 1/8, giving P{ X > 0 | X < 1/2} = 1/5. Politically correct anti-segregationists (i.e. those who believe in integration) who failed to sketch the pdf can proceed as follows:
–1/
0
0
1/
–1/
0
–1/
1/ u•du = u
0
–1/
u^2
1/
–1/
and so on.
∞
0
0
1 u•u•du =
u^2 2
u^3
0
u^3
1
0
∞
0
1 u•u•du =
–u^2 2
–u^3
0
u^3
1
0
3.(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,
0
5(1 – u)^4 du = –(1 – u)^5
0
1 2
31 32
(d) We want the smallest value of C such that P{ X > C} ≤ 10 –5. But,
C
1
5(1 – u)^4 du = –(1 – u)^5
1
C
= (1 – C)^5 ≤ 10 –5^ if C ≥ 0.9. Thus, a 900 gallon tank is
required to achieve the desired goal.
University Problem Set #9: Solutions ECE 313
of Illinois Page 2 of 2 Fall 2001
(e),(f),(g)
X if X ≤ C , C if X > C. Hence, the weekly gross profit is 640 Y , and the^ average^ weekly^ gross^ profit is
0
C
C
1 5(1–u)^4 640C du =
640 6 [1 – (1 – C)
(^6) ]. As a function of C, the size of the
tank, this increases from 0 if C = 0 (no tank!) to $640/6 if C = 1. Now, the average net profit = E[640 Y – 20C] = E[640 Y ] – 20C = (640/6)[1 – (1 –C)^6 ] – 20C. This has a maximum if C satisfies 640(1 – C)^5 = 20 i.e. (1 – C)^5 = (1/32) , i.e. if C = 1/2. Thus, a 500 gallon tank that costs $10 per week to rent gives an average gross profit of $630/6 and the maximum average net profit of $570/6 per week. In contrast, a full-sized 1000 gallon tank gives only a slightly larger gross profit of $640/6 per week, but a smaller net profit of $520/6 per week. Of course, there may be intangible losses in goodwill if the tank is emptied before the week ends. However, the probability of this happening is only 1/32 when C = 1/2.
u^4 (1/2)du = 1/5.
Hence, var( Y ) = E[ Y^2 ] – (E[ Y ])^2 = (1/5) – (1/3)^2 = 4/45.
u^2 (1/2)du = –1/3 + 1/3 = 0.
a
b u•f(u) du. But, the integrand
satisfies a•f(u) < u•f(u) < b•f(u) for all u such that a < u < b, The comparison property for integrals then shows that (a) holds. (b) The function v = (u–μ)^2 on (a, b) is bounded above by the straight line through the points (a, (a–μ)^2 ) and (b, (b–μ)^2 ), which has equation v = μ 2 –ab + [(b+a) –2μ]u.
a
b
a
b (μ^2 –ab + [(b+a)–2μ]u)•f(u) du = μ 2 –ab + (b+a–2μ)•μ = –(μ–a)(μ–b).
Note that the variance must be positive since part(a) shows that a < μ < b and thus the factors (μ–a) and (μ–b) have opposite signs. It is easily shown via calculus that –(μ–a)(μ–b), regarded as a function of μ, has a maximum value of (b–a)^2 /4 at μ = (a+b)/2. Hence, var( X ) < (b–a)^2 /4. As a point of interest, the uniform distribution on (a, b) has variance (b–a)^2 /12, smaller by a factor of 3. (c) Yes, the results hold for discrete random variables as well. The same argument applies with sums replacing the integrals. (d) The discrete random variable Y taking on values a and b each with probability 1/2 has μ = (a+b)/2 and variance (b–a)^2 /4 since all the mass is at distance (b–a)/2 from the mean. If the random variable values are restricted to (a, b), then the variance is strictly smaller than (b–a)^2 /4. However, with both discrete and continuous random variables, we can approach the maximum variance value as closely as we like, i.e. for any ε > 0, no matter how small, we can achieve a variance of (b–a)^2 /4 – ε.