V 12. on windows.
I have a question about using Mathematica's GreenFunction
to verify known result for Green function for Laplacian in 2D. (I also have question for 3D, but may be I'll post that in separate question)
In 2D, Green function is given in many places. Here is a screen shot from one book
I was trying to see if I can get same result using Mathematica's Green function.
At first I tried this (below, I used y1,y2
in place of $\zeta,\eta$ since easier to type
ClearAll[u, x, y, y1, y2];
GreenFunction[Laplacian[u[x, y], {x, y}],
u[x, y], {x, -Infinity, Infinity}, {y, -Infinity, Infinity}, {y1,y2}]
But Mathematica did not like it because of {y, -Infinity, Infinity}
. So I found this below works
GreenFunction[Laplacian[u[x, y], {x, y}], u[x, y], {x, -Infinity, Infinity}, y, {y1, y2}]
But this does not look like the known result $-\frac{1}{2 \pi} \ln r$ where $r=\sqrt{ (x-y_1)^2 + (y-y_2)^2}$.
So I am not sure if the second try above is still not correct, or if there is another syntax I should try. How to tell it one wants the Green function for the whole space in 2D then?
Question is: How to use GreenFunction
to obtain same result shown in book for 2D?
GreenFunction[-Laplacian[u[x, y], {x, y}], u[x, y], {x, y} ∈ FullRegion[2], {ξ, η}]
. $\endgroup$GreenFunction[-Laplacian[u[x, y], {x, y}] + q*Grad[Div[u[x, y], {x, y}], {x, y}], u[x, y], {x, y} \[Element] FullRegion[2], {\[Xi], \[Eta]}]
does not work with your trick. This is the Green function in 2D theory of elasticity.q
is a factor expressed in terms of the Poisson's coefficient. Any ideas? $\endgroup$Div[u[x, y], {x, y}]
isn't supposed to work since you're not applyingDiv[]
to a vector-valued function. In any event, perhaps this should be a new question. $\endgroup$