Duality (mathematics)
In mathematics, a duality is a rule that pairs concepts, statements or structures with partner versions called their duals.[1][2] Dualities often do two things.
- They keep truth. In the cleanest cases, every true statement about one side becomes a true statement about the other, so one proof gives two theorems.
- They reverse something, such as an order like "less than or equal to" or the direction of arrows between objects.[1][2]
A classic example from geometry swaps the words "point" and "line". This turns "two points lie on exactly one line" into "two lines meet in exactly one point".[3] The second statement fails in an ordinary plane, where parallel lines never meet, but it holds in the projective plane. That plane adds points at infinity where parallel lines meet, so the swap always works.[3]
The basic idea
Dualities appear all through mathematics and beyond it. Fields with important dualities include:
- logic
- linear algebra
- topology
- number theory
- optimization
- physics
No single definition covers every case.[1] The section What counts as a duality returns to this question.
Michael Atiyah called duality a principle rather than a theorem. It gives two different points of view on the same object.[3]
In practice a duality works like a dictionary. Each term on one side has a partner on the other, and in the cleanest cases translating a theorem term by term gives another theorem.[3]
Three features come up again and again.
- Applying a duality twice often gives back the original. The dual of the dual of a Boolean expression (a formula built with AND, OR and the constants 0 and 1) is the expression itself.[4] The dual of the dual of a polyhedron, a solid with flat polygonal faces, is the original polyhedron.[5] A two-step return like this makes the duality an involution.
- Many dualities reverse a direction. They flip an order, or reverse the arrows between objects.[1][2]
- The two sides need not be the same kind of thing. Fourier series, which build functions out of waves, turn functions on a circle into functions on the integers, and this still counts as a duality.[3]
Duality in geometry
Points and lines
In an ordinary plane, two different points lie on exactly one line. Two different lines meet in one point, unless they are parallel.[3]
Adding points at infinity removes this exception. The result is the projective plane, where the relation between points and lines is perfectly symmetric.[3]
This symmetry gives the principle of duality of projective geometry: the dual statement of a theorem is also a theorem.[3]
Gergonne stated which theorems the principle covers. Every plane theorem about points and lines has a partner with points and lines swapped, provided no metrical relations (lengths or angles) are involved.[6]
The table below uses conics, curves such as the ellipse, parabola and hyperbola.
| Term | Dual term |
|---|---|
| point | line |
| points on a common line (collinear) | lines through a common point (concurrent) |
| hexagon inscribed in a conic | hexagon circumscribed about a conic |
A famous pair of theorems shows the dictionary at work.[1]
- Pascal's theorem: for a hexagon inscribed in a conic, each of the three pairs of opposite sides meets in a point, and these three points are collinear.
- Brianchon's theorem: for a hexagon circumscribed about a conic, each of the three pairs of opposite vertices determines a line, and these three lines are concurrent.
See duality in projective geometry for the full theory.
Dual polyhedra
Every polyhedron has a dual in which faces and vertices trade places.[5] The parts match up as follows.[5]
| Part of a polyhedron | Matching part of its dual |
|---|---|
| faces | vertices |
| vertices | faces |
| edges | edges |
The duals of the Platonic solids are again Platonic solids, and the tetrahedron is its own dual.[7]
| Solid | Vertices | Edges | Faces | Dual |
|---|---|---|---|---|
| Tetrahedron | 4 | 6 | 4 | Tetrahedron |
| Cube | 8 | 12 | 6 | Octahedron |
| Octahedron | 6 | 12 | 8 | Cube |
| Dodecahedron | 20 | 30 | 12 | Icosahedron |
| Icosahedron | 12 | 30 | 20 | Dodecahedron |
The counts show the swap. The cube's 8 vertices and 6 faces become the octahedron's 8 faces and 6 vertices, and both solids have 12 edges.[7] See dual polyhedron.
Early history
- A text known as "Book XV" of Euclid's Elements inscribes a cube in an octahedron and an octahedron in a cube. It is thought to have been written in the 6th century AD by Isidore of Miletus or his student.[1]
- Jean-Victor Poncelet described a duality based on reciprocation, part of his theory of reciprocal polars, in 1817 to 1818.[8] Reciprocation, also called polar reciprocation, is a way of taking duals that turns points into lines and lines into points.[8][5]
- Gergonne, who introduced the word "polar", wrote about duality in papers from 1810 onward. He stated the general principle in three articles from 1824 to 1827.[6]
- A plagiarism charge in 1827 set off a public dispute between Poncelet and Gergonne over the origin of the principle. It ran for about three years and also drew in Plücker.[9]
In 1939 the philosopher Ernest Nagel argued that the discovery of duality freed mathematicians from the belief that their task was to describe intuitive elements, things they could picture.[1] If "point" and "line" can be swapped without changing what is true, geometry studies a body of basic rules, not specific objects in space.[1]
Duality in logic and order
Boolean algebra
In a Boolean algebra, the dual of an expression swaps the constants 0 and 1 and swaps AND with OR. Swapping twice gives back the original expression.[4]
The principle of duality says that if an identity is true, so is its dual.[4] For example, the identity (AND with 1) has the dual (OR with 0).
De Morgan's laws form a dual pair:[1]
Here means "not", means "and" and means "or".
By the middle of the 19th century, logicians had noticed the logical duality behind these laws. It comes from swapping propositions with their negations while also swapping "and" with "or".[1]
Order duality
A partial order has a converse, , and the converse of a partial order is again a partial order.[10] Reading as therefore turns every statement about orders into a dual statement about orders.[10]
- Upper bound and lower bound are dual notions. An upper bound of a set is an element at or above every element of the set, and a lower bound is one at or below every element.[10]
- Least upper bound and greatest lower bound are dual notions. The least upper bound, or supremum, is the smallest upper bound, and the greatest lower bound, or infimum, is the largest lower bound.[10]
- In a lattice, join () and meet () are dual. The join of two elements is the smallest element above both, and the meet is the largest element below both.[10]
- The absorption law has the dual .[10]
The subsets of a set, ordered by inclusion, give a specific example. Join is union and meet is intersection.[10] Turning the order upside down swaps the two. See duality in order theory.
The figure draws both orders as Hasse diagrams. Each element is a dot, and a line rising from one dot to another means the lower element comes before the upper one.
Dual vector spaces
Linear functionals
A field is a number system in which you can add, subtract, multiply, and divide by any nonzero number, such as the real numbers.
A linear functional on a vector space over a field is a linear map from to .[11] Linear functionals can be added and scaled, so they form a vector space of their own, the dual space .[11][2] See linear form.
In coordinates, a vector and a dual vector combine through a pairing:[3]
Here are the coordinates of and are those of . In three dimensions, the equation gives a plane in two ways:[3]
| What is fixed | Where the plane lies | Equation or description |
|---|---|---|
| a dual vector | in the space of vectors | the vectors with |
| a vector | in the dual space | the dual vectors with |
Identifying vectors that differ by a nonzero scalar factor turns these planes into the lines of the projective plane. This is how projective duality comes out of linear algebra.[3]
Dual bases and the double dual
Each basis of gives a dual basis of . It is defined by if and otherwise.[12]
Because a dual basis has as many elements as the original basis, a finite-dimensional space has the same dimension as its dual.[12]
Each vector also acts on dual vectors, by evaluation:[12]
This defines a linear map from to the double dual without choosing a basis. When is finite-dimensional, is an isomorphism, meaning a linear map with a linear inverse.[12]
The result fails for infinite-dimensional spaces. Take to be the real sequences with only finitely many nonzero terms. Then can be identified with all real sequences, and is not isomorphic to .[12]
Linear maps reverse direction
A linear map from to gives a dual map the other way, from to . It sends a functional on to the composite :[11]
Here is a vector in . For a map from a finite-dimensional space to itself, the matrix of in the dual basis is the transpose of the matrix of .[11] See transpose of a linear map.
Because of this reversal, taking duals is a contravariant functor, a construction between categories that reverses arrows.[2] The section Duality in category theory explains categories and functors.
Subspaces reverse too. The annihilator of a subspace is the set of functionals that send every vector of to zero.[11] A larger subspace has a smaller annihilator, because more vectors must be sent to zero.
Dual functions and dual wavelets
The same pairing idea works for functions. Atiyah gives the pairing , assuming the integral converges, as an infinite-dimensional version of the finite sum above.[3]
In wavelet analysis, take a Riesz basis (a stable basis) of the space of square-integrable functions. Each index records a scale and a position . The basis has a unique partner family , also a Riesz basis, that meets a biorthogonality condition:[13]
Here equals 1 when and 0 otherwise. The family is called the primal wavelet basis and the dual wavelet basis.[13] Cohen, Daubechies and Feauveau published a study of compactly supported biorthogonal wavelet bases of this kind in 1992.[14]
Duality in category theory
Opposite categories
Category theory studies categories. A category is a collection of objects with maps, or arrows, between them that can be composed.[2]
A functor is a map between categories. It sends objects to objects and arrows to arrows, respecting composition.[2]
Every category has an opposite, or dual, category . It has the same objects as . Each arrow from to in counts as an arrow from to in , and composition is done in reverse order.[2]
The principle of duality is basic to the subject. Every categorical definition, theorem and proof has a dual, obtained by reversing all the arrows, so proving a theorem also proves its dual.[2] See dual (category theory).
A contravariant functor from to is an ordinary functor from to . The dual space construction is one.[2]
Some familiar pairs of dual constructions:[1]
- product and coproduct
- initial object (one with exactly one arrow to every object) and terminal object (one with exactly one arrow from every object)
- universal and existential quantifiers
- idempotent monads and comonads
A category need not look like its opposite. In the category of sets, the empty set is initial and a one-point set is terminal, but they do not behave dually. The only map into the empty set is its own identity, while the maps out of a one-point set pick out the elements of a set.[1]
Corfield notes that sending a category to its opposite is the only proper symmetry (autoequivalence) of the category of categories.[1]
Dualities for groups, spaces and numbers
Pontryagin duality
An abelian group is a group whose operation gives the same result in either order. For an abelian group , the dual group consists of its characters, the homomorphisms (maps that respect the group operation) from to the circle group :[3]
- The integers have the circle as their dual. A point of the circle matches the character .[3]
- The real line is its own dual.[3]
- The dual of a discrete group is compact, and the dual of a finite group is finite.[3]
The theory works for locally compact abelian groups, with characters taken to be continuous.[3][15] In such a group every point has a small region around it that is compact, meaning that any covering of it by open sets can be reduced to finitely many; see locally compact space.
Pontryagin's theorem says that the natural map from to its double dual is an isomorphism of topological groups, groups with a notion of closeness that fits the group operation.[15] Classical Fourier analysis gives three examples:[3]
- Fourier series, which turn functions on the circle into coefficients indexed by the integers
- the Fourier transform on the real line
- the Poisson summation formula, which uses Fourier theory on both and the circle
Tannaka-Krein duality
For groups that are not abelian, characters are no longer enough. For a finite group of this kind, the natural dual is its set of irreducible unitary representations: ways for the group to act by unitary matrices (matrices that preserve lengths and angles) that cannot be split into smaller such actions. This dual is only a set, not a group.[3]
The early theorems of Tannaka and Krein show how to rebuild a compact group from the collection of its representations. In the abelian case this reduces to Pontryagin duality.[15] See Tannaka-Krein duality and Tannakian formalism.
Stone duality
Marshall Stone's representation theorem of 1936 concerns compact spaces that are Hausdorff (distinct points have disjoint neighborhoods) and totally disconnected (the only connected pieces are single points).[16] It says that every Boolean algebra is isomorphic to the algebra of clopen (closed and open) subsets of such a space, its Stone space.[16]
In categorical form, the category of Boolean algebras is dually equivalent to the category of these spaces.[17] This means the two categories become equivalent once the arrows in one of them are reversed. See Stone's representation theorem and Stone duality.
Gelfand duality
Gelfand duality does the same for compact Hausdorff spaces. A space goes to the algebra of continuous complex-valued functions on it.[18]
The category of compact Hausdorff spaces is then equivalent to the opposite of the category of unital commutative C*-algebras.[18] See Gelfand representation.
Poincaré duality
Let be a compact, oriented manifold of dimension . Its homology groups , taken with real coefficients, are finite-dimensional vector spaces built from cycles of dimension .[3]
A -dimensional cycle and an -dimensional cycle in general position (crossing cleanly, without touching or overlapping along a piece) meet in finitely many points. Counting them gives a pairing .[3]
Poincaré duality says this pairing is non-degenerate: no nonzero class pairs to zero with every class of the complementary dimension. So and are dual vector spaces:[3]
Hodge theory gets the same duality another way. On a Riemannian manifold (a manifold with a way to measure lengths and angles), a differential form is harmonic when and . The Hodge star operator maps harmonic forms of degree isomorphically onto those of degree .[3]
This duality has roots in geometry. Corfield traces a line of descent from dual Platonic solids to the dual complexes in Poincaré's early topology.[1]
Artin-Verdier duality
Number theory has dualities of its own, often shaped like topological ones. Milne writes that the duality theorems of Tate and of Artin and Verdier reveal the three-dimensional nature of number rings.[19]
The setting uses a number field, a finite extension of the rational numbers, and its ring of integers, the analogue of the ordinary integers inside it. Its spectrum is a space whose points correspond to the prime ideals of that ring.
Artin-Verdier duality pairs cohomology groups, in degrees and , of constructible sheaves (well-behaved sheaves, which attach algebraic data to the open sets of a space) on this spectrum.[19] The pairing is non-degenerate, except possibly on 2-torsion (elements with ) when the field has a real prime (an embedding into the real numbers).[19] Artin and Verdier stated the theorem at a 1964 conference at Woods Hole but did not publish the proof.[19]
Dual abelian varieties
An abelian variety is a geometric space defined by polynomial equations that is also a group. Elliptic curves are the abelian varieties of dimension one.
Its duality is built from line bundles. A line bundle on a variety attaches a one-dimensional vector space to each point. A line bundle is algebraically equivalent to zero when it can be connected to the trivial bundle through an algebraic family.
The dual abelian variety of an abelian variety has these properties:[20]
- Its points correspond to the line bundles on that are algebraically equivalent to zero.
- It has the same dimension as .
- Elliptic curves are self-dual, but abelian varieties of higher dimension are rarely self-dual.
How dualities arise
Formal and concrete duality
Lawvere and Rosebrugh distinguish two kinds of duality.[1]
- Formal duality is mere arrow reversal in diagrams, as in the opposite category.
- Concrete duality builds a new diagram by mapping each object into a fixed dualizing object , so that becomes . The arrows reverse automatically.
Not every statement is carried to its formal dual this way. Lawvere and Rosebrugh suggest that much of mathematics, including the theme of space versus quantity, studies how far the two kinds of duality agree.[1]
A dualizing object works because it can be described in two categories at once. Corfield gives Stone duality, Pontryagin duality and Lefschetz duality as examples.[1]
| Duality | One side | Other side | Dualizing object |
|---|---|---|---|
| Stone duality | Boolean algebras | Stone spaces | , both a space and a Boolean algebra |
| Pontryagin duality | abelian groups | compact abelian groups | the circle |
| Lefschetz duality | vector spaces | linearly compact vector spaces | the ground field |
Dualities from adjunctions
Corfield argues that most dualities fit the framework of adjoint functors, a weakened form of inverse between categories.[1] An adjunction between one category and the opposite of another gives a dual equivalence on the objects it fixes. Pontryagin duality can be seen this way.[1]
Applied to ordered sets, such as the subsets of two sets linked by a relation, the same construction gives many classical correspondences:[1]
- algebraic geometry: affine varieties (solution sets of polynomial equations) and radical ideals, such as the set of all polynomials that vanish on a variety. An ideal is radical when it contains whenever it contains some power .[21]
- Galois theory: intermediate fields of a field extension and subgroups of its Galois group, the group of symmetries of the extension
- linear algebra: subspaces and their annihilators
- logic: sets of sentences closed under logical consequence and their sets of models
Duality in optimization
A linear program asks for the best value of a linear objective under linear inequalities. Each one comes with a dual program built from the same data:[22]
Here is an matrix, and are fixed vectors, and and are the unknown vectors. Inequalities between vectors hold entry by entry.
A point is feasible when it satisfies all the constraints of its program. Weak duality then follows in one line. For any feasible and :[22]
So every primal value is at most every dual value. If the two are ever equal, both solutions are optimal.[22] The strong duality theorem says that if both programs are feasible, such an equal pair always exists.[22]
- In October 1947, George Dantzig explained his ideas on linear programming to John von Neumann. Von Neumann answered with a lecture on duality and predicted that it was equivalent to his minimax theorem for zero-sum games.[22][23] That theorem says that in a two-player game where one player's gain is the other's loss, the best outcome one player can guarantee equals the best the other can hold them to.
- The following month, von Neumann circulated a typescript that formulated and proved linear programming duality.[23]
- Dantzig wrote a report of his meeting with von Neumann for his Air Force branch in January 1948. He later said it included "the first formal proof of duality".[23]
- David Gale, Harold Kuhn and Albert Tucker presented the dual problem and a proof of the duality theorem at a conference in June 1949. Their paper appeared in 1951, and they usually get the credit.[24][25]
- Werner Fenchel derived the first duality result for nonlinear programming in 1951, published in 1953.[24] See Fenchel's duality theorem.
See duality in optimization for the general theory.
Duality in physics
Classical dualities
Atiyah lists several physical dualities with the same flavor as the mathematical ones.[3]
- Position and momentum: the Fourier transform switches between a position variable and a dual momentum variable .
- Wave-particle duality: a quantum object can be pictured as a particle or as a wave.
- Electricity and magnetism: in a vacuum, Maxwell's equations read and . Here is a 2-form describing the field and is the Hodge star built from the spacetime metric, which swaps the electric and magnetic parts.
Put in terms of fields, Maxwell's vacuum equations are unchanged by the swap , .[1] See electromagnetic duality.
Dualities in modern physics
Newer dualities came from quantum field theory, which describes the quantum behavior of fields such as the electromagnetic field, and from string theory.[3] In mirror symmetry, physicists found a duality between two kinds of geometry.[3]
- Complex geometry uses complex coordinates, with changes of variables given by holomorphic (complex-differentiable) maps.[3]
- Symplectic geometry studies real manifolds with a non-degenerate skew-symmetric 2-form (a differential form of degree 2). It generalizes the phase space of classical mechanics.[3]
In one class of examples, two complex varieties and of dimension 3 are related in three ways.[3]
- Their homology matches with parity swapped: .
- As a result, the Euler characteristic changes sign.
- Hard counts of rational curves on one side become classical period calculations on the other.
In many dualities, a parameter on one side matches the inverse of a parameter on the other, so a large value becomes a small one.[3] In physics this matters for the coupling constant, a number that measures the strength of an interaction. Power-series methods work only when it is small, so a dual description with a small coupling can give access to a theory with a large one.[3]
At the end of 1977, Atiyah suggested to Witten that the Langlands program is related to quantum field theory.[3] Later, Witten and collaborators, mainly Kapustin and Gukov, deduced what the geometric Langlands program requires from non-abelian dualities in physics based on electric-magnetic duality.[3]
What counts as a duality
The Princeton Companion to Mathematics states that, despite its importance, no single definition covers all instances of duality.[1] Views differ on where to draw the line.
- Atiyah takes a broad view: many things have two different points of view, and in principle they are all dualities.[3]
- Corfield prefers to keep the word for involutions with some form of structural reversal. He argues that category theory covers most examples through arrow reversal, dualizing objects and adjunctions.[1]
- Physicists sometimes use "duality" for any nontrivial equivalence, which differs from how mathematicians use the word.[1]
Some predicted dualities lacked proofs when Atiyah spoke in 2007. Physicists had predicted that Donaldson theory and Seiberg-Witten theory (see Seiberg-Witten invariants), two ways of producing invariants of four-dimensional manifolds, carry equivalent information.[3] At the time of the lecture no direct mathematical proof was known, because there was no formal framework yet for this kind of infinite-dimensional duality.[3]
References
- Duality as a category-theoretic concept, David Corfield, Studies in History and Philosophy of Modern Physics 59, 2017.
- Basic Category Theory, Tom Leinster, Cambridge University Press (arXiv version), 2014.
- Duality in Mathematics and Physics, Michael Atiyah, lecture notes, Institut de Matemàtica de la Universitat de Barcelona, 2007.
- The Dual Form Swaps 0/1 and AND/OR (ECE 120 slides), University of Illinois, 2019.
- Dual Polyhedron, Wolfram MathWorld.
- Joseph Gergonne, biography, MacTutor History of Mathematics, University of St Andrews.
- Platonic Solid, Wolfram MathWorld.
- Duality Principle, Wolfram MathWorld.
- Polemics in Public: Poncelet, Gergonne, Plücker, and the Duality Controversy, Science in Context, Cambridge University Press.
- Lattice theory (course handout), Stanford Concurrency Group, Stanford University.
- Notes on dual spaces, Northwestern University.
- Double duals of finite dimensional vector spaces, Timothy Gowers, DPMMS, University of Cambridge.
- Discrete CDF 9/7 wavelet transform for finite-length signals, Technical Computing Prague, Humusoft, 2011.
- Biorthogonal bases of compactly supported wavelets, Cohen, Daubechies and Feauveau, Communications on Pure and Applied Mathematics, 1992.
- An introduction to Tannaka duality and quantum groups, Category Theory (Como 1990), Lecture Notes in Mathematics 1488, Springer, 1991.
- Stone duality for Boolean algebras (seminar abstract), George Washington University, 2025.
- Stone duality for Boolean algebras, Sam van Gool, lecture note.
- The Gelfand spectrum of a noncommutative C*-algebra: a topos-theoretic approach, Journal of the Australian Mathematical Society, 2011.
- Arithmetic Duality, James Milne, notes.
- Lecture 2: Abelian varieties, Mordell conjecture seminar notes, Stanford University.
- Algebraic Geometry (course notes), Utrecht University.
- Zero-Sum Games and Linear Programming Duality, Bernhard von Stengel, arXiv, 2022.
- Optimization/Mathematical Programming, History of O.R. Excellence, INFORMS.
- A Contextualized Historical Analysis of the Kuhn-Tucker Theorem in Nonlinear Programming: The Impact of World War II, Tinne Hoff Kjeldsen, Historia Mathematica, 2000.
- Duality Theorem, Wolfram MathWorld.
