RankRizz
JEE MAIN 2020 · 07 JAN S1+4 / −1MEDIUMTRANSCRIBED

JEE Main 2020 Mathematics question — Random variables, mean and variance

An unbiased coin is tossed 5 times. Suppose that a variable X is assigned the value k when k consecutive heads are obtained for k=3,4,5k = 3, 4, 5, otherwise X takes the value −1-1. Then the expected value of X, is

SOLUTION

We begin by recalling the fundamental fact that tossing an unbiased coin five times produces 25=322^{5}=32 equally likely sequences.

The random variable XX takes only four possible values:

X=5X=5 if the sequence contains five consecutive heads,

X=4X=4 if it contains four but not five consecutive heads,

X=3X=3 if it contains exactly three consecutive heads and never four or five in a row,

X=−1X=-1 in every other case.

We now find the probability of each of these four mutually exclusive events.

1. Probability that X=5X=5

Five consecutive heads can occur in only one way, namely the single sequence HHHHH\text{HHHHH}. Thus

P(X=5)=132.P(X=5)=\frac{1}{32}.

2. Probability that X=4X=4

We need four heads in a row but not five. The block of four heads can start either at the first toss or at the second toss.

• If it starts at toss 1 we have HHHHT.\text{HHHHT}.

    • If it starts at toss 2 we have THHHH.\text{THHHH}.

There are exactly two such sequences and none of them equals the string of five heads already counted, so

P(X=4)=232=116.P(X=4)=\frac{2}{32}=\frac{1}{16}.

3. Probability that X=3X=3

We require a block of exactly three consecutive heads while forbidding any block of four or five. Let the block HHH start at position k.

    (i) k = 1  ⇒\Rightarrow  pattern HHHx4x5.\text{HHH}x_{4}x_{5}.
To avoid four heads, x4=T.x_{4}=\text{T}. The fifth toss can be either H or T, giving the two strings HHHTH,  HHHTT.\text{HHHTH},\; \text{HHHTT}.

    (ii) k = 2  ⇒\Rightarrow  pattern x1HHHx5.x_{1}\text{HHH}x_{5}.
Here x1=Tx_{1}=\text{T} (otherwise we would have four heads) and x5=Tx_{5}=\text{T} for the same reason, yielding the single string THHHT.\text{THHHT}.

    (iii) k = 3  ⇒\Rightarrow  pattern x1x2HHH.x_{1}x_{2}\text{HHH}.
To avoid a block of four heads, x2=T.x_{2}=\text{T}. The first toss x1x_{1} can be H or T, giving HTHHH,  TTHHH.\text{HTHHH},\; \text{TTHHH}.

Counting them all, we have

55 sequences: \;HHHTH, HHHTT, THHHT, HTHHH\text{HHHTH},\, \text{HHHTT},\, \text{THHHT},\, \text{HTHHH},,TTHHH.\text{TTHHH}.$

Thus

P(X=3)=532.P(X=3)=\frac{5}{32}.

4. Probability that X=−1X=-1

This is simply the complement of the three cases already counted:

P(X=−1)=1−[132+232+532]=1−832=2432=34.P(X=-1)=1-\Bigl[\frac{1}{32}+\frac{2}{32}+\frac{5}{32}\Bigr] =1-\frac{8}{32} =\frac{24}{32} =\frac{3}{4}.$

5. Expected value of XX

By definition, the expectation of a discrete random variable is E[X]=∑xi P(X=xi).E[X]=\sum x_{i}\,P(X=x_{i}). Substituting our four values we get

E[X]=5 ⁣(132)+4 ⁣(232)+3 ⁣(532)+(−1) ⁣(2432)=532+832+1532−2432=28−2432=432=18.\begin{aligned} E[X] &= 5\!\left(\frac{1}{32}\right) +4\!\left(\frac{2}{32}\right) +3\!\left(\frac{5}{32}\right) +(-1)\!\left(\frac{24}{32}\right) \\[6pt] &= \frac{5}{32}+\frac{8}{32}+\frac{15}{32}-\frac{24}{32} \\[6pt] &= \frac{28-24}{32} \\[6pt] &= \frac{4}{32} \\[6pt] &= \frac{1}{8}. \end{aligned}$

Hence, the correct answer is Option B.

Tagged Random variables, mean and variance. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicRandom variables, mean and variance
TypeMultiple choice