Example:: A (1, 2, 3) B (X, Y, Z) R ( (1, Y), (1, Z), (3, Y) ) R ( (Y, 1), (Z, 1), (Y, 3) )
Example:: A (1, 2, 3) B (X, Y, Z) R ( (1, Y), (1, Z), (3, Y) ) R ( (Y, 1), (Z, 1), (Y, 3) )
Definition:
Let R be any relation from a set A
to a set B. The inverse of R,
-1
denoted by R , is the relation from B
to A which consists of those ordered
pairs which, when reversed, belong
-1
to R; that
Example: is, R = {(b, a) | (a, b) ∈
R} A = {1, 2, 3} B = {x, y, z}
-1
R = {(1, y), (1, z), (3, y)} R = {(y,1),
(z,1), (y,3)}
INVERSE RELATION
Clearly, if R is any relation,
-1 -1
then (R ) = R. Also, the
-1
domain and range of R are
equal, respectively, to the
range and domain of R.
Moreover, if R is a relation on
-1
A, then R is also a relation
on A.
INVERSE RELATION
The inverse of the relation
R of
X = {2, 3, 4} Y = {3, 4,
5, 6, 7}
-1
R = In {(4, 2), we
words, (6, might
2), (3, 3), (6,
3), (4, 4)}this relation as “is
describe
divisible by”.
INVERSE RELATION
Examples:
• A = {4, 6, 8, 10} 2. M = {9, 12,
14, 5}
D = {20, 30, 40} T = {3, 8,
17, 24, 25}
3. X = {3, 4, 5, 6, 7} 4. J =
{3, 4, 5, 6}
Y = {27, 28, 29, 30} P = {70,
80, 90, 100}
COMPOSITION OF R1 AND
R2
Definition:
Let R1 be a relation from X to Y and
R2 be a relation from Y to Z. The
composition of R1 and R2, denoted
R2 ° R1, is the relation from X to Z
defined by