Donald Duck, the unfortunate duck that we all know and love, has had it. He angrily shouts at Scrooge McDuck: “every single day I’m brushing coins for you, and yet you barely pay me enough to buy food for my own nephews. I demand a raise!” Scrooge responds: “No way! A lazybones like you should be happy that I’m not firing you! But if you really want a shot at earning more money, you can have this magic wheel that I got from the prince of Farawayland as part of a trading deal. He told me it has great potential value, but I don’t want to have anything to do with this magic stuff. Now take this manual that came along with it and then leave, I’ve got business to do!”
Once kicked out of Scrooge’s money bin, Donald reads the manual. It says that each day you may spin the wheel, betting money on one of the three areas on it. The wheel lands on the upper, lower right or lower left corner with probabilities and respectively. The numbers indicate the amount you win if it lands on that section. For example, if the wheel lands on the upper half, you receive €3 for every €1 you invested on that sector. The probability of this event is one-half, so the expected gain here is the expected payoff minus your investment: . With similar easy calculations, the payoff of the lower left corner is , and of the lower right corner . The manual ends like this:
Is this wheel a gift from heaven or from hell?
Only if you try it you will know
And perhaps if you manage your investments well
Your capital will grow!
The magic wheel, which gives €3 with probability p=, €2 with p= and €6 with p=
Puzzled, Donald Duck starts to think about what to do. His Duck account tells him that he has exactly €100 that he can maximally spend on the wheel. Based on the odds, it seems appropriate to focus on the top sector of the wheel. Maybe he should spend all his money on this sector? This yields the highest possible expected payoff of €50 on the very first spin. However, then he would go broke with a probability of a half, something his nephews never would forgive him. He decides this all-in strategy is too risky. Another possibility is to invest half of his capital on the upper sector. Then, starting with €100, for one spin there are two possibilities:
1) with probability one-half the wheel lands in the upper segment and he ends up with €50 + 3 €50 = €200
2) with probability one-half the wheel is unfavourable and he just keeps the €50 that he didn’t invest.
Hence, this strategy either doubles or halves his capital. On the long run this won’t get him any further! For a perfect strategy, Donald realizes that there’s only man in Duckburg who can help him with this magical wheel…
U(X) = ln(X)
“Gyro, I need your help!” Donald shouts as he runs into the door of the small house of Gyro [expand title = “Gearloose”] Willie Wortel in Dutch [/expand]. Without waiting for a response he starts explaining the whole situation, begging Gyro for help. Once he is finished, Gyro thinks for a while and then says: “of course I’ll help you Donald. To derive the optimal strategy, we first need some background information, and that’s going to get a bit mathematical. But bear with me, it’s going to be of great help!”
“Your magical wheel is representative of a large and important class of investment situations, such as investment in common stocks, where a certain strategy leads to a random growth process. If represents capital after the th trial, and is a random return variable we have
for = 1, 2, 3, …[expand title =”.”] Here we assume that is a stationary independent process: all ‘s have identical probability distributions and are mutually independent. We need this to apply the law of large numbers later. [/expand] In our example, investing half of Donald’s capital on the upper segment corresponds to or , each with probability one-half.
If we repeat this process times, we get
Taking the logarithm on both sides:
Taking the terms to one side and dividing both sides by gives
If we take a large amount of periods, we can use the law of large [expand title = “numbers”] The law of large numbers states that, if random variables , , … are independent and identically distributed, then the sample mean converges to the true mean as the number of observations goes to infinity: . For example, if you flip a coin many times, assigning for heads and for tails, the average of will tend to zero. [/expand] to state that as ,
Here we used , but we could have used any number, since the expected value is the same for all . Now for simplicity, define . Then, from (4) we have:
Taking the antilogarithm of both sides and then raising both sides to the power of gives
This is something we can work with! This equation tells us that for large the capital grows exponentially with at a rate . So in order to maximize our capital at time , we want to make as large as possible. Maximizing is equivalent to maximizing plus a constant. Adding the constant to gives us
So there you go: for the special utility function , the problem of maximizing growth rate is equivalent to maximizing the expected utility ! For each period, we simply have to use the logarithm as a utility function. Thereby we can treat our multi-period problem (1) as if it were a single-period problem. Many important real-life problems can be solved by this technique!”
The optimal strategy
Donald, not in the mood for this mathematical gibberish, impatiently quakes: “that’s all very well Gyro, but I’ve got three nephews to feed. What does this have to do with the optimal strategy of my magic wheel?”
“Well, everything!” Gyro enthusiastically replies. “We can describe a general fixed-proportions [expand title = “strategy”] Fixed-proportions strategies prescribe proportions of your total capital to each sector of the wheel instead of prescribing, for example, fixed amounts of money. [/expand] as a set of three numbers (), where and . Here we have numbered the sectors 1, 2 and 3 corresponding to top, right and left respectively. The alphas correspond to the proportions bet on these different sectors. The remaining is not invested. For example, the earlier mentioned strategy of investing one-half of your capital in the top segment every time is (, 0, 0).
We now want to maximize the expected logarithm of these return, which we earlier defined as m: [expand title = “maximize”] Wonder where the these terms come from? Take for example the term after the first ln. In this scenario we land on the upper sector, so our return is (what we started with) (return from upper sector) (what we invested in the upper sector) (what we invested in sector 2) (what we invested in sector 3). [/expand]
We can find the solution by setting the partial derivatives with respect to each equal to zero. This gives 3 equations and 3 unknowns and hence we can solve the system of equations. If we additionally assume all alphas to be positive, the solution is , and . Substituting this into our objective yields
Hence, this optimal solution will give you a growth rate of about 7%. This means that your capital of €100 is expected to be €1000 in only 35 days! There are a lot of other interesting things to say about this solution. Note for example that the optimal strategy requires investing in the unfavorable sector 2. This serves as a hedge for the other sectors: it the wheel doesn’t land om them, at least you get some payment. This is representative for how investors use portfolios of negatively correlated stocks to minimize their portfolio risk and … Hey Donald, where have you gone?!”
Donald had already run out of the door, taking the wheel with him. At home he immediately takes a spin. Perhaps the future will finally be more fortunate for him.
For the mathematical explanation why ln(x) = U(x) is an excellent candidate utility function for problems like the one described in this article, I was inspired by the book Investment Science by David G. Luenberger
Dit artikel is geschreven door Sjors Keet