A fair coin is tossed N times and the random variable X records the number of heads. The mean deviation, δ, of X is defined by
δ=E(∣X−μ∣) where μ is the mean of X.
Let N=2n where n is a positive integer.
- Show that P(X⩽n−1)=21(1−P(X=n)).
Show that
δ=r=0∑n−1(n−r)(r2n)22n−11. Show that for r>0,
r(r2n)=2n(r−12n−1). Hence show that
δ=22nn(n2n).
- Find a similar expression for δ in the case N=2n+1.