Relation (mathematics)
Template:Short description Script error: No such module "about".
In mathematics, a relation denotes some kind of relationship between two objects in a set, which may or may not hold.[1] As an example, "is less than" is a relation on the set of natural numbers; it holds, for instance, between the values 1Script error: No such module "Check for unknown parameters". and 3Script error: No such module "Check for unknown parameters". (denoted as 1 < 3Script error: No such module "Check for unknown parameters".), and likewise between 3Script error: No such module "Check for unknown parameters". and 4Script error: No such module "Check for unknown parameters". (denoted as 3 < 4Script error: No such module "Check for unknown parameters".), but not between the values 3Script error: No such module "Check for unknown parameters". and 1Script error: No such module "Check for unknown parameters". nor between 4Script error: No such module "Check for unknown parameters". and 4Script error: No such module "Check for unknown parameters"., that is, 3 < 1Script error: No such module "Check for unknown parameters". and 4 < 4Script error: No such module "Check for unknown parameters". 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 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 Template:Mvar over a set Template:Mvar can be seen as a set of ordered pairs (x,y)Script error: No such module "Check for unknown parameters". of members of Template:Mvar.Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters". The relation Template:Mvar holds between Template:Mvar and Template:Mvar if (x,y)Script error: No such module "Check for unknown parameters". is a member of Template:Mvar. For example, the relation "is less than" on the natural numbers is an infinite set RlessScript error: No such module "Check for unknown parameters". of pairs of natural numbers that contains both (1,3)Script error: No such module "Check for unknown parameters". and (3,4)Script error: No such module "Check for unknown parameters"., but neither (3,1)Script error: No such module "Check for unknown parameters". nor (4,4)Script error: No such module "Check for unknown parameters".. The relation "is a nontrivial divisor of" on the set of one-digit natural numbers is sufficiently small to be shown here: Rdv = Template:MsetScript error: No such module "Check for unknown parameters".; for example 2Script error: No such module "Check for unknown parameters". is a nontrivial divisor of 8Script error: No such module "Check for unknown parameters"., but not vice versa, hence (2,8) ∈ RdvScript error: No such module "Check for unknown parameters"., but (8,2) ∉ RdvScript error: No such module "Check for unknown parameters"..
If Template:Mvar is a relation that holds for Template:Mvar and Template:Mvar, one often writes xRyScript error: No such module "Check for unknown parameters".. For most common relations in mathematics, special symbols are introduced, like "<Script error: No such module "Check for unknown parameters"." for "is less than", and "|Script error: No such module "Check for unknown parameters"." for "is a nontrivial divisor of", and, most popular "=Script error: No such module "Check for unknown parameters"." for "is equal to". For example, "1 < 3Script error: No such module "Check for unknown parameters".", "1Script error: No such module "Check for unknown parameters". is less than 3Script error: No such module "Check for unknown parameters".", and "(1,3) ∈ RlessScript error: No such module "Check for unknown parameters"." mean all the same; some authors also write "(1,3) ∈ (<)Script error: No such module "Check for unknown parameters".".
Various properties of relations are investigated. A relation Template:Mvar is reflexive if xRxScript error: No such module "Check for unknown parameters". holds for all Template:Mvar, and irreflexive if xRxScript error: No such module "Check for unknown parameters". holds for no Template:Mvar. It is symmetric if xRyScript error: No such module "Check for unknown parameters". always implies yRxScript error: No such module "Check for unknown parameters"., and asymmetric if xRyScript error: No such module "Check for unknown parameters". implies that yRxScript error: No such module "Check for unknown parameters". is impossible. It is transitive if xRyScript error: No such module "Check for unknown parameters". and yRzScript error: No such module "Check for unknown parameters". always implies xRzScript error: No such module "Check for unknown parameters".. 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 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 is a relation that is reflexive, antisymmetric, and transitive,Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters". an equivalence relation is a relation that is reflexive, symmetric, and transitive,Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters". a function is a relation that is right-unique and left-total (see below).[2]Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".
Since relations are sets, they can be manipulated using set operations, including union, intersection, and complementation, leading to the algebra of sets. Furthermore, the calculus of relations includes the operations of taking the converse and composing relations.[3][4]Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".
The above concept of relationTemplate:Efn has been generalized to admit relations between members of two different sets (heterogeneous relation, like "lies on" between the set of all points and that of all lines in geometry), relations between three or more sets (finitary relation, like "person xScript error: No such module "Check for unknown parameters". lives in town yScript error: No such module "Check for unknown parameters". at time zScript error: No such module "Check for unknown parameters"."), and relations between classesTemplate:Efn (like "is an element of" on the class of all sets, see Template:Section link).
Definition
Given a set XScript error: No such module "Check for unknown parameters"., a relation RScript error: No such module "Check for unknown parameters". over XScript error: No such module "Check for unknown parameters". is a set of ordered pairs of elements from XScript error: No such module "Check for unknown parameters"., formally: R ⊆ Template:MsetScript error: No such module "Check for unknown parameters"..Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".
The statement (x,y) ∈ RScript error: No such module "Check for unknown parameters". reads "xScript error: No such module "Check for unknown parameters". is RScript error: No such module "Check for unknown parameters".-related to yScript error: No such module "Check for unknown parameters"." and is written in infix notation as xRyScript error: No such module "Check for unknown parameters"..[3][4] The order of the elements is important; if x ≠ yScript error: No such module "Check for unknown parameters". then yRxScript error: No such module "Check for unknown parameters". can be true or false independently of xRyScript error: No such module "Check for unknown parameters".. For example, 3Script error: No such module "Check for unknown parameters". divides 9Script error: No such module "Check for unknown parameters"., but 9Script error: No such module "Check for unknown parameters". does not divide 3Script error: No such module "Check for unknown parameters"..
Representation of relations
| Template:Diagonal split header | 1 | 2 | 3 | 4 | 6 | 12 |
|---|---|---|---|---|---|---|
| 1 | Template:Ya | Template:Ya | Template:Ya | Template:Ya | Template:Ya | Template:Ya |
| 2 | Template:Na | Template:Ya | Template:Na | Template:Ya | Template:Ya | Template:Ya |
| 3 | Template:Na | Template:Na | Template:Ya | Template:Na | Template:Ya | Template:Ya |
| 4 | Template:Na | Template:Na | Template:Na | Template:Ya | Template:Na | Template:Ya |
| 6 | Template:Na | Template:Na | Template:Na | Template:Na | Template:Ya | Template:Ya |
| 12 | Template:Na | Template:Na | Template:Na | Template:Na | Template:Na | Template:Ya |
| Representation of RdivScript error: No such module "Check for unknown parameters". as a Boolean matrix | ||||||
A relation RScript error: No such module "Check for unknown parameters". on a finite set XScript error: No such module "Check for unknown parameters". may be represented as:
- Directed graph: Each member of XScript error: No such module "Check for unknown parameters". corresponds to a vertex; a directed edge from xScript error: No such module "Check for unknown parameters". to yScript error: No such module "Check for unknown parameters". exists if and only if (x,y) ∈ RScript error: No such module "Check for unknown parameters"..
- Boolean matrix: The members of XScript error: No such module "Check for unknown parameters". are arranged in some fixed sequence x1Script error: No such module "Check for unknown parameters"., ..., xnScript error: No such module "Check for unknown parameters".; the matrix has dimensions n × nScript error: No such module "Check for unknown parameters"., with the element in line iScript error: No such module "Check for unknown parameters"., column jScript error: No such module "Check for unknown parameters"., being Template:Text, if (xi,xj) ∈ RScript error: No such module "Check for unknown parameters"., and Template:Text, otherwise.
- 2D-plot: As a generalization of a Boolean matrix, a relation on the –infinite– set RScript error: No such module "Check for unknown parameters". of real numbers can be represented as a two-dimensional geometric figure: using Cartesian coordinates, draw a point at (x,y)Script error: No such module "Check for unknown parameters". whenever (x,y) ∈ RScript error: No such module "Check for unknown parameters"..
A transitiveTemplate:Efn relation RScript error: No such module "Check for unknown parameters". on a finite set XScript error: No such module "Check for unknown parameters". may be also represented as
- Hasse diagram: Each member of XScript error: No such module "Check for unknown parameters". corresponds to a vertex; directed edges are drawn such that a directed path from xScript error: No such module "Check for unknown parameters". to yScript error: No such module "Check for unknown parameters". exists if and only if (x,y) ∈ RScript error: No such module "Check for unknown parameters".. 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 xScript error: No such module "Check for unknown parameters". to yScript error: No such module "Check for unknown parameters"." 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 12Script error: No such module "Check for unknown parameters"., define the relation RdivScript error: No such module "Check for unknown parameters". by
- x Rdiv yScript error: No such module "Check for unknown parameters". if xScript error: No such module "Check for unknown parameters". is a divisor of yScript error: No such module "Check for unknown parameters". and x ≠ yScript error: No such module "Check for unknown parameters"..
Formally, X = Template:MsetScript error: No such module "Check for unknown parameters". and Rdiv = Template:MsetScript error: No such module "Check for unknown parameters".. The representation of RdivScript error: No such module "Check for unknown parameters". 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:
- x Rdiv yScript error: No such module "Check for unknown parameters". is true.
- (x,y) ∈ RdivScript error: No such module "Check for unknown parameters"..
- A path from xScript error: No such module "Check for unknown parameters". to yScript error: No such module "Check for unknown parameters". exists in the Hasse diagram representing RdivScript error: No such module "Check for unknown parameters"..
- An edge from xScript error: No such module "Check for unknown parameters". to yScript error: No such module "Check for unknown parameters". exists in the directed graph representing RdivScript error: No such module "Check for unknown parameters"..
- In the Boolean matrix representing RdivScript error: No such module "Check for unknown parameters"., the element in line xScript error: No such module "Check for unknown parameters"., column yScript error: No such module "Check for unknown parameters". is "Template:Text".
As another example, define the relation RelScript error: No such module "Check for unknown parameters". on RScript error: No such module "Check for unknown parameters". by
- x Rel yScript error: No such module "Check for unknown parameters". if x2 + xy + y2 = 1Script error: No such module "Check for unknown parameters"..
The representation of RelScript error: No such module "Check for unknown parameters". as a 2D-plot obtains an ellipse, see right picture. Since RScript error: No such module "Check for unknown parameters". is not finite, neither a directed graph, nor a finite Boolean matrix, nor a Hasse diagram can be used to depict RelScript error: No such module "Check for unknown parameters"..
Properties of relations
Some important properties that a relation Template:Mvar over a set Template:Mvar may have are:
- Template:Em
- for all x ∈ XScript error: No such module "Check for unknown parameters"., xRxScript error: No such module "Check for unknown parameters".. For example, ≥Script error: No such module "Check for unknown parameters". is a reflexive relation but >Script error: No such module "Check for unknown parameters". is not.
- Template:Em (or Template:Em)
- for all x ∈ XScript error: No such module "Check for unknown parameters"., not xRxScript error: No such module "Check for unknown parameters".. For example, >Script error: No such module "Check for unknown parameters". is an irreflexive relation, but ≥Script error: No such module "Check for unknown parameters". is not.
The previous 2 alternatives are not exhaustive; e.g., the red relation y = x2Script error: No such module "Check for unknown parameters". given in the diagram below is neither irreflexive, nor reflexive, since it contains the pair (0,0)Script error: No such module "Check for unknown parameters"., but not (2,2)Script error: No such module "Check for unknown parameters"., respectively.
- Template:Em
- for all x, y ∈ XScript error: No such module "Check for unknown parameters"., if xRyScript error: No such module "Check for unknown parameters". then yRxScript error: No such module "Check for unknown parameters".. For example, "is a blood relative of" is a symmetric relation, because Template:Mvar is a blood relative of Template:Mvar if and only if Template:Mvar is a blood relative of Template:Mvar.
- Template:Em
- for all x, y ∈ XScript error: No such module "Check for unknown parameters"., if xRyScript error: No such module "Check for unknown parameters". and yRxScript error: No such module "Check for unknown parameters". then x = yScript error: No such module "Check for unknown parameters".. For example, ≥Script error: No such module "Check for unknown parameters". is an antisymmetric relation; so is >Script error: No such module "Check for unknown parameters"., but vacuously (the condition in the definition is always false).Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".
- Template:Em
- for all x, y ∈ XScript error: No such module "Check for unknown parameters"., if xRyScript error: No such module "Check for unknown parameters". then not yRxScript error: No such module "Check for unknown parameters".. A relation is asymmetric if and only if it is both antisymmetric and irreflexive.Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters". For example, >Script error: No such module "Check for unknown parameters". is an asymmetric relation, but ≥Script error: No such module "Check for unknown parameters". is not.
Again, the previous 3 alternatives are far from being exhaustive; as an example over the natural numbers, the relation xRyScript error: No such module "Check for unknown parameters". defined by x > 2Script error: No such module "Check for unknown parameters". is neither symmetric (e.g. 5R1Script error: No such module "Check for unknown parameters"., but not 1R5Script error: No such module "Check for unknown parameters".) nor antisymmetric (e.g. 6R4Script error: No such module "Check for unknown parameters"., but also 4R6Script error: No such module "Check for unknown parameters".), let alone asymmetric.
- Template:Em
- for all x, y, z ∈ XScript error: No such module "Check for unknown parameters"., if xRyScript error: No such module "Check for unknown parameters". and yRzScript error: No such module "Check for unknown parameters". then xRzScript error: No such module "Check for unknown parameters".. A transitive relation is irreflexive if and only if it is asymmetric.Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters". For example, "is ancestor of" is a transitive relation, while "is parent of" is not.
- Template:Em
- for all x, y ∈ XScript error: No such module "Check for unknown parameters"., if x ≠ yScript error: No such module "Check for unknown parameters". then xRyScript error: No such module "Check for unknown parameters". or yRxScript error: No such module "Check for unknown parameters".. For example, on the natural numbers, <Script error: No such module "Check for unknown parameters". is connected, while "is a divisor of" is not (e.g. neither 5R7Script error: No such module "Check for unknown parameters". nor 7R5Script error: No such module "Check for unknown parameters".).
- Template:Em
- for all x, y ∈ XScript error: No such module "Check for unknown parameters"., xRyScript error: No such module "Check for unknown parameters". or yRxScript error: No such module "Check for unknown parameters".. For example, on the natural numbers, ≤Script error: No such module "Check for unknown parameters". is strongly connected, but <Script error: No such module "Check for unknown parameters". is not. A relation is strongly connected if, and only if, it is connected and reflexive.
Uniqueness properties
- InjectiveTemplate:Efn (also called left-unique[5])
- For all x, y, z ∈ XScript error: No such module "Check for unknown parameters"., if xRyScript error: No such module "Check for unknown parameters". and zRyScript error: No such module "Check for unknown parameters". then x = zScript error: No such module "Check for unknown parameters".. For example, the green and blue relations in the diagram are injective, but the red one is not (as it relates both −1Script error: No such module "Check for unknown parameters". and 1Script error: No such module "Check for unknown parameters". to 1Script error: No such module "Check for unknown parameters".), nor is the black one (as it relates both −1Script error: No such module "Check for unknown parameters". and 1Script error: No such module "Check for unknown parameters". to 0Script error: No such module "Check for unknown parameters".).
- Functional[6][7][8]Template:Efn (also called right-unique,[5] right-definiteScript error: No such module "Footnotes".Script error: No such module "Check for unknown parameters". or univalentScript error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".)
- For all x, y, z ∈ XScript error: No such module "Check for unknown parameters"., if xRyScript error: No such module "Check for unknown parameters". and xRzScript error: No such module "Check for unknown parameters". then y = zScript error: No such module "Check for unknown parameters".. Such a relation is called a Template:Em. For example, the red and green relations in the diagram are functional, but the blue one is not (as it relates 1Script error: No such module "Check for unknown parameters". to both −1Script error: No such module "Check for unknown parameters". and 1Script error: No such module "Check for unknown parameters".), nor is the black one (as it relates 0 to both −1 and 1).
Totality properties
- Template:EmTemplate:Efn (also called Template:Em or Template:Em)
- For all x ∈ XScript error: No such module "Check for unknown parameters"., there exists some y ∈ XScript error: No such module "Check for unknown parameters". such that xRyScript error: No such module "Check for unknown parameters".. Such a relation is called a multivalued function. For example, the red and green relations in the diagram are total, but the blue one is not (as it does not relate −1Script error: No such module "Check for unknown parameters". to any real number), nor is the black one (as it does not relate 2Script error: No such module "Check for unknown parameters". to any real number). As another example, >Script error: No such module "Check for unknown parameters". is a serial relation over the integers. But it is not a serial relation over the positive integers, because there is no Template:Mvar in the positive integers such that 1 > yScript error: No such module "Check for unknown parameters"..Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters". However, <Script error: No such module "Check for unknown parameters". is a serial relation over the positive integers, the rational numbers and the real numbers. Every reflexive relation is serial: for a given Template:Mvar, choose y = xScript error: No such module "Check for unknown parameters"..
- SurjectiveTemplate:Efn (also called right-total[5] or onto)
- For all y ∈ YScript error: No such module "Check for unknown parameters"., there exists an x ∈ XScript error: No such module "Check for unknown parameters". such that xRyScript error: No such module "Check for unknown parameters".. 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 −1Script error: No such module "Check for unknown parameters".), nor is the black one (as it does not relate any real number to 2Script error: No such module "Check for unknown parameters".).
Combinations of properties
Relations by property Template:Vertical header Template:Vertical header Template:Vertical header Template:Vertical header Template:Vertical header Partial order Refl Antisym Yes Subset Strict partial order Irrefl Asym Yes Strict subset Total order Refl Antisym Yes Yes Alphabetical order Strict total order Irrefl Asym Yes Yes Strict alphabetical order Equivalence relation Refl Sym Yes Equality
Relations that satisfy certain combinations of the above properties are particularly useful, and thus have received names by their own.
- Template:Em
- 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
- Template:Em
- A relation that is reflexive, antisymmetric, and transitive.
- Template:Em
- A relation that is irreflexive, asymmetric, and transitive.
- Template:Em
- A relation that is reflexive, antisymmetric, transitive and connected.Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".
- Template:Em
- A relation that is irreflexive, asymmetric, transitive and connected.
Uniqueness properties
- One-to-oneTemplate:Efn
- 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-manyTemplate:Efn
- 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-oneTemplate:Efn
- 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-manyTemplate:Efn
- 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 Template:EmTemplate:Efn
- 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 Template:EmTemplate:Efn
- 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 Template:EmTemplate:Efn
- 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 Template:EmTemplate:Efn
- 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
- Template:EmTemplate:Efn
- If RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters". are relations over XScript error: No such module "Check for unknown parameters". then R ∪ S = Template:MsetScript error: No such module "Check for unknown parameters". is the Template:Em of RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters".. The identity element of this operation is the empty relation. For example, ≤Script error: No such module "Check for unknown parameters". is the union of <Script error: No such module "Check for unknown parameters". and =Script error: No such module "Check for unknown parameters"., and ≥Script error: No such module "Check for unknown parameters". is the union of >Script error: No such module "Check for unknown parameters". and =Script error: No such module "Check for unknown parameters"..
- Template:EmTemplate:Efn
- If RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters". are relations over XScript error: No such module "Check for unknown parameters". then R ∩ S = Template:MsetScript error: No such module "Check for unknown parameters". is the Template:Em of RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters".. 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".
- Template:EmTemplate:Efn
- If RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters". are relations over XScript error: No such module "Check for unknown parameters". then S ∘ R = Template:MsetScript error: No such module "Check for unknown parameters". (also denoted by R; SScript error: No such module "Check for unknown parameters".) is the relative product of RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters".. The identity element is the identity relation. The order of RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters". in the notation S ∘ RScript error: No such module "Check for unknown parameters"., used here agrees with the standard notational order for composition of functions. For example, the composition "is mother of" ∘Script error: No such module "Check for unknown parameters". "is parent of" yields "is maternal grandparent of", while the composition "is parent of" ∘Script error: No such module "Check for unknown parameters". "is mother of" yields "is grandmother of". For the former case, if xScript error: No such module "Check for unknown parameters". is the parent of yScript error: No such module "Check for unknown parameters". and yScript error: No such module "Check for unknown parameters". is the mother of zScript error: No such module "Check for unknown parameters"., then xScript error: No such module "Check for unknown parameters". is the maternal grandparent of zScript error: No such module "Check for unknown parameters"..
- Template:EmTemplate:Efn
- If RScript error: No such module "Check for unknown parameters". is a relation over sets XScript error: No such module "Check for unknown parameters". and YScript error: No such module "Check for unknown parameters". then RT = Template:MsetScript error: No such module "Check for unknown parameters". is the converse relation of RScript error: No such module "Check for unknown parameters". over YScript error: No such module "Check for unknown parameters". and XScript error: No such module "Check for unknown parameters".. For example, =Script error: No such module "Check for unknown parameters". is the converse of itself, as is ≠Script error: No such module "Check for unknown parameters"., and <Script error: No such module "Check for unknown parameters". and >Script error: No such module "Check for unknown parameters". are each other's converse, as are ≤Script error: No such module "Check for unknown parameters". and ≥Script error: No such module "Check for unknown parameters"..
- Template:EmTemplate:Efn
- If RScript error: No such module "Check for unknown parameters". is a relation over XScript error: No such module "Check for unknown parameters". then R = Template:MsetScript error: No such module "Check for unknown parameters". (also denoted by Template:StrikethroughScript error: No such module "Check for unknown parameters". or ¬RScript error: No such module "Check for unknown parameters".) is the complementary relation of RScript error: No such module "Check for unknown parameters".. For example, =Script error: No such module "Check for unknown parameters". and ≠Script error: No such module "Check for unknown parameters". are each other's complement, as are ⊆Script error: No such module "Check for unknown parameters". and ⊈Script error: No such module "Check for unknown parameters"., ⊇Script error: No such module "Check for unknown parameters". and ⊉Script error: No such module "Check for unknown parameters"., and ∈Script error: No such module "Check for unknown parameters". and ∉Script error: No such module "Check for unknown parameters"., and, for total orders, also <Script error: No such module "Check for unknown parameters". and ≥Script error: No such module "Check for unknown parameters"., and >Script error: No such module "Check for unknown parameters". and ≤Script error: No such module "Check for unknown parameters".. The complement of the converse relation RTScript error: No such module "Check for unknown parameters". is the converse of the complement:
- Template:EmTemplate:Efn
- If RScript error: No such module "Check for unknown parameters". is a relation over XScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters". is a subset of XScript error: No such module "Check for unknown parameters". then R|S = Template:MsetScript error: No such module "Check for unknown parameters". is the Template:Em of RScript error: No such module "Check for unknown parameters". to SScript error: No such module "Check for unknown parameters".. The expression R|S = Template:MsetScript error: No such module "Check for unknown parameters". is the Template:Em of RScript error: No such module "Check for unknown parameters". to SScript error: No such module "Check for unknown parameters".; the expression R|S = Template:MsetScript error: No such module "Check for unknown parameters". is called the Template:Em of RScript error: No such module "Check for unknown parameters". to SScript error: No such module "Check for unknown parameters".. If a relation is reflexive, irreflexive, symmetric, antisymmetric, asymmetric, transitive, total, trichotomous, a partial order, total order, strict weak order, total preorder (weak order), or an equivalence relation, 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 "xScript error: No such module "Check for unknown parameters". is parent of yScript error: No such module "Check for unknown parameters"." to women yields the relation "xScript error: No such module "Check for unknown parameters". is mother of the woman yScript error: No such module "Check for unknown parameters"."; 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 RScript error: No such module "Check for unknown parameters". over sets XScript error: No such module "Check for unknown parameters". and YScript error: No such module "Check for unknown parameters". is said to be Template:Em a relation SScript error: No such module "Check for unknown parameters". over XScript error: No such module "Check for unknown parameters". and YScript error: No such module "Check for unknown parameters"., written R ⊆ SScript error: No such module "Check for unknown parameters"., if RScript error: No such module "Check for unknown parameters". is a subset of SScript error: No such module "Check for unknown parameters"., that is, for all x ∈ XScript error: No such module "Check for unknown parameters". and y ∈ YScript error: No such module "Check for unknown parameters"., if xRyScript error: No such module "Check for unknown parameters"., then xSyScript error: No such module "Check for unknown parameters".. If RScript error: No such module "Check for unknown parameters". is contained in SScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters". is contained in RScript error: No such module "Check for unknown parameters"., then RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters". are called equal written R = SScript error: No such module "Check for unknown parameters".. If RScript error: No such module "Check for unknown parameters". is contained in SScript error: No such module "Check for unknown parameters". but SScript error: No such module "Check for unknown parameters". is not contained in RScript error: No such module "Check for unknown parameters"., then RScript error: No such module "Check for unknown parameters". is said to be Template:Em than SScript error: No such module "Check for unknown parameters"., written R ⊊ SScript error: No such module "Check for unknown parameters".. For example, on the rational numbers, the relation >Script error: No such module "Check for unknown parameters". is smaller than ≥Script error: No such module "Check for unknown parameters"., and equal to the composition > ∘ >Script error: No such module "Check for unknown parameters"..
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.Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".
- If RScript error: No such module "Check for unknown parameters". and SScript error: No such module "Check for unknown parameters". are relations over a set XScript error: No such module "Check for unknown parameters"., and RScript error: No such module "Check for unknown parameters". is contained in SScript error: No such module "Check for unknown parameters"., then
- If RScript error: No such module "Check for unknown parameters". is reflexive, connected, strongly connected, left-total, or right-total, then so is SScript error: No such module "Check for unknown parameters"..
- If SScript error: No such module "Check for unknown parameters". is irreflexive, asymmetric, anti-symmetric, left-unique, or right-unique, then so is RScript error: No such module "Check for unknown parameters"..
- A relation is reflexive, irreflexive, symmetric, asymmetric, anti-symmetric, connected, strongly connected, and transitive if its converse is, respectively.
Examples
- Order relations, including strict orders:
- Greater than
- Greater than or equal to
- Less than
- Less than or equal to
- Divides (evenly)
- Subset of
- Equivalence relations:
- Equality
- Parallel with (for affine spaces)
- Is in bijection with
- Isomorphic
- 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 XScript error: No such module "Check for unknown parameters". and YScript error: No such module "Check for unknown parameters"., a heterogeneous relation RScript error: No such module "Check for unknown parameters". over XScript error: No such module "Check for unknown parameters". and YScript error: No such module "Check for unknown parameters". is a subset of Template:MsetScript error: No such module "Check for unknown parameters"..Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".[9] When X = YScript error: No such module "Check for unknown parameters"., the relation concept described above is obtained; it is often called homogeneous relation (or endorelation)Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters".Script error: No such module "Footnotes".Script error: No such module "Check for unknown parameters". to distinguish it from its generalization. The above properties and operations that are marked "Template:Efn" and "Template:Efn", respectively, generalize to heterogeneous relations. An example of a heterogeneous relation is "ocean xScript error: No such module "Check for unknown parameters". borders continent yScript error: No such module "Check for unknown parameters".". The best-known examples are functionsTemplate:Efn with distinct domains and ranges, such as sqrt : N → R+Script error: No such module "Check for unknown parameters"..
See also
- Incidence structure, a heterogeneous relation between set of points and lines
- Order theory, investigates properties of order relations
- Relation algebra
Notes
References
<templatestyles src="Reflist/styles.css" />
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ a b Ernst Schröder (1895) Algebra und Logic der Relative, via Internet Archive
- ↑ a b C. I. Lewis (1918) A Survey of Symbolic Logic, pp. 269–279, via internet Archive
- ↑ a b c Script error: No such module "Footnotes".. The same four definitions appear in the following: Script error: No such module "Footnotes"., Script error: No such module "Footnotes"., Script error: No such module "Footnotes".
- ↑ Van Gasteren 1990, p. 45.
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "Footnotes".
Script error: No such module "Check for unknown parameters".
Bibliography
<templatestyles src="Refbegin/styles.css" />
- Script error: No such module "citation/CS1".
- Script error: No such module "Citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "Citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Script error: No such module "Citation/CS1".