Maximizing b(n,k) in Bernoulli Trials Homework

  • Thread starter Thread starter jgens
  • Start date Start date
  • Tags Tags
    Bernoulli
Click For Summary

Homework Help Overview

The discussion revolves around maximizing the function b(n,k) defined as b(n,k) = \binom{n}{k}p^k(1-p)^k, where 0 < p < 1. Participants are exploring the conditions under which this function reaches its maximum value with respect to k.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants are attempting to establish relationships between b(n,j), b(n,j-1), and b(n,j+1) to identify the maximum value of b(n,k). They are questioning whether their approach using ratios and inequalities will lead to a closed form solution.

Discussion Status

There is ongoing exploration of the mathematical relationships involved in the problem. Some participants have suggested simplifying the ratio of b(n,j+1) to b(n,j) and are seeking further hints to advance their reasoning. No consensus has been reached regarding the specific value of k that maximizes b(n,k).

Contextual Notes

Participants are working under the assumption that a maximum exists and are discussing the implications of the ratios derived from the function b(n,k). There is mention of needing to replace certain inequalities with non-strict inequalities in their conclusions.

jgens
Gold Member
Messages
1,575
Reaction score
50

Homework Statement



Suppose [itex]0 < p < 1[/itex]. Define [itex]b(n,k) = \binom{n}{k}p^k(1-p)^k[/itex]. For what value of [itex]k[/itex] is [itex]b(n,k)[/itex] 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 [itex]b(n,j)[/itex] is maximal. Then we know [itex]b(n,j+1) < b(n,j)[/itex] and [itex]b(n,j-1) < b(n,j)[/itex]. 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 [itex]0 < p < 1[/itex]. Define [itex]b(n,k) = \binom{n}{k}p^k(1-p)^k[/itex]. For what value of [itex]k[/itex] is [itex]b(n,k)[/itex] 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 [itex]b(n,j)[/itex] is maximal. Then we know [itex]b(n,j+1) < b(n,j)[/itex] and [itex]b(n,j-1) < b(n,j)[/itex]. 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 [itex]j[/itex] be such that [itex]b(n,j)[/itex] is maximal, then

[tex]b(n,j-1) < b(n,j) \implies 1 < \frac{b(n,j)}{b(n,j-1)} \implies 1 < \frac{p}{1-p}\frac{\binom{n}{j}}{\binom{n}{j-1}}[/tex]

[tex]b(n,j+1) < b(n,j) \implies \frac{b(n,j+1)}{b(n,j)} < 1 \implies \frac{p}{1-p} \frac{\binom{n}{j+1}}{\binom{n}{j}} < 1[/tex]

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 [itex]j[/itex] be such that [itex]b(n,j)[/itex] is maximal, then

[tex]b(n,j-1) < b(n,j) \implies 1 < \frac{b(n,j)}{b(n,j-1)} \implies 1 < \frac{p}{1-p}\frac{\binom{n}{j}}{\binom{n}{j-1}}[/tex]

[tex]b(n,j+1) < b(n,j) \implies \frac{b(n,j+1)}{b(n,j)} < 1 \implies \frac{p}{1-p} \frac{\binom{n}{j+1}}{\binom{n}{j}} < 1[/tex]

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 [itex]j < p(n+1) < j+1[/itex] correct?
 
jgens said:
Okay, so I think I've got it. Rather than TeX the whole thing out right now, is the answer [itex]j < p(n+1) < j+1[/itex] correct?

OK, if you replace [itex]<[/itex] by [itex]\leq[/itex].

RGV
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
9
Views
2K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K