Let \(X\) and \(Y\) be two independent identically distributed Bernoulli random variables with
\[
P(X=1)=\frac12,
\qquad
P(X=0)=\frac12.
\]
If \(Z=XY\), then distribution of \(Z\) is:
Show Hint
For Bernoulli variables, the product equals 1 only when both variables are equal to 1.
Step 1: Determine when \(Z=1\).
Since
\[
Z=XY,
\]
\(Z=1\) only when
\[
X=1
\quad\text{and}\quad
Y=1.
\]
Because \(X\) and \(Y\) are independent,
\[
P(Z=1)
=
P(X=1)P(Y=1)
=
\frac12\times\frac12
=
\frac14.
\]