You are here
Home ›relation
Primary tabs
relation
Binary Relations
Before describing what a relation is generally, let us define a more specific kind of a relation: a binary relation. Basically, a binary relation involves objects coming from two collections , where the objects are paired up so that each pair consists of an object from , and an object from .
More formally, a binary relation is a subset of the Cartesian product of two sets and . One may write
to indicate that the ordered pair is an element of . A subset of is simply called a binary relation on . If is a binary relation on , then we write
to mean and .
Given a binary relation , the domain of is the set of elements in forming parts of the pairs in . In other words,
and the range of is the set of parts of pairs of coming from :
An example of a binary relation is the less-than relation on the integers, i.e., . , but .
Remarks.
1. In set theory, a binary relation is simply a set of ordered pairs (of sets or classes, depending on the axiom system used). Notice that, unlike the previous definition, sets (or classes) and are not specified in advance. Given a (binary) relation , the domain of is the set (or class) of elements such that for some , and the range of is the set (or class) or elements such that for some . The union and the domain and the range of is called the field of .
2. It may be possible to define a relation over a class. For example, if is the class of all sets, then can be thought of as a binary relation on .
3.
Arbitrary Relations
From the definition of a binary relation, we can easily generalize it to that of an arbitrary relation. Since a binary relation involves two sets, an arbitrary relation involves an arbitrary collection of sets. More specifically, a relation is a subset of some Cartesian product of a collection of sets. In symbol, this is
where each is a set, indexed by some set .
From this more general definition, we see that a binary relation is just a relation where has two elements. In addition, an -ary relation is a relation where the cardinality of is ( finite). In symbol, we have
It is not hard to see that any -ary relation where can be viewed as a binary relation in different ways, for
where ranges from through .
A common name for a -ary relation is a ternary relation. It is also possible to have a -ary relation, or commonly known as a unary relation, which is nothing but a subset of some set.
Remarks.
1. 2. A relation can also be viewed as a function (which itself is a relation). Let . As a subset of , can be identified with the characteristic function
where iff and otherwise. Therefore, an -ary relation is equivalent to an -ary characteristic function. From this, one may say that a -ary, or a nullary relation is a unary characteristic function. In other words, a nullary relation is just a an element in (or truth/falsity).
Mathematics Subject Classification
08A02 Relational systems, laws of composition03E20 Other classical set theory (including functions, relations, and set algebra)
82C35 Irreversible thermodynamics, including Onsager-Machlup theory
- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)
- Other useful stuff
Recent Activity
new question: Sorry to steal a few minutes of your time for this question, but i honestly don't know what else to do. by Whrazithar
new question: equality of the determinants of submatrices of an orthogonal matrix by ismayli
Jun 11
new correction: Typo by suitangi
Jun 2
new question: Creating another set with same cardinality. by hkkass
Jun 1
new image: ProblemOneRevised by unlord
new Education: Chapter II by rspuzio
May 31
new collection: The Calculus by Davis and Brenke by rspuzio
new question: Proofs by weixifan
new question: Summation Integration Question by trevor.nickle
May 27
new correction: typo+finite measure hypothesis by Filipe



Comments
my addendum, formatting
I meant to have my addendum in five paragraphs, but now it's all in one paragraph and looks like the frantic ravings of a madman.
Re: my addendum, formatting
That is fixed, btw.
-apk
Doubt
A binary relation could be seen as a binary characteristic function. I don't get why a binary relation could be represented as a ternary characteristic function.