Studying the expected utility maximization problem in Merton's model, I'm having some difficulties.
Let $t$ be a starting time, $T$ the final finite Time.
We define,
\begin{equation}
V(t,x)=\underset{\pi \in A}{\sup}\{\mathbb{E}\left[U(X_T(\pi))\right] |X_t=x\}
\end{equation}
Where $A$ is the set of admissible trading strategies.
We can prove that $V$ satisfies (Hamilton-Jacobi-Bellman equation in Merton Model)
\begin{equation}
\frac{dV(t,x)}{dt} + \sup_{\pi_t} \left( \frac{dV(t,x)}{dx} x (r+ \pi_t(\mu-r)) + \frac{1}{2} \frac{d^2V(t,x)}{dx^2} x^2 \pi_t^2 \sigma^2 \right) = 0
\end{equation}
In the literature (check below for the reference), it's said that $\textit{"a candidate for the optimal control is obtained from the first-order condition}$ $\textit{for the maximum in the HJB equation is :"}$ \begin{equation} \hat{\pi}(t,x)=-\frac{\mu-r}{\sigma^2}\frac{\frac{dV}{dx}}{x\frac{d^2V}{dx^2}}(t,x) \end{equation}
At this point, I have two questions :
1/ How can we actually obtain / prove this result ?
2/ I don't understand why $V$ is actually present in $\hat{\pi}$ 's expression : By definition, isn't V a sup on all possible $\pi$ ? Shouldn't $\hat{\pi}$ depend on everything apart from $V$ ?
Thanks guys !
Huyen Pham. Optimization methods in portfolio management and option hedging