The random variable has cumulative distribution function (cdf) given by
where denotes the unit step function. The cdf is sketched below.

1. The random variable would be classified as:
- discrete,
- continuous,
- mixed-type
Answer: The cdf has jump discontinuities, so is not continuous. The cdf is not piece-wise flat, so is not discrete. Therefore is a mixed-type random variable.
2. Find .
Answer: .
Remark: Recall that the notation denotes , i.e., the limit of as approaches from below. We need this limit because is included in the event . If, instead, we were interested in , this would simply be , which excludes .
3. Find .
Answer: .
4. Find .
Answer: .
Remark: this is the height of the jump-discontinuity in at .
5. Find .
Answer: .
Remark: this is the height of the jump-discontinuity in at . However, is continuous at , i.e., there is no jump discontinuity, so the height of the jump-discontinuity is zero.
6. Find .
Answer: Let us first find the probability of the complementary event. We have . Now is the height of the jump-discontinuity in at . Only for is this height nonzero. Thus . Finally, .
7. A discrete random variable has range (the nonnegative even integers). The probability mass function for is given as for , where is a constant. Determine the value of .
Answer: The probabilities must sum to one. Even integers take the form where is an integer. Thus we require . We find that .
8. An urn contains two $5 bills, two $10 bills, and one $20 bill. Let the random variable denote the total amount that results when two bills are drawn one at a time at random from the urn, without replacement. The range of is the set . Determine the probability mass function for .
Hint: let denote the value of the first bill drawn, and let denote the value of the second bill drawn. There are then eight possible pairs comprising the set
.
Start by determining the probability of each these elementary outcomes, and then use these values to determine the probability mass function for .
Answer: We are sampling without replacement, so and are not independent. We have
We can verify that these probabilities do indeed sum to one. Finally, we can compute the probability mass function for by considering which ordered pairs sum to a particular value. We get
Again, as a check, we can verify that these probabilities do indeed sum to one.