Problem Set #9 for ECE 313: Probability Density Functions and Random Variables, Assignments of Statistics

A problem set from the electrical and computer engineering (ece) 313 course at the university of illinois, spring 2002. It includes various problems related to probability density functions, random variables, and their properties. Students are expected to solve problems involving valid probability density functions, finding probabilities and expected values, and understanding the relationship between random variables and their distributions.

Typology: Assignments

Pre 2010

Uploaded on 03/10/2009

koofers-user-yla-1
koofers-user-yla-1 🇺🇸

5

(1)

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
University Problem Set #9 ECE 313
of Illinois Page 1 of 2 Spring 2002
Assigned: Wednesday, March 13, 2002
Due: Wednesday, March 27, 2002
Reading: Ross, Chapter 5
Noncredit Exercises: Ross: Chapter 5: Problems 1–8, 11, 15–19, 23, 29, 30, 31;
Theoretical Exercises: 9, 14
Reminder: Enjoy Spring Break!
Problems:
1. Which of the following are valid probability density functions? Assume that the functions
are zero outside the ranges specified. For those which are not valid pdfs, state at least one
property of pdfs which is not satisfied. Also, state whether there exists a constant C such
that C•f(u) is a valid pdf even though f(u) is not.
(a) f(u) = |u| for |u| < 1. (b) f(u) = 1 – |u| for |u| < 1.
(c) f(u) = ln u for 0 < u < 1, (d) f(u) = ln u for 0 < u < 2. Hint: ln u can be integrated by parts
(e) f(u) = 2u for 0 < u < 1. (f) f(u) = (2/3)(u – 1) for 0 < u < 3.
(g) f(u) = exp(–2u), 0 < u < ,(h) f(u) = 4 exp(–2u) – exp(–u), 0 < u < .
2. X denotes a continuous random variable with probability density function fX(u) given by
fX(u) =
1 + u, –1 < u 0,
u, 0 < u < 1,
0, otherwise.
(a) Find P{|X| < 1/2} and P{X > 0 | X < 1
2}.
(b) Find the expected value of X.
(c) Find the expected value of |X|.
3. The weekly demand (measured in thousands of gallons) for gasoline at a rural gas station is
a random variable X with probability density function
fX(u) =
5(1 – u)4,0 < u < 1,
0, elsewhere.
Let C (in thousands of gallons) denote the capacity of the tank (which is re-filled weekly.)
(a) If C = 0.5, (i.e., the tank holds 500 gallons) and X happens to have value 0.68 one
particular week, (e.g. 680 people show up each wanting to purchase a gallon of gas for
their snowblowers or lawnmowers), can the gas station satisfy the demand that week?
That is, can the gas station supply gasoline to all those who want to buy it that week?
(b) If C = 0.5 and X happens to have value 0.43 some other week, can the gas station satisfy
the demand during this other week? That is, can the gas station supply gasoline to all those
who want to buy it that week?
(c) If C = 0.5, what is the probability that the weekly demand for gasoline can be satisfied?
Note that if your answer is (say) 0.666…, then, in the long run, the gas station can supply
the weekly demand two weeks out of three.
(d) What is the minimum value of C required to ensure that the probability that the demand
exceeds the supply is no larger than 10–5 ?
Now, suppose that the owner makes a gross profit of $0.64 for each gallon of gasoline
sold. Let Y denote the amount of gasoline sold per week.
(e) How is Y related to X, the weekly demand for gasoline? (Hint: the owner cannot sell more
gasoline each week than the tank can hold!)
(f) What is the average weekly gross profit?
(g) Suppose that the owner pays $20C as weekly rent on a tank of capacity 1000C gallons.
Note that 0 C 1. (Why is a tank larger than 1000 gallons not needed?) What is the
average weekly net profit and what value of C maximizes the average weekly net profit?
4. X is uniformly distributed on [–1, +1].
(a) If Y = X2, what are the mean and variance of Y?
pf2

Partial preview of the text

Download Problem Set #9 for ECE 313: Probability Density Functions and Random Variables and more Assignments Statistics in PDF only on Docsity!

University Problem Set #9 ECE 313

of Illinois Page 1 of 2 Spring 2002

