Hi! A nice method for solving differential equations that occur in physics utilize greens functions as well as the fourier transform of the delta function to solve them partially by inspection. For example in electromagnetism Poisson's equation reads(adsbygoogle = window.adsbygoogle || []).push({});

[tex]\nabla^2 \phi = - \rho/\varepsilon_0[/tex]

which can be solved by using the greens function

[tex]\nabla^2 G(\vec r,\vec r') = \delta(\vec r-\vec r') = \frac{1}{(2\pi)^3} \int e^{\vec k \cdot(\vec r-\vec r')}d^3\vec k[/tex]

where the right hand side is the fourier integral of the 3 dimensional delta function (integration is understood to be over all space). Now if we inspect the equation above one sees that

[tex]G(\vec r,\vec r') = -\frac{1}{(2\pi)^3} \int \frac{e^{\vec k \cdot(\vec r-\vec r')}}{k^2}d^3\vec k[/tex]

satisfies it. This is the 'inspection step'.

Now by performing the integration one gets

[tex]G = - \frac{ 1}{4\pi |\vec r - \vec r'|}[/tex]

and by substituting back into

[tex] \phi = \int G(\vec r, \vec r') (\frac{-\rho(\vec r')}{\varepsilon_0}) d^3\vec r' = \frac{1}{4\pi \varepsilon_0 }\int \frac{\rho(\vec r')}{|\vec r - \vec r'|} d^3\vec r'[/tex]

one get the correct equation for the electrostatic potential. These kind of arguments inspired me to try the same thing out for one dimensional equations like for example

[tex](\frac{d^2}{dx^2} + 1)f(x) = \frac{1}{sin(x)}[/tex]

Using the same procedure

[tex] (\frac{d^2}{dx^2} + 1)G(x,x') = \delta(x-x')= \frac{1}{2\pi}\int e^{ik(x-x')}dk[/tex]

inspection indicates that

[tex]G(x,x') = \frac{1}{2\pi}\int\frac{ e^{ik(x-x')}}{1-k^2}dk[/tex]

But solving this equation by complex contour integration I get an imaginary greens function which is nonsense.

Specifically I did it like

[tex]G(x,x') = \frac{1}{2\pi}\int\frac{ e^{ik(x-x')}}{1-k^2}dk = \frac{1}{2\pi (x-x')} \int_{-\infty}^{\infty} \frac{e^{iy}}{1-(\frac{y}{x-x'})^2}dy = \frac{2 \pi (x-x')}2\pi i = \frac{i}{x-x'}[/tex]

which would give a solution

[tex]f(x) = i \int \frac{1}{x-x'} \frac{1}{\sin x'} dx'[/tex]

I see that we get some problems above with divergences when x=x', however I do not see that we do _not_ get these problems in the higher dimensional examples.

So the question is if it's something special with my electromagnetic example above or numerous other examples (from physics) which allows them to be solved by this method? And what is it about the one dimensional example above which does not allow it to be solved by this method?

Is there some way that allowes it to be solved?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Greens functions inspection method

**Physics Forums | Science Articles, Homework Help, Discussion**