# Duality (mathematics)

In mathematics, a duality, generally speaking, translates concepts, theorems or mathematical structures into other concepts, theorems or structures, in a one-to-one fashion, often (but not always) by means of an involution operation: if the dual of A is B, then the dual of B is A. Such involutions sometimes have fixed points, so that the dual of A is A itself. For example, Desargues' theorem in projective geometry is self-dual in this sense.

In mathematical contexts, duality has numerous meanings[1] although it is "a very pervasive and important concept in (modern) mathematics"[2] and "an important general theme that has manifestations in almost every area of mathematics."[3]

Many mathematical dualities between objects of two types correspond to pairings, bilinear functions from an object of one type and another object of the second type to some family of scalars. For instance, linear algebra duality corresponds in this way to bilinear maps from pairs of vector spaces to scalars, the duality between distributions and the associated test functions corresponds to the pairing in which one integrates a distribution against a test function, and Poincaré duality corresponds similarly to intersection number, viewed as a pairing between submanifolds of a given manifold.[4]

Duality can also be seen as a functor, at least in the realm of vector spaces. There it is allowed to assign to each space its dual space and the pullback construction allows to assign for each arrow f: VW, its dual f: WV.

## Order-reversing dualities

{{#invoke:main|main}} A particularly simple form of duality comes from order theory. The dual of a poset P = (X, ≤) is the poset Pd = (X, ≥) comprising the same ground set but the converse relation. Familiar examples of dual partial orders include

• the subset and superset relations ⊂ and ⊃ on any collection of sets,
• the divides and multiple-of relations on the integers, and
• the descendant-of and ancestor-of relations on the set of humans.

A concept defined for a partial order P will correspond to a dual concept on the dual poset Pd. For instance, a minimal element of P will be a maximal element of Pd: minimality and maximality are dual concepts in order theory. Other pairs of dual concepts are upper and lower bounds, lower sets and upper sets, and ideals and filters.

A particular order reversal of this type occurs in the family of all subsets of some set S: if ${\displaystyle {\bar {A}}=S\setminus A}$ denotes the complement set, then AB if and only if ${\displaystyle {\bar {B}}\subset {\bar {A}}}$. In topology, open sets and closed sets are dual concepts: the complement of an open set is closed, and vice versa. In matroid theory, the family of sets complementary to the independent sets of a given matroid themselves form another matroid, called the dual matroid. In logic, one may represent a truth assignment to the variables of an unquantified formula as a set, the variables that are true for the assignment. A truth assignment satisfies the formula if and only if the complementary truth assignment satisfies the De Morgan dual of its formula. The existential and universal quantifiers in logic are similarly dual.

A partial order may be interpreted as a category in which there is an arrow from x to y in the category if and only if x ≤ y in the partial order. The order-reversing duality of partial orders can be extended to the concept of a dual category, the category formed by reversing all the arrows in a given category. Many of the specific dualities described later are dualities of categories in this sense.

According to Artstein-Avidan and Milman,[5][6] a duality transform is just an involutive antiautomorphism ${\displaystyle {\mathcal {T}}}$ of a partially ordered set S, that is, an order-reversing involution ${\displaystyle {\mathcal {T}}:S\to S.}$ Surprisingly, in several important cases these simple properties determine the transform uniquely up to some simple symmetries. If ${\displaystyle {\mathcal {T}}_{1},{\mathcal {T}}_{2}}$ are two duality transforms then their composition is an order automorphism of S; thus, any two duality transforms differ only by an order automorphism. For example, all order automorphisms of a power set S = 2R are induced by permutations of R. The papers cited above treat only sets S of functions on Rn satisfying some condition of convexity and prove that all order automorphisms are induced by linear or affine transformations of Rn.

## Dimension-reversing dualities

The features of the cube and its dual octahedron correspond one-for-one with dimensions reversed.

There are many distinct but interrelated dualities in which geometric or topological objects correspond to other objects of the same type, but with a reversal of the dimensions of the features of the objects. A classical example of this is the duality of the platonic solids, in which the cube and the octahedron form a dual pair, the dodecahedron and the icosahedron form a dual pair, and the tetrahedron is self-dual. The dual polyhedron of any of these polyhedra may be formed as the convex hull of the center points of each face of the primal polyhedron, so the vertices of the dual correspond one-for-one with the faces of the primal. Similarly, each edge of the dual corresponds to an edge of the primal, and each face of the dual corresponds to a vertex of the primal. These correspondences are incidence-preserving: if two parts of the primal polyhedron touch each other, so do the corresponding two parts of the dual polyhedron. More generally, using the concept of polar reciprocation, any convex polyhedron, or more generally any convex polytope, corresponds to a dual polyhedron or dual polytope, with an i-dimensional feature of an n-dimensional polytope corresponding to an (n − i − 1)-dimensional feature of the dual polytope. The incidence-preserving nature of the duality is reflected in the fact that the face lattices of the primal and dual polyhedra or polytopes are themselves order-theoretic duals. Duality of polytopes and order-theoretic duality are both involutions: the dual polytope of the dual polytope of any polytope is the original polytope, and reversing all order-relations twice returns to the original order. Choosing a different center of polarity leads to geometrically different dual polytopes, but all have the same combinatorial structure.

A planar graph in blue, and its dual graph in red.

From any three-dimensional polyhedron, one can form a planar graph, the graph of its vertices and edges. The dual polyhedron has a dual graph, a graph with one vertex for each face of the polyhedron and with one edge for every two adjacent faces. The same concept of planar graph duality may be generalized to graphs that are drawn in the plane but that do not come from a three-dimensional polyhedron, or more generally to graph embeddings on surfaces of higher genus: one may draw a dual graph by placing one vertex within each region bounded by a cycle of edges in the embedding, and drawing an edge connecting any two regions that share a boundary edge. An important example of this type comes from computational geometry: the duality for any finite set S of points in the plane between the Delaunay triangulation of S and the Voronoi diagram of S. As with dual polyhedra and dual polytopes, the duality of graphs on surfaces is a dimension-reversing involution: each vertex in the primal embedded graph corresponds to a region of the dual embedding, each edge in the primal is crossed by an edge in the dual, and each region of the primal corresponds to a vertex of the dual. The dual graph depends on how the primal graph is embedded: different planar embeddings of a single graph may lead to different dual graphs. Matroid duality is an algebraic extension of planar graph duality, in the sense that the dual matroid of the graphic matroid of a planar graph is isomorphic to the graphic matroid of the dual graph.

In topology, Poincaré duality also reverses dimensions; it corresponds to the fact that, if a topological manifold is represented as a cell complex, then the dual of the complex (a higher-dimensional generalization of the planar graph dual) represents the same manifold. In Poincaré duality, this homeomorphism is reflected in an isomorphism of the kth homology group and the (n − k)th cohomology group.

The complete quadrangle, a configuration of four points and six lines in the projective plane (left) and its dual configuration, the complete quadrilateral, with four lines and six points (right).

Another example of a dimension-reversing duality arises in projective geometry.[7] In the projective plane, it is possible to find geometric transformations that map each point of the projective plane to a line, and each line of the projective plane to a point, in an incidence-preserving way: in terms of the incidence matrix of the points and lines in the plane, this operation is just that of forming the transpose. Transformations of this type exist also in any higher dimension; one way to construct them is to use the same polar transformations that generate polyhedron and polytope duality. Due to this ability to replace any configuration of points and lines with a corresponding configuration of lines and points, there arises a general principle of duality in projective geometry: given any theorem in plane projective geometry, exchanging the terms "point" and "line" everywhere results in a new, equally valid theorem.[8] A simple example is that the statement "two points determine a unique line, the line passing through these points" has the dual statement that "two lines determine a unique point, the intersection point of these two lines". For further examples, see Dual theorems.

The points, lines, and higher-dimensional subspaces n-dimensional projective space may be interpreted as describing the linear subspaces of an (n + 1)-dimensional vector space; if this vector space is supplied with an inner product the transformation from any linear subspace to its perpendicular subspace is an example of a projective duality. The Hodge dual extends this duality within an inner product space by providing a canonical correspondence between the elements of the exterior algebra.

A kind of geometric duality also occurs in optimization theory, but not one that reverses dimensions. A linear program may be specified by a system of real variables (the coordinates for a point in Euclidean space Rn), a system of linear constraints (specifying that the point lie in a halfspace; the intersection of these halfspaces is a convex polytope, the feasible region of the program), and a linear function (what to optimize). Every linear program has a dual problem with the same optimal solution, but the variables in the dual problem correspond to constraints in the primal problem and vice versa.

## Duality in logic and set theory

In logic, functions or relations A and B are considered dual if Ax) = ¬B(x), where ¬ is logical negation. The basic duality of this type is the duality of the ∃ and ∀ quantifiers in classical logic. These are dual because ∃xP(x) and ¬∀x.P(x) are equivalent for all predicates P in classical logic: if there exists an x for which P fails to hold, then it is false that P holds for all x (but the converse does not hold constructively). From this fundamental logical duality follow several others:

• A formula is said to be satisfiable in a certain model if there are assignments to its free variables that render it true; it is valid if every assignment to its free variables makes it true. Satisfiability and validity are dual because the invalid formulas are precisely those whose negations are satisfiable, and the unsatisfiable formulas are those whose negations are valid. This can be viewed as a special case of the previous item, with the quantifiers ranging over interpretations.

Other analogous dualities follow from these:

Topology inherits a duality between open and closed subsets of some fixed topological space X: a subset U of X is closed if and only if its complement in X is open. Because of this, many theorems about closed sets are dual to theorems about open sets. For example, any union of open sets is open, so dually, any intersection of closed sets is closed. The interior of a set is the largest open set contained in it, and the closure of the set is the smallest closed set that contains it. Because of the duality, the complement of the interior of any set U is equal to the closure of the complement of U.

The collection of all open subsets of a topological space X forms a complete Heyting algebra. There is a duality, known as Stone duality, connecting sober spaces and spatial locales.

## Dual objects

A group of dualities can be described by endowing, for any mathematical object X, the set of morphisms Hom (X, D) into some fixed object D, with a structure similar to the one of X. This is sometimes called internal Hom. In general, this yields a true duality only for specific choices of D, in which case X=Hom (X, D) is referred to as the dual of X. It may or may not be true that the bidual, that is to say, the dual of the dual, X∗∗ = (X) is isomorphic to X, as the following example, which is underlying many other dualities, shows: the dual vector space V of a K-vector space V is defined as

V = Hom (V, K).

The set of morphisms, i.e., linear maps, is a vector space in its own right. There is always a natural, injective map VV∗∗ given by v ↦ (ff(v)), where f is an element of the dual space. That map is an isomorphism if and only if the dimension of V is finite.

In the realm of topological vector spaces, a similar construction exists, replacing the dual by the topological dual vector space. A topological vector space that is canonically isomorphic to its bidual is called reflexive space.

The dual lattice of a lattice L is given by

Hom (L, Z),

which is used in the construction of toric varieties.[9] The Pontryagin dual of locally compact topological groups G is given by

Hom (G, S1),

continuous group homomorphisms with values in the circle (with multiplication of complex numbers as group operation).

## Dual categories

{{#invoke:main|main}}

### Opposite category and adjoint functors

In another group of dualities, the objects of one theory are translated into objects of another theory and the maps between objects in the first theory are translated into morphisms in the second theory, but with direction reversed. Using the parlance of category theory, this amounts to a contravariant functor between two categories C and D:

F: CD

which for any two objects X and Y of C gives a map

HomC(X, Y) → HomD(F(Y), F(X))

That functor may or may not be an equivalence of categories. There are various situations, where such a functor is an equivalence between the opposite category Cop of C, and D. Using a duality of this type, every statement in the first theory can be translated into a "dual" statement in the second theory, where the direction of all arrows has to be reversed.[10] Therefore, any duality between categories C and D is formally the same as an equivalence between C and Dop (Cop and D). However, in many circumstances the opposite categories have no inherent meaning, which makes duality an additional, separate concept.[11]

A category that is equivalent to its dual is called self-dual.[12]

Many category-theoretic notions come in pairs in the sense that they correspond to each other while considering the opposite category. For example, Cartesian products Y1 × Y2 and disjoint unions Y1Y2 of sets are dual to each other in the sense that

Hom (X, Y1 × Y2) = Hom (X, Y1) × Hom (X, Y2)

and

Hom (Y1Y2, X) = Hom (Y1, X) × Hom (Y2, X)

for any set X. This is a particular case of a more general duality phenomenon, under which limits in a category C correspond to colimits in the opposite category Cop; further concrete examples of this are epimorphisms vs. monomorphism, in particular factor modules (or groups etc.) vs. submodules, direct products vs. direct sums (also called coproducts to emphasize the duality aspect). Therefore, in some cases, proofs of certain statements can be halved, using such a duality phenomenon. Further notions displaying related by such a categorical duality are projective and injective modules in homological algebra,[13] fibrations and cofibrations in topology and more generally model categories.[14]

Two functors F: CD and G: DC are adjoint if for all objects c in C and d in D

HomD(F(c), d) ≅ HomC(c, G(d)),

in a natural way. Actually, the correspondence of limits and colimits is an example of adjoints, since there is an adjunction

${\displaystyle \operatorname {colim} :C^{I}\leftrightarrow C:\Delta \,}$

between the colimit functor that assigns to any diagram in C indexed by some category I its colimit and the diagonal functor that maps any object c of C to the constant diagram which has c at all places. Dually,

${\displaystyle \Delta :C^{I}\leftrightarrow C:\lim .\,}$

### Examples

For example, there is a duality between commutative rings and affine schemes: to every commutative ring A there is an affine spectrum, Spec A, conversely, given an affine scheme S, one gets back a ring by taking global sections of the structure sheaf OS. In addition, ring homomorphisms are in one-to-one correspondence with morphisms of affine schemes, thereby there is an equivalence

(Commutative rings)op ≅ (affine schemes)[15]

Compare with noncommutative geometry and Gelfand duality.

An example of self-dual category is the category of Hilbert spaces.[12]

In a number of situations, the objects of two categories linked by a duality are partially ordered, i.e., there is some notion of an object "being smaller" than another one. In such a situation, a duality that respects the orderings in question is known as a Galois connection. An example is the standard duality in Galois theory (fundamental theorem of Galois theory) between field extensions and subgroups of the Galois group: a bigger field extension corresponds—under the mapping that assigns to any extension LK (inside some fixed bigger field Ω) the Galois group Gal (Ω / L) —to a smaller group.[16]

Pontryagin duality gives a duality on the category of locally compact abelian groups: given any such group G, the character group

χ(G) = Hom (G, S1)

given by continuous group homomorphisms from G to the circle group S1 can be endowed with the compact-open topology. Pontryagin duality states that the character group is again locally compact abelian and that

G ≅ χ(χ(G)).[17]

Moreover, discrete groups correspond to compact abelian groups; finite groups correspond to finite groups. Pontryagin is the background to Fourier analysis, see below.

Both Gelfand and Pontryagin duality can be deduced in a largely formal, category-theoretic way.[19]

## Analytic dualities

In analysis, problems are frequently solved by passing to the dual description of functions and operators.

Fourier transform switches between functions on a vector space and its dual:

${\displaystyle {\hat {f}}(\xi ):=\int _{-\infty }^{\infty }f(x)\ e^{-2\pi ix\xi }\,dx,}$

and conversely

${\displaystyle f(x)=\int _{-\infty }^{\infty }{\hat {f}}(\xi )\ e^{2\pi ix\xi }\,d\xi .}$

If f is an L2-function on R or RN, say, then so is ${\displaystyle {\hat {f}}}$ and ${\displaystyle f(-x)={\hat {\hat {f}}}(x)}$. Moreover, the transform interchanges operations of multiplication and convolution on the corresponding function spaces. A conceptual explanation of the Fourier transform is obtained by the aforementioned Pontryagin duality, applied to the locally compact groups R (or RN etc.): any character of R is given by ξ↦ e−2πixξ. The dualizing character of Fourier transform has many other manifestations, for example, in alternative descriptions of quantum mechanical systems in terms of coordinate and momentum representations.

## Poincaré-style dualities

Theorems showing that certain objects of interest are the dual spaces (in the sense of linear algebra) of other objects of interest are often called dualities. Many of these dualities are given by a bilinear pairing of two K-vector spaces

ABK.

For perfect pairings, there is, therefore, an isomorphism of A to the dual of B.

For example, Poincaré duality of a smooth compact complex manifold X is given by a pairing of singular cohomology with C-coefficients (equivalently, sheaf cohomology of the constant sheaf C)

Hi(X) ⊗ H2ni(X) → C,

where n is the (complex) dimension of X.[20] Poincaré duality can also be expressed as a relation of singular homology and de Rham cohomology, by asserting that the map

${\displaystyle (\gamma ,\omega )\mapsto \int _{\gamma }\omega }$

(integrating a differential k-form over an 2nk-(real) -dimensional cycle) is a perfect pairing.

The same duality pattern holds for a smooth projective variety over a separably closed field, using l-adic cohomology with Q-coefficients instead.[21] This is further generalized to possibly singular varieties, using intersection cohomology instead, a duality called Verdier duality.[22] With increasing level of generality, it turns out, an increasing amount of technical background is helpful or necessary to understand these theorems: the modern formulation of both these dualities can be done using derived categories and certain direct and inverse image functors of sheaves, applied to locally constant sheaves (with respect to the classical analytical topology in the first case, and with respect to the étale topology in the second case).

Yet another group of similar duality statements is encountered in arithmetics: étale cohomology of finite, local and global fields (also known as Galois cohomology, since étale cohomology over a field is equivalent to group cohomology of the (absolute) Galois group of the field) admit similar pairings. The absolute Galois group G(Fq) of a finite field, for example, is isomorphic to ${\displaystyle {\hat {\mathbf {Z} }}}$, the profinite completion of Z, the integers. Therefore, the perfect pairing (for any G-module M)

Hn(G, M) × H1−n (G, Hom (M, Q/Z)) → Q/Z[23]

is a direct consequence of Pontryagin duality of finite groups. For local and global fields, similar statements exist (local duality and global or Poitou–Tate duality).[24]

Serre duality or coherent duality are similar to the statements above, but applies to cohomology of coherent sheaves instead.[25]

## References

### Duality in general

• Atiyah, Michael (2007), Duality in Mathematics and Physics, lecture notes from the Institut de Matematica de la Universitat de Barcelona (IMUB).
• {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

• {{#invoke:citation/CS1|citation

|CitationClass=citation }} (a non-technical overview about several aspects of geometry, including dualities)

### Specific dualities

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}. Also author's site.

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}. Also author's site.

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}