# Merton's portfolio problem

Merton's portfolio problem is a problem in continuous-time finance and in particular intertemporal portfolio choice. An investor must choose how much to consume and must allocate their wealth between stocks and a risk-free asset so as to maximize expected utility. The problem was formulated and solved by Robert C. Merton in 1969 both for finite lifetimes and for the infinite case.[1][2] Research has continued to extend and generalize the model to include factors like transaction costs and bankruptcy.

## Problem statement

The investor lives from time 0 to time T; their wealth at time T is denoted WT. He starts with a known initial wealth W0 (which may include the present value of wage income). At time t he must choose what amount of his wealth to consume, ct, and what fraction of wealth to invest in a stock portfolio, πt (the remaining fraction 1 − πt being invested in the risk-free asset).

The objective is

${\displaystyle \max E\left[\int _{0}^{T}e^{-\rho s}u(c_{s})\,ds+\epsilon ^{\gamma }e^{-\rho T}u(W_{T})\right]}$

where E is the expectation operator, u is a known utility function (which applies both to consumption and to the terminal wealth, or bequest, WT), ε parameterizes the desired level of bequest, ρ is the subjective discount rate, and ${\displaystyle \gamma }$ is a constant which expresses the investor's risk aversion: the higher the gamma, the more reluctance to own stocks.

The wealth evolves according to the stochastic differential equation

${\displaystyle dW_{t}=[(r+\pi _{t}(\mu -r))W_{t}-c_{t}]\,dt+W_{t}\pi _{t}\sigma \,dB_{t}}$

where r is the risk-free rate, (μσ) are the expected return and volatility of the stock market and dBt is the increment of the Wiener process, i.e. the stochastic term of the SDE.

The utility function is of the constant relative risk aversion (CRRA) form:

${\displaystyle u(x)={\frac {x^{1-\gamma }}{1-\gamma }}.}$

Consumption cannot be negative: ct ≥ 0,[2][3] while πt is unrestricted (that is borrowing or shorting stocks is allowed).

Investment opportunities are assumed constant, that is rμσ are known and constant, in this (1969) version of the model, although Merton allowed them to change in his intertemporal CAPM (1973).

## Solution

Somewhat surprisingly for an optimal control problem, a closed-form solution exists. The optimal consumption and stock allocation depend on wealth and time as follows:[4]: 401

${\displaystyle \pi (W,t)={\frac {\mu -r}{\sigma ^{2}\gamma }}.}$

This expression is commonly referred to as Merton's fraction. Because W and t do not appear on the right-hand side; a constant fraction of wealth is invested in stocks, no matter what the age or prosperity of the investor.

${\displaystyle c(W,t)={\begin{cases}\nu \left(1+(\nu \epsilon -1)e^{-\nu (T-t)}\right)^{-1}W&{\textrm {if}}\;T<\infty \;{\textrm {and}}\;\nu \neq 0\\(T-t+\epsilon )^{-1}W&{\textrm {if}}\;T<\infty \;{\textrm {and}}\;\nu =0\\\nu W&{\textrm {if}}\;T=\infty \end{cases}}}$

where ${\displaystyle 0\leq \epsilon \ll 1}$ and

{\displaystyle {\begin{aligned}\nu &=\left(\rho -(1-\gamma )\left({\frac {(\mu -r)^{2}}{2\sigma ^{2}\gamma }}+r\right)\right)/\gamma \\&=\rho /\gamma -(1-\gamma )\left({\frac {(\mu -r)^{2}}{2\sigma ^{2}\gamma ^{2}}}+{\frac {r}{\gamma }}\right)\\&=\rho /\gamma -(1-\gamma )(\pi (W,t)^{2}\sigma ^{2}/2+r/\gamma )\\&=\rho /\gamma -(1-\gamma )((\mu -r)\pi (W,t)/2\gamma +r/\gamma ).\end{aligned}}}

## Extensions

Many variations of the problem have been explored, but most do not lead to a simple closed-form solution.

