Relation (math)
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a relation denotes some kind of ''relationship'' between two objects in a
set Set, The Set, SET or SETS may refer to: Science, technology, and mathematics Mathematics *Set (mathematics), a collection of elements *Category of sets, the category whose objects and morphisms are sets and total functions, respectively Electro ...
, which may or may not hold. As an example, "''is less than''" is a relation on the set of
natural number In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s; it holds, for instance, between the values and (denoted as ), and likewise between and (denoted as ), but not between the values and nor between and , that is, and both evaluate to false. As another example, "''is sister of'' is a relation on the set of all people, it holds e.g. between
Marie Curie Maria Salomea Skłodowska-Curie (; ; 7 November 1867 – 4 July 1934), known simply as Marie Curie ( ; ), was a Polish and naturalised-French physicist and chemist who conducted pioneering research on radioactivity. She was List of female ...
and Bronisława Dłuska, and likewise vice versa. Set members may not be in relation "to a certain degree" – either they are in relation or they are not. Formally, a relation over a set can be seen as a set of
ordered pair In mathematics, an ordered pair, denoted (''a'', ''b''), is a pair of objects in which their order is significant. The ordered pair (''a'', ''b'') is different from the ordered pair (''b'', ''a''), unless ''a'' = ''b''. In contrast, the '' unord ...
s of members of . The relation holds between and if is a member of . For example, the relation "''is less than''" on the natural numbers is an
infinite set In set theory, an infinite set is a set that is not a finite set. Infinite sets may be countable or uncountable. Properties The set of natural numbers (whose existence is postulated by the axiom of infinity) is infinite. It is the only set ...
of pairs of natural numbers that contains both and , but neither nor . The relation "''is a nontrivial divisor of'' on the set of one-digit natural numbers is sufficiently small to be shown here: ; for example is a nontrivial divisor of , but not vice versa, hence , but . If is a relation that holds for and , one often writes . For most common relations in mathematics, special symbols are introduced, like "" for ''"is less than"'', and "" for ''"is a nontrivial divisor of"'', and, most popular "" for ''"is equal to"''. For example, "", " is less than ", and "" mean all the same; some authors also write "". Various properties of relations are investigated. A relation is reflexive if holds for all , and irreflexive if holds for no . It is symmetric if always implies , and asymmetric if implies that is impossible. It is transitive if and always implies . For example, "''is less than''" is irreflexive, asymmetric, and transitive, but neither reflexive nor symmetric. "''is sister of'' is transitive, but neither reflexive (e.g.
Pierre Curie Pierre Curie ( ; ; 15 May 1859 – 19 April 1906) was a French physicist, Radiochemistry, radiochemist, and a pioneer in crystallography, magnetism, piezoelectricity, and radioactivity. He shared the 1903 Nobel Prize in Physics with his wife, ...
is not a sister of himself), nor symmetric, nor asymmetric; while being irreflexive or not may be a matter of definition (is every woman a sister of herself?), "''is ancestor of'' is transitive, while "''is parent of'' is not. Mathematical theorems are known about combinations of relation properties, such as "a transitive relation is irreflexive if, and only if, it is asymmetric". Of particular importance are relations that satisfy certain combinations of properties. A
partial order In mathematics, especially order theory, a partial order on a set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements needs to be comparable ...
is a relation that is reflexive, antisymmetric, and transitive, an
equivalence relation In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric, and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation. A simpler example is equ ...
is a relation that is reflexive, symmetric, and transitive, a function is a relation that is right-unique and left-total (see below). Since relations are sets, they can be manipulated using set operations, including union,
intersection In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their ...
, and complementation, leading to the
algebra of sets In mathematics, the algebra of sets, not to be confused with the mathematical structure of ''an'' algebra of sets, defines the properties and laws of sets, the set-theoretic operations of union, intersection, and complementation and the re ...
. Furthermore, the calculus of relations includes the operations of taking the converse and composing relations. Ernst Schröder (1895
Algebra und Logic der Relative
via
Internet Archive The Internet Archive is an American 501(c)(3) organization, non-profit organization founded in 1996 by Brewster Kahle that runs a digital library website, archive.org. It provides free access to collections of digitized media including web ...
C. I. Lewis (1918
A Survey of Symbolic Logic
pp. 269–279, via internet Archive
The above concept of relation has been generalized to admit relations between members of two different sets (''
heterogeneous relation In mathematics, a binary relation associates some elements of one set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs (x, y), where x i ...
'', like "''lies on''" between the set of all
points A point is a small dot or the sharp tip of something. Point or points may refer to: Mathematics * Point (geometry), an entity that has a location in space or on a plane, but has no extent; more generally, an element of some abstract topologica ...
and that of all lines in geometry), relations between three or more sets (''
finitary relation In mathematics, a finitary relation over a sequence of sets is a subset of the Cartesian product ; that is, it is a set of ''n''-tuples , each being a sequence of elements ''x'i'' in the corresponding ''X'i''. Typically, the relation descri ...
'', like ''"person lives in town at time "''), and relations between classes (like "''is an element of'' on the class of all sets, see ').


Definition

Given a set , a relation over is a set of
ordered pair In mathematics, an ordered pair, denoted (''a'', ''b''), is a pair of objects in which their order is significant. The ordered pair (''a'', ''b'') is different from the ordered pair (''b'', ''a''), unless ''a'' = ''b''. In contrast, the '' unord ...
s of elements from , formally: . The statement reads " is -related to " and is written in
infix notation Infix notation is the notation commonly used in arithmetical and logical formulae and statements. It is characterized by the placement of operators between operands—"infixed operators"—such as the plus sign in . Usage Binary relations are ...
as . The order of the elements is important; if then can be true or false independently of . For example, divides , but does not divide .


Representation of relations

A relation on a finite set may be represented as: * Directed graph: Each member of corresponds to a vertex; a directed edge from to exists if and only if . * Boolean matrix: The members of are arranged in some fixed sequence , ..., ; the matrix has dimensions , with the element in line , column , being , if , and , otherwise. * 2D-plot: As a generalization of a Boolean matrix, a relation on the –infinite– set of
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s can be represented as a two-dimensional geometric figure: using
Cartesian coordinates In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
, draw a point at whenever . A transitive relation on a finite set may be also represented as * Hasse diagram: Each member of corresponds to a vertex; directed edges are drawn such that a directed path from to exists if and only if . Compared to a directed-graph representation, a Hasse diagram needs fewer edges, leading to a less tangled image. Since the relation "''a directed path exists from to ''" is transitive, only transitive relations can be represented in Hasse diagrams. Usually the diagram is laid out such that all edges point in an upward direction, and the arrows are omitted. For example, on the set of all divisors of , define the relation by : if is a divisor of and . Formally, and . The representation of as a Boolean matrix is shown in the middle table; the representation both as a Hasse diagram and as a directed graph is shown in the left picture. The following are equivalent: * is true. * . * A path from to exists in the Hasse diagram representing . * An edge from to exists in the directed graph representing . * In the Boolean matrix representing , the element in line , column is "". As another example, define the relation on by : if . The representation of as a 2D-plot obtains an ellipse, see right picture. Since is not finite, neither a directed graph, nor a finite Boolean matrix, nor a Hasse diagram can be used to depict .


Properties of relations

Some important properties that a relation over a set may have are: ; : for all , . For example, is a reflexive relation but is not. ; (or ): for all , not . For example, is an irreflexive relation, but is not. The previous 2 alternatives are not exhaustive; e.g., the red relation given in the diagram below is neither irreflexive, nor reflexive, since it contains the pair , but not , respectively. ; : for all , if then . For example, "is a blood relative of" is a symmetric relation, because is a blood relative of if and only if is a blood relative of . ; : for all , if and then . For example, is an antisymmetric relation; so is , but
vacuously In mathematics and logic, a vacuous truth is a conditional or universal statement (a universal statement that can be converted to a conditional statement) that is true because the antecedent cannot be satisfied. It is sometimes said that a s ...
(the condition in the definition is always false). ; : for all , if then not . A relation is asymmetric if and only if it is both antisymmetric and irreflexive. For example, is an asymmetric relation, but is not. Again, the previous 3 alternatives are far from being exhaustive; as an example over the natural numbers, the relation defined by is neither symmetric (e.g. , but not ) nor antisymmetric (e.g. , but also ), let alone asymmetric. ; : for all , if and then . A transitive relation is irreflexive if and only if it is asymmetric. For example, "is ancestor of" is a transitive relation, while "is parent of" is not. ; : for all , if then or . For example, on the natural numbers, is connected, while "''is a divisor of'' is not (e.g. neither nor ). ; : for all , or . For example, on the natural numbers, is strongly connected, but is not. A relation is strongly connected if, and only if, it is connected and reflexive.


Uniqueness properties

; ''Injective'' (also called ''left-unique'') : For all , if and then . For example, the green and blue relations in the diagram are injective, but the red one is not (as it relates both and to ), nor is the black one (as it relates both and to ). ; ''Functional'' (also called ''right-unique'',. The same four definitions appear in the following: , , ''right-definite'' or ''univalent'') : For all , if and then . Such a relation is called a . For example, the red and green relations in the diagram are functional, but the blue one is not (as it relates to both and ), nor is the black one (as it relates 0 to both −1 and 1).


Totality properties

; (also called or ): For all , there exists some such that . Such a relation is called a ''
multivalued function In mathematics, a multivalued function, multiple-valued function, many-valued function, or multifunction, is a function that has two or more values in its range for at least one point in its domain. It is a set-valued function with additional p ...
''. For example, the red and green relations in the diagram are total, but the blue one is not (as it does not relate to any real number), nor is the black one (as it does not relate to any real number). As another example, is a serial relation over the integers. But it is not a serial relation over the positive integers, because there is no in the positive integers such that . However, is a serial relation over the positive integers, the rational numbers and the real numbers. Every reflexive relation is serial: for a given , choose . ; ''Surjective'' (also called ''right-total'' or ''onto''): For all , there exists an such that . For example, the green and blue relations in the diagram are surjective, but the red one is not (as it does not relate any real number to ), nor is the black one (as it does not relate any real number to ).


Combinations of properties

: Relations that satisfy certain combinations of the above properties are particularly useful, and thus have received names by their own. ; : A relation that is reflexive, symmetric, and transitive. It is also a relation that is symmetric, transitive, and serial, since these properties imply reflexivity.


Orderings

; : A relation that is reflexive, antisymmetric, and transitive. ; : A relation that is irreflexive, asymmetric, and transitive. ; : A relation that is reflexive, antisymmetric, transitive and connected. ; : A relation that is irreflexive, asymmetric, transitive and connected.

Uniqueness properties

; ''One-to-one'': Injective and functional. For example, the green relation in the diagram is one-to-one, but the red, blue and black ones are not. ; ''One-to-many'': Injective and not functional. For example, the blue relation in the diagram is one-to-many, but the red, green and black ones are not. ; ''Many-to-one'': Functional and not injective. For example, the red relation in the diagram is many-to-one, but the green, blue and black ones are not. ; ''Many-to-many'': Not injective nor functional. For example, the black relation in the diagram is many-to-many, but the red, green and blue ones are not.


Uniqueness and totality properties

; A : A relation that is functional and total. For example, the red and green relations in the diagram are functions, but the blue and black ones are not. ; An : A function that is injective. For example, the green relation in the diagram is an injection, but the red, blue and black ones are not. ; A : A function that is surjective. For example, the green relation in the diagram is a surjection, but the red, blue and black ones are not. ; A : A function that is injective and surjective. For example, the green relation in the diagram is a bijection, but the red, blue and black ones are not.


Operations on relations

; : If and are relations over then is the of and . The identity element of this operation is the empty relation. For example, is the union of and , and is the union of and . ; : If and are relations over then is the of and . The identity element of this operation is the universal relation. For example, "is a lower card of the same suit as" is the intersection of "is a lower card than" and "belongs to the same suit as". ; : If and are relations over then (also denoted by ) is the relative product of and . The identity element is the identity relation. The order of and in the notation , used here agrees with the standard notational order for
composition of functions In mathematics, the composition operator \circ takes two functions, f and g, and returns a new function h(x) := (g \circ f) (x) = g(f(x)). Thus, the function is applied after applying to . (g \circ f) is pronounced "the composition of an ...
. For example, the composition "is mother of" "is parent of" yields "is maternal grandparent of", while the composition "is parent of" "is mother of" yields "is grandmother of". For the former case, if is the parent of and is the mother of , then is the maternal grandparent of . ; : If is a relation over sets and then is the ''converse relation'' of over and . For example, is the converse of itself, as is , and and are each other's converse, as are and . ; : If is a relation over then (also denoted by or ) is the ''complementary relation'' of . For example, and are each other's complement, as are and , and , and and , and, for
total order In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X: # a \leq a ( re ...
s, also and , and and . The complement of the
converse relation In mathematics, the converse of a binary relation is the relation that occurs when the order of the elements is switched in the relation. For example, the converse of the relation 'child of' is the relation 'parent of'. In formal terms ...
is the converse of the complement: \overline = \bar^\mathsf. ; : If is a relation over and is a subset of then is the of to . The expression is the of to ; the expression is called the of to . If a relation is reflexive, irreflexive,
symmetric Symmetry () in everyday life refers to a sense of harmonious and beautiful proportion and balance. In mathematics, the term has a more precise definition and is usually used to refer to an object that is invariant under some transformations ...
, antisymmetric, asymmetric, transitive, total, trichotomous, a
partial order In mathematics, especially order theory, a partial order on a set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements needs to be comparable ...
,
total order In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X: # a \leq a ( re ...
,
strict weak order In mathematics, especially order theory, a weak ordering is a mathematical formalization of the intuitive notion of a ranking of a set, some of whose members may be tied with each other. Weak orders are a generalization of totally ordered set ...
, total preorder (weak order), or an
equivalence relation In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric, and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation. A simpler example is equ ...
, then so too are its restrictions. However, the transitive closure of a restriction is a subset of the restriction of the transitive closure, i.e., in general not equal. For example, restricting the relation " is parent of " to women yields the relation " is mother of the woman "; its transitive closure does not relate a woman with her paternal grandmother. On the other hand, the transitive closure of "is parent of" is "is ancestor of"; its restriction to women does relate a woman with her paternal grandmother. A relation over sets and is said to be a relation over and , written , if is a subset of , that is, for all and , if , then . If is contained in and is contained in , then and are called ''equal'' written . If is contained in but is not contained in , then is said to be than , written . For example, on the
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example, The set of all ...
s, the relation is smaller than , and equal to the composition .


Theorems about relations

* A relation is asymmetric if, and only if, it is antisymmetric and irreflexive. * A transitive relation is irreflexive if, and only if, it is asymmetric. * A relation is reflexive if, and only if, its complement is irreflexive. * A relation is strongly connected if, and only if, it is connected and reflexive. * A relation is equal to its converse if, and only if, it is symmetric. * A relation is connected if, and only if, its complement is anti-symmetric. * A relation is strongly connected if, and only if, its complement is asymmetric. * If and are relations over a set , and is contained in , then ** If is reflexive, connected, strongly connected, left-total, or right-total, then so is . ** If is irreflexive, asymmetric, anti-symmetric, left-unique, or right-unique, then so is . * A relation is reflexive, irreflexive, symmetric, asymmetric, anti-symmetric, connected, strongly connected, and transitive if its converse is, respectively.


Examples

*
Order relation Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intro ...
s, including strict orders: ** Greater than ** Greater than or equal to **
Less than In mathematics, an inequality is a relation which makes a non-equal comparison between two numbers or other mathematical expressions. It is used most often to compare two numbers on the number line by their size. The main types of inequality ar ...
** Less than or equal to **
Divides In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a '' multiple'' of m. An integer n is divisible or evenly divisibl ...
(evenly) **
Subset In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
of *
Equivalence relation In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric, and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation. A simpler example is equ ...
s: ** Equality ** Parallel with (for
affine space In mathematics, an affine space is a geometric structure that generalizes some of the properties of Euclidean spaces in such a way that these are independent of the concepts of distance and measure of angles, keeping only the properties relat ...
s) ** Is in
bijection In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ...
with **
Isomorphic In mathematics, an isomorphism is a structure-preserving mapping or morphism between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between the ...
* Tolerance relation, a reflexive and symmetric relation: ** Dependency relation, a finite tolerance relation ** Independency relation, the complement of some dependency relation * Kinship relations


Generalizations

The above concept of relation has been generalized to admit relations between members of two different sets. Given sets and , a ''
heterogeneous relation In mathematics, a binary relation associates some elements of one set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs (x, y), where x i ...
'' over and is a subset of . When , the relation concept described above is obtained; it is often called ''homogeneous relation'' (or ''endorelation'') to distinguish it from its generalization. The above properties and operations that are marked "" and "", respectively, generalize to heterogeneous relations. An example of a heterogeneous relation is "ocean borders continent ". The best-known examples are functions with distinct domains and ranges, such as .


See also

*
Incidence structure In mathematics, an incidence structure is an abstract system consisting of two types of objects and a single relationship between these types of objects. Consider the Point (geometry), points and Line (geometry), lines of the Euclidean plane as t ...
, a heterogeneous relation between set of points and lines *
Order theory Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intr ...
, investigates properties of order relations *
Relation algebra In mathematics and abstract algebra, a relation algebra is a residuated Boolean algebra expanded with an involution called converse, a unary operation. The motivating example of a relation algebra is the algebra 2''X'' 2 of all binary re ...


Notes


References


Bibliography

* * * * * * * * * * * * * * * * * * * {{DEFAULTSORT:Relation