Explaining equations
I'm beginning with the equation and aiming to keep the explanation concise while clearly showing the main steps of separation. The user might want solutions for both the full 3D case and possibly for the wavenumber k. I need to be cautious here since some texts use (+k² u = 0) while others use (-k² u = 0), so I'll specify which convention I'm using. I'll also use LaTeX markup for proper spacing. Alright, let's respond with that! Take the scalar Helmholtz equation with constant (k) in 3D cylindrical coordinates ((r,\phi,z)):
[
\nabla^2 u + k^2 u = 0.
]
1. Write the equation in cylindrical coordinates
The Laplacian in cylindrical coordinates is
[
\nabla^2 u = \frac{1}{r}\frac{\partial}{\partial r}\left( r \frac{\partial u}{\partial r}\right)
- \frac{1}{r^2}\frac{\partial^2 u}{\partial \phi^2}
- \frac{\partial^2 u}{\partial z^2}.
]
So the Helmholtz equation becomes
[
\frac{1}{r}\frac{\partial}{\partial r}\left( r \frac{\partial u}{\partial r}\right)
- \frac{1}{r^2}\frac{\partial^2 u}{\partial \phi^2}
- \frac{\partial^2 u}{\partial z^2}
- k^2 u = 0.
]
2. Separation of variables
Assume a separable solution
[
u(r,\phi,z) = R(r),\Phi(\phi),Z(z).
]
Substitute into the PDE. Compute the derivatives:
-
Radial part:
[
\frac{1}{r}\frac{\partial}{\partial r}\left( r \frac{\partial u}{\partial r}\right)
= \frac{1}{r}\frac{\partial}{\partial r}\left( r R'(r)\Phi(\phi)Z(z)\right)
= \Phi Z\left(\frac{1}{r}\frac{d}{dr}\bigl(r R'\bigr)\right).
]
-
Angular part:
[
\frac{1}{r^2}\frac{\partial^2 u}{\partial \phi^2}
= \frac{1}{r^2} R Z \frac{d^2\Phi}{d\phi^2}.
]
-
Axial part:
[
\frac{\partial^2 u}{\partial z^2}
= R\Phi \frac{d^2 Z}{dz^2}.
]
Plugging into the equation and dividing by (R\Phi Z):
[
\frac{1}{R}\frac{1}{r}\frac{d}{dr}\left(r R'\right)
- \frac{1}{\Phi}\frac{1}{r^2}\frac{d^2\Phi}{d\phi^2}
- \frac{1}{Z}\frac{d^2 Z}{dz^2}
- k^2 = 0.
]
Multiply through by (r^2):
[
r \frac{1}{R}\frac{d}{dr}\left(r R'\right)
- \frac{1}{\Phi}\frac{d^2\Phi}{d\phi^2}
- r^2 \frac{1}{Z}\frac{d^2 Z}{dz^2}
- k^2 r^2 = 0.
]
Group (\phi)-dependent terms separately. Since (\phi) appears only in the second term, set
[
\frac{1}{\Phi}\frac{d^2\Phi}{d\phi^2} = -m^2,
]
where (m) is a separation constant. Then the rest must depend only on (r,z):
[
r \frac{1}{R}\frac{d}{dr}(r R')
- r^2 \frac{1}{Z}\frac{d^2 Z}{dz^2}
- k^2 r^2 - m^2 = 0.
]
3. Solve the (\phi)-equation
[
\frac{d^2\Phi}{d\phi^2} + m^2 \Phi = 0.
]
For (2\pi)-periodicity, (m) must be integer: (m = 0, \pm 1, \pm 2,\dots).
Solutions:
[
\Phi(\phi) = A_m \cos(m\phi) + B_m \sin(m\phi)
\quad\text{or equivalently}\quad
\Phi(\phi) = C_m e^{i m \phi}.
]
4. Separate (z) from (r)
Rewrite the remaining equation:
[
r \frac{1}{R}\frac{d}{dr}(r R') - m^2
- r^2 \frac{1}{Z}\frac{d^2 Z}{dz^2}
- k^2 r^2 = 0.
]
Rearrange:
[
\underbrace{\left[ r \frac{1}{R}\frac{d}{dr}(r R') - m^2 + k^2 r^2 \right]}_{\text{depends on } r}
- \underbrace{r^2 \frac{1}{Z}\frac{d^2 Z}{dz^2}}_{\text{depends on } z} = 0.
]
Therefore each bracket must equal a constant (with opposite signs). Let
[
\frac{1}{Z}\frac{d^2 Z}{dz^2} = -\beta^2,
]
where (\beta) is another separation constant. Then
[
r^2 \frac{1}{Z}\frac{d^2 Z}{dz^2} = -\beta^2 r^2,
]
so the (r)-equation becomes
[
r \frac{1}{R}\frac{d}{dr}(r R') - m^2 + k^2 r^2 - \beta^2 r^2 = 0,
]
or
[
r \frac{d}{dr}(r R') + \bigl[(k^2 - \beta^2) r^2 - m^2\bigr] R = 0.
]
5. Solve the (z)-equation
[
\frac{d^2 Z}{dz^2} + \beta^2 Z = 0.
]
Solutions:
[
Z(z) = E e^{i\beta z} + F e^{-i\beta z}
\quad\text{(or equivalently linear combinations of }\cos\beta z,\ \sin\beta z\text{)}.
]
6. Solve the radial equation (Bessel equation)
Define
[
\lambda^2 = k^2 - \beta^2.
]
Then the radial equation
[
r \frac{d}{dr}(r R') + \bigl(\lambda^2 r^2 - m^2\bigr) R = 0
]
expands to
[
r^2 R'' + r R' + (\lambda^2 r^2 - m^2) R = 0.
]
This is Bessel’s equation of order (m). The general solution depends on the sign of (\lambda^2):
-
If (\lambda^2 > 0) (i.e. (|\beta| < |k|)):
[
R(r) = a_m J_m(\lambda r) + b_m Y_m(\lambda r),
]
where (J_m) and (Y_m) are Bessel functions of the first and second kind.
-
If (\lambda^2 < 0), write (\lambda = i\mu) with (\mu>0), and the solutions are modified Bessel functions:
[
R(r) = a_m I_m(\mu r) + b_m K_m(\mu r).
]
(Choice between (J/Y) or (I/K) and which terms to keep is dictated by boundary conditions, e.g. finiteness at (r=0), decay at infinity, etc.)
7. General separated solution
Putting all parts together for (\lambda^2 > 0) (the usual oscillatory case in (r)):
[
u(r,\phi,z)
= \sum_{m=-\infty}^{\infty}
\int d\beta,
\Big[ A_{m}(\beta) J_m(\lambda r) + B_{m}(\beta) Y_m(\lambda r) \Big]
,e^{i m \phi}, e^{i\beta z},
\quad \lambda^2 = k^2 - \beta^2.
]
For particular physical problems (e.g. a finite-radius cylinder, waveguides), boundary conditions typically:
- make (\lambda) discrete by requiring (J_m(\lambda_n a)=0) or similar;
- remove the singular (Y_m) term near (r=0);
- possibly select cos/sin in (z) depending on end conditions.
If you specify boundary conditions (e.g. on (r=a), on (z=0,L)), I can write the explicit mode expansion for that case.