# Cylindrical harmonics

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Cylindrical_harmonics
> Markdown URL: https://mediated.wiki/source/Cylindrical_harmonics.md
> Source: https://en.wikipedia.org/wiki/Cylindrical_harmonics
> Source revision: 1344883456
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Solutions to Laplace's equation}}
{{context|date=August 2025}}
In [mathematics](/source/mathematics), the '''cylindrical harmonics''' are a set of [linearly independent](/source/linear_dependence) functions that are solutions to [Laplace's differential equation](/source/Laplace's_equation), <math>\nabla^2 V = 0</math>, expressed in [cylindrical coordinates](/source/cylindrical_coordinate_system), ''ρ'' (radial coordinate), ''φ'' (polar angle), and ''z'' (height). Each function ''V''<sub>''n''</sub>(''k'') is the product of three terms, each depending on one coordinate alone. The ''ρ''-dependent term is given by [Bessel function](/source/Bessel_function)s (which occasionally are also called cylindrical harmonics).

==Definition==
Each function <math>V_n(k)</math> of this basis consists of the product of three functions:
<math display="block">V_n(k;\rho,\varphi,z)=P_n(k,\rho)\Phi_n(\varphi)Z(k,z)\,</math>
where <math>(\rho,\varphi,z)</math> are the cylindrical coordinates, and ''n'' and ''k'' constants that differentiate the members of the set. As a result of the [superposition principle](/source/superposition_principle) applied to Laplace's equation, very general solutions to Laplace's equation can be obtained by linear combinations of these functions.

Since all surfaces with constant ρ, φ and ''z''&nbsp; are conicoid, Laplace's equation is separable in cylindrical coordinates. Using the technique of the [separation of variables](/source/separation_of_variables), a separated solution to Laplace's equation can be expressed as:
<math display="block">V=P(\rho)\,\Phi(\varphi)\,Z(z)</math>
and Laplace's equation, divided by ''V'', is written:
<math display="block">
\frac{\ddot{P}}{P}+\frac{1}{\rho}\,\frac{\dot{P}}{P}+\frac{1}{\rho^2}\,\frac{\ddot{\Phi}}{\Phi}+\frac{\ddot{Z}}{Z}=0
</math>

The ''Z''&nbsp; part of the equation is a function of ''z'' alone, and must therefore be equal to a constant:
<math display="block">\frac{\ddot{Z}}{Z}=k^2</math>
where ''k''&nbsp; is, in general, a [complex number](/source/complex_number). For a particular ''k'', the ''Z''(''z'') function has two linearly independent solutions. If ''k'' is real they are:
<math display="block">Z(k,z)=\cosh(kz)\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,\sinh(kz)\,</math>
or by their behavior at infinity:
<math display="block">Z(k,z)=e^{kz}\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,e^{-kz}\,</math>

If ''k'' is imaginary:
<math display="block">Z(k,z)=\cos(|k|z)\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,\sin(|k|z)\,</math>
or:
<math display="block">Z(k,z)=e^{i|k|z}\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,e^{-i|k|z}\,</math>

It can be seen that the ''Z''(''k'',''z'') functions are the kernels of the [Fourier transform](/source/Fourier_transform) or [Laplace transform](/source/Laplace_transform) of the ''Z''(''z'') function and so ''k'' may be a discrete variable for [periodic boundary conditions](/source/periodic_boundary_conditions), or it may be a continuous variable for non-periodic boundary conditions.

Substituting <math>k^2</math> for <math>\ddot{Z}/Z</math>&nbsp;, Laplace's equation may now be written:
<math display="block">
\frac{\ddot{P}}{P}+\frac{1}{\rho}\,\frac{\dot{P}}{P}+\frac{1}{\rho^2}\frac{\ddot{\Phi}}{\Phi}+k^2=0
</math>

Multiplying by <math>\rho^2</math>, we may now separate the ''P''&nbsp; and Φ functions and introduce another constant (''n'') to obtain:
<math display="block">\frac{\ddot{\Phi}}{\Phi} =-n^2</math>
<math display="block">\rho^2\frac{\ddot{P}}{P}+\rho\frac{\dot{P}}{P}+k^2\rho^2=n^2</math>

Since <math>\varphi</math> is periodic, we may take ''n'' to be a non-negative [integer](/source/integer) and accordingly, the <math>\Phi(\varphi)</math> the constants are subscripted.  Real solutions for <math>\Phi(\varphi)</math> are
<math display="block">\Phi_n=\cos(n\varphi)\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,\sin(n\varphi)</math>
or, equivalently:
<math display="block">\Phi_n=e^{in\varphi}\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,e^{-in\varphi}</math>

