Find PMF of max(X,Y) and (X|Y=1)

conditional probabilitydiscrete mathematicsprobability distributions

The joint PMF of X and Y is:

enter image description here

I found the marginal PMF's:
$$P_X(x)=\begin{cases} 0.6 & , x = 0\\ 0.4 & , x =1 & \\0 &, \text{otherwise}
\end{cases}$$

$$P_Y(y)=\begin{cases} 0.3 & , y = -1\\ 0.2 & , y =0 & \\ 0.5 &, y = 1\\0 &, \text{otherwise}
\end{cases}$$

And now I want to find the PMF's of max(X,Y) and (X|Y=1). Do you have any ideas? Thanks!

Best Answer

(1). The outcomes of the random variable $Z=\max(X,Y)$ look like this $$\begin{matrix} \max(0,-1)=0 & \max(0,0)=0 & \max(0,1)=1 \\ \max(1,-1)=1 & \max(1,0)=1 & \max(1,1)=1 \\ \end{matrix}$$ So we have only two outcomes, $0$ and $1$. $$P(\max(X,Y)=0)=P(X=0,Y=-1)+P(X=0,Y=0)=0.2$$ $$P(\max(X,Y)=1)=P(X=0,Y=1)+P(X=1,Y=-1)+P(X=1,Y=0)+P(X=1,Y=1)=0.8$$ (2). The conditional probability is found by computing $$P(X=x|Y=1)=\frac{P(X=x,Y=1)}{P(Y=1)}$$ So $$P(X=0|Y=1)=\frac{P(X=0,Y=1)}{P(Y=1)}=\frac{0.4}{0.5}$$ $$P(X=1|Y=1)=\frac{P(X=1,Y=1)}{P(Y=1)}=\frac{0.1}{0.5}$$