A Bernoulli random variable takes two values: 0 and 1, which are both specified by the below pX and functions X∼Bernoulli(p) for p∈(0,1) pX(x)={p if x=11−pif x=0 FX(x)=⎩⎨⎧0 if x<01−pif 0≤x<11 if x≥1 MX(t)= E[X]=p var(X)=p(1−p)