I'm trying to solve an optimal stopping problem which led me to an obstacle problem involving the following family of ODE's
$$(x^2+d)y'(x)-2xy(x) = 1.$$
For simplicity I first considered the case $d = 0$ before moving to the much more relevant case $d > 0$. This revealed a somewhat unexpected phenomenon to me: The solutions are of the form $C(x^2+d) + f(x)$, where $C$ is some constant. For $d = 0$ we have $f(x) = -\frac{1}{3x}$ which is negative for $x > 0$. On the other hand, for $d > 0$ we have $$f(x) = \frac{x}{2 d}+ \frac{(x^2+d)\tan^{-1}\left(\frac x {\sqrt d}\right)}{2 d^{3/2}},$$ which is positive and $f(x)$ diverges as $d\to 0$; instead of converging to, say $x\mapsto -\frac 1 {3x}$.
Is there some theoretic result that shows that this must be the case? If not is there some result that would show convergence, but we can verify that its assumptions are violated?