Maximizing b(n,k) in Bernoulli Trials Homework

  • Thread starter Thread starter jgens
  • Start date Start date
  • Tags Tags
    Bernoulli
jgens
Gold Member
Messages
1,575
Reaction score
50

Homework Statement



Suppose 0 < p < 1. Define b(n,k) = \binom{n}{k}p^k(1-p)^k. For what value of k is b(n,k) a maximum?

Homework Equations



N/A

The Attempt at a Solution



Is there any way to get a nice closed form solution to this problem? I've already proved that it has a maximum so there must be some j such that b(n,j) is maximal. Then we know b(n,j+1) < b(n,j) and b(n,j-1) < b(n,j). And I figure we can use these relations to figure out j or something like that. But I'm not sure if this approach will work.

Could someone help me with this please?
 
Physics news on Phys.org
jgens said:

Homework Statement



Suppose 0 < p < 1. Define b(n,k) = \binom{n}{k}p^k(1-p)^k. For what value of k is b(n,k) a maximum?

Homework Equations



N/A

The Attempt at a Solution



Is there any way to get a nice closed form solution to this problem? I've already proved that it has a maximum so there must be some j such that b(n,j) is maximal. Then we know b(n,j+1) < b(n,j) and b(n,j-1) < b(n,j). And I figure we can use these relations to figure out j or something like that. But I'm not sure if this approach will work.

Could someone help me with this please?

Develop an expression for r(j) = b(n,j+1)/b(n,j) [which, by the way, is also useful for computing the b(n,k) recursively]. What can you say if r(j) > 1? If r(j) < 1?

RGV
 
Well, if I let j be such that b(n,j) is maximal, then

b(n,j-1) &lt; b(n,j) \implies 1 &lt; \frac{b(n,j)}{b(n,j-1)} \implies 1 &lt; \frac{p}{1-p}\frac{\binom{n}{j}}{\binom{n}{j-1}}

b(n,j+1) &lt; b(n,j) \implies \frac{b(n,j+1)}{b(n,j)} &lt; 1 \implies \frac{p}{1-p} \frac{\binom{n}{j+1}}{\binom{n}{j}} &lt; 1

But I'm still not sure where to go from here. Do you think you could give me another hint in the right direction?
 
jgens said:
Well, if I let j be such that b(n,j) is maximal, then

b(n,j-1) &lt; b(n,j) \implies 1 &lt; \frac{b(n,j)}{b(n,j-1)} \implies 1 &lt; \frac{p}{1-p}\frac{\binom{n}{j}}{\binom{n}{j-1}}

b(n,j+1) &lt; b(n,j) \implies \frac{b(n,j+1)}{b(n,j)} &lt; 1 \implies \frac{p}{1-p} \frac{\binom{n}{j+1}}{\binom{n}{j}} &lt; 1

But I'm still not sure where to go from here. Do you think you could give me another hint in the right direction?

Sure. Work at simplifying the ratio.

RGV
 
Okay, so I think I've got it. Rather than TeX the whole thing out right now, is the answer j &lt; p(n+1) &lt; j+1 correct?
 
jgens said:
Okay, so I think I've got it. Rather than TeX the whole thing out right now, is the answer j &lt; p(n+1) &lt; j+1 correct?

OK, if you replace &lt; by \leq.

RGV
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top