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).
 
##|\Psi|^2=\frac{1}{\sqrt{\pi b^2}}\exp(\frac{-(x-x_0)^2}{b^2}).## ##\braket{x}=\frac{1}{\sqrt{\pi b^2}}\int_{-\infty}^{\infty}dx\,x\exp(-\frac{(x-x_0)^2}{b^2}).## ##y=x-x_0 \quad x=y+x_0 \quad dy=dx.## The boundaries remain infinite, I believe. ##\frac{1}{\sqrt{\pi b^2}}\int_{-\infty}^{\infty}dy(y+x_0)\exp(\frac{-y^2}{b^2}).## ##\frac{2}{\sqrt{\pi b^2}}\int_0^{\infty}dy\,y\exp(\frac{-y^2}{b^2})+\frac{2x_0}{\sqrt{\pi b^2}}\int_0^{\infty}dy\,\exp(-\frac{y^2}{b^2}).## I then resolved the two...
Hello everyone, I’m considering a point charge q that oscillates harmonically about the origin along the z-axis, e.g. $$z_{q}(t)= A\sin(wt)$$ In a strongly simplified / quasi-instantaneous approximation I ignore retardation and take the electric field at the position ##r=(x,y,z)## simply to be the “Coulomb field at the charge’s instantaneous position”: $$E(r,t)=\frac{q}{4\pi\varepsilon_{0}}\frac{r-r_{q}(t)}{||r-r_{q}(t)||^{3}}$$ with $$r_{q}(t)=(0,0,z_{q}(t))$$ (I’m aware this isn’t...
Hi, I had an exam and I completely messed up a problem. Especially one part which was necessary for the rest of the problem. Basically, I have a wormhole metric: $$(ds)^2 = -(dt)^2 + (dr)^2 + (r^2 + b^2)( (d\theta)^2 + sin^2 \theta (d\phi)^2 )$$ Where ##b=1## with an orbit only in the equatorial plane. We also know from the question that the orbit must satisfy this relationship: $$\varepsilon = \frac{1}{2} (\frac{dr}{d\tau})^2 + V_{eff}(r)$$ Ultimately, I was tasked to find the initial...
Back
Top