Okay, so I am curious about a problem.
Say that you are given the opportunity to make a certain bet in which $P(Win)=.52$ and $P(Lose)=.48$ and that their payouts are equal but opposite. You will repeat the bet $10000$ times. Assuming that you start with $1000$ units, and you are allowed to bet $p$ percent of your total wealth after each round. For example, if you choose $p=.1$ you would bet $100$ units the first round. If you win the first round, you would bet $110$ units the next time. Conversely, if you lost the first round, you would bet $90$ units the second round. Notice that you can never go completely bankrupt since you are only betting a predetermined percent of your wealth each time.
Assuming that you can only, control $p$, what percent of your wealth would you choose to bet? I.e. what value of $p$ would give you the highest expected wealth after $10000$ trials?
My attempt: When I saw this problem, I initially thought that a larger $p$ would surely increase the expected value at the end of $10000$ rounds since you had a greater than $.5$ probability of winning.
After struggling to come up with a formula, I built a simulation and found out that this was clearly not the case. (Any simulation with $p\gt.1$ resulted in a near-zero end value).
This got me thinking and I thought about this problem as $(1+p)^{5200}*(1-p)^{4800}$ since there would be expected $5200$ wins and expected $4200$ losses. I then differentiated and looked for a $0$ over the interval $(0,1)$ to find a maximum. I ended up getting a derivate of $5200(1-x)^{4800}(1+x)^{5199} -4800(1-x)^{4799}(1+x)^{5200}$ and end up with a value of $.04$
When I plug in $.04$, it does indeed yield a higher end value, but it is so variable from time to time it is difficult to tell if my answer is correct.
I am hoping that someone can provide guidance on whether my general approach to this problem is correct, or if there is some other way to solve such a problem?