ADVERTISEMENT

JUPITER SCIENCE

Relations & Sets

A Relation from set A to set B is defined as a set of ordered pairs formed from the elements of set A and B.

In other words, a relation is a subset of the cartesian product of sets A and B. The subset is derived by establishing predicate filter(s) or criteria stating a condition that evaluates the qualifying ordered pairs from the cartesian product to be included in the subset as specified by the relation.

A relation is uni-directional i.e. if a relation exists from A to B then it does not imply that a relation exists from B to A as well.

Also, (a,b) ≠ (b,a)

Let a ∈ A and b ∈ B. Let (a,b) be an ordered pair of the relation R from set A to set B.

☞ Under this relation r, ‘b’ is called the image of ‘a’ and ‘a’ is called the preimage of ‘b’.

☞ Set A is called the Domain of the relation.

☞ Set B is called the Co-Domain of the relation.

☞ The set of all images is called the Range of the relation.

☞ The range of the relation is a subset of the Co-Domain.
(Note that A and B are two different independent sets and the relation is applied on the independent elements of B and not the entire sets of B. This means that not all the elements of set B need to act as images of elements of A.)

☞ If A has m elements and B has n elements then their cartesian product will have m × n elements. The total number of relations possible will be the total number of subsets of the cartesian product A × B, i.e., 2mn

Finitary Relations

Relations can exist among many sets and not only two. For n number of sets S1, S2, S3,…,Sn, a finitary relation is defined as a subset of the cartesian product S1 × S2× S3 × … × Sn. Such relations are used to establish a connection between the members of the n-tuple.

Finitary Relations

Relations can exist among many sets and not only two. For n number of sets S1, S2, S3,…,Sn, a finitary relation is defined as a subset of the cartesian product S1 × S2× S3 × … × Sn. Such relations are used to establish a connection between the members of the n-tuple.

Degree of Relation

For finitary relations involving the ‘n’ number of sets, the relation is also termed as n-ary or n-adic relation. Such relations are also called relations of degree n. The finitary relation is also represented as Rs1…s2 or by s1…s2R., where si ∈ Si. This is read as “s1, s2, s3, …, sn, … sn are R-related”. For Binary relations, we simply represent the relation as xRy.

Ith Domain of a Relation

In a relation involving S1, S2, S,…,Sn, the set of all elements of the Sith set which appear in the relation R is called the ith domain of the relation (Di). For binary relations, we have only D1 and D2. D1 is called the domain and D2 is called the range.

Homogeneous Relation

A special case of relation is when all the participating sets (Si) are identical. Else, the set is called a Heterogeneous relation.

To illustrate an example of a finitary relation, consider an entrance examination in which students have to appear in three tests. Multiple attempts are allowed. Let us define a relation that constitutes the student’s name and the grades achieved in the three tests. The relation R is defined by:

R =
{
(John, C, C, B),
(David, B, B, A),
(Martha, A, B, B+),
(Martha, A+, C, A),
(Paul, B+, B, A),
(Ray, A+, A, B+)
}

The relation can also be illustrated in the form of a table as shown below. Such a relation is an example of a quaternary relation or a relation with degree 4.

STUDENTTEST 1TEST 2TEST 3
JohnCCB
DavidBBA
MarthaABB+
MarthaA+CA
PaulB+BA
RayA+AB+

In this example, each row represents the relation between a score of x in test 1, y in test 2 and z in test 3 on a given attempt.

Binary Relation

A binary relation is a finitary relation for which the degree is 2. A binary relation is defined in the context of two sets. For two sets A and B, a binary relation is a subset of the cartesian product of A and B (A × B). It is a set of ordered pairs (a,b) such that a ∈ A and b ∈ B. The degree of such relations is 2. The study of relations begins with binary relations as they are extensively studied. They are also simpler to work with. Binary Relations extends into the field of functions which are more important in the field of mathematics as they form the base for the most important aspect of mathematics – Calculus.

TAGS:

Comments

What do you think?

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Recommended Reads for You

Cartesian Product

The cartesian product of two sets A and B is defined as a set formed by all the possible ordered pairs of elements from A and B, such that the first element comes from set A and the second element comes from set B. The cartesian product is denoted as A × B. ​Let a and...

read more

Ordered Pairs

An ordered pair is a 2-tuple formed by taking two elements (generally numbers but can be alphabets, characters, words or symbols). The general form of representation is (a, b) where a and b represent two distinct objects. The important thing with ordered pairs is that...

read more
Share This