Let X denote the number of heads in the four tosses of the coin.
Then X is a random variable that can take the values 0,1,2,3 or 4
P(X=0) = Probability of getting no head (TTTT)=116
P(X=1) = Probability of getting one head (HTTT,THTT,TTHT,TTTH)=4×116=14
P(X=2) = Probability of getting two heads (HHTT,HTHT,HTTH,THHT,THTH,TTHH)=6×116=38
P(X=3) = Probability of getting three head (HHHT,HHTH,HTHH,THHH)=4×116=14
P(x=4) = Probability of getting four heads (HHHH)=116
the probability distribution of X:-
⇒∑Pixi=2 and
⇒∑Pix2i=5
∵Mean=∑PiXi=2
Variance ∑PiX2i−(∑PiXi)2
=5−(2)2=5−4=1
Mean=2 and Variance=1