Types of Relation
Definition
A relation from set to set is any subset of the Cartesian product .
If is a relation from to , then:
If , then we say that is related to by , written as .
When the relation is defined on a single set , it is called a relation on , and then:
Relations are classified into different types based on the way elements are connected and on whether certain properties hold.
Main Content
1. Basic Types of Relations
Empty relation and universal relation
The empty relation contains no ordered pairs at all. If , then the empty relation on is: The universal relation contains every possible ordered pair in . If , then the universal relation is:
Identity relation and inverse relation
The identity relation on a set relates every element only to itself:
The inverse relation reverses every ordered pair in . If , then .
Example: If , then
These basic types help in understanding how relations are formed and manipulated. They are the building blocks of more advanced relation properties.
2. Special Properties of Relations
Reflexive, symmetric, and transitive relations
These are the most important properties used to classify relations.
-
A relation on is reflexive if every element is related to itself:
-
It is symmetric if whenever , then .
- It is transitive if whenever and , then .
Example: On the set of integers, the relation “is equal to” is reflexive, symmetric, and transitive.
Antisymmetric and irreflexive relations
-
A relation is antisymmetric if: Example: “” on numbers is antisymmetric.
-
A relation is irreflexive if no element is related to itself: Example: “” on integers is irreflexive.
These properties are fundamental because they determine whether a relation can be used to build equivalence classes, partial orders, or other mathematical structures.
3. Major Classifications of Relations
Equivalence relation
A relation is an equivalence relation if it is reflexive, symmetric, and transitive all at once.
Example: “has the same remainder when divided by 3” on integers is an equivalence relation.
If , then:
- is equivalent to itself,
- if is related to , then is related to ,
- if is related to and to , then is related to .
Equivalence relations divide a set into equivalence classes. For example, integers can be partitioned into classes based on remainder modulo 3:
Partial order relation
A relation is a partial order if it is reflexive, antisymmetric, and transitive.
Example: “” on the power set of a set is a partial order.
Another common example is “” on real numbers.
In a partial order, not every pair must be comparable. For example, if , then under the subset relation, and are not comparable because neither is a subset of the other.
Partial orders are often shown using Hasse diagrams, which remove unnecessary arrows and self-loops to display the structure clearly.
Total order relation
A total order (or linear order) is a partial order in which every pair of elements is comparable.
Example: The relation “” on integers is a total order because for any and , either or .
Total orders are important in arranging items in a complete sequence, such as sorting numbers, ranking students, or ordering events in time.
Working / Process
1. Identify the set and the relation
- First, determine the set or the sets and .
- Write the relation as a collection of ordered pairs or as a rule.
- Example: On , let .
2. Check the required properties
- Test whether the relation is reflexive, symmetric, transitive, antisymmetric, or irreflexive.
- Use definitions carefully:
- Reflexive: all must be present.
- Symmetric: every pair must have its reverse.
- Transitive: chains must imply the shortcut pair.
- For example, if and are in , then must also be in for transitivity.
3. Classify the relation
- If the relation satisfies reflexive, symmetric, and transitive, classify it as an equivalence relation.
- If it satisfies reflexive, antisymmetric, and transitive, classify it as a partial order.
- If every pair is comparable under a partial order, classify it as a total order.
- If none of these conditions fit, describe it as a general relation or note the exact properties it satisfies.
Advantages / Applications
Organizing mathematical structures
Types of relations help classify sets into meaningful structures like equivalence classes and ordered sets, which are foundational in higher mathematics.
Computer science and data modeling
Relations are used in databases, graph theory, programming, and algorithms. For example, relational databases store data using relations, and graph edges represent relations between vertices.
Problem solving and theorem proving
In proofs, identifying whether a relation is reflexive, symmetric, transitive, or antisymmetric helps establish the correct type of structure and supports rigorous reasoning.
Summary
- Relations describe how elements of sets are connected using ordered pairs.
- Different types of relations are classified by properties such as reflexive, symmetric, transitive, antisymmetric, and irreflexive.
- Special types like equivalence relations, partial orders, and total orders are extremely important in mathematics and computer science.
- Equivalence relations group elements into classes, while order relations arrange elements systematically.