Search topics and sections

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.
Shapes collapsing into degenerate cases eccentricity → 0 radius → 0 ellipse circle (eccentricity 0) point (radius 0) triangle degenerate triangle (area 0)
Degenerate cases arise as limits. An ellipse becomes a circle as its eccentricity goes to 0, and the circle shrinks to a point as its radius goes to 0. A triangle whose top corner drops onto its base becomes a degenerate triangle with area 0.

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 aa, bb, and cc, each side is at most the sum of the other two, and equality holds exactly for a degenerate triangle:[2]

c=a+bc = a + b

Here cc is the longest side and aa and bb 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]

Degenerate conic sections from slicing a double cone and a cylinder Tip Point Single line Two crossing lines Two parallel lines (from a cylinder)
Degenerate conics come from slicing a double cone with a plane through its tip: a horizontal plane leaves a point, a plane tangent along one slant line leaves a single line, and a steep plane leaves two crossing lines. A plane parallel to the axis of a cylinder leaves two parallel lines.

The algebraic test for conics

Every conic, degenerate or not, has an equation of this form:[5]

Ax2+Bxy+Cy2+Dx+Ey+F=0Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0

Here AA to FF are fixed numbers and xx and yy are the coordinates of points on the curve. For example, x2+y2=0x^2 + y^2 = 0 holds only at the point (0,0)(0,0), and x2−y2=(x−y)(x+y)=0x^2 - y^2 = (x-y)(x+y) = 0 gives the two crossing lines y=xy = x and y=−xy = -x.[5]

To test for degeneracy, put the six numbers into a 3 by 3 matrix (a rectangular grid of numbers):[6]

M=(AB/2D/2B/2CE/2D/2E/2F)M = \begin{pmatrix} A & B/2 & D/2 \\ B/2 & C & E/2 \\ D/2 & E/2 & F \end{pmatrix}

The conic is degenerate when the determinant of MM 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 B2−4ACB^2 - 4AC only sorts a conic into ellipse, parabola, or hyperbola type. It cannot detect degeneracy, since x2+y2=0x^2 + y^2 = 0 has B2−4AC<0B^2 - 4AC < 0 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 nn usually has nn different roots.

When two or more roots are equal, they are called degenerate.[1] For example, (x−1)2=0(x-1)^2 = 0 has the root x=1x = 1 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 (x−1)2(x-1)^2 finds only one, the value 1.[1]

Two parabolas showing a repeated rootxy022double root x = 1x = 0.5x = 1.5(x − 1)²(x − 1)² − 0.25
The parabola y=(x−1)2−0.25y = (x - 1)^2 - 0.25 crosses the xx axis at two separate roots, x=0.5x = 0.5 and x=1.5x = 1.5. Shifting it up by 0.25 gives y=(x−1)2y = (x - 1)^2, and the two roots merge into one degenerate double root at x=1x = 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 B(v,w)B(v, w) 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 vv with B(v,w)=0B(v, w) = 0 for every ww 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 B(v,w)=v1w1B(v, w) = v_1 w_1. Its matrix has rows (1,0)(1, 0) and (0,0)(0, 0), with determinant 0. The nonzero vector v=(0,1)v = (0, 1) gives B(v,w)=0B(v, w) = 0 for every ww, so the form is degenerate.

Non-degeneracy is weaker than being positive definite (B(v,v)>0B(v,v) > 0 for every nonzero vv). 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 B(v,v)=0B(v, v) = 0 for every vv) 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:

  • f(x)=x2f(x) = x^2 has f′(0)=0f'(0) = 0 and f′′(0)=2f''(0) = 2, so 0 is a non-degenerate critical point (a minimum).
  • f(x)=x3f(x) = x^3 has f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0, so 0 is a degenerate critical point.
Non-degenerate and degenerate critical pointsxyf(x) = x²f′(0) = 0, f″(0) = 2Non-degenerate (minimum)xyf(x) = x³f′(0) = 0, f″(0) = 0Degenerate
Both f(x)=x2f(x) = x^2 and f(x)=x3f(x) = x^3 have a critical point at the origin, where f′(0)=0f'(0) = 0 and the line touching the curve there is horizontal. For x2x^2 the second derivative f′′(0)=2f''(0) = 2 is nonzero, so the critical point is a non-degenerate minimum. For x3x^3, f′′(0)=0f''(0) = 0, so the critical point is degenerate.

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 pp of index λ\lambda, the Morse lemma gives coordinates y1,…,yny_1, \dots, y_n in which the function takes a standard form:[12]

f=f(p)−y12−⋯−yλ2+yλ+12+⋯+yn2f = f(p) - y_1^2 - \dots - y_\lambda^2 + y_{\lambda+1}^2 + \dots + y_n^2

Here nn is the dimension of the space. The index λ\lambda is the number of negative eigenvalues of the Hessian, that is, the number of independent directions in which ff 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]

Degenerate vertex in a linear program 1 2 3 4 x y x ≤ 2 1 2 3 4 two lines meet y ≤ 2 x + y ≤ 4 degenerate corner (three lines meet) two lines meet feasible region
In this linear program the feasible region is the square 0≤x≤20 \le x \le 2, 0≤y≤20 \le y \le 2. Three constraint lines, x=2x = 2, y=2y = 2 and x+y=4x + y = 4, pass through the corner (2,2)(2,2), which makes it a degenerate vertex. Only two lines meet at each of the corners (2,0)(2,0) and (0,2)(0,2).

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 cc with probability 1:

P(X=c)=1P(X = c) = 1

Its probability distribution, the degenerate distribution, is also called a point mass. It puts all probability on the single value cc.[17]

The cumulative distribution function, which gives the probability that XX is at most xx, is a single step. It equals 0 for x<cx < c and 1 for x≥cx \ge c.[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; c=a+bc = a + b
Geometry Conic section Point, line, or pair of lines Determinant of MM 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

  1. Degenerate, Wolfram MathWorld (Eric W. Weisstein).
  2. The Triangle Inequality and Degenerate Triangles, Expii.
  3. Degenerate Conics I: Mystery of the Missing Case, The Math Doctors.
  4. Degenerate Conics, in Elementary Euclidean Geometry (C. G. Gibson), Cambridge University Press, 2003.
  5. Degenerate Conic Sections, Mathwords.
  6. Conic Section, Sungkyunkwan University Linear Algebra Album, 2014.
  7. Bilinear Forms (Keith Conrad), University of Connecticut.
  8. Algebraic and geometric multiplicity of eigenvalues, StatLect.
  9. The spectral theorem for Hermitian operators (S. A. Fulling), Texas A&M University.
  10. A Primer on Sesquilinear Forms (Brian Osserman), nLab files.
  11. On the Critical Set of a Morse Function (L. Mare), University of Regina.
  12. Morse Theory, Cornell University Department of Mathematics.
  13. Lecture I: Basics of Morse Theory (John Morgan), Columbia University.
  14. MATH 310: Degeneracy and Geometry in the Simplex Method, Stanford University.
  15. Math 407A: Linear Optimization, Lecture 12 (James Burke), University of Washington, 2010.
  16. Alternate Optimal Solutions, Degeneracy, Unboundedness, Infeasibility, Carnegie Mellon University Tepper School.
  17. Random Variables and Distributions (Michael Evans and Jeffrey Rosenthal), University of Toronto.
  18. The degenerate distribution (distributional package), CRAN.
  19. Implementing Simulation of Simplicity for Geometric Degeneracies, arXiv, 2022.
  20. Simulation of Simplicity: A Technique to Cope with Degenerate Cases in Geometric Algorithms (Edelsbrunner and Mücke), arXiv, 1994.

Figure