Recall from the first part of this post a diffusion equation was derived to
approximate the movement of neutrons in a nuclear reactor, which in two
dimensions was,
dr2d2ϕ+r1drdϕ+B2ϕ=0.
The main reason I was interested in solving this was due to the presence of
non-constant coefficients, which was not a general form I had come across.
Solving second order ODE’s of this form can be done using the Frobenius method,
which produces an infinite series solution. We begin by defining an expression in
the form which we want the solution to be:
ϕ=n=0∑∞anrn+k
The first and second derivatives are, therefore,
drdϕ=n=0∑∞(n+k)anrn+k−1
dr2d2ϕ=n=0∑∞(n+k−1)(n+k)anrn+k−2
Substituting the derivatives back into the ordinal expression gives
n=0∑∞(n+k−1)(n+k)anrn+k−2+r1n=0∑∞(n+k)anrn+k−1+B2n=0∑∞anrn+k=0
Ideally we would want each r term to be raised to same power. Expanding out
the first two terms of the rn+k expression, followed by some manipulation,
gives:
n=0∑∞(n+k−1)(n+k)anrn+k−2+r1n=0∑∞(n+k)anrn+k−1+B2n=2∑∞anrn+k−2=0
n=2∑∞(n+k−1)(n+k)anrn+k−2+r1n=2∑∞(n+k)anrn+k−1+B2n=2∑∞an−2rn+k−2+k(k−1)a0rk−2+k(k+1)a1rk−1+r1(ka0rk−1+(k+1)a1rk)=0
n=2∑∞(n+k−1)(n+k)anrn+k−2+r1n=2∑∞(n+k)anrn+k−1+B2n=2∑∞an−2rn+k−2+k(k−1)a0rk−2+k(k−1)a1rk−1+ka0rk−2+(k+1)a1rk−1=0
We can equate the coefficients on the right side of the equation to zero. For
the rk−2 terms we get
k(k−1)a0+ka0=0a0[k(k−1)+k]=0⟹k=0 ∴ a0=0
Doing the same with the rk−1 terms:
k(k+1)a1+(k+1)a1=0a1[k(k+1)+(k+1)]=0a1(k+1)(k+1)=0a1=0
The previous expression, therefore, becomes
n=2∑∞(n+k)(n+k−1)anrn+i−2+n=2∑∞(n+k)anrn+k−2+B2n=2∑∞an−2rn+k−2=0
n=2∑∞{[(n+k)(n+k−1)+(n+k)]an+B2an−2}rn+k−2=0
We can see from this that the coefficients of rn+k−2 must equate to 0, and
so,
[(n+k)(n+k−1)+(n+k)]an+B2an−2=0
an(k)=−(n+k)(n+k−1)+(n+k)B2an−2=−(n+k)(n+k−1+1)B2an−2=−(n+k)2B2an−2
If we now let k=0,
an(0)=−n2B2an−2
We know that a1=0, so we can say that
a1=a3=a5=a2n+1=0
For k=0, let n=2m:
a2m(0=−(2m2B2a2m−2
We can see that, for even values of m,
a2=−22B2a0
a4=22⋅22−B2a2=22−B2a0⋅22⋅22−B2=24⋅22B4a0=24(22⋅12)B4a0
a6=2232−B2a4=2232−B2⋅24(2⋅1)2B4a0=26(3⋅2⋅1)2−B6a0
a8=2242−B2a6=2242−B2⋅26(3⋅2⋅1)2−B6a0=28(4⋅3⋅2⋅1)2B8a0
And so, in general we can say that
a2m=22m(m!)2(−1)mB2ma0
We can put this back into out original expression for ϕ to get a solution
ϕ1=a0n=0∑∞22m(m!)2(−1)mB2mr2m
This is known as the Bessel function of the first kind (i.e. for k=0 ).
ϕ1=J0(Br)