Reference articles on history, science, culture and more
Encyclopedia

Pairing

Bilinear map in mathematics

In mathematics, a pairing is an R-bilinear map from the Cartesian product of two R-modules, where the underlying ring R is commutative.

01Definition

Let R be a commutative ring with unit, and let M, N and L be R-modules.

A pairing is any R-bilinear map e:M\times N\to L. That is, it satisfies

e(r\cdot m,n)=e(m,r\cdot n)=r\cdot e(m,n),
e(m_{1}+m_{2},n)=e(m_{1},n)+e(m_{2},n) and e(m,n_{1}+n_{2})=e(m,n_{1})+e(m,n_{2})

for any r\in R and any m,m_{1},m_{2}\in M and any n,n_{1},n_{2}\in N. Equivalently, a pairing is an R-linear map

M\otimes _{R}N\to L

where M\otimes _{R}N denotes the tensor product of M and N.

A pairing can also be considered as an R-linear map \Phi :M\to \operatorname {Hom} _{R}(N,L), which matches the first definition by setting \Phi (m)(n):=e(m,n).

A pairing is called perfect if the above map \Phi is an isomorphism of R-modules and the other evaluation map \Phi '\colon N\to \operatorname {Hom} _{R}(M,L) is an isomorphism also. In nice cases, it suffices that just one of these be an isomorphism, e.g. when R is a field, M,N are finite dimensional vector spaces and L=R.

A pairing is called non-degenerate on the right if for the above map we have that e(m,n)=0 for all m implies n=0; similarly, e is called non-degenerate on the left if e(m,n)=0 for all n implies m=0.

When N=M, a pairing is called symmetric if e(m,n)=e(n,m) for all m, n, and alternating if e(m,m)=0 for all m. In particular, this implies e(m+n,m+n)=0, while bilinearity shows e(m+n,m+n)=e(m,m)+e(m,n)+e(n,m)+e(n,n)=e(m,n)+e(n,m). Thus, for an alternating pairing, e(m,n)=-e(n,m).

02Examples

For a vector space V over a field k, a pairing V\times V\to k is also called a bilinear form. Examples include any scalar product on a real vector space V, or the determinant map (2 × 2 matrices over k) → k when viewed as a pairing k^{2}\times k^{2}\to k.

For the dual module M^{*} of M, the evaluation map M^{*}\times M\to R, (\lambda ,m)\mapsto \lambda (m) is known as the natural pairing.

Other examples of pairings occur in various duality theories, such as Serre duality or Poincaré duality. See also Dual system.

Another example is the Yoneda product between Ext groups.

The Hopf map S^{3}\to S^{2} written as h:S^{2}\times S^{2}\to S^{2} is an example of a pairing. For instance, Hardie et al. present an explicit construction of the map using poset models.

03Pairings in cryptography

In cryptography, often the following specialized definition is used:

Let \textstyle G_{1},G_{2} be additive groups and \textstyle G_{T} a multiplicative group, all of prime order \textstyle p. Let \textstyle P\in G_{1},Q\in G_{2} be generators of \textstyle G_{1} and \textstyle G_{2} respectively.

A pairing is a map: e:G_{1}\times G_{2}\rightarrow G_{T}

for which the following holds:

  1. Bilinearity: \textstyle \forall a,b\in \mathbb {Z} :\ e\left(aP,bQ\right)=e\left(P,Q\right)^{ab}
  2. Non-degeneracy: \textstyle e\left(P,Q\right)\neq 1
  3. For practical purposes, \textstyle e has to be computable in an efficient manner

Note that it is also common in cryptographic literature for all groups to be written in multiplicative notation.

In cases when \textstyle G_{1}=G_{2}=G, the pairing is called symmetric. As \textstyle G is cyclic, the map e will be commutative; that is, for any P,Q\in G, we have e(P,Q)=e(Q,P). This is because for a generator g\in G, there exist integers p, q such that P=g^{p} and Q=g^{q}. Therefore e(P,Q)=e(g^{p},g^{q})=e(g,g)^{pq}=e(g^{q},g^{p})=e(Q,P).

The Weil pairing is an important concept in elliptic curve cryptography; e.g., it may be used to attack certain elliptic curves (see MOV attack). It and other pairings have been used to develop identity-based encryption schemes.

04Slightly different usages of the notion of pairing

Scalar products on complex vector spaces are sometimes called pairings, although they are not bilinear. For example, in representation theory, one has a scalar product on the characters of complex representations of a finite group which is frequently called character pairing.

Watch videos about PairingExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Pairing, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.