What is the Probability of Getting an Even Number of Heads with an Unfair Coin?

  • MHB
  • Thread starter veronica1999
  • Start date
In summary: We can check that this formula works for the question asked.$\displaystyle n=25$$\displaystyle p=\frac{2}{3}$$\displaystyle P(X)=\frac{1}{2}\left(1+\frac{1}{3^{50}} \right)$$\displaystyle P(X)=\frac{358948993845926294385125}{717897987691852588770249}$This is the same as we got before.In summary, the probability that the total number of heads is even when flipping a coin with a 2/3 probability of turning up heads 50 times is approximately 0.5. This can be calculated using the binomial probability formula and the complementation
  • #1
veronica1999
61
0
An "unfair" coin has a 2/3 probability of turning up heads. If this coin is tossed 50 times, what is the probability that the total number of heads is even?

I set up an equation but I am having trouble with the calculation.

50C0 X (2/3)^0 X (1/3)^50 + 50C2 X (2/3)^2 X (1/3)^48 +... 50C50 (2/3)^50X(1/3)^0

I tried splitting it up thinking of the sigma notation.

(2/3)^0 + (2/3)^2 .....+ (2/3)^50 = { 1- (4/9)^25} / (1- 4/9) (1/3)^0 ..... + (1/3)^50 = { 1- (1/9)^25}/ (1-1/9)

It doesn't seem to work...:confused:
 
Mathematics news on Phys.org
  • #2
Re: coins

As you have realized, we need the binomial probability formula:

$\displaystyle P(x)={n \choose x}p^x(1-p)^{n-x}$

Identifying:

$\displaystyle n=50$

$\displaystyle p=\frac{2}{3}$

we then need to compute:

$\displaystyle P(X)=\sum_{k=0}^{25}P(2k)=\sum_{k=0}^{25}\left[{50 \choose 2k}\left(\frac{2}{3} \right)^{2k}\left(\frac{1}{3} \right)^{50-2k} \right]$

Relying on technology, we find:

$\displaystyle P(X)=\frac{358948993845926294385125}{717897987691852588770249}\approx0.5$

Can you think of a way to obtain the approximation from the binomial theorem and the complementation rule?
 
  • #3
Re: coins

MarkFL said:
As you have realized, we need the binomial probability formula:

$\displaystyle P(x)={n \choose x}p^x(1-p)^{n-x}$

Identifying:

$\displaystyle n=50$

$\displaystyle p=\frac{2}{3}$

we then need to compute:

$\displaystyle P(X)=\sum_{k=0}^{25}P(2k)=\sum_{k=0}^{25}\left[{50 \choose 2k}\left(\frac{2}{3} \right)^{2k}\left(\frac{1}{3} \right)^{50-2k} \right]$

Relying on technology, we find:

$\displaystyle P(X)=\frac{358948993845926294385125}{717897987691852588770249}\approx0.5$

Can you think of a way to obtain the approximation from the binomial theorem and the complementation rule?

There is i/2 and 1/2( 1+ 1/3^50) in the answer choices. Which one would be the answer?
i am trying to work backwards from the answer.

oops, i see the second one is the answer :eek:
 
Last edited:
  • #4
Re: coins

I see we aren't meant to either use technology, or use an approximation.

Intuition tells us that since there are 26 favorable outcomes and 25 unfavorable that the probability will be slightly greater than 1/2. But how much greater?

Perhaps if we rewrite the sum:

$\displaystyle P(X)=\frac{1}{3^{50}}\sum_{k=0}^{25}\left[{50 \choose 2k}2^{2k} \right]$

Now, let's let Y be the event of getting an odd number of heads, and write:

$\displaystyle P(X)-P(Y)=\delta$

$\displaystyle \frac{1}{3^{50}}\sum_{k=0}^{25}\left[{50 \choose 2k}2^{2k} \right]-\frac{1}{3^{50}}\sum_{k=0}^{24}\left[{50 \choose 2k+1}2^{2k+1} \right]=\delta$

$\displaystyle 3^{50}\delta=\sum_{k=0}^{50}\left[{50 \choose k}2^{k}(-1)^{50-k}\right]$

By the binomial theorem, we have:

$\displaystyle 3^{50}\delta=(2-1)^{50}=1$

and so:

$\displaystyle \delta=\frac{1}{3^{50}}$

Hence:

$\displaystyle P(X)-P(Y)=\frac{1}{3^{50}}$

