[Math] Finding the probability mass function given the cumulative distribution function

probabilityprobability distributions

Suppose that the cumulative distribution function of a random variable X is given by

$
F(a) =
\begin{cases}
0,& a < 0 \\
1/5, & 0 \leq a < 2 \\
2/5, & 2 \leq a < 4 \\
1, & a \geq 4
\end{cases}
$

Find the probability mass function of X?

My reasoning is as follows:
The cdf is discontinuous at the points 0, 2, and 4. Between these $F'(a)$ is defined and $=0$, hence the pmf needs definition only at these points. But how do we get the probabilities at a = 0, 2, 4?

Best Answer

HINT:

$$F'(4)=F(a>4)-F(2\le a<4)$$ $$F'(2)=F(2\le a<4)-F(0\le a<2)$$ $$F'(0)=F(0\le a<2)-F(a<0)$$

Related Question