Difference between revisions of "Relation (mathematics)"

MyWikiBiz, Author Your Legacy — Monday November 25, 2024
Jump to navigationJump to search
(→‎Document history: fill out doc history)
(update)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
In mathematics, a '''finitary relation''' is defined by one of the formal definitions given below.
 
In mathematics, a '''finitary relation''' is defined by one of the formal definitions given below.
  
* The basic idea is to generalize the concept of a ''[[binary relation|2-place relation]]'', such as the relation of ''[[equality (mathematics)|equality]]'' denoted by the sign "=" in a statement like "5&nbsp;+&nbsp;7&nbsp;=&nbsp;12" or the relation of ''[[order theory|order]]'' denoted by the sign "<" in a statement like "5&nbsp;<&nbsp;12".  Relations that involve two 'places' or 'roles' are called ''[[binary relation]]s'' by some and ''dyadic relations'' by others, the latter being historically prior but also useful when necessary to avoid confusion with [[binary numeral system|binary (base 2) numerals]].
+
* The basic idea is to generalize the concept of a two-place relation, such as the relation of ''equality'' denoted by the sign &ldquo;<math>=\!</math>&rdquo; in a statement like <math>5 + 7 = 12\!</math> or the relation of ''order'' denoted by the sign &ldquo;<math>{<}\!</math>&rdquo; in a statement like <math>5 < 12.\!</math>&nbsp; Relations that involve two ''places'' or ''roles'' are called ''binary relations'' by some and ''dyadic relations'' by others, the latter being historically prior but also useful when necessary to avoid confusion with ''binary (base 2) numerals''.
  
* The next step up is to consider relations that involve increasing but still finite numbers of places or roles. These are called ''finite place'' or ''finitary'' relations. A finitary relation that involves ''k'' places is variously called a ''k-ary'', a ''k-adic'', or a ''k-dimensional'' relation. The number ''k'' is then called the ''[[arity]]'', the ''adicity'', or the ''[[dimension]]'' of the relation, respectively.
+
* The concept of a two-place relation is generalized by considering relations with increasing but still finite numbers of places or roles.&nbsp; These are called ''finite-place'' or ''finitary'' relations.&nbsp; A&nbsp;finitary relation involving <math>k\!</math> places is variously called a ''<math>k\!</math>-ary'', ''<math>k\!</math>-adic'', or ''<math>k\!</math>-dimensional'' relation.&nbsp; The number <math>k\!</math> is then called the ''arity'', the ''adicity'', or the ''dimension'' of the relation, respectively.
  
 
==Informal introduction==
 
==Informal introduction==
  
The definition of ''relation'' given in the next Section formally captures a concept that is actually quite familiar from everyday life. For example, consider the relationship, involving three roles that people might play, expressed in a statement of the form "''X'' suspects that ''Y'' likes ''Z''&nbsp;".  The facts of a concrete situation could be organized in a Table like the following:
+
The definition of ''relation'' given in the next section formally captures a concept that is actually quite familiar from everyday life.&nbsp; For example, consider the relationship, involving three roles that people might play, expressed in a statement of the form <math>X ~\text{suspects that}~ Y ~\text{likes}~ Z.\!</math>&nbsp; The facts of a concrete situation could be organized in the form of a Table like the one below:
  
{| align="center" border="1" cellpadding="4" cellspacing="0" style="background:#f8f8ff; text-align:center; width:60%"
+
<br>
|+ '''Relation S : X suspects that Y likes Z'''
+
 
|- style="background:#e6e6ff"
+
{| align="center" border="1" cellpadding="8" cellspacing="0" style="text-align:center; width:60%"
! Person X !! Person Y !! Person Z
+
|+ style="height:30px" |
 +
<math>\text{Relation}~ S ~:~ X ~\text{suspects that}~ Y ~\text{likes}~ Z\!</math>
 +
|- style="height:40px; background:ghostwhite"
 +
| <math>\text{Person}~ X\!</math>
 +
| <math>\text{Person}~ Y\!</math>
 +
| <math>\text{Person}~ Z\!</math>
 
|-
 
|-
| Alice || Bob || Denise
+
| <math>\text{Alice}\!</math>
 +
| <math>\text{Bob}\!</math>
 +
| <math>\text{Denise}\!</math>
 
|-
 
|-
| Charles || Alice || Bob
+
| <math>\text{Charles}\!</math>
 +
| <math>\text{Alice}\!</math>
 +
| <math>\text{Bob}\!</math>
 
|-
 
|-
| Charles || Charles || Alice
+
| <math>\text{Charles}\!</math>
 +
| <math>\text{Charles}\!</math>
 +
| <math>\text{Alice}\!</math>
 
|-
 
|-
| Denise || Denise || Denise
+
| <math>\text{Denise}\!</math>
 +
| <math>\text{Denise}\!</math>
 +
| <math>\text{Denise}\!</math>
 
|}
 
|}
 +
 
<br>
 
<br>
  
Each row of the Table records a fact or makes an assertion of the form "''X'' suspects that ''Y'' likes ''Z''&nbsp;".  For instance, the first row says, in effect, "Alice suspects that Bob likes Denise". The Table represents a relation ''S'' over the set ''P'' of people under discussion:
+
Each row of the Table records a fact or makes an assertion of the form <math>X ~\text{suspects that}~ Y ~\text{likes}~ Z.\!</math>&nbsp; For instance, the first row says, in effect, <math>\text{Alice suspects that Bob likes Denise.}\!</math>&nbsp; The Table represents a relation <math>S\!</math> over the set <math>P\!</math> of people under discussion:
  
: ''P'' = {Alice, Bob, Charles, Denise}.
+
{| align="center" cellpadding="10"
 +
| <math>P ~=~ \{ \text{Alice}, \text{Bob}, \text{Charles}, \text{Denise} \}\!</math>
 +
|}
  
 
The data of the Table are equivalent to the following set of ordered triples:
 
The data of the Table are equivalent to the following set of ordered triples:
  
: ''S'' = {(Alice,&nbsp;Bob,&nbsp;Denise), (Charles,&nbsp;Alice,&nbsp;Bob), (Charles,&nbsp;Charles,&nbsp;Alice), (Denise,&nbsp;Denise,&nbsp;Denise)}.
+
{| align="center" cellpadding="10"
 +
|
 +
<math>\begin{smallmatrix}
 +
S
 +
& =
 +
& \{
 +
& \text{(Alice, Bob, Denise)},
 +
& \text{(Charles, Alice, Bob)},
 +
& \text{(Charles, Charles, Alice)},
 +
& \text{(Denise, Denise, Denise)}
 +
& \}
 +
\end{smallmatrix}\!</math>
 +
|}
  
