S. Moger said:
Homework Statement
Solve the poisson eq. on R with a source in x=0.
The Attempt at a Solution
I haven't done this kind of thing in years, so I'm a bit rusty, but I think that this is requested:
\Delta \phi = - \rho \delta(x) (Edit: no wait, I need an integral here).
It doesn't seem to be a big deal. I just integrate both sides on R.
\frac{\partial\phi}{\partial x} = - \rho \int \delta(x) dx + A
And again
\phi = - \rho x + Ax + B
However, the key wants me to realize that the answer really is this (they seem to use q instead of rho):
\phi = - \frac{1}{2} q |x| + Ax + B
But why? Am I doing some illegal operation here?
If ##\Delta \phi## means ##d^2 \phi(x)/dx^2##, then you just have the equation for the Green's function of the differential operator ##(d/dx)^2##. If you solve ##f''(x) = \delta(x)##, you can re-scale to get your function ##\phi(x)##.
The equation ##f''(x) = \delta(x)## gives ##f''(x) = 0## for ##x < 0## and for ##x > 0##. Assuming ##f## is continuous at ##x = 0##, we can integrate both sides of the DE from ##-\epsilon## to ##+\epsilon##, then take the limit as ##\epsilon \to 0+##. This gives
\lim_{\epsilon \to 0+} f'(\epsilon) - f'(-\epsilon) = \lim_{\epsilon \to 0+} \int_{-\epsilon}^{\epsilon} \delta(x) \, dx ,
or
f'(0+) - f'(0-) = 1.
So, if
f(x) = \begin{cases}<br />
a_1 x + b_1, & x < 0\\<br />
a_2 x + b_2, & x > 0<br />
\end{cases}
we get conditions on ##a_i,b_i## by requiring that ##f## be continuous at ##x=0## and have a jump discontinuity of +1 in ##f'(x)## at ##x = 0##.
Of course, that gives only two conditions on the four parameters, so that leaves lots of room for other conditions, such as boundary conditions at ##\pm \infty## and the like.