Assigned: Wednesday, March 13, 2002 Due: Wednesday, March 27, 2002 Reading: Ross, Chapter 5 Noncredit Exercises: Ross: Chapter 5: Problems 1–8, 11, 15–19, 23, 29, 30, 31; Theoretical Exercises: 9, 14 Reminder: Enjoy Spring Break! Problems:

  1. Which of the following are valid probability density functions? Assume that the functions are zero outside the ranges specified. For those which are not valid pdfs, state at least one property of pdfs which is not satisfied. Also, state whether there exists a constant C such that C•f(u) is a valid pdf even though f(u) is not. (a) f(u) = |u| for |u| < 1. (b) f(u) = 1 – |u| for |u| < 1. (c) f(u) = ln u for 0 < u < 1, (d) f(u) = ln u for 0 < u < 2. Hint: ln u can be integrated by parts (e) f(u) = 2u for 0 < u < 1. (f) f(u) = (2/3)(u – 1) for 0 < u < 3. (g) f(u) = exp(–2u), 0 < u < ∞, (h) f(u) = 4 exp(–2u) – exp(–u), 0 < u < ∞.

  2. X denotes a continuous random variable with probability density function fX(u) given by

fX(u) = 

1 + u,^ – 1 < u^ ≤^ 0 , u, 0 < u < 1 , 0, otherwise.

(a) Find P{|X | < 1/2} and P{X > 0 | X <

(b) Find the expected value of X.

(c) Find the expected value of |X |.

  1. The weekly demand (measured in thousands of gallons) for gasoline at a rural gas station is a random variable X with probability density function

fX(u) = 

5(1 – u)^4 , 0 < u < 1 , 0, elsewhere. Let C (in thousands of gallons) denote the capacity of the tank (which is re-filled weekly.) (a) If C = 0.5, (i.e., the tank holds 500 gallons) and X happens to have value 0.68 one particular week, (e.g. 680 people show up each wanting to purchase a gallon of gas for their snowblowers or lawnmowers), can the gas station satisfy the demand that week? That is, can the gas station supply gasoline to all those who want to buy it that week? (b) If C = 0.5 and X happens to have value 0.43 some other week, can the gas station satisfy the demand during this other week? That is, can the gas station supply gasoline to all those who want to buy it that week? (c) If C = 0.5, what is the probability that the weekly demand for gasoline can be satisfied? Note that if your answer is (say) 0.666…, then, in the long run, the gas station can supply the weekly demand two weeks out of three. (d) What is the minimum value of C required to ensure that the probability that the demand

exceeds the supply is no larger than 10–5^? Now, suppose that the owner makes a gross profit of $0.64 for each gallon of gasoline sold. Let Y denote the amount of gasoline sold per week. (e) How is Y related to X , the weekly demand for gasoline? (Hint: the owner cannot sell more gasoline each week than the tank can hold!) (f) What is the average weekly gross profit? (g) Suppose that the owner pays $20C as weekly rent on a tank of capacity 1000C gallons. Note that 0 ≤ C ≤ 1. (Why is a tank larger than 1000 gallons not needed?) What is the average weekly net profit and what value of C maximizes the average weekly net profit?

  1. X is uniformly distributed on [–1, +1].

(a) If Y = X 2 , what are the mean and variance of Y?

University Problem Set #9 ECE 313

of Illinois Page 2 of 2 Spring 2002

(b) If Z = g(X ) where g(u) = 

u^2 , u ≥ 0, –u^2 , u < 0,

use LOTUS (or the EZ method) to find E[Z]

  1. Let X denote the time of the first arrival after t = 0 in a Poisson process with arrival rate λ. (a) What is the value of the CDF of X at time T? that is, what is P{X ≤ T}? (b) Let A denote the event that there is exactly one arrival in the interval (0,T]. What is P(A)? (c) Is the P(A) that you found for part (b) the same as the value of P{X ≤ T} that you gave in part (a)? Explain why the two are the same (or are different, as appropriate)

(d) For 0 < τ < T, what is the conditional probability that {X ≤ τ} given the event A, that is, given that there was exactly one arrival in (0, T]?

  1. Consider a Poisson process with arrival rate λ. (a) What is the mean number of arrivals in the interval (0, 4]? That is, what is E[N (0,4]]?

(b) What is P[{N (0, 3] = 3}∩{N (2, 6] = 0}]? (c) If we observe that there were 5 arrivals in (0, 6], what is the maximum-likelihood estimate

of the arrival rate λ?

(d) Now suppose that λ = ln 2. What is the probability that at least one arrival occurs in (0, t]?