3.3 End of Chapter Problems
Problem
Let be a discrete random variable with the following PMF: \begin{equation} \nonumber P_X(x) = \left{ \begin{array}{l l} \frac{1}{2} & \quad \text{for } x=0\ \frac{1}{3} & \quad \text{for } x=1\ \frac{1}{6} & \quad \text{for } x=2\ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}
- Find , the range of the random variable .
- Find .
- Find .
- Find
Problem
Let be the number of the cars being repaired at a repair shop. We have the following information:
- At any time, there are at most $3$ cars being repaired.
- The probability of having $2$ cars at the shop is the same as the probability of having one car.
- The probability of having no car at the shop is the same as the probability of having $3$ cars.
- The probability of having $1$ or $2$ cars is half of the probability of having $0$ or $3$ cars.
Find the PMF of .
Problem
I roll two dice and observe two numbers and . If , find the range and PMF of .
Problem
Let and be two independent discrete random variables with the following PMFs: \begin{equation} \nonumber P_X(k) = \left{ \begin{array}{l l} \frac{1}{4} & \quad \text{for } k=1\ \frac{1}{8} & \quad \text{for } k=2\ \frac{1}{8} & \quad \text{for } k=3\ \frac{1}{2} & \quad \text{for } k=4\ 0 & \quad \text{otherwise} \end{array} \right. \end{equation} and \begin{equation} \nonumber P_Y(k) = \left{ \begin{array}{l l} \frac{1}{6} & \quad \text{for } k=1\ \frac{1}{6} & \quad \text{for } k=2\ \frac{1}{3} & \quad \text{for } k=3\ \frac{1}{3} & \quad \text{for } k=4\ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}
- Find .
- Find .
- Find .
- Find .
Problem
$50$ students live in a dormitory. The parking lot has the capacity for $30$ cars. If each student has a car with probability (independently from other students), what is the probability that there won't be enough parking spaces for all the cars?
Problem (The Matching Problem)
guests arrive at a party. Each person is wearing a hat. We collect all the hats and then randomly redistribute the hats, giving each person one of the hats randomly. Let be the number of people who receive their own hats. Find the PMF of .
Hint: We previously found that (Problem 7 in Section 2.1.5)
Problem
For each of the following random variables, find , and .
Problem
Suppose you take a pass-fail test repeatedly. Let be the event that you are successful in your try, and be the event that you fail the test in your try. On your first try, you have a $50$ percent chance of passing the test.
- Find .
- Find a general formula for for .
- Find the probability that you take the test more than $2$ times.
- Given that you take the test more than once, find the probability that you take the test exactly twice.
Problem
In this problem, we would like to show that the geometric random variable is memoryless. Let . Show that
Problem
An urn consists of $20$ red balls and $30$ green balls. We choose $10$ balls at random from the urn. The sampling is done without replacement (repetition not allowed).
- What is the probability that there will be exactly $4$ red balls among the chosen balls?
- Given that there are at least $3$ red balls among the chosen balls, what is the probability that there are exactly $4$ red balls?
Problem
The number of emails that I get in a weekday (Monday through Friday) can be modeled by a Poisson distribution with an average of emails per minute. The number of emails that I receive on weekends (Saturday and Sunday) can be modeled by a Poisson distribution with an average of emails per minute.
- What is the probability that I get no emails in an interval of length $4$ hours on a Sunday?
- A random day is chosen (all days of the week are equally likely to be selected), and a random interval of length one hour is selected on the chosen day. It is observed that I did not receive any emails in that interval. What is the probability that the chosen day is a weekday?
Problem
Let be a discrete random variable with the following PMF: \begin{equation} \nonumber P_X(x) = \left{ \begin{array}{l l} 0.2 & \quad \text{for } x=-2\ 0.3 & \quad \text{for } x=-1\ 0.2 & \quad \text{for } x=0\ 0.2 & \quad \text{for } x=1\ 0.1 & \quad \text{for } x=2\ 0 & \quad \text{otherwise} \end{array} \right. \end{equation} Find and plot the CDF of .
Problem
Let be a discrete random variable with the following CDF: \begin{equation} \nonumber F_X(x) = \left{ \begin{array}{l l} 0 & \quad \text{for } x < 0\ \frac{1}{6} & \quad \text{for } 0 \leq x < 1\ \frac{1}{2} & \quad \text{for } 1 \leq x < 2 \ \frac{3}{4} & \quad \text{for } 2 \leq x < 3 \ 1 & \quad \text{for } x \geq 3\ \end{array} \right. \end{equation} Find the range and PMF of .
Problem
Let be a discrete random variable with the following PMF \begin{equation} \nonumber P_X(k) = \left{ \begin{array}{l l} 0.5 & \quad \text{for } k=1\ 0.3 & \quad \text{for } k=2\ 0.2 & \quad \text{for } k=3\ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}
- Find .
- Find Var and .
- If , find .
Problem
Let , and let . Find the range and PMF of .
Problem
Let be a discrete random variable with the following PMF \begin{equation} \nonumber P_X(k) = \left{ \begin{array}{l l} \frac{1}{21} & \quad \text{for } k \in {-10,-9, \cdots, -1, 0, 1, \cdots, 9, 10 }\ & \ 0 & \quad \text{otherwise} \end{array} \right. \end{equation} The random variable is defined as \begin{equation} \nonumber Y=g(X)= \left{ \begin{array}{l l} 0 & \quad \text{if } X \leq 0\ X & \quad \text{if } 0 < X \leq 5\ 5 & \quad \text{otherwise} \end{array} \right. \end{equation}
\begin{equation} \nonumber P_X(k) = \left{ \begin{array}{l l} \frac{1}{21} \hspace{20pt} \text{for } k \in {-10,-9, \cdots, -1, 0, 1, \ \hspace{80pt} \cdots, 9, 10 }\ 0 \hspace{30pt} \text{otherwise} \end{array} \right. \end{equation} The random variable is defined as \begin{equation} \nonumber Y=g(X)= \left{ \begin{array}{l l} 0 & \quad \text{if } X \leq 0\ X & \quad \text{if } 0 < X \leq 5\ 5 & \quad \text{otherwise} \end{array} \right. \end{equation} Find the PMF of .
Problem
Let . Find .
Problem
Let . Find .
Problem
Suppose that . If we know and , find and .
Problem
There are $1000$ households in a town. Specifically, there are $100$ households with one member, $200$ households with 2 members, $300$ households with $3$ members, $200$ households with 4 members, $100$ households with 5 members, and $100$ households with $6$ members. Thus, the total number of people living in the town is
- We pick a household at random, and define the random variable as the number of people in the chosen household. Find the PMF and the expected value of .
- We pick a person in the town at random, and define the random variable as the number of people in the household where the chosen person lives. Find the PMF and the expected value of .
Problem (Coupon collector's problem [8])
Suppose that there are N different types of coupons. Each time you get a coupon, it is equally likely to be any of the N possible types. Let X be the number of coupons you will need to get before having observed each coupon at least once.
- Show that you can write , where .
- Find EX.
Problem (St. Petersburg Paradox [9])
Here is a famous problem called the St. Petersburg Paradox. Wikipedia states the problem as follows: "A casino offers a game of chance for a single player in which a fair coin is tossed at each stage. The pot starts at $1$ dollar and is doubled every time a head appears. The first time a tail appears, the game ends and the player wins whatever is in the pot. Thus the player wins 1 dollar if a tail appears on the first toss, 2 dollars if a head appears on the first toss and a tail on the second, $4$ dollars if a head appears on the first two tosses and a tail on the third, 8 dollars if a head appears on the first three tosses and a tail on the fourth, and so on. In short, the player wins $2^{k-1}$ dollars if the coin is tossed times until the first tail appears. What would be a fair price to pay the casino for entering the game?"
- Let be the amount of money (in dollars) that the player wins. Find .
- What is the probability that the player wins more than $65$ dollars?
- Now suppose that the casino only has a finite amount of money. Specifically, suppose that the maximum amount of the money that the casion will pay you is $2^{30}$ dollars (around 1.07 billion dollars). That is, if you win more than $2^{30}$ dollars, the casino is going to pay you only $2^{30}$ dollars. Let be the money that the player wins in this case. Find .
Problem
Let be a random variable with mean . Define the function as
Problem
You are offered to play the following game. You roll a fair die once and observe the result which is shown by the random variable . At this point, you can stop the game and win dollars. You can also choose to roll the die for the second time to observe the value . In this case, you will win dollars. Let be the value that you win in this game. What strategy do you use to maximize ? What is the maximum you can achieve using your strategy?
Problem
The median of a random variable is defined as any number that satisfies both of the following conditions:
- The PMF of is given by \begin{equation} \nonumber P_X(k) = \left{ \begin{array}{l l} 0.4 & \quad \text{for } k=1\ 0.3 & \quad \text{for } k=2\ 0.3 & \quad \text{for } k=3\ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}
- is the result of a rolling of a fair die.
- , where $0 < p <1$.