Solving Partial Differential Equations

Method of Separation of Variables

Consider the diffusion equation, ([eq:diffusion]), and look for solutions with the form

ϕ(r,t)=Φ(r)T(t)Solutionsofthisformexistfortheseequationsbecausetheyare

linear and have no cross-terms. So we now have

1Φ(r)2Φ(r)=1α1T(t)\dvT(t)t=k2sincebothsidesmustbeequal,theyarealsobothequaltoaconstant.

So now we have

\difT\dift=αk2T2Φ(r)=k2Φ(r)Forexamples,seeMM1notes.

Separation of Variables in spherical and cylindrical coordinate systems

We can decompose Laplace’s equation, equation ([eq:laplace]), into three equations. In spherical coordinates Laplace’s equation becomes

1r2sinθ(\pdvr[r2sinθ\pdvψ(r,θ,ϕ)r]+\pdvθ[sinθ\pdvψ(r,θ,ϕ)θ]+\pdvϕ[1sinθ\pdvψ(r,θ,ϕ)ψ])=0Then,rewriting:math:ψasaproductofthreefunctions,
ψ(r,θ,ϕ)=R(r)Θ(θ)Φ(ϕ)anddividingbythis,
1RΘΦ(ΘΦr[r2sinθψ(r,θ,ϕ)r]+RΦθ[sinθψ(r,θ,ϕ)θ]+RΘϕ[1sinθψ(r,θ,ϕ)ψ])=0
1Rr[r2sinθψ(r,θ,ϕ)r]+1Θθ[sinθψ(r,θ,ϕ)θ]+1Φϕ[1sinθψ(r,θ,ϕ)ψ]12)=0
Then
sin2θ1Rr[r2Rr]+sinθ1Θθ[sinθΘθ]=1Φ\difp2Φ\difΦ2Eachsidemustbeconstant,so
1Φ\dv[2]Φϕ=m2sin2(θ)1R\dvr\qty[r2\dvRr]+sin(θ)1Θ\dvθ\qty[sin(θ)\dvΘθ]=m2andthesecanthemselvesbemadeequaltoaconstant,
1R\dvr\qty[r2\dvRr]=1sin(θ)1Θ\dvθ\qty[sin(θ)\dvΘθ]+m2sin2(θ)=kThe:math:R(r)equation:

\dvr\qty[r2\dvR(r)r]kR(r)=0r2\dv[2]R(r)r+2r\dvR(r)rkR(r)=0Thecoefficientsarepolynomialsof:math:r,sowetryasolution

of the form R(r)=rn,

r2n(n1)rn2+2rnrn1krn=0n(n1)rn+2nrnkrn=0n(n+1)k=0andnowlet:math:k=l(l+1),so:math:n(n+1)=l(l+1),thus
n=l or :math:`n =

-l-1` making the general solution

R(r)=Arl+Brl1Theequationfor:math:Φ(ϕ)

\dv[2]Φ(ϕ)ϕ=m2Φ(ϕ)

The solution must have the form Φ(ϕ)=eαϕ, so

α2Φ(ϕ)=m2Φ(ϕ)so:math:α=±eαϕ.Thus,thegeneralsolutionis
Φ(ϕ)=Asin(mϕ)+Bcos(mϕ)forconstants:math:A,andB :math:,and
:math:`m in

mathbb{N}`, since Φ(ϕ+2π)=Φ(ϕ).

The equation for :math:`Theta(theta)`

sin(θ)\dvθ\qty[sin(θ)\dvΘ(θ)θ]m2Θ(θ)+l(l+1)sin2(θ)Θ(θ)=0

which has the form of the Associate Legendre Differential equation, equation ([eq:assoclegendrede]), and the solution is therefore an Associate Legendre polynomial, with a general solution of the form

Θ(θ)=APlm\qty(cos(θ))Thus,thegeneralsolutionof
2ψ(r,θ,ϕ)=0is
ψ(r,θ,ϕ)=l=0m=0l(Almrl+Blmrl1)Plm\qty(cosθ)e±imϕ:math:A,and:math:Bareconstantsdeterminedbytheboundary

conditions of the problem. The functions

Ylm(θ,ϕ)=NeimϕPlm(cos(θ))with:math:l0,and:math:|m|l,areSpherical

Harmonics*.

The surface of a metal sphere of radius r0 is held at an electrostatic potential of V0cos(θ), with θ the polar angle. What is the electrostatic potential inside and outside the sphere, assuming no other sources of charge? There are no sources other than the sphere, so outside the sphere the potential obeys Laplace’s equation. The problem has spherical symmetry.
Inside the sphere
R(r)rl1 would give an infinity at r=0 , so Blm=0. Thus,
ψ(r,θ,ϕ)=l=0m=0lAlmrlPlm\qty(cosθ)e±imϕandwehavetheboundaryconditionthat
ψ(r0,θ,ϕ)=ϕ0cos(θ)whichhasno:math:ϕdependence,implying:math:m=0.Then,
ψ(r,θ,ϕ)=l=0AlrlPl\qty(cosθ)=ϕ0cos(θ)soonly:math:l=1cansatisfythisequation,andthusthepotential

is

ψ(r,θ,ϕ)=ψ0rr0cos(θ)Outsidethesphere
The same arrguments apply outside the sphere as did inside, so,
R(r)rl
would give an infinity as :math:`r to

infty`. Thus Alm=0. The same arguments for angular

depenence also apply, so,

ψ(r,θ,ϕ)=ψ0\qty(r0r)2cos(θ)
© Copyright 2020-2022, Daniel Williams.
Created using Sphinx 4.5.0.