Solveeit Logo

Question

Question: How can I calculate the mean and variance of the event \(Y\) ? Given that a box contains balls num...

How can I calculate the mean and variance of the event YY ?
Given that a box contains balls numbered from 1-10. We will pick a ball randomly from the box when the toss of a regular coin results in a head. Let YY denote the total of all the tossing’s in the given experiment. What is the mean and variance of YY ?

Explanation

Solution

Here in this question we have been asked to calculate the mean and variance of YY . From the basic concepts we know that the mean is the average value in a collection of numbers and variance is defined as the average of the squares of the differences between the individual (observed) and the expected value.

Complete step-by-step solution:
Now considering from the question we have been asked to calculate the mean and variance of YY . When it is given that a box contains ball numbered from 1-10. We will pick a ball randomly from the box when the toss of a regular coin results in head. Let YY denote the total of all the tossing’s in the given experiment.
From the basic concepts we know that the mean is the average value in a collection of numbers and variance is defined as the average of the squares of the differences between the individual (observed) and the expected value.
As it is given that YY is the number of tosses for a person until he gets a head. Then we can say that probability of event YY when the number of tosses nn then we will have P(Y=n)=(12)nP\left( Y=n \right)={{\left( \dfrac{1}{2} \right)}^{n}} as a coin has a head and a tail and both has equal probability.
The probability of the event YY will be given as
E(Y)=12.1+14.2+18.3........ E(Y)=n=1n.(12)n \begin{aligned} & E\left( Y \right)=\dfrac{1}{2}.1+\dfrac{1}{4}.2+\dfrac{1}{8}.3........ \\\ & \Rightarrow E\left( Y \right)=\sum\limits_{n=1}^{\infty }{n.{{\left( \dfrac{1}{2} \right)}^{n}}} \\\ \end{aligned} .
We can consider this as an Arithmetic-geometric progression. We know that the formula will be given as S=a1r+dr(1r)2{{S}_{\infty }}=\dfrac{a}{1-r}+\dfrac{dr}{{{\left( 1-r \right)}^{2}}}. By using this formula in this case we will have E(Y)=1112+1(12)(1(12))2 E(Y)=4 \begin{aligned} & \Rightarrow E\left( Y \right)=\dfrac{1}{1-\dfrac{1}{2}}+\dfrac{1\left( \dfrac{1}{2} \right)}{{{\left( 1-\left( \dfrac{1}{2} \right) \right)}^{2}}} \\\ & \Rightarrow E\left( Y \right)=4 \\\ \end{aligned} .
Hence we can conclude that the mean of the event YY is 4.
Now we need to calculate the variance of the event YY . For doing that we will use the concept given as V(Y)=E(Y)2E(Y2)V\left( Y \right)=E{{\left( Y \right)}^{2}}-E\left( {{Y}^{2}} \right) .
We can say that
E(Y2)=12.12+14.22+18.32........ E(Y2)=n=1n2.(12)n E(Y2)=(12)2n=1n.(n1).(12)n2+(12)n=1n.(12)n1 \begin{aligned} & E\left( {{Y}^{2}} \right)=\dfrac{1}{2}{{.1}^{2}}+\dfrac{1}{4}{{.2}^{2}}+\dfrac{1}{8}{{.3}^{2}}........ \\\ & \Rightarrow E\left( {{Y}^{2}} \right)=\sum\limits_{n=1}^{\infty }{{{n}^{2}}.{{\left( \dfrac{1}{2} \right)}^{n}}} \\\ & \Rightarrow E\left( {{Y}^{2}} \right)={{\left( \dfrac{1}{2} \right)}^{2}}\sum\limits_{n=1}^{\infty }{n.\left( n-1 \right).{{\left( \dfrac{1}{2} \right)}^{n-2}}}+\left( \dfrac{1}{2} \right)\sum\limits_{n=1}^{\infty }{n.{{\left( \dfrac{1}{2} \right)}^{n-1}}} \\\ \end{aligned}

Let us assume p=12p=\dfrac{1}{2} then we will have
E(Y2)=p2n=1n.(n1).pn2+pn=1n.pn1 p2[d2dp2(11p)]+p[ddp(11p)] p2(2p2(1p)3)+p(p(1p)2) 2p4+p2(1p)(1p)3 \begin{aligned} & \Rightarrow E\left( {{Y}^{2}} \right)={{p}^{2}}\sum\limits_{n=1}^{\infty }{n.\left( n-1 \right).{{p}^{n-2}}}+p\sum\limits_{n=1}^{\infty }{n.{{p}^{n-1}}} \\\ & \Rightarrow {{p}^{2}}\left[ \dfrac{{{d}^{2}}}{d{{p}^{2}}}\left( \dfrac{1}{1-p} \right) \right]+p\left[ \dfrac{d}{dp}\left( \dfrac{1}{1-p} \right) \right] \\\ & \Rightarrow {{p}^{2}}\left( \dfrac{2{{p}^{2}}}{{{\left( 1-p \right)}^{3}}} \right)+p\left( \dfrac{p}{{{\left( 1-p \right)}^{2}}} \right) \\\ & \Rightarrow \dfrac{2{{p}^{4}}+{{p}^{2}}\left( 1-p \right)}{{{\left( 1-p \right)}^{3}}} \\\ \end{aligned}
By substituting P=12P=\dfrac{1}{2} we will have E(Y2)=2E\left( {{Y}^{2}} \right)=2 .
Hence we can say that variance will be given as
V(Y)=E(Y)2E(Y2) V(Y)=(4)22 V(Y)=162 V(Y)=14 \begin{aligned} & V\left( Y \right)=E{{\left( Y \right)}^{2}}-E\left( {{Y}^{2}} \right) \\\ & \Rightarrow V\left( Y \right)={{\left( 4 \right)}^{2}}-2 \\\ & \Rightarrow V\left( Y \right)=16-2 \\\ & \Rightarrow V\left( Y \right)=14 \\\ \end{aligned}
Hence we can conclude that the mean and variance of YY are 4 and 14 respectively.

Note: While answering questions of this type, we should be sure with our concepts that we are going to apply in between the steps during the process of answering. In questions of this type we should clearly understand the given question any misunderstanding can lead us to end up having a wrong conclusion.