
240 CHAPTER 6. INTEGRAL TRANSFORMS
>
pde:=diff(G(x,y,z,t),t)-d*Laplacian(G(x,y,z,t),’cartesian’
[x,y,z])=Dirac(x)*Dirac(y)*Dirac(z)*Dirac(t);
pde := (
∂
∂t
G(x, y, z, t)) − d ((
∂
2
∂x
2
G(x, y, z, t)) + (
∂
2
∂y
2
G(x, y, z, t))
+(
∂
2
∂z
2
G(x, y, z, t))) = Dirac(x) Dirac(y) Dirac(z) Dirac(t)
The Green’s function G(x, y, z, t) is equal to 0 up to the instant that the source
is switched on. The Laplace transform of the first time derivative of G will be
expressed in terms of G(x, y, z, 0), which is set equal to 0.
>
G(x,y,z,0):=0:
A functional operator F is formed for calculating the 1-dimensional Fourier
transform of an expression e with respect to an arbitrary variable v, the result
being given in terms of a second variable k. A similar functional operator K
is introduced to perform the 1-dimensional inverse Fourier transform of e from
k-space back to v-space.
>
F:=(e,v,k)->fourier(e,v,k): K:=(e,k,v)->invfourier(e,k,v):
Using F, a 3-dimensional Fourier transform of pde is taken in the spatial coordi-
nates x, y,andz. This is implemented by nesting 3 one-dimensional transforms,
the result being expressed in terms of kx, ky,andkz . A Laplace transform in
time is then performed, and the result factored.
>
eq1:=factor(laplace(F(F(F(pde,x,kx),y,ky),z,kz),t,s));
eq1 := laplace(fourier(fourier(fourier(G(x, y, z, t),x,kx),y,ky),z,kz ),t,s)
(d kz
2
+ s + d kx
2
+ d ky
2
)=1
eq1 is then solved for the Laplace-Fourier transform of G(x, y, z, t).
>
eq2:=solve(eq1,laplace(F(F(F(G(x,y,z,t),x,kx),y,ky),z,kz),t,s));
eq2 :=
1
s + d kz
2
+ d ky
2
+ d kx
2
Applying the inverse Laplace transform to eq2 putsusbackintot-space.
>
eq3:=invlaplace(eq2,s,t);
eq3 := e
(−(d kz
2
+d ky
2
+d kx
2
) t)
Finally, by performing three 1-dimensional inverse Fourier transforms on eq3 ,
the desired Green’s function solution G to Equation (6.10) is obtained. It is
necessary to assume that both d and t are greater than zero for the transforms
to be explicitly calculated.
>
G:=K(K(K(eq3,kx,x),ky,y),kz,z) assuming d>0,t>0;
G :=
1
8
e
(−
x
2
+y
2
+z
2
4 td
)
tdπ
(3/2)
√
td
G is expressed in terms of the radial distance r by making the algebraic substi-
tution x
2
+ y
2
+ z
2
=r
2
.