$\displaystyle P(X)+P(Y)=1$

Adding, we find:

$\displaystyle 2P(X)=1+\frac{1}{3^{50}}$

and so finally, we have:

$\displaystyle P(X)=\frac{1}{2}\left(1+\frac{1}{3^{50}} \right)$
 
  • #5
Re: coins

MarkFL said:
I see we aren't meant to either use technology, or use an approximation.

Intuition tells us that since there are 26 favorable outcomes and 25 unfavorable that the probability will be slightly greater than 1/2. But how much greater?

Perhaps if we rewrite the sum:

$\displaystyle P(X)=\frac{1}{3^{50}}\sum_{k=0}^{25}\left[{50 \choose 2k}2^{2k} \right]$

Now, let's let Y be the event of getting an odd number of heads, and write:

$\displaystyle P(X)-P(Y)=\delta$

$\displaystyle \frac{1}{3^{50}}\sum_{k=0}^{25}\left[{50 \choose 2k}2^{2k} \right]-\frac{1}{3^{50}}\sum_{k=0}^{24}\left[{50 \choose 2k+1}2^{2k+1} \right]=\delta$

$\displaystyle 3^{50}\delta=\sum_{k=0}^{50}\left[{50 \choose k}2^{k}(-1)^{50-k}\right]$

By the binomial theorem, we have:

$\displaystyle 3^{50}\delta=(2-1)^{50}=1$

and so:

$\displaystyle \delta=\frac{1}{3^{50}}$

Hence:

$\displaystyle P(X)-P(Y)=\frac{1}{3^{50}}$

$\displaystyle P(X)+P(Y)=1$

Adding, we find:

$\displaystyle 2P(X)=1+\frac{1}{3^{50}}$

and so finally, we have:

$\displaystyle P(X)=\frac{1}{2}\left(1+\frac{1}{3^{50}} \right)$
Thanks!
Now it is absolutely clear.:D
 
  • #6
I found this problem quite interesting and thought about it while I was out and so wanted to generalize a bit and cut out some of the unnecessary hand-waving...

Let's say the probability of getting a heads is $\displaystyle p$ and we flip the coin $\displaystyle 2n$ times where $\displaystyle n\in\mathbb{N}$. What is the probability that the total number of heads is even?

Let $\displaystyle P(X)$ be the probability that the total number of heads is even and $\displaystyle P(Y)$ be the probability that the total number of heads is odd.

$\displaystyle P(X)+P(Y)=1$

$\displaystyle P(X)-P(Y)=\sum_{k=0}^{2n}\left[{2n \choose k}p^{2n-k}(p-1)^k \right]=(2p-1)^{2n}$

Adding, we find:

$\displaystyle 2P(X)=1+(2p-1)^{2n}$

$\displaystyle P(X)=\frac{1}{2}\left(1+(2p-1)^{2n} \right)$
 
Last edited:

FAQ: What is the Probability of Getting an Even Number of Heads with an Unfair Coin?

How do you define an unfair coin?

An unfair coin is one that does not have an equal chance of landing on either heads or tails when flipped. This could be due to manufacturing defects, imbalances in weight distribution, or other external factors.

How can you determine if a coin is unfair?

The most common method is to conduct a large number of coin flips and record the results. If the number of heads and tails are significantly different, it is likely that the coin is unfair. Another method is to perform statistical tests, such as the Chi-squared test, to analyze the data and determine the fairness of the coin.

Can an unfair coin ever produce fair results?

Yes, it is possible for an unfair coin to produce a fair result. This could happen by chance or if the coin is flipped in a way that eliminates the effect of its unfairness, such as flipping it very high in the air.

How can you use an unfair coin in an experiment or study?

If an unfair coin is used in an experiment, the researcher must acknowledge its potential bias and take measures to mitigate its effects. This could include increasing the sample size, conducting multiple trials, or using statistical methods to account for the coin's unfairness.

Is it ethical to use an unfair coin in research?

It ultimately depends on the purpose of the research and the potential impact of using an unfair coin. If the results are not used to make important decisions or if the unfairness of the coin is acknowledged and addressed, it may be considered ethical. However, if the results could have significant consequences, it may be unethical to use an unfair coin.

Similar threads

Replies
24
Views
2K
Replies
13
Views
2K
Replies
5
Views
2K
Replies
8
Views
1K
Replies
4
Views
1K
Replies
2
Views
2K
Back
Top