By a slight overuse of notation, it is usual to write ''S''(Alice,&nbsp;Bob,&nbsp;Denise) to say the same thing as the first row of the Table. The relation ''S'' is a ''ternary'' relation, since there are ''three'' items involved in each row. The relation itself is a mathematical object, defined in terms of concepts from [[set theory]], that carries all of the information from the Table in one neat package.
+
By a slight overuse of notation, it is usual to write <math>S (\text{Alice}, \text{Bob}, \text{Denise})\!</math> to say the same thing as the first row of the Table.&nbsp; The relation <math>S\!</math> is a ''triadic'' or ''ternary'' relation, since there are ''three'' items involved in each row.&nbsp; The relation itself is a mathematical object, defined in terms of concepts from set theory, that carries all the information from the Table in one neat package.
  
The Table for relation ''S'' is an extremely simple example of a [[relational database]]. The theoretical aspects of databases are the specialty of one branch of [[computer science]], while their practical impacts have become all too familiar in our everyday lives. Computer scientists, logicians, and mathematicians, however, tend to see different things when they look at these concrete examples and samples of the more general concept of a relation.
+
The Table for relation <math>S\!</math> is an extremely simple example of a relational database.&nbsp; The theoretical aspects of databases are the specialty of one branch of computer science, while their practical impacts have become all too familiar in our everyday lives.&nbsp; Computer scientists, logicians, and mathematicians, however, tend to see different things when they look at these concrete examples and samples of the more general concept of a relation.
  
 
For one thing, databases are designed to deal with empirical data, and experience is always finite, whereas mathematics is nothing if not concerned with infinity, at the very least, potential infinity.  This difference in perspective brings up a number of ideas that are usefully introduced at this point, if by no means covered in depth.
 
For one thing, databases are designed to deal with empirical data, and experience is always finite, whereas mathematics is nothing if not concerned with infinity, at the very least, potential infinity.  This difference in perspective brings up a number of ideas that are usefully introduced at this point, if by no means covered in depth.
  
==Example: divisibility==
+
==Example 1. Divisibility==
  
A more typical example of a 2-place relation in mathematics is the relation of ''[[divisor|divisibility]]'' between two positive integers ''n'' and ''m'' that is expressed in statements like "''n'' divides ''m''" or "''n'' goes into ''m''". This is a relation that comes up so often that a special symbol "|" is reserved to express it, allowing one to write "''n''|''m''" for "''n'' divides ''m''".
+
A more typical example of a two-place relation in mathematics is the relation of ''divisibility'' between two positive integers <math>n\!</math> and <math>m\!</math> that is expressed in statements like <math>{}^{\backprime\backprime} n ~\text{divides}~ m {}^{\prime\prime}\!</math> or <math>{}^{\backprime\backprime} n ~\text{goes into}~ m {}^{\prime\prime}.\!</math>&nbsp; This is a relation that comes up so often that a special symbol <math>{}^{\backprime\backprime} | {}^{\prime\prime}\!</math> is reserved to express it, allowing one to write <math>{}^{\backprime\backprime} n|m {}^{\prime\prime}\!</math> for <math>{}^{\backprime\backprime} n ~\text{divides}~ m {}^{\prime\prime}.\!</math>
  
To express the binary relation of divisibility in terms of sets, we have the set ''P'' of positive integers, ''P'' = {1, 2, 3, }, and we have the binary relation ''D'' on ''P'' such that the ordered pair (''n'', ''m'') is in the relation ''D'' just in case ''n''|''m''. In other turns of phrase that are frequently used, one says that the number ''n'' is related by ''D'' to the number ''m'' just in case ''n'' is a factor of ''m'', that is, just in case ''n'' divides ''m'' with no remainder. The relation ''D'', regarded as a set of ordered pairs, consists of all pairs of numbers (''n'', ''m'') such that ''n'' divides ''m''.
+
To express the binary relation of divisibility in terms of sets, we have the set <math>P\!</math> of positive integers, <math>P = \{ 1, 2, 3, \ldots \},\!</math> and we have the binary relation <math>D\!</math> on <math>P\!</math> such that the ordered pair <math>(n, m)\!</math> is in the relation <math>D\!</math> just in case <math>n|m.\!</math>&nbsp; In other turns of phrase that are frequently used, one says that the number <math>n\!</math> is related by <math>D\!</math> to the number <math>m\!</math> just in case <math>n\!</math> is a factor of <math>m,\!</math> that is, just in case <math>n\!</math> divides <math>m\!</math> with no remainder.&nbsp; The relation <math>D,\!</math> regarded as a set of ordered pairs, consists of all pairs of numbers <math>(n, m)\!</math> such that <math>n\!</math> divides <math>m.\!</math>
  
For example, 2 is a factor of 4, and 6 is a factor of 72, which two facts can be written either as 2|4 and 6|72 or as ''D''(2, 4) and ''D''(6, 72).
+
For example, <math>2\!</math> is a factor of <math>4,\!</math> and <math>6\!</math> is a factor of <math>72,\!</math> which two facts can be written either as <math>2|4\!</math> and <math>6|72\!</math> or as <math>D(2, 4)\!</math> and <math>D(6, 72).\!</math>
  
 
==Formal definitions==
 
==Formal definitions==
  
There are two definitions of k-place relations that are commonly encountered in mathematics. In order of simplicity, the first of these definitions is as follows:
+
There are two definitions of <math>k\!</math>-place relations that are commonly encountered in mathematics.&nbsp; In order of simplicity, the first of these definitions is as follows:
  
'''Definition 1.''' A '''relation''' ''L'' over the [[set]]s ''X''<sub>1</sub>, , ''X''<sub>''k''</sub> is a [[subset]] of their [[cartesian product]], written ''L'' &sube; ''X''<sub>1</sub> &times; … &times; ''X''<sub>''k''</sub>.  Under this definition, then, a ''k''-ary relation is simply a set of ''k''-[[tuple]]s.
+
'''Definition 1.''' &nbsp; A '''relation''' <math>L\!</math> over the sets <math>X_1, \ldots, X_k\!</math> is a subset of their cartesian product, written <math>L \subseteq X_1 \times \ldots \times X_k.\!</math>&nbsp; Under this definition, then, a <math>k\!</math>-ary relation is simply a set of <math>k\!</math>-tuples.
  
The second definition makes use of an idiom that is common in mathematics, stipulating that "such and such is an ''n''-tuple" in order to ensure that such and such a mathematical object is determined by the specification of ''n'' component mathematical objects. In the case of a relation ''L'' over ''k'' sets, there are ''k'' + 1 things to specify, namely, the ''k'' sets plus a subset of their cartesian product. In the idiom, this is expressed by saying that ''L'' is a (''k''+1)-tuple.
+
The second definition makes use of an idiom that is common in mathematics, saying that &ldquo;such and such is an <math>n\!</math>-tuple&rdquo; to mean that the mathematical object being defined is determined by the specification of <math>n\!</math> component mathematical objects.&nbsp; In the case of a relation <math>L\!</math> over <math>k\!</math> sets, there are <math>k + 1\!</math> things to specify, namely, the <math>k\!</math> sets plus a subset of their cartesian product.&nbsp; In the idiom, this is expressed by saying that <math>L\!</math> is a <math>(k+1)\!</math>-tuple.
  
