A (non-math) paper I'm working through presents the following differential equation (and solution) in a casual way:
$$ 0 = \frac{(1-\gamma)^{2}}{\gamma} e^{-\rho t} \bigg[ \frac{e^{\rho t} J_{x}}{\beta} \bigg]^{\frac{\gamma}{\gamma-1}} + J_{t} + [(1-\gamma) \eta / \beta + r x] J_{x} - \frac{J_{x}^{2}}{J_{xx}} \frac{(\alpha - r)^{2}}{\alpha \sigma^{2}}, $$ subject to $J(x,T)=0$.
A solution is $$ J(x,t) = \delta \beta^{-\gamma} e^{-\rho t} \bigg[ \frac{\delta(1-e^{-\left( \frac{\rho - \gamma \nu}{\delta}\right)(T-t)})}{\rho - \gamma \nu} \bigg]^{\delta} \bigg[ \frac{x}{\delta} + \frac{\eta}{\beta r}(1-e^{-r(T-t)}) \bigg]^{\gamma}, $$ where $\delta \equiv 1 - \gamma$ and $\nu \equiv r + (\alpha - r)^{2}/2 \delta \sigma^{2}$.
It seemed rather matter-of-fact, but I would have had no idea how to solve (what appears to be) such a complicated PDE. I've been looking through Polyanin's Handbook of Nonlinear Partial Differential Equations, but I haven't (yet) been able to find anything.
Any ideas on how they did it? (Or recommendations for relevant references?)