The differential equation for <math>\rho</math> is a form of Bessel's equation.

If ''k'' is zero, but ''n'' is not, the solutions are:
<math display="block">P_n(0,\rho)=\rho^n\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,\rho^{-n}\,</math>

If both k and n are zero, the solutions are:
<math display="block">P_0(0,\rho)=\ln\rho\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,1\,</math>

If ''k'' is a [real number](/source/real_number) we may write a real solution as:
<math display="block">P_n(k,\rho)=J_n(k\rho)\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,Y_n(k\rho)\,</math>
where <math>J_n(z)</math> and <math>Y_n(z)</math> are ordinary [Bessel function](/source/Bessel_function)s. 

If ''k'' is an [imaginary number](/source/imaginary_number), we may write a real solution as:
<math display="block">P_n(k,\rho)=I_n(|k|\rho)\,\,\,\,\,\,\mathrm{or}\,\,\,\,\,\,K_n(|k|\rho)\,</math>
where <math>I_n(z)</math> and <math>K_n(z)</math> are modified [Bessel function](/source/Bessel_function)s. 

The cylindrical harmonics for (k,n) are now the product of these solutions and the general solution to Laplace's equation is given by a [linear combination](/source/linear_combination) of these solutions:
<math display="block">V(\rho,\varphi,z)=\sum_n \int d\left|k\right|\,\, A_n(k) P_n(k,\rho) \Phi_n(\varphi) Z(k,z)\,</math>
where the <math>A_n(k)</math> are constants with respect to the cylindrical coordinates and the limits of the summation and integration are determined by the boundary conditions of the problem. Note that the integral may be replaced by a sum for appropriate boundary conditions. The orthogonality of the <math>J_n(x)</math> is often very useful when finding a solution to a particular problem. The <math>\Phi_n(\varphi)</math>  and <math>Z(k,z)</math>  functions are essentially Fourier or Laplace expansions, and form a set of [orthogonal functions](/source/orthogonal_functions). When <math>P_n(k\rho)</math>  is simply <math>J_n(k\rho)</math> , the orthogonality of <math>J_n</math>, along with the orthogonality relationships of <math>\Phi_n(\varphi)</math> and <math>Z(k,z)</math> allow the constants to be determined.{{sfn|Smythe|1968|p=185}}

If <math>(x)_k</math> is the sequence of the positive zeros of <math>J_n</math> then:{{sfn|Guillopé|2010}}
<math display="block">\int_0^1 J_n(x_k\rho)J_n(x_k'\rho)\rho\,d\rho = \frac{1}{2}J_{n+1}(x_k)^2\delta_{kk'}</math>

In solving problems, the space may be divided into any number of pieces, as long as the values of the potential and its derivative match across a boundary which contains no sources.

===Example: Point source inside a conducting cylindrical tube===

As an example, consider the problem of determining the potential of a unit source located at <math>(\rho_0,\varphi_0,z_0)</math> inside a conducting cylindrical tube (e.g. an empty tin can) which is bounded above and below by the planes <math>z=-L</math> and <math>z=L</math> and on the sides by the cylinder <math>\rho=a</math>.<ref>Configuration and variables as in {{harvnb|Smythe|1968}}</ref> (In MKS units, we will assume <math>q/4\pi\epsilon_0=1</math>). Since the potential is bounded by the planes on the ''z'' axis, the ''Z(k,z)'' function can be taken to be periodic. Since the potential must be zero at the origin, we take the <math>P_n(k\rho)</math> function to be the ordinary Bessel function <math>J_n(k\rho)</math>, and it must be chosen so that one of its zeroes lands on the bounding cylinder. For the measurement point below the source point on the ''z'' axis, the potential will be:
<!---
<math display="block">V(\rho,\varphi,z)=\sum_{n=0}^\infty \sum_{r=0}^\infty\, A_{nr} J_n(k_{nr}\rho)\cos(n(\varphi-\varphi_0))\sinh(k_{nr}z)\,\,\,\,\,z\le z_0</math>
where <math>k_{nr}a</math> is the r-th zero of <math>J_n(z)</math> and
<math display="block">A_{nr}=\frac{4(2-\delta_{n0})}{a^2}\,\,\frac{\sinh k_{nr}(L-z_0)}{\sinh k_{nr}L}\,\,\frac{J_n(k_{nr}\rho_0)}{k_r[J_{n+1}(k_{nr}a)]^2}\,</math>
z becomes L-z, zo becomes L-zo
<math display="block">V(\rho,\varphi,z)=\sum_{n=0}^\infty \sum_{r=0}^\infty\, A_{nr} J_n(k_{nr}\rho)\cos(n(\varphi-\varphi_0))\sinh(k_{nr}(L-z))\,\,\,\,\,z\ge z_0</math>
<math display="block">A_{nr}=\frac{4(2-\delta_{n0})}{a^2}\,\,\frac{\sinh k_{nr}(z_0)}{\sinh k_{nr}L}\,\,\frac{J_n(k_{nr}\rho_0)}{k_r[J_{n+1}(k_{nr}a)]^2}\,</math>
--->

