I try to figure martingale strategy mathematically. Let us say we start with bet $x$ and designate obtained value as $f(x)$
I come up with the following equation $$ \mathbb{E}f(x) = \frac{18}{37} x + \frac{19}{37}(\mathbb{E}f(2x) - x) = \frac{19}{37}\mathbb{E}f(2x) - \frac{1}{37}x $$ I want to compute $\mathbb{E}f(x)$ in two scenarios:
- In case $x$ can grow infinitely. Since limit of probability to win is 1 with number of games tending to infinity I expect that in that case $\mathbb{E} f(x)$ should be $x$. Well, function $\mathbb{E}f(x) \equiv x$ satisfies equation above for all $x$. Is it correct to conclude that $\mathbb{E}f(x) = x$ and there are no other solutions?
- How to calculate $\mathbb{E} f(x)$ in case that $x$ is limited? I can think of something like defining $f(2^Mx):= 0$ and then backwards expanding all $f(2^kx$) but it seems ugly. Can it be done differently?
And is recurrent equation like this is good in general for such problems?