Background & Theory
When analyzing optical surfaces, optical systems, fabrication methods, and wavefronts, it is extremely common to describe things using a polynomial set, specifically the Zernike polynomial. There area a variety of reasons for this, but concisely the Zernike polynomial is ortho-normal over a circular aperture, which works well for most optics, and the lower order terms of the Zernike polynomial map well to commonly seen aberrations and features in an optical system. For example, low order terms describe tip, tilt, defocus, and spherical aberration, all common aberrations that may be seen in an optical system. Additionally, a variety of terms map particularly well to describing features that can be commonly seen from traditional fabrication methods or mechanical deformations of a lens surface induced do to thermal and mechanical stress. See Dr. Wyant and Dr. Creath for wonderful descriptions of the Zernike polynomial and it’s uses [1]. See Dr. Mahajan for a deeper discussion of circular Zernike polynomials [2].
However, Zernike polynomials are themselves derived from the more general Jacobi polynomial. Other unique forms of the Jacobi polynomial include the Chebyshev and Legendre polynomials. Both have their applications in optics, but one clear example of the use of the Chebyshev is that, unlike the Zernike polynomial, it is ortho-normal over a rectangular aperture. For systems that utilize a rectangular detector, this can be a useful polynomial set to use for fitting and describing a rectangular wavefront. From a complete description on the derivation of of the Zernike, Chebyshev, and Legendre from the Jacobi see the post on this forum dedicated to the topic.
In terms of applications, surfaces in an optical system can be defined as a Zernike, Chebyshev, Legendre, or Jacobi polynomial surface. These surfaces also describe what are commonly referred to as ‘freeform’ surfaces. Additionally, these polynomials can be used to fit the wavefront in an optical system, model deformations of a surface, and describe a measurement from a metrology system of an optical surface.
Algorithm
For the interested scientist and user, it is essential to know what exactly the software is doing to determine the surface type. The following section lays out the algorithms used:
Step 1: Definition of the Jacobi Polymomial
The classic Jacobi Polynomial [3] is a solution to the Jacobi Differential Equation, which is itself a singular Sturm-Liouville eigenvalue problem [4] of the form:
Using a solution of the form:
produces a recurrence relation [5]:
for the set v=0,1,.... \gamma is defined as
Solving the recurrence relationship gives us the general form of the Jacobi polynomial:
Step 2: Defining Ortho-Normality
Equation 5 only is true for cases where \alpha, \beta > -1. It forms a complete orthogonal set in the interval x \in [-1, 1] with respect to the following weighting function, w(x) :
Step 3: Normalization
The Jacobi Polynomials are normalized via:
They satisfy orthonormality via:
Step 4: Deriving Zernike, Chebyshev, and Legendre Polynomial Sets
The Jacobi Polynomial reduces to the
- Legendre Polynomial when \alpha=\beta=0
and
- The Chebychev Polynomial of the first kind when \alpha=\beta=-1/2, such that:
- The Zernike Polynomial when
- x = 1-2\rho^2
- \alpha = m
- \beta = 0
-
n' = \frac{1}{2}(n-m)
resulting in :
As always, if you find any errors please point them out so we can correct them!
References
-
Wyant, J., and Creath, K., “Basic Wavefront Aberration Theory
for Optical Metrology” -
Mahajan, V. N. (2013). Optical Imaging and Aberrations: Wavefront analysis. United States: SPIE Optical Engineering Press.
-
“Jacobi Polynomial.” Accessed July 16, 2020. Jacobi Polynomial.
-
Hesthaven, Jan S., and Tim Warburton. Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications . Appendix A. Texts in Applied Mathematics. New York: Springer-Verlag, 2008. https://doi.org/10.1007/978-0-387-72067-8.
-
Levin, Oscar. “Discrete MathematicsAn Open Introduction.” Discrete Mathematics: An Open Introduction , OpenMath Books, Solving Recurrence Relations.
-
Aftab, Maham, Logan R. Graves, James H. Burge, Greg A. Smith, Chang Jin Oh, and Dae Wook Kim. “Rectangular Domain Curl Polynomial Set for Optical Vector Data Processing and Analysis.” Optical Engineering 58, no. 9 (September 2019): 095105. Rectangular domain curl polynomial set for optical vector data processing and analysis.
-
Aftab, Maham, James H. Burge, Gregory A. Smith, Logan Graves, Chang Jin Oh, and Dae Wook Kim. “Modal Data Processing for High Resolution Deflectometry.” International Journal of Precision Engineering and Manufacturing - Green Technology Volume 6, no. 2 (April 1, 2019): 255–70. Modal Data Processing for High Resolution Deflectometry | SpringerLink.
-
Schwalm, W.A.: Lectures on Selected Topics in Mathematical Physics: Elliptic Function-sand Elliptic Integrals, vol. 68. Morgan & Claypool publication as part of IOP Concise Physics, San Rafael (2015)
-
Boyd, John P., and Rolfe Petschek. “The Relationships Between Chebyshev, Legendre and Jacobi Polynomials: The Generic Superiority of Chebyshev Polynomials and Three Important Exceptions.” Journal of Scientific Computing 59, no. 1 (April 1, 2014): 1–27. The Relationships Between Chebyshev, Legendre and Jacobi Polynomials: The Generic Superiority of Chebyshev Polynomials and Three Important Exceptions | SpringerLink.
-
Lewanowicz, S. “Properties of the Polynomials Associated with the Jacobi Polynomials.” Mathematics of Computation 47, no. 176 (1986): 669–82. AMS :: Mathematics of Computation.
-
Defez, E., L. Jódar, and A. Law. “Jacobi Matrix Differential Equation, Polynomial Solutions, and Their Properties.” Computers & Mathematics with Applications 48, no. 5 (September 1, 2004): 789–803. Redirecting.
-
Koekoek, J., and R. Koekoek. “Differential Equations for Generalized Jacobi Polynomials.” Journal of Computational and Applied Mathematics 126, no. 1–2 (December 2000): 1–31. Redirecting.
-
Forbes, G. W. “Robust, Efficient Computational Methods for Axially Symmetric Optical Aspheres.” Optics Express 18, no. 19 (September 13, 2010): 19700–712. Robust, efficient computational methods for axially symmetric optical aspheres.
-
Jacobi Elliptic functions: a video lecture on Jacobi Polynomials and free course notes