Jump to content
BrainDen.com - Brain Teasers
  • 0

An unfair coin


ujjagrawal
 Share

Question

3 answers to this question

Recommended Posts

  • 0

Let the probability of getting heads in a single flip be p.

The probability of getting 2 heads and 2 tails is (4 choose 2)*p^2*(1-p)^2

= 4!/2!2! * p^2*(1-p)^2

= 6 * p^2*(1-p)^2

The probability of getting 3 heads and 1 tails is (4 choose 3)*p^3*(1-p)

= 4!/3!1! * p^3*(1-p)

= 4 * p^3*(1-p)

Setting these equal gives

6 * p^2*(1-p)^2 = 4 * p^3*(1-p)

6 * (p-p^2)^2 = 4p^3-4p^4

6p^2 - 12p^3 + 6p^4 = 4p^3-4p^4

6p^2 - 16p^3 + 10p^4 = 0

5p^2 - 8p + 3 = 0 (divided by 2p^2 and reordered terms)

Applying the quadratic equation gives

p = (8 +/- sqrt( 64 - 4 * 5 * 3 ) ) / 10

p = (8 +/- sqrt( 64 - 60 ) ) / 10

p = (8 +/- sqrt( 4 ) ) / 10

p = (8 +/- 2 ) / 10

So p (which is the probability of getting a head in any one flip) is either 1 or 6/10.

Since this is a coin we're talking about, I doubt p=1.... so p = 6/10.

Here's a little verification:

If p is 1, the probability of both outcomes (2 head and 2 tails and 3 heads and 1 tails) is 0. Tails simply cannot come up.

If p is 6/10:

2h2t: 6 * p^2*(1-p)^2 = 6 * (.6)^2*(.4)^2 = 6^3 * 4^2 / 10^4 = .3456

3h1t: 4 * p^3*(1-p) = 4 * (.6)^3 * .4 = 6^3 * 4^2 / 10^4 =.3456

Edit: Since I divided by 2p^2 earlier.... it is possible p=0 too (but unlikely since it is a coin). In this case, like in the case of p=1, both the outcomes have probability 0.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...