'''Definition 2.''' A '''relation''' ''L'' over the sets ''X''<sub>1</sub>, , ''X''<sub>''k''</sub> is a (''k''+1)-tuple ''L'' = (''X''<sub>1</sub>, , ''X''<sub>''k''</sub>, ''G''(''L'')), where ''G''(''L'') is a subset of the cartesian product ''X''<sub>1</sub> &times; … &times; ''X''<sub>''k''</sub>.  ''G''(''L'') is called the ''[[graph]]'' of ''L''.
+
'''Definition 2.''' &nbsp; A '''relation''' <math>L\!</math> over the sets <math>X_1, \ldots, X_k\!</math> is a <math>(k+1)\!</math>-tuple <math>L = (X_1, \ldots, X_k, \mathrm{graph}(L)),\!</math> where <math>\mathrm{graph}(L)\!</math> is a subset of the cartesian product <math>X_1 \times \ldots \times X_k~\!</math> called the ''graph'' of <math>L.\!</math>
  
Elements of a relation are more briefly denoted by using boldface characters, for example, the constant element <math>\mathbf{a}</math> = (a<sub>1</sub>,&nbsp;…,&nbsp;a<sub>''k''</sub>) or the variable element <math>\mathbf{x}</math> = (''x''<sub>1</sub>,&nbsp;…,&nbsp;''x''<sub>''k''</sub>).
+
Elements of a relation are sometimes denoted by using boldface characters, for example, the constant element <math>\mathbf{a} = (a_1, \ldots, a_k)\!</math> or the variable element <math>\mathbf{x} = (x_1, \ldots, x_k).\!</math>
  
A statement of the form "<math>\mathbf{a}</math> is in the relation ''L''&nbsp;" is taken to mean that <math>\mathbf{a}</math> is in ''L'' under the first definition and that <math>\mathbf{a}</math> is in ''G''(''L'') under the second definition.
+
A statement of the form &ldquo;<math>\mathbf{a}\!</math> is in the relation <math>L\!</math>&rdquo; is taken to mean that <math>\mathbf{a}\!</math> is in <math>L\!</math> under the first definition and that <math>\mathbf{a}\!</math> is in <math>\mathrm{graph}(L)\!</math> under the second definition.
  
 
The following considerations apply under either definition:
 
The following considerations apply under either definition:
  
:*  The sets ''X''<sub>''j''</sub> for ''j'' = 1 to ''k'' are called the ''[[domain]]s'' of the relation. In the case of the first definition, the relation itself does not uniquely determine a given sequence of domains.
+
:*  The sets <math>X_j~\!</math> for <math>j = 1 ~\text{to}~ k\!</math> are called the ''domains'' of the relation.&nbsp; In the case of the first definition, the relation itself does not uniquely determine a given sequence of domains.
 
 
:* If all of the domains ''X''<sub>''j''</sub> are the same set ''X'', then ''L'' is more simply referred to as  a ''k''-ary relation over ''X''.
 
  
:* If any of the domains ''X''<sub>''j''</sub> is empty, then the cartesian product is empty, and the only relation over such a sequence of domains is the empty relation ''L'' = <math>\varnothing</math>.  As a result, naturally occurring applications of the relation concept typically involve a stipulation that all of the domains be nonempty.
+
:* If all the domains <math>X_j~\!</math> are the same set <math>X,\!</math> then <math>L\!</math> is more simply referred to as  a <math>k\!</math>-ary relation over <math>X.\!</math>
  
As a rule, whatever definition best fits the application at hand will be chosen for that purpose, and anything that falls under it will be called a 'relation' for the duration of that discussion.  If it becomes necessary to distinguish the two alternatives, the latter type of object can be referred to as an ''embedded'' or ''included'' relation.
+
:* If any domain <math>X_j~\!</math> is empty then the cartesian product is empty and the only relation over such a sequence of domains is the empty relation <math>L = \varnothing.\!</math>&nbsp; Most applications of the relation concept will set aside this trivial case and assume that all domains are nonempty.
  
If ''L'' is a relation over the domains ''X''<sub>1</sub>, , ''X''<sub>''k''</sub>, it is conventional to consider a sequence of terms called ''variables'', ''x''<sub>1</sub>, , ''x''<sub>''k''</sub>, that are said to ''range over'' the respective domains.
+
If <math>L\!</math> is a relation over the domains <math>X_1, \ldots, X_k,\!</math> it is conventional to consider a sequence of terms called ''variables'', <math>x_1, \ldots, x_k,\!</math> that are said to ''range over'' the respective domains.
  
A ''[[boolean domain]]'' '''B''' is a generic 2-element set, say, '''B''' = {0, 1}, whose elements are interpreted as logical values, typically 0 = false and 1 = true.
+
A ''[[boolean domain]]'' <math>\mathbb{B}\!</math> is a generic 2-element set, say, <math>\mathbb{B} = \{ 0, 1 \},\!</math> whose elements are interpreted as logical values, typically <math>0 = \mathrm{false}\!</math> and <math>1 = \mathrm{true}.\!</math>
  
The ''[[characteristic function]]'' of the relation ''L'', written ''f''<sub>''L''</sub> or &chi;(''L''), is the [[boolean-valued function]] ''f''<sub>''L''</sub>&nbsp;:&nbsp;''X''<sub>1</sub>&nbsp;&times;&nbsp;…&nbsp;&times;&nbsp;''X''<sub>''k''</sub>&nbsp;→&nbsp;'''B''', defined in such a way that ''f''<sub>''L''</sub>(<math>\mathbf{x}</math>) = 1 just in case the ''k''-tuple <math>\mathbf{x}</math> is in the relation ''L''. The characteristic function of a relation may also be called its ''[[indicator function]]'', especially in probability and statistics.
+
The ''characteristic function'' of the relation <math>L,\!</math> written <math>f_L\!</math> or <math>\chi(L),\!</math> is the [[boolean-valued function]] <math>f_L : X_1 \times \ldots \times X_k \to \mathbb{B},\!</math> defined in such a way that <math>f_L (\mathbf{x}) = 1\!</math> just in case the <math>k\!</math>-tuple <math>\mathbf{x} = (x_1, \ldots, x_k)\!</math> is in the relation <math>L.\!</math>&nbsp; The characteristic function of a relation may also be called its ''indicator function'', especially in probabilistic and statistical contexts.
  
It is conventional in applied mathematics, computer science, and statistics to refer to a boolean-valued function like ''f''<sub>''L''</sub> as a ''k''-place ''[[predicate]]''. From the more abstract viewpoints of [[formal logic]] and [[model theory]], the relation ''L'' is seen as constituting a ''logical model'' or a ''relational structure'' that serves as one of many possible [[interpretation]]s of a corresponding ''k''-place ''predicate symbol'', as that term is used in ''[[first-order logic|predicate calculus]]''.
+
It is conventional in applied mathematics, computer science, and statistics to refer to a boolean-valued function like <math>f_L\!</math> as a <math>k\!</math>-place ''predicate''.&nbsp; From the more abstract viewpoints of formal logic and model theory, the relation <math>L\!</math> is seen as constituting a ''logical model'' or a ''relational structure'' that serves as one of many possible interpretations of a corresponding <math>k\!</math>-place ''predicate symbol'', as that term is used in ''predicate calculus''.
  
