Question
Question: A fair coin is tossed four times. Let X denote the longest string of heads occurring. Find the proba...
A fair coin is tossed four times. Let X denote the longest string of heads occurring. Find the probability distribution, mean and variance of X
Solution
Hint : In this question, we need to determine the probability distribution, mean and variance of X where X denotes the longest string of heads occurring when a coin is tossed four times. For this, we will evaluate the total number of possible outcomes and total number of outcomes on tossing four fair coins.
Complete step-by-step answer :
The possible outcome when four coins are tossed together:
(HHHH, HHHT, HHTH, HHTT, HTHH, HTHT, HTTH, HTTT, THHH, THHT, THTH, THTT, TTHH, TTHT, TTTH, TTTT)
So the total number of outcome=16
Now for the longest string of heads, X can be 0, 1, 2, 3 and 4.
Now,
When X=0, no head
P(X=0)=161
When X=1, one head
P(X=1)=167
When X=2, two head
P(X=2)=165
When X=3, three head
P(X=3)=162
When X=4, three head
P(X=4)=161
Hence we can write the probability distribution as
x | P(x) |
---|---|
0 | 161 |
1 | 167 |
2 | 165 |
3 | 162 |
4 | 161 |
Now to compute the mean and variance, we can write the obtained data as
xi | pi | pixi | pixi2 |
---|---|---|---|
0 | 161 | 0 | 0 |
1 | 167 | 167 | 167 |
2 | 165 | 1610 | 1620 |
3 | 162 | 166 | 1618 |
4 | 161 | 164 | 1 |
∑pixi=1627 | ∑pixi2=1661 |
We know mean of given data can be found by using the formula∑pixi, hence from the obtained table we can write
⇒ Mean ∑pixi=1627=1.7
Hence the mean of X=1.7
Now also we know the variance of certain observation is given by the formula
⇒Varience=∑pixi2−(Mean)2
Hence by substituting the values from the above table, we can write
Variance of X=0.9
Note : Probability distribution is the tabulated form of the probabilities of the different outcomes of an event. Mean is the average of the outcomes in the probability distribution while variance is the difference of the particular outcome from the mean of the probability distribution.