Identity for the probability of a coin having an even number of heads

Click For Summary

Homework Help Overview

The discussion revolves around proving a probability identity related to the outcomes of independent coin tosses. Specifically, participants are tasked with demonstrating that the probability of obtaining an even number of heads in n tosses, with a probability p of heads, can be expressed as 0.5(1+(q-p)^n), where q is the complement of p.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss expanding the left-hand side of the identity using binomial coefficients and powers of p and q. Some express confusion over the factorials and coefficients involved in the expansion. Others question how to derive the right-hand side from their attempts.

Discussion Status

There is an ongoing exploration of the identity, with some participants offering hints and guidance while others express difficulties in connecting their findings to the original identity. Multiple interpretations of the problem are being considered, and productive dialogue is occurring without a clear consensus yet.

Contextual Notes

Some participants mention constraints related to the problem setup and the need for clarity on the coefficients for even and odd powers in their expansions. There is also a reference to the use of Newton's binomial expansion as a potential approach to proving the identity.

koab1mjr
Messages
105
Reaction score
0

Homework Statement


Given that n independent tosses having probability of p of coming up heads are made, show that an even number of heads results is 0.5(1+(q-p)^n) where q is 1-p, by proving the identity
Sigma from i=0 to n/2 of (n choose 2i) (p^2i)(q^(n-2i))=0.5(((p+q)^n)+(q-p)^n)


Homework Equations





The Attempt at a Solution


I expanded it, (n choose 0)p^0 q^n + (n choose 2)p^2 q^(n-2)+...letting i=n/2 we get (n choose n)p^n q (n-n) ends up being just p^n.
 
Physics news on Phys.org
Hi koab1mjr! :smile:

(have a sigma: ∑ and try using the X2 and X2 tags just above the Reply box :wink:)
koab1mjr said:

Homework Statement


Given that n independent tosses having probability of p of coming up heads are made, show that an even number of heads results is 0.5(1+(q-p)^n) where q is 1-p, by proving the identity
Sigma from i=0 to n/2 of (n choose 2i) (p^2i)(q^(n-2i))=0.5(((p+q)^n)+(q-p)^n)

Hint: start at the end …

what is the coefficient of pjqn-j of 0.5(((p+q)n)+(q-p)n) for j even? and for j odd? :wink:
 
thanks, but...
I tried it, but i am still not getting it, because starting from the end for even, i got p^2q^(n-2), p^4q^(n-4) and so on, plus i cannot get the factorials to work out...
 
(just got up :zzz: …)
koab1mjr said:
…for even, i got p^2q^(n-2), p^4q^(n-4) and so on …

(please use the X2 tag just above the Reply box)

p2qn-2 time what? p4qn-4 times what? … p2jqn-2j times what?
 
Couldn't resist: The probability of a coin having an even number of heads should be zero.:smile:
 
timing each one by (n choose 2), (n choose 4), and so on until i hits n/2, and at that point all becomes just p^n
?
 
Hi koab1mjr! :smile
koab1mjr said:
timing each one by (n choose 2), (n choose 4), and so on until i hits n/2, and at that point all becomes just p^n
?

(you can write that nC2 etc :wink:)

Yup! :smile:

And that's exactly the left-hand-side of the original identity, isn't it? :wink:
 
yeah, when you plug in i=n/2 on the he left side you get p^n, but when you expand the right side and at the end you do the exact same thing, but the problem is that the identity of (1/2)[(p+q)^n + (q-p)^n) doesn't show up at all??
 
koab1mjr said:
Given that n independent tosses having probability of p of coming up heads are made, show that an even number of heads results is 0.5(1+(q-p)^n) where q is 1-p, by proving the identity
Sigma from i=0 to n/2 of (n choose 2i) (p^2i)(q^(n-2i))=0.5(((p+q)^n)+(q-p)^n)

koab1mjr said:
… the problem is that the identity of (1/2)[(p+q)^n + (q-p)^n) doesn't show up at all??

Sorry, I'm not following you at all. :redface:
 
  • #10
Hi Tiny Tim

I finally got it. I applied Newton's bionomial expansion to prove the identity. Thank you so much for your help. IT help get me thinking in the right direction. You are the best.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 24 ·
Replies
24
Views
4K
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
1K
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K