I have the following problem I can not solve:
We have two indipendent random Variables given by: $$ X \sim N_{(0,1)} $$ and $$ Y_p \sim B_{(1,p)} $$ Now I want to show, that $Z_p \sim N_{(0,1)}$ $\forall p \in (0,1)$ , with $$ Z_p = (-1)^{Y_p}\cdot X $$ Additionally there is a Hint whoch says, that: $$ \mathbb{P}(A) = \mathbb{P}(A \cap \{ Y_p = 1\}) + \mathbb{P}(A \cap \{ Y_p = 0\}) $$
I know that a transformation is given by: $$ F_Z(z) = \mathbb{P}(Z_p < z) = \mathbb{P}((-1)^{Y_p}\cdot X < z) $$ And this I somehow get my boundarys for the integration. But I cannot figure out how this is done.
I preassume that $X$ and $Y_p$ are independent.
For every Borel measurable $A$: $$\begin{aligned}P\left(Z_{p}\in A\right) & =P\left(Z_{p}\in A\mid Y_{p}=0\right)P\left(Y_{p}=0\right)+P\left(Z_{p}\in A\mid Y_{p}=1\right)P\left(Y_{p}=1\right)\\ & =P\left(X\in A\mid Y_{p}=0\right)\left(1-p\right)+P\left(-X\in A\mid Y_{p}=1\right)p\\ & =P\left(X\in A\right)\left(1-p\right)+P\left(-X\in A\right)p\\ & =P\left(X\in A\right)\left(1-p\right)+P\left(X\in A\right)p\\ & =P\left(X\in A\right) \end{aligned} $$
The third equality rests on independence and the fourth equality rests on the fact that $X$ and $-X$ have the same distribution.