Orthogonality The orthogonality in the radial part reads :\int_0^1\sqrt{2n+2}R_n^m(\rho)\,\sqrt{2n'+2}R_{n'}^{m}(\rho)\,\rho d\rho = \delta_{n,n'} or \underset{0}{\overset{1}{\mathop \int }}\,R_{n}^{m}(\rho )R_{{{n}'}}^{m}(\rho )\rho d\rho =\frac{{{\delta }_{n,{n}'}}}{2n+2}. Orthogonality in the angular part is represented by the
elementary :\int_0^{2\pi} \cos(m\varphi)\cos(m'\varphi)\,d\varphi=\epsilon_m\pi\delta_{m,m'}, :\int_0^{2\pi} \sin(m\varphi)\sin(m'\varphi)\,d\varphi=\pi\delta_{m,m'};\quad m\neq 0, :\int_0^{2\pi} \cos(m\varphi)\sin(m'\varphi)\,d\varphi=0, where \epsilon_m (sometimes called the
Neumann factor because it frequently appears in conjunction with Bessel functions) is defined as
2 if m=0 and
1 if m\neq 0. The product of the angular and radial parts establishes the orthogonality of the Zernike functions with respect to both indices if integrated over the unit disk, :\int Z_n^l(\rho,\varphi)Z_{n'}^{l'}(\rho,\varphi) \, d^2r =\frac{\epsilon_l\pi}{2n+2}\delta_{n,n'}\delta_{l,l'}, where d^2r=\rho\,d\rho\,d\varphi is an infinitesimal area element of the circular
coordinate system (where \rho is the
Jacobian of a formula converting this coordinate system to
Cartesian coordinate system), and where n-l and n'-l' are both even.
Zernike transform Any sufficiently smooth real-valued phase field over the unit disk G(\rho,\varphi) can be represented in terms of its Zernike coefficients (odd and even), just as periodic functions find an orthogonal representation with the
Fourier series. We have :G(\rho,\varphi) = \sum_{m,n}\left[ a_{m,n} Z^{m}_n(\rho,\varphi) + b_{m,n} Z^{-m}_n(\rho,\varphi) \right], where the coefficients can be calculated using
inner products. On the space of L^2 functions on the unit disk, there is an inner product defined by :\langle F, G \rangle := \int F(\rho,\varphi)G(\rho,\varphi)\rho d\rho d\varphi. The Zernike coefficients can then be expressed as follows: :\begin{align} a_{m,n} &= \frac{2n+2}{\epsilon_m\pi} \left \langle G(\rho,\varphi),Z^{m}_n(\rho,\varphi) \right \rangle, \\ b_{m,n} &= \frac{2n+2}{\epsilon_m\pi} \left \langle G(\rho,\varphi),Z^{-m}_n(\rho,\varphi) \right \rangle. \end{align} Alternatively, one can use the known values of phase function
G on the circular grid to form a system of equations. The phase function is retrieved by the unknown-coefficient weighted product with (known values) of Zernike polynomial across the unit grid. Hence, coefficients can also be found by solving a linear system, for instance by matrix inversion. Fast algorithms to calculate the forward and inverse Zernike transform use symmetry properties of
trigonometric functions, separability of radial and azimuthal parts of Zernike polynomials, and their rotational symmetries.
Symmetries The
reflections of trigonometric functions result that the parity with respect to reflection along the
x axis is :Z_n^{l}(\rho,\varphi)=Z_n^{l}(\rho,-\varphi) for
l ≥ 0, :Z_n^{l}(\rho,\varphi)=-Z_n^{l}(\rho,-\varphi) for
l Z_n^l(\rho,\varphi) = (-1)^l Z_n^l(\rho,\varphi+\pi), where (-1)^l could as well be written (-1)^n because n-l as even numbers are only cases to get non-vanishing Zernike polynomials. (If
n is even then
l is also even. If
n is odd, then
l is also odd.) This property is sometimes used to categorize Zernike polynomials into even and odd polynomials in terms of their angular dependence. (it is also possible to add another category with
l = 0 since it has a special property of no angular dependence.) • Angularly even Zernike polynomials: Zernike polynomials with even
l so that Z_n^l(\rho,\varphi) = Z_n^l(\rho,\varphi+\pi). • Angularly odd Zernike polynomials: Zernike polynomials with odd
l so that Z_n^l(\rho,\varphi) = - Z_n^l(\rho,\varphi+\pi). (This nomenclature is not used in practice because non-vanishing polynomials have even
l only combined with even
n and odd
l combined with odd
n, so angularly even polynomials are also radially even polynomials and angularly odd polynomials are also radially odd polynomials such that the attribute
angularly is superflous.) The radial polynomials are also either even or odd, depending on the order
n or the azimuthal index
m: :R_n^m(\rho)=(-1)^n R_n^m(-\rho)=(-1)^m R_n^m(-\rho). These equalities are easily seen since R_n^m(\rho) with an odd (even)
m contains only odd (even) powers to
ρ (see examples of R_n^m(\rho) below). The
periodicity of the trigonometric functions results in invariance if rotated by multiples of 2\pi/l radian around the center: :Z_n^l \left (\rho, \varphi+ \tfrac{2\pi k}{l} \right )=Z_n^l(\rho,\varphi),\qquad k= 0, \pm 1,\pm 2,\cdots.
As eigenfunctions of a differential operator The Zernike polynomials are eigenfunctions of the Zernike differential operator, in modern formulation :\begin{align} L\left[f\right] = \nabla^2 f - ({\bf r}\cdot \nabla)^2 f - 2{\bf r}\cdot \nabla f \end{align} self-adjoint over the unit disk, with negative eigenvalues L[Z_n^m] = -n(n+2)Z_n^m. Other self-adjoint differential operators can be constructed for which the Zernike polynomials form a spectrum, for example \nabla \cdot (1-\rho^2 ) \nabla Z_n^m = \left( m^2 - n(n+2) \right) Z_n^m (relating to rough surface
BRDFs), which differs from the above by a factor \partial_{\varphi \varphi}.
Recurrence relations The Zernike polynomials satisfy the following
recurrence relation: :\begin{align} R_n^m(\rho)+R_{n-2}^m(\rho)=\rho\left[R_{n-1}^{\left|m-1\right|}(\rho)+R_{n-1}^{m+1}(\rho)\right] \text{ .} \end{align} From the definition of R_n^m it can be seen that R_m^m(\rho) = \rho^m and R_{m+2}^m(\rho) = ((m+2)\rho^{2} - (m+1))\rho^m. The following three-term recurrence relation then allows to calculate all other R_n^m(\rho): : R_n^m(\rho) = \frac{2(n-1)(2n(n-2)\rho^2-m^2-n(n-2))R_{n-2}^m(\rho) - n(n+m-2)(n-m-2)R_{n-4}^m(\rho)}{(n+m)(n-m)(n-2)} \text{ .} The main use of these recurrences is to avoid cancellation of digits that occurs for large n in the accumulation of the oscillatory binomial terms in the
power series notation . The above relation is also useful since the derivative of R_n^m can be calculated from two radial Zernike polynomials of adjacent degree: : \frac{\operatorname{d}}{\operatorname{d}\! \rho} R_n^m(\rho) = \frac{(2 n m (\rho^2 - 1) + (n-m)(m + n(2\rho^2 - 1))) R_n^m(\rho) - (n+m)(n-m) R_{n-2}^m(\rho)}{2 n \rho (\rho^2 - 1)} \text{ .} The
differential equation of the Gaussian Hypergeometric Function is equivalent to : \rho^2(\rho^2-1) \frac{d^2}{d\rho^2} R_n^m(\rho) = [n(n+2)\rho^2-m^2]R_n^m(\rho)+\rho(1-3\rho^2)\frac{d}{d\rho} R_n^m(\rho). ==Nomenclature==