Find a solution to
$[g(x)u'(x)]'=\delta(x)$
$-\infty<x<\infty$.
What i have so far:
$[g(x)u'(x)]'=g(x)u''(x)+g'(x)u'(x)=\delta(x)$
$\Rightarrow u''(x)+\frac{g'(x)}{g(x)}u'(x)=\frac{\delta(x)}{g(x)}$.
This is where i'm stuck, since what i know form my course of differential equations i only know how to solve when dealing with constant coefficients. Any hints or guidence would be greatly aprreciated.
I forgot to say that $g^{-1}$ is integrable.
You can integrate once directly, $$ g(x)u'(x)=H(x)+C $$ with $H$ the Heaviside function of a jump from zero to one at zero. After that you just have to integrate $$ g(x)=D+\int\frac{H(x)+C}{g(x)}dx $$ and fix constants to fit initial conditions.