

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
Material Type: Assignment; Class: Probability with Engrg Applic; Subject: Electrical and Computer Engr; University: University of Illinois - Urbana-Champaign; Term: Spring 2002;
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 Spring 2002
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 Spring 2002
(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.
5.(a) X is an exponential random variable with parameter λ, or X is a gamma random variable with parameters (1, λ). In either case, P{0 < X ≤ T} = 1 – exp(–λT) (b) P(A) = P{exactly one arrival in (0, T]} = P{Poisson RV with parameter λT has value 1} = λT•exp(–λT). (c) The answers are different because the events are different. If X ≤ T, it does not necessarily mean that there was exactly one arrival in (0, T]. However, if there was exactly one arrival in (0, T], then we know for sure that X ≤ T. Thus, the event A is a subset of the event { X ≤ T}. (d) P{ X ≤ τ | A} = P[{ X ≤ τ} ∩ A]/P(A) = P[{1 arrival in (0, τ]} ∩ {no arrivals in (τ, T]}]/P(A) = P{1 arrival in (0, τ]}• P{no arrivals in (τ, T]}/P(A) by independence of arrivals in disjoint intervals = [λτ•exp(–λτ)•exp(–λ(T–τ))]/λT•exp(–λT) = τ/T.
6.(a) The number of arrivals in the interval (0, 4] is the Poisson random variable N (0,4] with parameter 4λ. Hence, the mean number of arrivals is E[ N (0,4]] = 4λ.
(2λ)^3 3!
× exp(–4λ)
= exp(–6λ)
(2λ)^3 3!
since N (0, 2] and N (2, 6] are independent random variables ((0,2] and (2,6] are disjoint)
(c) The number of arrivals in (0, 6] is the Poisson random variable N (0,6] with parameter 6λ. The event
{ N (0,6] = 5} has probability exp(–6λ)
(6λ)^5 5!
, and this is maximized if λ = 5/6 as shown on a noncredit
exercise in Problem Set #5.
(d) λ = ln 2. P{ N (0, t] ≥ 1} = 1 – P{ N (0, t] = 0} = 1 – exp(–λt) = 1 – 2–t^.