#!/usr/bin/env python # coding: utf-8 # MIT Licence # # © Alexey A. Shcherbakov, 2024 # # Lecture 1.1. Introduction. Vector wave functions. # ## Introduction # # When analyzing electrodynamic processes in problems with complex boundaries and inhomogeneous and/or anisotropic spatial distribution of matter, one has to resort to the use of numerical methods. On the one hand, to solve such problems one can use the general most widely spread approaches to the solution of differential equations, such as finite element methods (FEM) or finite difference method (FDM), but a large enough range of problems, both scientific and engineering, can be solved with the help of more specialized approaches, which in the field of their applicability are much more effective than the mentioned FEM and FDM. This course is devoted to familiarization with such approaches and examples of their application for solving engineering and physical problems in the field of optics and photonics. # # The course is divided into blocks that can be studied relatively independently of each other. The basic facts common to all blocks are presented in the general part. In this sense, the course is adaptive and makes it possible to modify it to meet the needs of the audience. For the moment the course consists of five sections: general, and sections devoted to photonic crystals, diffraction gratings and metasurfaces, scattering structures and solution of inverse and optimization problems. Each section contains a theoretical part, accompanying demonstration codes in Python, and exercises. There are three tracks within the exercises: engineering, computational, and theoretical. The exercises in the engineering track focus on practicing the use of off-the-shelf codes to solve application problems. In the exercises of the computational track more emphasis is placed on the development of programs to perform calculations. The theoretical track is dominated by tasks for working through the theoretical material. # # This lecture reviews material that is assumed to be familiar to students who have taken courses in general physics and continuum electrodynamics. # ## Maxwell's equations # # In this course, we will use the SI system because it is traditionally used in the problems and applications that will be discussed below. The system of Maxwell's equations in the differential form includes the Gauss's law for the electric field induction vector and magnetic field strength, the Faraday's law of electromagnetic induction, and the magnetic field circulation theorem, respectively: # \begin{align*} # \nabla\boldsymbol{B} &= \rho_{m} \\ # \nabla\boldsymbol{D} &= \rho_{e} \\ # \nabla\times\boldsymbol{E} &= -\dfrac{\partial}{\partial t}\boldsymbol{B}-\boldsymbol{J}_{m} \\ # \nabla\times\boldsymbol{H} &= \dfrac{\partial}{\partial t}\boldsymbol{D}+\boldsymbol{J}_e \\ # \end{align*} # Here, in addition to electric charges and currents, magnetic charges and currents are included, which do not physically exist, but their introduction into the system of equations is sometimes useful for constructing solutions (also $\rho_{m}$ $\boldsymbol{J}_{m}$ are sometimes taken with a different sign) and numerically solving electrodynamics problems. Sometimes the currents are divided into two components, one of which, called external currents, denotes known sources of the electromagnetic field, and the other one is a solution of some self-consistent problem. Instead of the external sources, the field excited by them can be given if, for example, they are infinitely distant. # # The vectors of electric and magnetic field strength and induction are related by the material equations describing the media in which the fields are studied. The equations in the differential form are usually supplemented by interface conditions at boundaries of different media: # \begin{align*} # \hat{\boldsymbol{n}}\times\boldsymbol{H}_{1} - \hat{\boldsymbol{n}}\times\boldsymbol{H}_{2} &= \boldsymbol{J}_{e,s} \\ # \hat{\boldsymbol{n}}\times\boldsymbol{E}_{1} - \hat{\boldsymbol{n}}\times\boldsymbol{E}_{2} &= -\boldsymbol{J}_{m,s} \\ # \hat{\boldsymbol{n}}\cdot\boldsymbol{B}_{1} - \hat{\boldsymbol{n}}\cdot\boldsymbol{B}_{2} &= \rho_{m,s} \\ # \hat{\boldsymbol{n}}\cdot\boldsymbol{D}_{1}-\hat{\boldsymbol{n}}\cdot\boldsymbol{D}_{2} &= \rho_{e,s} \\ # \end{align*} # where the right-hand parts contain surface currents and charges. In scattering problems, a condition at infinity is required (Sommerfeld radiation condition in the scalar case and the Silver-Muller conditions in the vectorial case). For the scalar Helmholtz equation on some wave function $\psi(\boldsymbol{r})$ (see below), it takes the following form # \begin{equation} # \lim_{r\rightarrow\infty} r^{(n-1)/2} \left( \frac{\partial}{\partial r} - ik \right) \psi(\boldsymbol{r}) # \end{equation} # where $n$ is the dimensionality of space, $k$ is the wave number, and the time dependence of the fields is assumed to be harmonic with a factor $\exp(-i\omega t)$ (Fourier components of the field). For the vector electromagnetic field in three-dimensional space # \begin{align*} # \lim_{r\rightarrow\infty} r\left( \boldsymbol{E} - Z \boldsymbol{H} \times \hat{\boldsymbol{r}} \right) = 0\\ # \lim_{r\rightarrow\infty} r\left( \boldsymbol{H} + \dfrac{1}{Z} \boldsymbol{E} \times \hat{\boldsymbol{r}} \right) = 0\\ # \end{align*} # where $Z = \sqrt{\mu/\varepsilon}$ is the free-space impedance. # # The integral form of the Maxwell's equations # \begin{align*} # \oint_{S}\boldsymbol{D}d\boldsymbol{S} &= Q_{e} \\ # \oint_{S}\boldsymbol{B}d\boldsymbol{S} &= Q_{m} \\ # \oint_{L}\boldsymbol{E}d\boldsymbol{l} &= -\dfrac{\partial}{\partial t}\intop_{S}\boldsymbol{B}d\boldsymbol{S}-\intop_{S} \boldsymbol{J}_{m} d\boldsymbol{S} \\ # \oint_{L}\boldsymbol{H}d\boldsymbol{l} &= \intop_{S}\dfrac{\partial}{\partial t}\boldsymbol{D}d\boldsymbol{S}+\intop_{S}\boldsymbol{J}_{e} d\boldsymbol{S} \\ # \end{align*} # # This course will focused be on solving the equations for harmonic waves with time dependence in the form $\exp(-i\omega t)$. In this case, the system of differential equations writes as # \begin{align*} # \nabla\boldsymbol{B} &= \rho_{m} \\ # \nabla\boldsymbol{D} &= \rho_{e} \\ # \nabla\times\boldsymbol{E} &= i\omega\boldsymbol{B} - \boldsymbol{J}_{m} \\ # \nabla\times\boldsymbol{H} &= -i\omega\boldsymbol{D} + \boldsymbol{J}_{e} \\ # \end{align*} # ## Электромагнитные среды # # The material equations specify relations between the vectors of electric and magnetic field strength and induction. In a general form for time-harmonic fields and so-called local media, these relations can be written in matrix-vector form through the tensors of dielectric permittivity, magnetic susceptibility, and tensors of cross-coupling of the electric and magnetic fields (generalization of Tellegen's representation) # \begin{align*} # \boldsymbol{D} &= \hat{\varepsilon}\boldsymbol{E}+\hat{\xi}\boldsymbol{H} \\ # \boldsymbol{B} &= \hat{\mu}\boldsymbol{H}+\hat{\zeta}\boldsymbol{E} # \end{align*} # By virtue of the properties of the Fourier transform, all components of fields and tensors must satisfy the relation # $$F^*(\boldsymbol r, \omega) = F(\boldsymbol r, -\omega)$$ # # If all multipliers in Tellegen's relation are nonzero, the medium is called bianisotropic. If $\hat{\xi}$ and $\hat{\zeta}$ are zero and $\hat{\varepsilon}$ or $\hat{\mu}$ not reducible to scalars, the medium is anisotropic. In the case of scalar material parameters and $\xi,\zeta\neq 0$ the medium is called bi-isotropic, otherwise it is simply isotropic. # # In artificial optical and photonic structures there can be a significant spatial dispersion, so that in the material equations it is necessary to take into account the dependence on the wave vector. In nonlinear media, the right-hand side of the material equations is a nonlinear function, which is often represented as a series of nonlinear response terms. # ## Poynting theorem, Lorentz lemma and reciprocity # # The energy transfer in the electromagnetic field is described by the Umov-Pointing vector # $$\boldsymbol{S}(\boldsymbol{r}, t) = \boldsymbol{E} \left(\boldsymbol{r}, t\right) \times \boldsymbol{H} \left(\boldsymbol{r},t\right)$$ # the time averaging of which leads to the expression # $$\left\langle \boldsymbol{S}\right\rangle = \dfrac{1}{2}\Re e\left\{ \boldsymbol{E}\left(\boldsymbol{r}\right)\times\boldsymbol{H}^{*}\left(\boldsymbol{r}\right)\right\} $$ # The total electromagnetic energy density is written as # $$ w(\boldsymbol{r}, t) = \frac{1}{2} \left( \boldsymbol{D}\cdot\boldsymbol{E} + \boldsymbol{B}\cdot\boldsymbol{H} \right) $$ # Energy transfer in space and time taking into account losses is described by the Poynting's theorem # $$\frac{\partial w}{\partial t} + \nabla\boldsymbol{S} = -\boldsymbol{J}_e\boldsymbol{E}$$ # # The forces acting from the side of the electromagnetic field are calculated using the Maxwell stress tensor # $$\mathcal{T} = -\frac{1}{2} \left( \boldsymbol{D}\cdot\boldsymbol{E} + \boldsymbol{B}\cdot\boldsymbol{H} \right) \mathbb{I} + \boldsymbol{D}\boldsymbol{E}^T + \boldsymbol{B}\boldsymbol{H}^T $$ # By analogy with the Poynting vector one can obtain a time-averaged value. In vacuum # \begin{equation*} # \langle \mathcal{T} \rangle = -\frac{1}{2} \left( \varepsilon_0 |\boldsymbol{E}|^2 + \mu_0 |\boldsymbol{H}|^2 \right) \mathbb{I} + \frac{1}{2}\Re e \left( \boldsymbol{D}\boldsymbol{E}^{\dagger} + \boldsymbol{B}\boldsymbol{H}^{\dagger} \right) # \end{equation*} # The force acting on a unit volume $\boldsymbol{f} = \nabla\cdot\langle \mathcal{T} \rangle$, so the expression for the total force has the form # \begin{equation*} # \boldsymbol{F} = \intop_S dS \langle \mathcal{T} \rangle \cdot \hat{\boldsymbol{n}} # \end{equation*} # In particular, in scattering problems it is convenient to choose a surface in the form of a sphere whose radius is large enough to be located in the far radiation zone. # # The change in momentum is determined by the law # \begin{equation*} # \frac{\partial}{\partial t} \left( \boldsymbol{G} + \boldsymbol{P} \right) + \nabla\cdot\boldsymbol{\Phi} = 0 # \end{equation*} # where $\boldsymbol{G} = \boldsymbol{S}/c^2$ is the field mpmentum density, $\boldsymbol{P}$ is the medium momentum density, and $\boldsymbol{\Phi} = -\mathcal{T}$ is the field momentum flow density. In particular, the law of conservation of momentum for an anisotropic medium with electric sources and charges # $$\rho\boldsymbol{E} + \boldsymbol{J}_e\times\boldsymbol{B} + \frac{\partial}{\partial t}\boldsymbol{D}\times\boldsymbol{B} = \nabla\cdot\mathcal{T}$$ # # The reciprocity is formulated for two sets of sources and fields excited they excite. Let the sources $\boldsymbol{J}^{I,II}_{e,m}$ excite their corresponding fields $\boldsymbol{E}^{I,II}$, $\boldsymbol{H}^{I,II}$. Let us introduce a quantity called the reaction, $$\langle\langle I, II \rangle\rangle = \int_{V_I} \left( \boldsymbol{J}^{I}_{e}(\boldsymbol{r},\omega) {E}^{II}(\boldsymbol{r},\omega) - \boldsymbol{J}^{I}_{m}(\boldsymbol{r},\omega) {H}^{II}(\boldsymbol{r},\omega)\right) dV$$ # #
#
# #
К соотношению взаимности
#
#
# # A medium in which there holds an equality # $$\langle\langle I, II \rangle\rangle = \langle\langle II, I \rangle\rangle\rangle$$ # is called the Lorentz reciprocal medium. The Lorentz lemma refers to the case of electric currents only, and states that for any sufficiently good surface $S$ bounding some volume $V$ in a Lorentz reciprocal medium, there holds # $$\oint_{S}\left(\boldsymbol{E}_{1}\times\boldsymbol{H}_{2} - \boldsymbol{E}_{2}\times\boldsymbol{H}_{1}\right) \cdot d\boldsymbol{S} = \int_{V} \left(\boldsymbol{E}_{2}\cdot\boldsymbol{J}_{1}- \boldsymbol{E}_{1}\cdot\boldsymbol{J}_{2}\right)dV$$ # ## Wave equation # # The mutual substitution of the Faraday's law and the circulation theorem for the magnetic field in the case of anisotropic media leads to the Helmholtz vector equations for the electric and magnetic fields. For the electric field, this equation writes as # $$\nabla\times\hat{\mu}^{-1}\nabla\times\boldsymbol{E} - \omega^{2}\hat{\varepsilon}\boldsymbol{E} = i\omega\boldsymbol{J}_e - \nabla\times\hat{\mu}^{-1}\boldsymbol{J}_m$$ # # In a homogeneous isotropic medium with constant dielectric constant $\varepsilon$ and magnetic susceptibility $\mu$ the equation is simplified # $$\nabla\times\nabla\times\boldsymbol{E} - k^{2}\boldsymbol{E} = i\omega\boldsymbol{J}_e - \nabla\times\boldsymbol{J}_m$$ # where $k=\omega\sqrt{\varepsilon\mu}$ is the wavenumber. In the absence of free charges and their currents the equation reduces to the scalar Helmholtz equation # $$\nabla\boldsymbol{E} = 0 \Rightarrow \Delta\boldsymbol{E} + k^2\boldsymbol{E} = 0 \Rightarrow (\Delta + k^2)\psi(\boldsymbol{r}) = 0$$ # with the Laplace operator $\Delta$. # ## Problems in electrodynamics # # Electrodynamics problems can be divided into direct and inverse problems. In a direct problem, for given material tensors and given currents in space, the fields are calculated, i.e. the boundary value problem or the scattering problem is solved. For inverse problems for the given target parameters of the fields, the medium/structure is selected to best approximate these target parameters. As a rule, inverse problems are incorrect, i.e., they violate one or more of the properties of correctness: the condition of existence, uniqueness, and stability of solutions with respect to small perturbations. # ## Eigen waves in a homogeneous isotropic medium # # For numerical solutions, analytical solutions of the eigenvalue problem for the Helmholtz equation in different coordinate systems are important. Let us write these solutions for a homogeneous isotropic medium with material constants $\varepsilon$ and $\mu$. In such a medium, the eigen solutions of the vector Helmholtz equation are transverse waves admitting a decomposition of the field into two linearly independent polarizations. In a general form, consider the vector and scalar equations: # $$\nabla\times\nabla\times\boldsymbol{F} - k^{2}\boldsymbol{F} = 0, \;\; \left(\nabla^{2}+k^{2}\right)\psi\left(\boldsymbol{r}\right) = 0$$ # If the solutions of the scalar equation $\psi$ are known, the two sets of solutions to the vector equation are obtained from the relations # \begin{align*} # \boldsymbol{M} &= \nabla\times\boldsymbol{c}\psi(\boldsymbol{r}) \\ # \boldsymbol{N} &= \frac{1}{k} \nabla\times\boldsymbol{M}\left(\boldsymbol{r}\right) # \end{align*} # These vector functions are solenoidal and have zero divergence. The basis in three-dimensional space can be constructed by adding the irrotational field # $$\boldsymbol{L} = \nabla\psi(\boldsymbol{r})$$ # This function turns out to be necessary to decompose the field in the source region. # ### Cartesian coordinates and plane waves # # In Cartesian coordinates the solution of the scalar equation is the exponential function # $$\psi(\boldsymbol{r}) = a \exp(i\boldsymbol{k}\cdot\boldsymbol{r})$$ # with wavevector $\boldsymbol{k}$, which components meet the dispersion equation # $$k_{x}^{2}+k_{y}^{2}+k_{z}^{2} = k^{2}$$ # Often the propagation of plane waves is considered relative to some selected axis, for example $Z$, and the dispersion relation is written in the form of # $$k_z = \sqrt{k^{2} - k_{x}^{2} - k_{y}^{2}}$$ # where the square root branch in the case of complex material constants is chosen from the physical requirement of exponential wave attenuation at infinity, $\Im m (k_z) \geq 0$. In this case, each projection of the wavevector on the plane $XY$ corresponds to two wavevectors describing the propagation of waves in the positive and negative directions relative to the axis $Z$: # $$\boldsymbol{k}^{\pm} = (k_x,\;k_y\;,\pm k_z)^T$$ # # For vector waves let us take $\boldsymbol{c} \equiv \hat{\boldsymbol{z}}$. Then, # \begin{align*} # \boldsymbol{M}\left(\boldsymbol{k},\boldsymbol{r}\right) &= i\boldsymbol{k}\times\hat{\boldsymbol{z}}e^{i\boldsymbol{k}\cdot\boldsymbol{r}} = i\kappa \hat{\boldsymbol{e}}^{s\pm}_{\boldsymbol{k}} e^{i\boldsymbol{k}\cdot\boldsymbol{r}} \\ # \boldsymbol{N}\left(\boldsymbol{k},\boldsymbol{r}\right) &= -\dfrac{\kappa}{k}\boldsymbol{k}\times\boldsymbol{k}\times\hat{\boldsymbol{z}}e^{i\boldsymbol{k}\cdot\boldsymbol{r}} = -\kappa \hat{\boldsymbol{e}}^{p\pm}_{\boldsymbol{k}} e^{i\boldsymbol{k}\cdot\boldsymbol{r}} \\ # \boldsymbol{L}\left(\boldsymbol{k},\boldsymbol{r}\right) &= i\boldsymbol{k}e^{i\boldsymbol{k}\cdot\boldsymbol{r}} # \end{align*} # Here the unit vectors for the TE ('s') and TM ('p') polarizations are: # \begin{align*} # \hat{\boldsymbol{e}}^{s\pm}_{\boldsymbol{k}} = \dfrac{\boldsymbol{k}^{\pm}\times\hat{\boldsymbol{e}}_{z}}{\left|\boldsymbol{k}^{\pm}\times\hat{\boldsymbol{e}}_{z}\right|} &= \dfrac{k_{y}}{\kappa}\hat{\boldsymbol{e}}_{x}-\dfrac{k_{x}}{\kappa}\hat{\boldsymbol{e}}_{y} \\ # \hat{\boldsymbol{e}}^{p\pm}_{\boldsymbol{k}} = \dfrac{\boldsymbol{k}^{\pm}\times\left(\boldsymbol{k}^{\pm}\times\hat{\boldsymbol{e}}_{z}\right)}{\left|\boldsymbol{k}^{\pm}\times\left(\boldsymbol{k}^{\pm}\times\hat{\boldsymbol{e}}_{z}\right)\right|} &= \pm\dfrac{k_{x}k_{z}}{\kappa k}\hat{\boldsymbol{e}}_{x}\pm\dfrac{k_{y}k_{z}}{\kappa k}\hat{\boldsymbol{e}}_{y}-\dfrac{\kappa}{k}\hat{\boldsymbol{e}}_{z} # \end{align*} # and the $XY$ projection length of the wavevector is: $\varkappa = \sqrt{k_x^2 + k_y^2}$. # # The fields are decomposed into plane waves using the orthogonality relations: # \begin{equation*} # \iiint_{-\infty}^{\infty}d^{3}\boldsymbol{r}\psi\left(\boldsymbol{k},\boldsymbol{r}\right)\psi\left(-\boldsymbol{k}',\boldsymbol{r}\right)=\left(2\pi\right)^{3}\delta\left(\boldsymbol{k}-\boldsymbol{k}'\right) # \end{equation*} # # \begin{equation*} # \iiint_{-\infty}^{\infty}d^{3}\boldsymbol{r}\boldsymbol{M}\left(\boldsymbol{k},\boldsymbol{r}\right)\cdot\boldsymbol{M}\left(-\boldsymbol{k}',\boldsymbol{r}\right) = \iiint_{-\infty}^{\infty}d^{3}\boldsymbol{k}\boldsymbol{N}\left(\boldsymbol{k},\boldsymbol{r}\right)\cdot\boldsymbol{N}\left(-\boldsymbol{k}',\boldsymbol{r}\right)=\left(2\pi\right)^{3}\varkappa^{2}\delta\left(\boldsymbol{k}-\boldsymbol{k}'\right) # \end{equation*} # # \begin{equation*} # \iiint_{-\infty}^{\infty}d^{3}\boldsymbol{r}\boldsymbol{L}\left(\boldsymbol{k},\boldsymbol{r}\right)\cdot\boldsymbol{L}\left(-\boldsymbol{k}',\boldsymbol{r}\right)=\left(2\pi\right)^{3}k^{2}\delta\left(\boldsymbol{k}-\boldsymbol{k}'\right) # \end{equation*} # # ### Spherical coordinates and spherical waves # # In spherical coordinates $(r,\theta,\phi)$ the scalar Helmholtz equation has the following form # \begin{equation*} # \left(\dfrac{1}{r^{2}}\dfrac{\partial}{\partial r}r^{2}\dfrac{\partial}{\partial r}+\dfrac{1}{r^{2}\sin\theta}\dfrac{\partial}{\partial\theta}\sin\theta\dfrac{\partial}{\partial\theta}+\dfrac{1}{r^{2}\sin^{2}\theta}\dfrac{\partial^{2}}{\partial\phi^{2}}+k^{2}\right)\psi=0 # \end{equation*} # Its solutions are written through the spherical Bessel functions $z_n(x)$ and the associated Legendre polynomials $P_n^m(\cos\theta)$: # \begin{equation*} # \psi_{mn} = \gamma_{mn} z_{n}\left(kr\right) P_{n}^{m}\left(\theta\right) e^{im\phi} = z_{n}\left(kr\right) Y_{mn} (\theta, \phi) # \end{equation*} # The indices are $0\leq n\leq\infty$, $-n\leq m\leq n$. All solutions are superpositions of two types of solutions that are usually chosen from four types of spherical functions - Bessel functions of the first kind $j_n(x)$, Neumann functions $y_n(x)$, and Hankel functions of the first and second kind $h_n^{(1,2)}(x)=j_n(x)\pm iy_n(x)$ (analogously to the two types of plane waves propagating in the positive and negative directions with respect to the $Z$ axis). Typically, one chooses a pair of the regular at the origin $j_n(x)$ and the $h_n^{(1)}(x)$, which is a divergent spherical wave for large arguments. For the function $z_n^{\sigma}$, we introduce an upper index $\sigma=1,3$ and assume $z^1_n\equiv j_n$, $z^3_n\equiv h^{(1)}_n$. The solutions are often normalized using the multiplier # \begin{equation*} # \gamma_{mn} = \sqrt{ \dfrac{\left(2n+1\right)}{4\pi} \dfrac{\left(n-m\right)!}{\left(n+m\right)!} } # \end{equation*} # # To construct vector spherical waves one chooses $\boldsymbol{c}\equiv\boldsymbol{r}$, then # \begin{align*} # \boldsymbol{M}_{nm}(k\boldsymbol{r}) = \nabla\times\boldsymbol{r} z_{n}(kr) Y_{nm}(\theta,\phi) =& \frac{1}{\sqrt{2\pi n\left(n+1\right)}} z_{n}(kr) \left[ im\pi_{nm}(\theta)\hat{\boldsymbol{e}}_{\theta} - \tau_{nm}(\theta) \hat{\boldsymbol{e}}_{\phi} \right] e^{im\phi} \\ # \boldsymbol{N}_{nm}(k\boldsymbol{r}) = \dfrac{1}{k} \nabla\times\nabla\times\boldsymbol{r} z_{n}(kr) Y_{nm}(\theta,\phi) =& \dfrac{\sqrt{n\left(n+1\right)}}{\sqrt{2\pi}} \frac{z_{n}(kr)}{kr} P_{n}^{m}(\theta) e^{im\phi} \hat{\boldsymbol{e}}_{r} + \\ # &+ \frac{1}{\sqrt{2\pi n\left(n+1\right)}} \frac{\tilde{z}_{n}(kr)}{kr} \left[ \tau_{nm}(\theta) \hat{\boldsymbol{e}}_{\theta} + im\pi_{nm}(\theta) \hat{\boldsymbol{e}}_{\varphi} \right] e^{im\phi} \\ # \boldsymbol{L}_{nm}(k\boldsymbol{r}) = \dfrac{1}{k} \nabla j_{n}(kr) Y_{nm}(\theta,\phi) =& z_{n}'(kr) P_{n}^{m}(\theta) e^{im\phi} \hat{\boldsymbol{e}}_{r} + \\ # &+ \frac{z_{n}(kr)}{kr} \left[ \tau_{nm}(\theta) \hat{\boldsymbol{e}}_{\theta} + im\pi_{nm}(\theta)\hat{\boldsymbol{e}}_{\phi} \right] e^{im\phi} # \end{align*} # где $\tilde{z}_{n}\left(x\right)=d\left(xz_{n}\left(x\right)\right)/dx$, $\pi_{nm}(\theta) = P_{n}^{m}(\theta)/\sin\theta$, и $\tau_{nm}(\theta) = dP_{n}^{m}(\theta)/d\theta$. # # Orthogonality relations read # \begin{equation*} # \int_V d^3\boldsymbol{r} \psi^{\sigma}_{nm}(k\boldsymbol{r}) \psi^{\sigma}_{n',-m'}(k'\boldsymbol{r}) = \int_{V} d^3\boldsymbol{r} \boldsymbol{L}^{\sigma}_{nm}(k\boldsymbol{r}) \cdot \boldsymbol{L}^{\sigma}_{n',-m'}(k'\boldsymbol{r}) = \pi\delta_{mm'}\delta_{nn'}\dfrac{\delta\left(k-k'\right)}{2k^{2}} # \end{equation*} # # \begin{equation*} # \int_{V} d^3\boldsymbol{r} \boldsymbol{M}^{\sigma}_{nm}(k\boldsymbol{r}) \cdot \boldsymbol{M}^{\sigma}_{n',-m'}(k'\boldsymbol{r}) = \int_{V} d^3\boldsymbol{r} \boldsymbol{N}_{nm}(k\boldsymbol{r}) \cdot \boldsymbol{N}^{\sigma}_{n',-m'}(k'\boldsymbol{r}) = n(n+1)\pi\delta_{mm'}\delta_{nn'}\dfrac{\delta(k-k')}{2k^{2}} # \end{equation*} # # Cylindrical waves can be derived analogously. # References: # 1. Orfanidis, J. Electromagnetic waves and antennas, Ch. 1-2, Rutgers University (2016) # 2. W. C. Chew, Waves and Fields in Inhomogeneous Media, Ch 1, 7.2, IEEE Press (1995) # 3. A. G. Sveshnikov, I. E. Mogilevskiy, Mathematical problems of the diffraction theory, Ch. 1, MSU (2012) (In Russian) # 4. J. A. Kong, Theorems of bianisotropic media, Proceedings of the IEEE 60, 9, 1036-1046 (1972) # # Translated partially with DeepL.com (free version)