• Flexible retirement age can be taken into account.[5]
• A utility function other than CRRA can be used.
• Transaction costs can be introduced.
• For proportional transaction costs the problem was solved by Davis and Norman in 1990.[6] It is one of the few cases of stochastic singular control where the solution is known. For a graphical representation, the amount invested in each of the two assets can be plotted on the x- and y-axes; three diagonal lines through the origin can be drawn: the upper boundary, the Merton line and the lower boundary. The Merton line represents portfolios having the stock/bond proportion derived by Merton in the absence of transaction costs. As long as the point which represents the current portfolio is near the Merton line, i.e. between the upper and the lower boundary, no action needs to be taken. When the portfolio crosses above the upper or below the lower boundary, one should rebalance the portfolio to bring it back to that boundary. In 1994 Shreve and Soner provided an analysis of the problem via the Hamilton–Jacobi–Bellman equation and its viscosity solutions.[7]
• When there are fixed transaction costs the problem was addressed by Eastman and Hastings in 1988.[8] A numerical solution method was provided by Schroder in 1995.[9]
• Morton and Pliska[10] considered trading costs that are proportional to the wealth of the investor for logarithmic utility. Although this cost structure seems unrepresentative of real life transaction costs, it can be used to find approximate solutions in cases with additional assets,[11] for example individual stocks, where it becomes difficult or intractable to give exact solutions for the problem.
• The assumption of constant investment opportunities can be relaxed. This requires a model for how ${\displaystyle r,\mu ,\sigma }$ change over time. An interest rate model could be added and would lead to a portfolio containing bonds of different maturities. Some authors have added a stochastic volatility model of stock market returns.
• Bankruptcy can be incorporated. This problem was solved by Karatzas, Lehoczky, Sethi and Shreve in 1986.[12] Many models incorporating bankruptcy are collected in Sethi (1997).[13]

## References

1. ^ Merton, R. C. (1 August 1969). "Lifetime Portfolio Selection under Uncertainty: the Continuous-Time Case". The Review of Economics and Statistics. 51 (3): 247–257. doi:10.2307/1926560. ISSN 0034-6535. JSTOR 1926560.
2. ^ a b Sethi, S.P. and Taksar, M.I., “A Note on Merton's 'Optimum Consumption and Portfolio Rules in a Continuous-Time Model,” Journal of Economic Theory, 46, 1988, 395-401.
3. ^ Karatzas, Ioannis; Lehoczky, John P.; Sethi, Suresh P.; Shreve, Steven E. (May 1986). "Explicit Solution of a General Consumption/Investment Problem". Mathematics of Operations Research. 11 (2): 261–294. doi:10.1287/moor.11.2.261.
4. ^ Merton, R. C. (1971). "Optimum consumption and portfolio rules in a continuous-time model" (PDF). Journal of Economic Theory. 3 (4): 373–413. doi:10.1016/0022-0531(71)90038-X. hdl:1721.1/63980.
5. ^ Bodie, Z.; Merton, R. C.; Samuelson, W. F. (1992). "Labor supply flexibility and portfolio choice in a life cycle model" (PDF). Journal of Economic Dynamics and Control. 16 (3–4): 427. doi:10.1016/0165-1889(92)90044-F. S2CID 16699153.
6. ^ Davis, M. H. A.; Norman, A. R. (1990). "Portfolio Selection with Transaction Costs" (PDF). Mathematics of Operations Research. 15 (4): 676. doi:10.1287/moor.15.4.676. hdl:10044/1/11848. JSTOR 3689770.
7. ^ Shreve, S. E.; Soner, H. M. (1994). "Optimal Investment and Consumption with Transaction Costs". The Annals of Applied Probability. 4 (3): 609. doi:10.1214/aoap/1177004966. JSTOR 2245058.
8. ^ Eastham, Jerome F.; Hastings, Kevin J. (1988). "Optimal Impulse Control of Portfolios". Mathematics of Operations Research. 13 (4): 588. doi:10.1287/moor.13.4.588. JSTOR 3689945.
9. ^ Schroder, M. (1995). "Optimal Portfolio Selection with Fixed Transaction Costs: Numerical Solutions" (PDF). Working Paper. Michigan State University.
10. ^ Morton, A. J.; Pliska, S. R. (1995). "Optimal Portfolio Management with Fixed Transaction Costs". Mathematical Finance. 5 (4): 337. doi:10.1111/j.1467-9965.1995.tb00071.x.
11. ^ "Archived copy" (PDF). Archived from the original (PDF) on 2014-11-08. Retrieved 2014-10-28.{{cite web}}: CS1 maint: archived copy as title (link)
12. ^ Karatzas, I.; Lehoczky, J. P.; Sethi, S. P.; Shreve, S. E. (1985). "Explicit solution of a general consumption/investment problem". Stochastic Differential Systems. Lecture Notes in Control and Information Sciences. Vol. 78. p. 209. doi:10.1007/BFb0041165. ISBN 3-540-16228-3.
13. ^ Sethi, S. P. (1997). Optimal Consumption and Investment with Bankruptcy. doi:10.1007/978-1-4615-6257-3. ISBN 978-1-4613-7871-6.