MHB Expected values: three fair coins

  • Thread starter Thread starter oyth94
  • Start date Start date
AI Thread Summary
The discussion focuses on calculating the expected value E(X) when flipping three fair coins, where X is defined as the cube of the number of heads. The initial approach incorrectly assumed probabilities for heads, but it was clarified that X should take values of 1, 8, and 27 for 1, 2, and 3 heads, respectively. The correct probabilities for getting k heads in three flips are derived using binomial coefficients, resulting in P(k=0) = 1/8, P(k=1) = 3/8, P(k=2) = 3/8, and P(k=3) = 1/8. The final expected value can be computed by summing the products of these probabilities and their corresponding X values.
oyth94
Messages
32
Reaction score
0
Suppose you roll three fair coins, and let X be the cube of the number of heads
showing. Compute E(X)

I started this question with X=xi where i = 1,2,3 since there are 3 fair coins and there are either 1 2 or 3 heads that will show up. then it says that X will be the cube of the number of heads so I put
P(getting heads) = (1/2)^(i^3)
So E(X) = $$xiP(X=xi)$$ = $$i(1/2)^(i^3)$$ summation from i=1 to 3..
am i on the right track??
 
Mathematics news on Phys.org
Re: expected values: three fair coins

oyth94 said:
Suppose you roll three fair coins, and let X be the cube of the number of heads
showing. Compute E(X)

I started this question with X=xi where i = 1,2,3 since there are 3 fair coins and there are either 1 2 or 3 heads that will show up. then it says that X will be the cube of the number of heads so I put
P(getting heads) = (1/2)^(i^3)
So E(X) = $$xiP(X=xi)$$ = $$i(1/2)^(i^3)$$ summation from i=1 to 3..
am i on the right track??

Not quite (and you mean flip 3 fair coins...not roll... XD); since $X$ represents the cube of the number of heads, you instead want $x_1=1^3=1$, $x_2=2^3=8$ and $x_3=3^3=27$. Then $\mathbb{P}(X=x_i)$ would represent the probability of getting 1, 2, or 3 heads; in this case, we would have $\mathbb{P}(X=x_i)=\dfrac{1}{2^i}$, $i=1,2,3$. Thus,
\[E[X]=\sum_{i=1}^3 x_i\mathbb{P}(X=x_i)=\ldots\]

I hope this makes sense!
 
Re: expected values: three fair coins

Chris L T521 said:
Not quite (and you mean flip 3 fair coins...not roll... XD); since $X$ represents the cube of the number of heads, you instead want $x_1=1^3=1$, $x_2=2^3=8$ and $x_3=3^3=27$. Then $\mathbb{P}(X=x_i)$ would represent the probability of getting 1, 2, or 3 heads; in this case, we would have $\mathbb{P}(X=x_i)=\dfrac{1}{2^i}$, $i=1,2,3$. Thus,
\[E[X]=\sum_{i=1}^3 x_i\mathbb{P}(X=x_i)=\ldots\]

I hope this makes sense!

Oh I see what you did! Thank you so much!
 
Re: expected values: three fair coins

Chris L T521 said:
$\mathbb{P}(X=x_i)=\dfrac{1}{2^i}$, $i=1,2,3$. Thus,
\[E[X]=\sum_{i=1}^3 x_i\mathbb{P}(X=x_i)=\ldots\]
i have a doubt(probably elementary),
you have assumed probability of getting one head is $$\frac{1}{2}$$.But i think it is the probability to get at least one head ,doesn't that include cases of $$2$$ or $$3$$ heads and why isn't the probability $$\frac{1}{2^3}$$ for all cases
(i mean why aren't we taking exact probability here)
 
Re: expected values: three fair coins

mathworker said:
i have a doubt(probably elementary),
you have assumed probability of getting one head is $$\frac{1}{2}$$.But i think it is the probability to get at least one head ,doesn't that include cases of $$2$$ or $$3$$ heads and why isn't the probability $$\frac{1}{2^3}$$ for all cases
(i mean why aren't we taking exact probability here)

The probability to have k heads in 3 trials is $\displaystyle \frac{\binom{3}{k}}{8}$, so that...

$P\{k=0\} = \frac{1}{8}$

$P\{k=1\} = \frac{3}{8}$

$P\{k=2\} = \frac{3}{8}$

$P\{k=3\} = \frac{1}{8}$

Kind regards

$\chi$ $\sigma$
 
got it,changing the positions we could get 3 possibilities of eight , thank you
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top