Due to the convergence of many different styles of study on the same areas of interest, the reader will find much variation in usage here. The variation presented in this article treats a relation as the [[set theory|set-theoretic]] ''[[extension (semantics)|extension]]'' of a relational concept or term. Another variation reserves the term 'relation' to the corresponding logical entity, either the ''[[comprehension (logic)|logical comprehension]]'', which is the totality of ''[[intension]]s'' or abstract ''[[property (philosophy)|properties]]'' that all of the elements of the relation in extension have in common, or else the symbols that are taken to denote these elements and intensions.  Further, but hardly finally, some writers of the latter persuasion introduce terms with more concrete connotations, like 'relational structure', for the set-theoretic extension of a given relational concept.
+
Due to the convergence of many traditions of study, there are wide variations in the language used to describe relations.&nbsp; The ''extensional'' approach presented in this article treats a relation as the set-theoretic ''extension'' of a relational concept or term.&nbsp; An alternative, ''intensional approach'' reserves the term ''relation'' to the corresponding logical entity, either the ''logical comprehension'', which is the totality of ''intensions'' or abstract ''properties'' that all the elements of the extensional relation have in common, or else the symbols that are taken to denote those elements and intensions.
  
==Example: coplanarity==
+
==Example 2. Coplanarity==
  
For lines ''L'' in three-dimensional space, there is a ternary relation picking out the triples of lines that are [[coplanar]]. This ''does not'' reduce to the binary [[symmetric relation]] of coplanarity of pairs of lines.
+
For lines <math>\ell\!</math> in three-dimensional space, there is a triadic relation picking out the triples of lines that are coplanar.&nbsp; This does not reduce to the dyadic relation of coplanarity between pairs of lines.
  
In other words, writing ''P''(''L'', ''M'', ''N'') when the lines ''L'', ''M'', and ''N'' lie in a plane, and ''Q''(''L'', ''M'') for the binary relation, it is not true that ''Q''(''L'', ''M''), ''Q''(''M'', ''N'') and ''Q''(''N'', ''L'') together imply ''P''(''L'', ''M'', ''N''); although the converse is certainly true (any pair out of three coplanar lines is coplanar, ''a fortiori''). There are two geometrical reasons for this.
+
In other words, writing <math>P(\ell, m, n)\!</math> when the lines <math>\ell, m, n\!</math> lie in a plane, and <math>Q(\ell, m)\!</math> for the binary relation, it is not true that <math>Q(\ell, m),\!</math> <math>Q(m, n),\!</math> and <math>Q(n, \ell)\!</math> together imply <math>P(\ell, m, n),\!</math> although the converse is certainly true:&nbsp; any two of three coplanar lines are necessarily coplanar.&nbsp; There are two geometrical reasons for this.
  
In one case, for example taking the ''x''-axis, ''y''-axis and ''z''-axis, the three lines are concurrent, i.e. intersect at a single point. In another case, ''L'', ''M'', and ''N'' can be three edges of an infinite [[triangular prism]].
+
In one case, for example taking the <math>x\!</math>-axis, <math>y\!</math>-axis, and <math>z\!</math>-axis, the three lines are concurrent, that is, they intersect at a single point.&nbsp; In another case, <math>\ell, m, n\!</math> can be three edges of an infinite triangular prism.
  
 
What is true is that if each pair of lines intersects, and the points of intersection are distinct, then pairwise coplanarity implies coplanarity of the triple.
 
What is true is that if each pair of lines intersects, and the points of intersection are distinct, then pairwise coplanarity implies coplanarity of the triple.
Line 94: Line 120:
 
==Remarks==
 
==Remarks==
  
Relations are classified according to the number of sets in the cartesian product, in other words the number of terms in the expression:
+
Relations are classified by the number of sets in the cartesian product, in other words, the number of places or terms in the relational expression:
:* Unary relation or [[property (philosophy)|property]]: ''L''(''u'')
 
:* Binary relation: ''L''(''u'', ''v'') or ''u'' ''L'' ''v''
 
:* Ternary relation: ''L''(''u'', ''v'', ''w'')
 
:* Quaternary relation: ''L''(''u'', ''v'', ''w'', ''x'')
 
  
Relations with more than four terms are usually referred to as ''k''-ary, for example, "a 5-ary relation".
+
{| align="center" cellspacing="6" width="90%"
 +
| width="18%" | <math>L(a)\!</math>
 +
| Monadic or unary relation, in other words, a property or set
 +
|-
 +
| <math>L(a, b) ~\text{or}~ a L b\!</math>
 +
| Dyadic or binary relation
 +
|-
 +
| <math>L(a, b, c)\!</math>
 +
| Triadic or ternary relation
 +
|-
 +
| <math>L(a, b, c, d)\!</math>
 +
| Tetradic or quaternary relation
 +
|-
 +
| <math>L(a, b, c, d, e)\!</math>
 +
| Pentadic or quinary relation
 +
|}
 +
 
 +
Relations with more than five terms are usually referred to as <math>k\!</math>-adic or <math>k\!</math>-ary, for example, a 6-adic, 6-ary, or hexadic relation.
  
 
==References==
 
==References==
  
* [[Charles Sanders Peirce|Peirce, C.S.]] (1870), "Description of a Notation for the Logic of Relatives, Resulting from an Amplification of the Conceptions of Boole's Calculus of Logic", ''Memoirs of the American Academy of Arts and Sciences'' 9, 317–378, 1870.  Reprinted, ''Collected Papers'' CP 3.45–149, ''Chronological Edition'' CE 2, 359–429.
+
* [[Charles Sanders Peirce|Peirce, C.S.]] (1870), &ldquo;Description of a Notation for the Logic of Relatives, Resulting from an Amplification of the Conceptions of Boole's Calculus of Logic&rdquo;, ''Memoirs of the American Academy of Arts and Sciences'' 9, 317&ndash;378, 1870.  Reprinted, ''Collected Papers'' CP&nbsp;3.45&ndash;149, ''Chronological Edition'' CE&nbsp;2, 359&ndash;429.
  
