Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Finitary relation
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Definitions == {{Blockquote|When two objects, qualities, classes, or attributes, viewed together by the mind, are seen under some connexion, that connexion is called a relation.|[[Augustus De Morgan]]{{sfn|ps=|De Morgan|1966}}}} ; Definition : ''R'' is an ''n''-ary '''relation''' on sets {{nowrap|''X''<sub>1</sub>, ..., ''X''<sub>''n''</sub>}} is given by a subset of the Cartesian product {{nowrap|''X''<sub>1</sub> Γ ... Γ ''X''<sub>''n''</sub>}}.{{sfn|ps=|Codd|1970}} Since the definition is predicated on the underlying sets {{nowrap|''X''<sub>1</sub>, ..., ''X''<sub>''n''</sub>}}, ''R'' may be more formally defined as the ({{nowrap|''n'' + 1}})-tuple {{nowrap|(''X''<sub>1</sub>, ..., ''X''<sub>''n''</sub>, ''G'')}}, where ''G'', called the ''graph'' of ''R'', is a subset of the Cartesian product {{nowrap|''X''<sub>1</sub> Γ ... Γ ''X''<sub>''n''</sub>}}. As is often done in mathematics, the same symbol is used to refer to the mathematical object and an underlying set, so the statement {{nowrap|(''x''<sub>1</sub>, ..., ''x''<sub>''n''</sub>) β ''R''}} is often used to mean {{nowrap|(''x''<sub>1</sub>, ..., ''x''<sub>''n''</sub>) β ''G''}} is read "''x''<sub>1</sub>, ..., ''x''<sub>''n''</sub> are ''R''-related" and are denoted using [[Polish notation|prefix notation]] by {{nowrap|''Rx''<sub>1</sub>β―''x''<sub>''n''</sub>}} and using [[Reverse Polish notation|postfix notation]] by {{nowrap|''x''<sub>1</sub>β―''x''<sub>''n''</sub>''R''}}. In the case where ''R'' is a binary relation, those statements are also denoted using [[infix notation]] by {{nowrap|''x''<sub>1</sub>''Rx''<sub>2</sub>}}. The following considerations apply: * The set ''X''<sub>''i''</sub> is called the {{itco|{{mvar|i}}}}th ''domain'' of ''R''.{{sfn|ps=|Codd|1970}} In the case where ''R'' is a binary relation, ''X''<sub>1</sub> is also called simply the [[Binary relation#Definition|''domain'']] or ''set of departure'' of ''R'', and ''X''<sub>2</sub> is also called the [[Binary relation#Definition|''codomain'']] or ''set of destination'' of ''R''. * When the elements of ''X''<sub>''i''</sub> are relations, ''X''<sub>''i''</sub> is called a ''nonsimple domain'' of ''R''.{{sfn|ps=|Codd|1970}} * The set of {{nowrap|β''x''<sub>''i''</sub> β ''X''<sub>''i''</sub>}} such that {{nowrap|''Rx''<sub>1</sub>β―''x''<sub>''i''β1</sub>''x''<sub>''i''</sub>''x''<sub>''i''+1</sub>β―''x''<sub>''n''</sub>}} for at least one {{nowrap|(''x''<sub>1</sub>, ..., ''x''<sub>''n''</sub>)}} is called the ''i''th ''domain of definition'' or ''active domain'' of ''R''.{{sfn|ps=|Codd|1970}} In the case where ''R'' is a binary relation, its first domain of definition is also called simply the [[Binary relation#Definition|''domain of definition'']] or ''active domain'' of ''R'', and its second domain of definition is also called the [[Binary relation#Definition|''codomain of definition'']] or ''active codomain'' of ''R''. * When the {{mvar|i}}th domain of definition of ''R'' is equal to ''X''<sub>''i''</sub>, ''R'' is said to be ''total'' on its ''i''th domain (or on ''X''<sub>''i''</sub>, when this is not ambiguous). In the case where ''R'' is a binary relation, when ''R'' is total on ''X''<sub>1</sub>, it is also said to be [[Binary relation#Special types of binary relations|''left-total'']] or ''serial'', and when ''R'' is total on ''X''<sub>2</sub>, it is also said to be [[Binary relation#Special types of binary relations|''right-total'']] or ''surjective''. * When {{nowrap|β''x'' β''y'' β ''X''<sub>''i''</sub>.}} {{nowrap|β''z'' β ''X''<sub>''j''</sub>.}} {{nowrap|1=''xR''<sub>''ij''</sub>''z'' ∧ ''yR''<sub>''ij''</sub>''z'' β ''x'' = ''y''}}, where {{nowrap|''i'' β ''I''}}, {{nowrap|''j'' β ''J''}}, {{nowrap|1=''R''<sub>''ij''</sub> = ''Ο''<sub>''ij''</sub> ''R''}}, and {{nowrap|{{mset|''I'', ''J''}}}} is a [[Partition of a set|partition]] of {{nowrap|{{mset|1, ..., ''n''}}}}, ''R'' is said to be ''unique'' on {{nowrap|{{mset|''X''<sub>''i''</sub>}}<sub>''i''β''I''</sub>}}, and {{nowrap|{{mset|''X''<sub>''i''</sub>}}<sub>''i''β''J''</sub>}} is called ''a [[primary key]]''{{sfn|ps=|Codd|1970}} of ''R''. In the case where ''R'' is a binary relation, when ''R'' is unique on {{mset|''X''<sub>1</sub>}}, it is also said to be [[Binary relation#Special types of binary relations|''left-unique'']] or ''injective'', and when ''R'' is unique on {{mset|''X''<sub>2</sub>}}, it is also said to be [[Binary relation#Special types of binary relations|''univalent'']] or ''right-unique''. * When all ''X''<sub>''i''</sub> are the same set ''X'', it is simpler to refer to ''R'' as an ''n''-ary relation over ''X'', called a ''[[homogeneous relation]]''. Without this restriction, ''R'' is called a ''[[heterogeneous relation]]''. * When any of ''X''<sub>''i''</sub> is empty, the defining Cartesian product is empty, and the only relation over such a sequence of domains is the empty relation {{nowrap|1=''R'' = β }}. Let a [[Boolean domain]] ''B'' be a two-element set, say, {{nowrap|1=''B'' = {{mset|0, 1}}}}, whose elements can be interpreted as logical values, typically {{nowrap|1=0 = false}} and {{nowrap|1=1 = true}}. The [[Indicator function|characteristic function]] of ''R'', denoted by ''Ο''<sub>''R''</sub>, is the [[Boolean-valued function]] {{nowrap|''Ο''<sub>''R''</sub>: ''X''<sub>1</sub> Γ ... Γ ''X''<sub>''n''</sub> β ''B''}}, defined by {{nowrap|1=''Ο''<sub>''R''</sub>({{nowrap|(''x''<sub>1</sub>, ..., ''x''<sub>''n''</sub>)}}) = 1}} if {{nowrap|''Rx''<sub>1</sub>β―''x''<sub>''n''</sub>}} and {{nowrap|1=''Ο''<sub>''R''</sub>({{nowrap|(''x''<sub>1</sub>, ..., ''x''<sub>''n''</sub>)}}) = 0}} otherwise. In applied mathematics, [[computer science]] and statistics, it is common to refer to a Boolean-valued function as an ''n''-ary [[Predicate (mathematics)|''predicate'']]. From the more abstract viewpoint of [[formal logic]] and [[model theory]], the relation ''R'' constitutes a ''logical model'' or a ''relational structure'', that serves as one of many possible [[Interpretation (logic)|interpretation]]s of some ''n''-ary predicate symbol. Because relations arise in many scientific disciplines, as well as in many branches of [[mathematics]] and [[logic]], there is considerable variation in terminology. Aside from the [[Set theory|set-theoretic]] [[extension (semantics)|extension]] of a relational concept or term, the term "relation" can also be used to refer to the corresponding logical entity, either the [[Comprehension (logic)|logical comprehension]], which is the totality of [[intension]]s or abstract properties shared by all elements in the relation, or else the symbols denoting these elements and intensions. Further, some writers of the latter persuasion introduce terms with more concrete connotations (such as "relational structure" for the set-theoretic extension of a given relational concept).
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Finitary relation
(section)
Add topic