$$\left(u(1-u^2)\frac{d^2}{du^2}-(u^2+1)\frac{d}{du}-\frac{au}{(1-u^2)}-\frac{bu^3}{(1-u^2)}+c\right)G(u,u')=mu^2\delta(u-u'),$$ where $a$, $b$, $c$, $m$ are constants, $u\in(-1,1)$ and the boundary conditions are $G(u,u')\rightarrow 0$ for $u=\pm 1$. Thank you very much!
The constants are proper input parameters. Can mathematica read Dirac delta functions directly? I particularly want to know how to reformulate this question so that it is available to numerically solve this equation.
DiracDelta[]in the expression. This however, is only handled correctly byDSolve, which is limited to analytically solvable differential equations. Possibly related question with good hints by Leonid Shifrin how to tackle this kind of problem: http://mathematica.stackexchange.com/questions/61176/using-ndsolve-to-solve-a-pde-with-a-dirac-delta-function – Thies Heidecke Apr 12 '16 at 15:13NDSolve, then match the two functions at $u'$ with a Wronskian. – march Apr 12 '16 at 15:35ParametricNDSolve? That way, you can solve the problem for $u_{<}$ that matches the left boundary condition with the right boundary condition as a parameter, and the corresponding problem for $u_{>}$ with the left boundary condition as a parameter, and then vary that parameter until the Wronskian matches? – march Apr 12 '16 at 18:47ParametricNDSolveto solve for $G$ in each of these regions in terms of some parameters (either the value of $G'$ at the boundaries, or the value of $G$ at $u'$). Finally, you useFindRootto try to vary your parameter(s) so that your two solutions satisfy the correct boundary conditions at $u'$. – Michael Seifert Apr 15 '16 at 13:44Methodsettings inParametricNDSolve. – Michael Seifert Apr 15 '16 at 13:45ListLinePlot@NDSolveValue[{y'[x] == y[x] + DiracDelta[x - 1], y[0] == 0}, y, {x, 0, 2}]--> http://i.stack.imgur.com/QdR3j.png (V10.4.1, but it works in V9.0.1, too) – Michael E2 Jul 11 '16 at 18:47NDSolve, too now! – Thies Heidecke Jul 11 '16 at 21:48