* [[Stanisław Marcin Ulam|Ulam, S.M.]] and [[Al Bednarek|Bednarek, A.R.]] (1990), "On the Theory of Relational Structures and Schemata for Parallel Computation", pp. 477–508 in A.R. Bednarek and Françoise Ulam (eds.), ''Analogies Between Analogies: The Mathematical Reports of S.M. Ulam and His Los Alamos Collaborators'', University of California Press, Berkeley, CA.
+
* Ulam, S.M., and Bednarek, A.R. (1990), &ldquo;On the Theory of Relational Structures and Schemata for Parallel Computation&rdquo;, pp. 477&ndash;508 in A.R. Bednarek and Françoise Ulam (eds.), ''Analogies Between Analogies : The Mathematical Reports of S.M. Ulam and His Los Alamos Collaborators'', University of California Press, Berkeley, CA.
  
 
==Bibliography==
 
==Bibliography==
  
* [[Nicolas Bourbaki|Bourbaki, N.]] (1994), ''Elements of the History of Mathematics'', John Meldrum (trans.), Springer-Verlag, Berlin, Germany.
+
* Bourbaki, N. (1994), ''Elements of the History of Mathematics'', John Meldrum (trans.), Springer-Verlag, Berlin, Germany.
  
* [[Paul Richard Halmos|Halmos, P.R.]] (1960), ''Naive Set Theory'', D. Van Nostrand Company, Princeton, NJ.
+
* Halmos, P.R. (1960), ''Naive Set Theory'', D. Van Nostrand Company, Princeton, NJ.
  
* [[Francis William Lawvere|Lawvere, F.W.]], and [[Robert Rosebrugh|Rosebrugh, R.]] (2003), ''Sets for Mathematics'', Cambridge University Press, Cambridge, UK.
+
* Lawvere, F.W., and Rosebrugh, R. (2003), ''Sets for Mathematics'', Cambridge University Press, Cambridge, UK.
  
* Maddux, R.D. (2006), ''Relation Algebras'', vol.&nbsp;150 in 'Studies in Logic and the Foundations of Mathematics', Elsevier Science.
+
* Maddux, R.D. (2006), ''Relation Algebras'', vol.&nbsp;150 in Studies in Logic and the Foundations of Mathematics, Elsevier Science.
  
* Mili, A., Desharnais, J., Mili, F., with Frappier, M. (1994), ''Computer Program Construction'', Oxford University Press, New York, NY.
+
* Mili, A., Desharnais, J., Mili, F., with Frappier, M. (1994), ''Computer Program Construction'', Oxford University Press, New&nbsp;York, NY.
  
* [[Marvin L. Minsky|Minsky, M.L.]], and [[Seymour A. Papert|Papert, S.A.]] (1969/1988), ''[[Perceptron]]s, An Introduction to Computational Geometry'', MIT Press, Cambridge, MA, 1969. Expanded edition, 1988.
+
* Minsky, M.L., and Papert, S.A. (1969/1988), ''Perceptrons, An Introduction to Computational Geometry'', MIT Press, Cambridge, MA, 1969. Expanded edition, 1988.
  
* [[Charles Sanders Peirce|Peirce, C.S.]] (1984), ''Writings of Charles S. Peirce : A Chronological Edition, Volume 2, 1867-1871'', Peirce Edition Project (eds.), Indiana University Press, Bloomington, IN.
+
* [[Charles Sanders Peirce|Peirce, C.S.]] (1984), ''Writings of Charles S. Peirce : A Chronological Edition, Volume&nbsp;2, 1867&ndash;1871'', Peirce Edition Project (eds.), Indiana University Press, Bloomington, IN.
  
* [[Josiah Royce|Royce, J.]] (1961), ''The Principles of Logic'', Philosophical Library, New York, NY.
+
* Royce, J. (1961), ''The Principles of Logic'', Philosophical Library, New&nbsp;York, NY.
  
* [[Alfred Tarski|Tarski, A.]] (1956/1983), ''Logic, Semantics, Metamathematics, Papers from 1923 to 1938'', J.H. Woodger (trans.), 1st edition, Oxford University Press, 1956.  2nd edition, J. Corcoran (ed.), Hackett Publishing, Indianapolis, IN, 1983.
+
* Tarski, A. (1956/1983), ''Logic, Semantics, Metamathematics, Papers from 1923 to 1938'', J.H. Woodger (trans.), 1st&nbsp;edition, Oxford University Press, 1956.  2nd&nbsp;edition, J. Corcoran (ed.), Hackett Publishing, Indianapolis, IN, 1983.
  
* [[Stanisław Marcin Ulam|Ulam, S.M.]] (1990), ''Analogies Between Analogies : The Mathematical Reports of S.M. Ulam and His Los Alamos Collaborators'', A.R. Bednarek and Françoise Ulam (eds.), University of California Press, Berkeley, CA.
+
* Ulam, S.M. (1990), ''Analogies Between Analogies : The Mathematical Reports of S.M. Ulam and His Los&nbsp;Alamos Collaborators'', A.R. Bednarek and Françoise Ulam (eds.), University of California Press, Berkeley, CA.
  
* [[Paulus Venetus|Venetus, P.]] (1984), ''Logica Parva, Translation of the 1472 Edition with Introduction and Notes'', Alan R. Perreiah (trans.), Philosophia Verlag, Munich, Germany.
+
* Venetus, P. (1984), ''Logica Parva, Translation of the 1472 Edition with Introduction and Notes'', Alan R. Perreiah (trans.), Philosophia Verlag, Munich, Germany.
  
 
==Syllabus==
 
==Syllabus==
Line 136: Line 175:
 
===Focal nodes===
 
===Focal nodes===
  
{{col-begin}}
 
{{col-break}}
 
 
* [[Inquiry Live]]
 
* [[Inquiry Live]]
{{col-break}}
 
 
* [[Logic Live]]
 
* [[Logic Live]]
{{col-end}}
 
  
 
===Peer nodes===
 
===Peer nodes===
  
