How Does the Distribution of Heads in Coin Flipping Change with Large N?

chingcx
Messages
21
Reaction score
0

Homework Statement



Flip N fair coins. The distribution for different numbers of heads and tails should be peaked at N/2. When N is very large, the peak will be very high. Let x = N(head)-N/2, required to find an expression for this distribution near the peak, i.e. x<<N.

Homework Equations



Strling Approx
ln(1+x)=x for small x

The Attempt at a Solution



30bjvyr.jpg


clearly incorrect because square of (N/2)! must be smaller than the product of (N/2+x)! and (N/2-x)!, but I can't find where goes wrong.
 
Physics news on Phys.org
1. Going over to the 5th line, you omitted -x \ln{(\frac{N}{2}+x)} and x \ln{(\frac{N}{2}-x)}. These give rise to additional corrections.
-x \ln{(\frac{N}{2}+x)}+x\ln{(\frac{N}{2}-x)}=-x\ln{\left(\frac{1+2x/N}{1-2x/N}\right)}\approx -x\ln{(1+4x/N)}\approx -4x^2 /N

2. In the 7th line, you need to be more careful when expanding to the 2nd order. You should proceed as below.
\ln \left(\frac{N/2}{N/2+x}\right) = \ln \left(\frac{1}{1+2x/N}\right) \approx \ln \left( 1-\frac{2x}{N}+\frac{4x^2}{N^2} \right) \approx -\frac{2x}{N}+\frac{4x^2}{N^2}-\frac{1}{2} {\left(-\frac{2x}{N}+\frac{4x^2}{N^2} \right)}^{2}

\approx -\frac{2x}{N}+\frac{4x^2}{N^2}-\frac{1}{2} \frac{4x^2}{N^2} = -\frac{2x}{N}+\frac{2x^2}{N^2}

and similarly

\ln \left(\frac{N/2}{N/2-x}\right) \approx \frac{2x}{N}+\frac{2x^2}{N^2}


Then, the final answer becomes -2x^2 /N rather than 4x^2 /N.
 
weejee said:
1. Going over to the 5th line, you omitted -x \ln{(\frac{N}{2}+x)} and x \ln{(\frac{N}{2}-x)}. These give rise to additional corrections.
-x \ln{(\frac{N}{2}+x)}+x\ln{(\frac{N}{2}-x)}=-x\ln{\left(\frac{1+2x/N}{1-2x/N}\right)}\approx -x\ln{(1+4x/N)}\approx -4x^2 /N

2. In the 7th line, you need to be more careful when expanding to the 2nd order. You should proceed as below.
\ln \left(\frac{N/2}{N/2+x}\right) = \ln \left(\frac{1}{1+2x/N}\right) \approx \ln \left( 1-\frac{2x}{N}+\frac{4x^2}{N^2} \right) \approx -\frac{2x}{N}+\frac{4x^2}{N^2}-\frac{1}{2} {\left(-\frac{2x}{N}+\frac{4x^2}{N^2} \right)}^{2}

\approx -\frac{2x}{N}+\frac{4x^2}{N^2}-\frac{1}{2} \frac{4x^2}{N^2} = -\frac{2x}{N}+\frac{2x^2}{N^2}

and similarly

\ln \left(\frac{N/2}{N/2-x}\right) \approx \frac{2x}{N}+\frac{2x^2}{N^2}


Then, the final answer becomes -2x^2 /N rather than 4x^2 /N.
Thanks, but it doesn't make sense... when N is very large, the peak should be very narrow, but from the equation, N becomes larger then the exponential decreases much slower.
 
You are right. The width of the peak actually increases, as sqrt(N).
Yet, if you consider (# of heads)/(# of coins), the width decreases as 1/sqrt(N).
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top