<math display="block">V(\rho,\varphi,z)=\sum_{n=0}^\infty \sum_{r=0}^\infty\, A_{nr} J_n(k_{nr}\rho)\cos(n(\varphi-\varphi_0))\sinh(k_{nr}(L+z))\,\,\,\,\,z\le z_0</math>
where <math>k_{nr}a</math> is the ''r''-th zero of <math>J_n(z)</math> and, from the orthogonality relationships for each of the functions:
<math display="block">A_{nr}=\frac{4(2-\delta_{n0})}{a^2}\,\,\frac{\sinh k_{nr}(L-z_0)}{\sinh 2k_{nr}L}\,\,\frac{J_n(k_{nr}\rho_0)}{k_{nr}[J_{n+1}(k_{nr}a)]^2}\,</math>

Above the source point:
<math display="block">V(\rho,\varphi,z)=\sum_{n=0}^\infty \sum_{r=0}^\infty\, A_{nr} J_n(k_{nr}\rho)\cos(n(\varphi-\varphi_0))\sinh(k_{nr}(L-z))\,\,\,\,\,z\ge z_0</math>
<math display="block">A_{nr}=\frac{4(2-\delta_{n0})}{a^2}\,\,\frac{\sinh k_{nr}(L+z_0)}{\sinh 2k_{nr}L}\,\,\frac{J_n(k_{nr}\rho_0)}{k_{nr}[J_{n+1}(k_{nr}a)]^2}.\,</math>

It is clear that when <math>\rho=a</math> or <math>|z|=L</math>, the above function is zero. It can also be easily shown that the two functions match in value and in the value of their first derivatives at <math>z=z_0</math>.

====Point source inside cylinder====

Removing the plane ends (i.e. taking the limit as L approaches infinity) gives the field of the point source inside a conducting cylinder:
<math display="block">V(\rho,\varphi,z)=\sum_{n=0}^\infty \sum_{r=0}^\infty\, A_{nr} J_n(k_{nr}\rho)\cos(n(\varphi-\varphi_0))e^{-k_{nr}|z-z_0|}</math>
<math display="block">A_{nr}=\frac{2(2-\delta_{n0})}{a^2}\,\,\frac{J_n(k_{nr}\rho_0)}{k_{nr}[J_{n+1}(k_{nr}a)]^2}.\,</math>

====Point source in open space====

As the radius of the cylinder (''a'') approaches infinity, the sum over the zeroes of {{math|''J''<sub>''n''</sub>(''z'')}} becomes an integral, and we have the field of a point source in infinite space:
<math display="block">V(\rho,\varphi,z)
=\frac{1}{R}
=\sum_{n=0}^\infty \int_0^\infty d\left|k\right|\, A_n(k) J_n(k\rho)\cos(n(\varphi-\varphi_0))e^{-k|z-z_0|}
</math>
<math display="block">A_n(k)=(2-\delta_{n0})J_n(k\rho_0)\,</math>
and ''R'' is the distance from the point source to the measurement point:
<math display="block">R=\sqrt{(z-z_0)^2+\rho^2+\rho_0^2-2\rho\rho_0\cos(\varphi-\varphi_0)}.\,</math>

====Point source in open space at origin====

Finally, when the point source is at the origin, <math>\rho_0=z_0=0</math>
<math display="block">V(\rho,\varphi,z)=\frac{1}{\sqrt{\rho^2+z^2}}=\int_0^\infty  J_0(k\rho)e^{-k|z|}\,dk.</math>

==See also==
*[Spherical harmonics](/source/Spherical_harmonics)

==Notes==
{{reflist|2}}

==References==
{{refbegin}}
* {{cite book |last = Smythe |first = William R. |title = Static and Dynamic Electricity |edition = 3rd |year = 1968 |publisher = [McGraw-Hill](/source/McGraw-Hill) }}
* {{cite web |url = http://www.math.sciences.univ-nantes.fr/~guillope/etn3-hfs/hfs.pdf |title = Espaces de Hilbert et fonctions spéciales |language = French |first = Laurent |last = Guillopé |year = 2010 }}
{{refend}} 

Category:Differential equations

---
Adapted from the Wikipedia article [Cylindrical harmonics](https://en.wikipedia.org/wiki/Cylindrical_harmonics) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Cylindrical_harmonics?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
