Let $u:[0,T]\times\mathbb{R} \mapsto \mathbb{R}_+$, $T>0$, $r>0$, $\mu>0$, $\sigma>0$ and $A>0$.
What is the solution to the following PDE: \begin{equation} u_t(t,x)+\mu x u_x(t,x)+\frac{\sigma^2x^2}{2}u_{xx}(t,x)-ru(t,x)+\frac{1}{A+x}=0 \end{equation} with the terminal condition $u(T,x)=0$.
By Feymann-Kac theorem, $u$ has the probabilistic representation $$u(t,x)=\mathbb{E}\left[\int_t^Te^{-r(u-t)}\frac{1}{A+S_u}du|S_t=x\right]$$ where $S$ follows the SDE $$dS_t=\mu S_tdt+\sigma S_tdW_t.$$ However, to find $u$ by first solving $\mathbb{E}\left[\frac{1}{A+S_u}\right]$ does not lead to an analytical solution because the random variable $\frac{1}{A+S_u}$ follows a logit normal distribution which is known for not having analytical expression for the mean.