Degeneracy (mathematics)
In mathematics, a degenerate case is a member of a class of objects that has collapsed into something simpler. A point is a degenerate circle whose radius has shrunk to zero. Three points on one straight line form a degenerate triangle, which has no area.[1][2]
Degenerate cases sit at the edge of a family of objects, often where some quantity such as a radius or an area reaches zero. Formulas and methods that work for typical cases often fail on them. For that reason mathematicians name them, test for them, and treat them separately.[1]
The basic idea
A degenerate case is a limiting case in which an object changes its nature so much that it belongs to another, usually simpler, class.[1] The typical members of the class are called non-degenerate.
Two chains of shapes show the idea:[1]
- An ellipse becomes a circle as its eccentricity (a number that measures how stretched it is) goes to 0. So a circle is a degenerate ellipse.
- A circle becomes a single point as its radius goes to 0. So a point is a degenerate circle.
Why degenerate cases matter
Degenerate cases are worth naming because some facts about the typical case still hold for them.[3]
They also mark the boundary between types. Geometer C. G. Gibson notes that degenerate conics, though geometrically dull, matter because they mark where one type of conic changes into another as the conic varies.[4]
The word has no negative sense in mathematics. It only flags a special, collapsed case.[5]
Degenerate shapes in geometry
Triangles
A triangle is degenerate when its three corners lie on one straight line. It then looks like a line segment and has zero area.[2][3]
The triangle inequality tells when this happens. For side lengths , , and , each side is at most the sum of the other two, and equality holds exactly for a degenerate triangle:[2]
Here is the longest side and and are the other two sides.
Conic sections
A conic section is the curve made when a flat plane slices a double cone (two cones joined tip to tip). Slices that miss the tip give a circle, ellipse, parabola, or hyperbola. Slices through the tip give the degenerate conics:[3][5]
- a single point, when the plane passes through the tip and cuts no other part of the cone;
- a single line, when the plane touches the cone along one line through the tip;
- two crossing lines, when the plane passes through the tip and cuts both cones.
A fourth degenerate conic, two parallel lines, cannot come from slicing a cone. It comes from slicing a cylinder parallel to its axis, and a cylinder is itself a degenerate cone whose tip has moved off to infinity.[3]
The algebraic test for conics
Every conic, degenerate or not, has an equation of this form:[5]
Here to are fixed numbers and and are the coordinates of points on the curve. For example, holds only at the point , and gives the two crossing lines and .[5]
To test for degeneracy, put the six numbers into a 3 by 3 matrix (a rectangular grid of numbers):[6]
The conic is degenerate when the determinant of is zero and non-degenerate when it is not.[5][6] See matrix representation of conic sections for more on this matrix.
The better-known number only sorts a conic into ellipse, parabola, or hyperbola type. It cannot detect degeneracy, since has yet is a single point.[5]
Repeated roots and eigenvalues
Repeated roots
A root of a polynomial is a value of the variable that makes the polynomial equal zero. Its degree is the highest power of the variable in it. A polynomial of degree usually has different roots.
When two or more roots are equal, they are called degenerate.[1] For example, has the root twice. The number of times a root repeats is its multiplicity.
Repeated roots need care in numerical work. A simple search for both roots of finds only one, the value 1.[1]
Degenerate eigenvalues
In physics, an eigenvalue of a matrix is called degenerate when its eigenspace (the set of vectors that the matrix multiplies by that eigenvalue) has more than one dimension.[7]
This can happen only when the eigenvalue is a repeated root of the characteristic polynomial (the polynomial whose roots are the matrix's eigenvalues).[8] For Hermitian matrices, which equal their own conjugate transpose and describe measurable quantities in quantum mechanics, the two conditions match.[9]
In quantum mechanics, this gives degenerate energy levels, where several different states share one energy.
A simple example is the 2 by 2 identity matrix. Its only eigenvalue is 1, and every vector in the plane is an eigenvector, so the eigenspace has dimension 2.
Degenerate bilinear forms
Definition and matrix test
A bilinear form takes two vectors and returns a number, and it is linear in each vector. The dot product is the standard example.
The form is non-degenerate if the only vector with for every is the zero vector. Otherwise it is a degenerate bilinear form.[7][10]
Once a basis (a set of reference vectors that gives each vector coordinates) is chosen, each form has a square matrix. The form is non-degenerate exactly when this matrix is invertible, which means its determinant is not zero.[10]
Examples
An example in the plane is . Its matrix has rows and , with determinant 0. The nonzero vector gives for every , so the form is degenerate.
Non-degeneracy is weaker than being positive definite ( for every nonzero ). Every positive definite form, such as the dot product, is non-degenerate.[7]
Uses in physics
Physics uses forms that are non-degenerate but not positive definite:[7][10]
- The model spaces of relativity carry a non-degenerate form of this kind.
- A non-degenerate alternating form (one with for every ) underlies phase space (the space of a system's possible states) in Hamiltonian mechanics, a way of describing motion through energy.
This meaning of "degenerate" is unrelated to the physicists' degenerate eigenvalue above.[7] The same word names different ideas in different fields.[1]
Degenerate critical points
A critical point of a smooth function is a point where all its first derivatives are zero. The Hessian matrix collects the function's second derivatives there. The critical point is non-degenerate if the Hessian is invertible and degenerate if it is not.[11]
For a function of one variable, the Hessian is just the second derivative:
- has and , so 0 is a non-degenerate critical point (a minimum).
- has and , so 0 is a degenerate critical point.
Morse functions
A Morse function is a function whose critical points are all non-degenerate.[11] They are central to Morse theory, which studies the shape of a space through the critical points of functions on it.
Near a non-degenerate critical point of index , the Morse lemma gives coordinates in which the function takes a standard form:[12]
Here is the dimension of the space. The index is the number of negative eigenvalues of the Hessian, that is, the number of independent directions in which curves down.[11][12] At a degenerate critical point no such simple form exists in general, which is why Morse theory avoids them.
Degenerate critical points are rare in a precise sense. Take a compact smooth manifold, a smooth space that is closed and bounded, such as the surface of a sphere. On it the Morse functions form a dense set, meaning every smooth function has Morse functions as close to it as you like.[13][12]
Degeneracy in linear programming
Linear programming finds the best value of a linear function subject to linear constraints. The feasible region is the set of points that meet every constraint. The simplex algorithm moves between corners of this region.
Each corner is described by a basic feasible solution. In such a solution, a chosen set of basic variables may be nonzero, and all other variables are set to zero. A basic feasible solution is degenerate when at least one of its basic variables is zero as well.[14]
Geometrically, a degenerate corner lies on more constraint boundaries than are needed to fix it. In the plane, a corner where three constraint lines meet can be described by several different sets of basic variables.[14]
Stalling and cycling
Each simplex step swaps one variable into the set of basic variables (the entering variable) and one out of it (the leaving variable).[15] Degeneracy causes two problems for this process:
- Stalling: a step changes the set of basic variables but not the corner, so the objective value does not improve.[14]
- Cycling: the algorithm returns to an earlier set of basic variables and loops forever. The simplex algorithm can fail to stop only by cycling, and it can cycle only among degenerate solutions at one corner.[15]
Bland's rule, due to R. G. Bland in 1977, guarantees that the algorithm stops. Among the allowed entering and leaving variables, it always picks the one with the smallest index.[15][16] In practice, degeneracy is common but cycling is extremely rare, and commercial codes often make no effort to prevent it.[16]
Degenerate distributions
A random variable is degenerate if it equals one fixed value with probability 1:
Its probability distribution, the degenerate distribution, is also called a point mass. It puts all probability on the single value .[17]
The cumulative distribution function, which gives the probability that is at most , is a single step. It equals 0 for and 1 for .[18]
The variance of a degenerate random variable is 0.[18] Degenerate distributions let a constant be treated as a special case of a random quantity.
Handling degenerate cases in computation
Degenerate cases often need special treatment in numerical and analytical work.[1] This is a major issue in computational geometry.
Degeneracies in geometric data
In geometry software, a geometric degeneracy is a coincidence, such as a corner of one polygon lying exactly on an edge of another.[19]
Such coincidences would have probability near zero for randomly placed objects, but they occur often in real data. If a program does not handle them, its tests can give wrong answers and its output can have the wrong structure.[19]
Simulation of Simplicity
Simulation of Simplicity, by Herbert Edelsbrunner and Ernst Mücke, avoids writing code for every special case. It lets programs assume general position (no special coincidences in the input) by acting as if the input were moved by infinitely small amounts.[20][19] Programs that use it tend to be smaller and more robust than those that do not.[20]
Perturbation in linear programming
Linear programming uses a similar perturbation method, which makes small changes to the problem to remove degeneracy. It turns a degenerate problem into an equivalent non-degenerate one.[14]
Degeneracy across fields
| Field | Object | Degenerate case | Test |
|---|---|---|---|
| Geometry | Triangle | Corners on one line | Area is zero; |
| Geometry | Conic section | Point, line, or pair of lines | Determinant of is zero |
| Algebra | Polynomial | Repeated root | Root has multiplicity above 1 |
| Linear algebra | Bilinear form | Nonzero vector pairs to zero with every vector | Matrix is not invertible |
| Calculus | Critical point | Hessian is not invertible | Determinant of Hessian is zero |
| Optimization | Basic feasible solution | A basic variable is zero | Check basic variables |
| Probability | Distribution | All probability at one value | Variance is zero |
References
- Degenerate, Wolfram MathWorld (Eric W. Weisstein).
- The Triangle Inequality and Degenerate Triangles, Expii.
- Degenerate Conics I: Mystery of the Missing Case, The Math Doctors.
- Degenerate Conics, in Elementary Euclidean Geometry (C. G. Gibson), Cambridge University Press, 2003.
- Degenerate Conic Sections, Mathwords.
- Conic Section, Sungkyunkwan University Linear Algebra Album, 2014.
- Bilinear Forms (Keith Conrad), University of Connecticut.
- Algebraic and geometric multiplicity of eigenvalues, StatLect.
- The spectral theorem for Hermitian operators (S. A. Fulling), Texas A&M University.
- A Primer on Sesquilinear Forms (Brian Osserman), nLab files.
- On the Critical Set of a Morse Function (L. Mare), University of Regina.
- Morse Theory, Cornell University Department of Mathematics.
- Lecture I: Basics of Morse Theory (John Morgan), Columbia University.
- MATH 310: Degeneracy and Geometry in the Simplex Method, Stanford University.
- Math 407A: Linear Optimization, Lecture 12 (James Burke), University of Washington, 2010.
- Alternate Optimal Solutions, Degeneracy, Unboundedness, Infeasibility, Carnegie Mellon University Tepper School.
- Random Variables and Distributions (Michael Evans and Jeffrey Rosenthal), University of Toronto.
- The degenerate distribution (distributional package), CRAN.
- Implementing Simulation of Simplicity for Geometric Degeneracies, arXiv, 2022.
- Simulation of Simplicity: A Technique to Cope with Degenerate Cases in Geometric Algorithms (Edelsbrunner and Mücke), arXiv, 1994.
