So, we have:
$$
0.5 + 0.3 + a + 0 = 1
$$
Solving for a, we get:
$$
a = 1 - 0.5 - 0.3 = 0.2
$$
So, the PMF is:
$$
P_X(k) = \begin{cases}
0.5 & \text{for } k = 1 \\
0.3 & \text{for } k = 2 \\
0.2 & \text{for } k = 3 \\
0 & \text{otherwise}
\end{cases}
$$
(b)
Show more…