Given exponential a random distribution X with PDF $f_X(x)=\lambda e^{-\lambda x}$ and a random variable Z with the PMF $p_Z[z]=0.5, z= \pm1$, I am trying to find the PDF of $Y=ZX$ (I also know that Z and X are independent).
The fact that Z is discrete is throwing me off a bit. My guess is that $$f_{Y}(y)=f_x(y)P[Z=1]+f_x(y)P[Z=-1]=\lambda e^{-\lambda y}$$
or is it just: $f_{Y}(y)=f_X(y)p_Z[y]$?
Thanks!