{{col-begin}}
+
* [http://intersci.ss.uci.edu/wiki/index.php/Relation_(mathematics) Relation @ InterSciWiki]
{{col-break}}
 
 
* [http://mywikibiz.com/Relation_(mathematics) Relation @ MyWikiBiz]
 
* [http://mywikibiz.com/Relation_(mathematics) Relation @ MyWikiBiz]
* [http://mathweb.org/wiki/Relation_(mathematics) Relation @ MathWeb Wiki]
 
* [http://netknowledge.org/wiki/Relation_(mathematics) Relation @ NetKnowledge]
 
* [http://wiki.oercommons.org/mediawiki/index.php/Relation_(mathematics) Relation @ OER Commons]
 
{{col-break}}
 
* [http://p2pfoundation.net/Relation_(mathematics) Relation @ P2P Foundation]
 
* [http://semanticweb.org/wiki/Relation_(mathematics) Relation @ SemanticWeb]
 
 
* [http://ref.subwiki.org/wiki/Relation_(mathematics) Relation @ Subject Wikis]
 
* [http://ref.subwiki.org/wiki/Relation_(mathematics) Relation @ Subject Wikis]
 +
* [http://en.wikiversity.org/wiki/Relation_(mathematics) Relation @ Wikiversity]
 
* [http://beta.wikiversity.org/wiki/Relation_(mathematics) Relation @ Wikiversity Beta]
 
* [http://beta.wikiversity.org/wiki/Relation_(mathematics) Relation @ Wikiversity Beta]
{{col-end}}
 
  
 
===Logical operators===
 
===Logical operators===
Line 235: Line 263:
 
===Related articles===
 
===Related articles===
  
* [http://mywikibiz.com/Directory:Jon_Awbrey/Papers/Semiotic_Information Jon Awbrey, &ldquo;Semiotic Information&rdquo;]
+
{{col-begin}}
 
+
{{col-break}}
* [http://mywikibiz.com/Directory:Jon_Awbrey/Papers/Introduction_to_Inquiry_Driven_Systems Jon Awbrey, &ldquo;Introduction To Inquiry Driven Systems&rdquo;]
+
* [http://intersci.ss.uci.edu/wiki/index.php/Cactus_Language Cactus Language]
 
+
* [http://intersci.ss.uci.edu/wiki/index.php/Futures_Of_Logical_Graphs Futures Of Logical Graphs]
* [http://mywikibiz.com/Directory:Jon_Awbrey/Essays/Prospects_For_Inquiry_Driven_Systems Jon Awbrey, &ldquo;Prospects For Inquiry Driven Systems&rdquo;]
+
* [http://intersci.ss.uci.edu/wiki/index.php/Propositional_Equation_Reasoning_Systems Propositional Equation Reasoning Systems]
 
+
{{col-break}}
* [http://mywikibiz.com/Directory:Jon_Awbrey/Papers/Inquiry_Driven_Systems Jon Awbrey, &ldquo;Inquiry Driven Systems : Inquiry Into Inquiry&rdquo;]
+
* [http://intersci.ss.uci.edu/wiki/index.php/Differential_Logic_:_Introduction Differential Logic : Introduction]
 
+
* [http://intersci.ss.uci.edu/wiki/index.php/Differential_Propositional_Calculus Differential Propositional Calculus]
* [http://mywikibiz.com/Directory:Jon_Awbrey/Papers/Propositional_Equation_Reasoning_Systems Jon Awbrey, &ldquo;Propositional Equation Reasoning Systems&rdquo;]
+
* [http://intersci.ss.uci.edu/wiki/index.php/Differential_Logic_and_Dynamic_Systems_2.0 Differential Logic and Dynamic Systems]
 
+
{{col-break}}
* [http://mywikibiz.com/Directory:Jon_Awbrey/Papers/Differential_Logic_:_Introduction Jon Awbrey, &ldquo;Differential Logic : Introduction&rdquo;]
+
* [http://intersci.ss.uci.edu/wiki/index.php/Introduction_to_Inquiry_Driven_Systems Introduction to Inquiry Driven Systems]
 
+
* [http://intersci.ss.uci.edu/wiki/index.php/Prospects_for_Inquiry_Driven_Systems Prospects for Inquiry Driven Systems]
* [http://planetmath.org/encyclopedia/DifferentialPropositionalCalculus.html Jon Awbrey, &ldquo;Differential Propositional Calculus&rdquo;]
+
* [http://intersci.ss.uci.edu/wiki/index.php/Inquiry_Driven_Systems Inquiry Driven Systems : Inquiry Into Inquiry]
 
+
{{col-end}}
* [http://mywikibiz.com/Directory:Jon_Awbrey/Papers/Differential_Logic_and_Dynamic_Systems_2.0 Jon Awbrey, &ldquo;Differential Logic and Dynamic Systems&rdquo;]
 
  
 
==Document history==
 
==Document history==
Line 255: Line 282:
 
Portions of the above article were adapted from the following sources under the [[GNU Free Documentation License]], under other applicable licenses, or by permission of the copyright holders.
 
Portions of the above article were adapted from the following sources under the [[GNU Free Documentation License]], under other applicable licenses, or by permission of the copyright holders.
  
{{col-begin}}
+
* [http://intersci.ss.uci.edu/wiki/index.php/Relation_(mathematics) Relation], [http://intersci.ss.uci.edu/ InterSciWiki]
{{col-break}}
 
 
* [http://mywikibiz.com/Relation_(mathematics) Relation], [http://mywikibiz.com/ MyWikiBiz]
 
* [http://mywikibiz.com/Relation_(mathematics) Relation], [http://mywikibiz.com/ MyWikiBiz]
 +
* [http://wikinfo.org/w/index.php/Relation_(mathematics) Relation], [http://wikinfo.org/w/ Wikinfo]
 +
* [http://en.wikiversity.org/wiki/Relation_(mathematics) Relation], [http://en.wikiversity.org/ Wikiversity]
 
* [http://beta.wikiversity.org/wiki/Relation_(mathematics) Relation], [http://beta.wikiversity.org/ Wikiversity Beta]
 
* [http://beta.wikiversity.org/wiki/Relation_(mathematics) Relation], [http://beta.wikiversity.org/ Wikiversity Beta]
{{col-break}}
 
* [http://www.getwiki.net/-Relation_(mathematics) Relation], [http://www.getwiki.net/ GetWiki]
 
* [http://wikinfo.org/index.php/Relation_(mathematics) Relation], [http://wikinfo.org/index.php/Main_Page Wikinfo]
 
{{col-break}}
 
* [http://textop.org/wiki/index.php?title=Relation_(mathematics) Relation], [http://textop.org/wiki/ Textop Wiki]
 
 
* [http://en.wikipedia.org/w/index.php?title=Relation_(mathematics)&oldid=73324659 Relation], [http://en.wikipedia.org/ Wikipedia]
 
* [http://en.wikipedia.org/w/index.php?title=Relation_(mathematics)&oldid=73324659 Relation], [http://en.wikipedia.org/ Wikipedia]
{{col-end}}
 
 
<br><sharethis />
 
  
 +
[[Category:Charles Sanders Peirce]]
 +
[[Category:Combinatorics]]
 +
[[Category:Computer Science]]
 +
[[Category:Database Theory]]
 +
[[Category:Discrete Mathematics]]
 
[[Category:Inquiry]]
 
[[Category:Inquiry]]
[[Category:Open Educational Resource]]
 
[[Category:Peer Educational Resource]]
 
 
[[Category:Logic]]
 
[[Category:Logic]]
 
[[Category:Mathematics]]
 
[[Category:Mathematics]]
 
[[Category:Relation Theory]]
 
[[Category:Relation Theory]]
 +
[[Category:Semiotics]]
 
[[Category:Set Theory]]
 
[[Category:Set Theory]]

Latest revision as of 17:08, 14 November 2015

This page belongs to resource collections on Logic and Inquiry.

In mathematics, a finitary relation is defined by one of the formal definitions given below.

  • The basic idea is to generalize the concept of a two-place relation, such as the relation of equality denoted by the sign “\(=\!\)” in a statement like \(5 + 7 = 12\!\) or the relation of order denoted by the sign “\({<}\!\)” in a statement like \(5 < 12.\!\)  Relations that involve two places or roles are called binary relations by some and dyadic relations by others, the latter being historically prior but also useful when necessary to avoid confusion with binary (base 2) numerals.
  • The concept of a two-place relation is generalized by considering relations with increasing but still finite numbers of places or roles.  These are called finite-place or finitary relations.  A finitary relation involving \(k\!\) places is variously called a \(k\!\)-ary, \(k\!\)-adic, or \(k\!\)-dimensional relation.  The number \(k\!\) is then called the arity, the adicity, or the dimension of the relation, respectively.

Informal introduction

The definition of relation given in the next section formally captures a concept that is actually quite familiar from everyday life.  For example, consider the relationship, involving three roles that people might play, expressed in a statement of the form \(X ~\text{suspects that}~ Y ~\text{likes}~ Z.\!\)  The facts of a concrete situation could be organized in the form of a Table like the one below:


\(\text{Relation}~ S ~:~ X ~\text{suspects that}~ Y ~\text{likes}~ Z\!\)
\(\text{Person}~ X\!\) \(\text{Person}~ Y\!\) \(\text{Person}~ Z\!\)
\(\text{Alice}\!\) \(\text{Bob}\!\) \(\text{Denise}\!\)
\(\text{Charles}\!\) \(\text{Alice}\!\) \(\text{Bob}\!\)
\(\text{Charles}\!\) \(\text{Charles}\!\) \(\text{Alice}\!\)
\(\text{Denise}\!\) \(\text{Denise}\!\) \(\text{Denise}\!\)


Each row of the Table records a fact or makes an assertion of the form \(X ~\text{suspects that}~ Y ~\text{likes}~ Z.\!\)  For instance, the first row says, in effect, \(\text{Alice suspects that Bob likes Denise.}\!\)  The Table represents a relation \(S\!\) over the set \(P\!\) of people under discussion:

\(P ~=~ \{ \text{Alice}, \text{Bob}, \text{Charles}, \text{Denise} \}\!\)

The data of the Table are equivalent to the following set of ordered triples:

\(\begin{smallmatrix} S & = & \{ & \text{(Alice, Bob, Denise)}, & \text{(Charles, Alice, Bob)}, & \text{(Charles, Charles, Alice)}, & \text{(Denise, Denise, Denise)} & \} \end{smallmatrix}\!\)

By a slight overuse of notation, it is usual to write \(S (\text{Alice}, \text{Bob}, \text{Denise})\!\) to say the same thing as the first row of the Table.  The relation \(S\!\) is a triadic or ternary relation, since there are three items involved in each row.  The relation itself is a mathematical object, defined in terms of concepts from set theory, that carries all the information from the Table in one neat package.

The Table for relation \(S\!\) is an extremely simple example of a relational database.  The theoretical aspects of databases are the specialty of one branch of computer science, while their practical impacts have become all too familiar in our everyday lives.  Computer scientists, logicians, and mathematicians, however, tend to see different things when they look at these concrete examples and samples of the more general concept of a relation.

For one thing, databases are designed to deal with empirical data, and experience is always finite, whereas mathematics is nothing if not concerned with infinity, at the very least, potential infinity. This difference in perspective brings up a number of ideas that are usefully introduced at this point, if by no means covered in depth.

Example 1. Divisibility

A more typical example of a two-place relation in mathematics is the relation of divisibility between two positive integers \(n\!\) and \(m\!\) that is expressed in statements like \({}^{\backprime\backprime} n ~\text{divides}~ m {}^{\prime\prime}\!\) or \({}^{\backprime\backprime} n ~\text{goes into}~ m {}^{\prime\prime}.\!\)  This is a relation that comes up so often that a special symbol \({}^{\backprime\backprime} | {}^{\prime\prime}\!\) is reserved to express it, allowing one to write \({}^{\backprime\backprime} n|m {}^{\prime\prime}\!\) for \({}^{\backprime\backprime} n ~\text{divides}~ m {}^{\prime\prime}.\!\)

To express the binary relation of divisibility in terms of sets, we have the set \(P\!\) of positive integers, \(P = \{ 1, 2, 3, \ldots \},\!\) and we have the binary relation \(D\!\) on \(P\!\) such that the ordered pair \((n, m)\!\) is in the relation \(D\!\) just in case \(n|m.\!\)  In other turns of phrase that are frequently used, one says that the number \(n\!\) is related by \(D\!\) to the number \(m\!\) just in case \(n\!\) is a factor of \(m,\!\) that is, just in case \(n\!\) divides \(m\!\) with no remainder.  The relation \(D,\!\) regarded as a set of ordered pairs, consists of all pairs of numbers \((n, m)\!\) such that \(n\!\) divides \(m.\!\)

For example, \(2\!\) is a factor of \(4,\!\) and \(6\!\) is a factor of \(72,\!\) which two facts can be written either as \(2|4\!\) and \(6|72\!\) or as \(D(2, 4)\!\) and \(D(6, 72).\!\)

Formal definitions

There are two definitions of \(k\!\)-place relations that are commonly encountered in mathematics.  In order of simplicity, the first of these definitions is as follows:

Definition 1.   A relation \(L\!\) over the sets \(X_1, \ldots, X_k\!\) is a subset of their cartesian product, written \(L \subseteq X_1 \times \ldots \times X_k.\!\)  Under this definition, then, a \(k\!\)-ary relation is simply a set of \(k\!\)-tuples.

The second definition makes use of an idiom that is common in mathematics, saying that “such and such is an \(n\!\)-tuple” to mean that the mathematical object being defined is determined by the specification of \(n\!\) component mathematical objects.  In the case of a relation \(L\!\) over \(k\!\) sets, there are \(k + 1\!\) things to specify, namely, the \(k\!\) sets plus a subset of their cartesian product.  In the idiom, this is expressed by saying that \(L\!\) is a \((k+1)\!\)-tuple.

Definition 2.   A relation \(L\!\) over the sets \(X_1, \ldots, X_k\!\) is a \((k+1)\!\)-tuple \(L = (X_1, \ldots, X_k, \mathrm{graph}(L)),\!\) where \(\mathrm{graph}(L)\!\) is a subset of the cartesian product \(X_1 \times \ldots \times X_k~\!\) called the graph of \(L.\!\)

Elements of a relation are sometimes denoted by using boldface characters, for example, the constant element \(\mathbf{a} = (a_1, \ldots, a_k)\!\) or the variable element \(\mathbf{x} = (x_1, \ldots, x_k).\!\)

A statement of the form “\(\mathbf{a}\!\) is in the relation \(L\!\)” is taken to mean that \(\mathbf{a}\!\) is in \(L\!\) under the first definition and that \(\mathbf{a}\!\) is in \(\mathrm{graph}(L)\!\) under the second definition.

The following considerations apply under either definition:

  • The sets \(X_j~\!\) for \(j = 1 ~\text{to}~ k\!\) are called the domains of the relation.  In the case of the first definition, the relation itself does not uniquely determine a given sequence of domains.
  • If all the domains \(X_j~\!\) are the same set \(X,\!\) then \(L\!\) is more simply referred to as a \(k\!\)-ary relation over \(X.\!\)
  • If any domain \(X_j~\!\) is empty then the cartesian product is empty and the only relation over such a sequence of domains is the empty relation \(L = \varnothing.\!\)  Most applications of the relation concept will set aside this trivial case and assume that all domains are nonempty.

If \(L\!\) is a relation over the domains \(X_1, \ldots, X_k,\!\) it is conventional to consider a sequence of terms called variables, \(x_1, \ldots, x_k,\!\) that are said to range over the respective domains.

A boolean domain \(\mathbb{B}\!\) is a generic 2-element set, say, \(\mathbb{B} = \{ 0, 1 \},\!\) whose elements are interpreted as logical values, typically \(0 = \mathrm{false}\!\) and \(1 = \mathrm{true}.\!\)

The characteristic function of the relation \(L,\!\) written \(f_L\!\) or \(\chi(L),\!\) is the boolean-valued function \(f_L : X_1 \times \ldots \times X_k \to \mathbb{B},\!\) defined in such a way that \(f_L (\mathbf{x}) = 1\!\) just in case the \(k\!\)-tuple \(\mathbf{x} = (x_1, \ldots, x_k)\!\) is in the relation \(L.\!\)  The characteristic function of a relation may also be called its indicator function, especially in probabilistic and statistical contexts.

It is conventional in applied mathematics, computer science, and statistics to refer to a boolean-valued function like \(f_L\!\) as a \(k\!\)-place predicate.  From the more abstract viewpoints of formal logic and model theory, the relation \(L\!\) is seen as constituting a logical model or a relational structure that serves as one of many possible interpretations of a corresponding \(k\!\)-place predicate symbol, as that term is used in predicate calculus.

Due to the convergence of many traditions of study, there are wide variations in the language used to describe relations.  The extensional approach presented in this article treats a relation as the set-theoretic extension of a relational concept or term.  An alternative, intensional approach reserves the term relation to the corresponding logical entity, either the logical comprehension, which is the totality of intensions or abstract properties that all the elements of the extensional relation have in common, or else the symbols that are taken to denote those elements and intensions.

Example 2. Coplanarity

For lines \(\ell\!\) in three-dimensional space, there is a triadic relation picking out the triples of lines that are coplanar.  This does not reduce to the dyadic relation of coplanarity between pairs of lines.

In other words, writing \(P(\ell, m, n)\!\) when the lines \(\ell, m, n\!\) lie in a plane, and \(Q(\ell, m)\!\) for the binary relation, it is not true that \(Q(\ell, m),\!\) \(Q(m, n),\!\) and \(Q(n, \ell)\!\) together imply \(P(\ell, m, n),\!\) although the converse is certainly true:  any two of three coplanar lines are necessarily coplanar.  There are two geometrical reasons for this.

In one case, for example taking the \(x\!\)-axis, \(y\!\)-axis, and \(z\!\)-axis, the three lines are concurrent, that is, they intersect at a single point.  In another case, \(\ell, m, n\!\) can be three edges of an infinite triangular prism.

What is true is that if each pair of lines intersects, and the points of intersection are distinct, then pairwise coplanarity implies coplanarity of the triple.

Remarks

Relations are classified by the number of sets in the cartesian product, in other words, the number of places or terms in the relational expression:

\(L(a)\!\) Monadic or unary relation, in other words, a property or set
\(L(a, b) ~\text{or}~ a L b\!\) Dyadic or binary relation
\(L(a, b, c)\!\) Triadic or ternary relation
\(L(a, b, c, d)\!\) Tetradic or quaternary relation
\(L(a, b, c, d, e)\!\) Pentadic or quinary relation

Relations with more than five terms are usually referred to as \(k\!\)-adic or \(k\!\)-ary, for example, a 6-adic, 6-ary, or hexadic relation.

References

  • Peirce, C.S. (1870), “Description of a Notation for the Logic of Relatives, Resulting from an Amplification of the Conceptions of Boole's Calculus of Logic”, Memoirs of the American Academy of Arts and Sciences 9, 317–378, 1870. Reprinted, Collected Papers CP 3.45–149, Chronological Edition CE 2, 359–429.
  • Ulam, S.M., and Bednarek, A.R. (1990), “On the Theory of Relational Structures and Schemata for Parallel Computation”, pp. 477–508 in A.R. Bednarek and Françoise Ulam (eds.), Analogies Between Analogies : The Mathematical Reports of S.M. Ulam and His Los Alamos Collaborators, University of California Press, Berkeley, CA.

Bibliography

  • Bourbaki, N. (1994), Elements of the History of Mathematics, John Meldrum (trans.), Springer-Verlag, Berlin, Germany.
  • Halmos, P.R. (1960), Naive Set Theory, D. Van Nostrand Company, Princeton, NJ.
  • Lawvere, F.W., and Rosebrugh, R. (2003), Sets for Mathematics, Cambridge University Press, Cambridge, UK.
  • Maddux, R.D. (2006), Relation Algebras, vol. 150 in Studies in Logic and the Foundations of Mathematics, Elsevier Science.
  • Mili, A., Desharnais, J., Mili, F., with Frappier, M. (1994), Computer Program Construction, Oxford University Press, New York, NY.
  • Minsky, M.L., and Papert, S.A. (1969/1988), Perceptrons, An Introduction to Computational Geometry, MIT Press, Cambridge, MA, 1969. Expanded edition, 1988.
  • Peirce, C.S. (1984), Writings of Charles S. Peirce : A Chronological Edition, Volume 2, 1867–1871, Peirce Edition Project (eds.), Indiana University Press, Bloomington, IN.
  • Royce, J. (1961), The Principles of Logic, Philosophical Library, New York, NY.
  • Tarski, A. (1956/1983), Logic, Semantics, Metamathematics, Papers from 1923 to 1938, J.H. Woodger (trans.), 1st edition, Oxford University Press, 1956. 2nd edition, J. Corcoran (ed.), Hackett Publishing, Indianapolis, IN, 1983.
  • Ulam, S.M. (1990), Analogies Between Analogies : The Mathematical Reports of S.M. Ulam and His Los Alamos Collaborators, A.R. Bednarek and Françoise Ulam (eds.), University of California Press, Berkeley, CA.
  • Venetus, P. (1984), Logica Parva, Translation of the 1472 Edition with Introduction and Notes, Alan R. Perreiah (trans.), Philosophia Verlag, Munich, Germany.

Syllabus

Focal nodes

Peer nodes

Logical operators

Template:Col-breakTemplate:Col-breakTemplate:Col-end

Related topics

Template:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-end

Relational concepts

Template:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-end

Information, Inquiry

Template:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-end

Related articles

Template:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-end

Document history

Portions of the above article were adapted from the following sources under the GNU Free Documentation License, under other applicable licenses, or by permission of the copyright holders.