<< Chapter < Page Chapter >> Page >

Example 2: If R is the parent-child relation on a set of people A, then RR, also denoted by R2, is the grandparent-grandchild relation on A.

More examples:

The digraphs of R2 for several simple relations R are shown in Figure 7:

Properties of composite relations

Composite relations defined above have the following properties. Let R1 be a relation from A to B, and R2 and R3 be relations from B to C. Then

1. R1(R2R3) = (R1R2)R3

2. R1(R2 ∪R3) = R1R2 ∪R1R3

3. R1(R2 ∩R3) ⊆R1R2 ∩R1R3 Proofs for these properties are omitted.

Powers of relation

Let R be a binary relation on A. Then Rn for all positive integers n is defined recursively as follows:

Definition (power of relation):

Basis Clause: R0 = E, where E is the equality relation on A.

Inductive Clause: For an arbitrary natural number n, Rn+1 = RnR.

Note that there is no need for extremal clause here.

Thus for example R1 = R, R2 = RR, and R3 = R2R = (RR)R = R(RR) = RRR.

The powers of binary relation R on a set A defined above have the following properties.

1. Rm+n = RmRn,

2. (Rm)n = Rmn.

Special relations

Closure of binary relation

In our everyday life we often talk about parent-child relationship. This is a binary relation on the set of people in the world, dead or alive. Also we are often interested in ancestor-descendant relations. Although the latter relation can be obtained from the former, hence it is redundant in that sense, we do use ancestor-descendant relations which give us necessary information more directly. This ancestor-descendant relation relates two people if there is a sequence of parent-child relations from one to the other. It includes the parent-child relation as a subset. The ancestor-descendant relation is an example of the closure of a relation, in particular the transitive closure of the parent-child relation. In general, the closure of a relation is the smallest extension of the relation that has a certain specific property such as the reflexivity, symmetry or transitivity. Formally they are defined as follows:

Definition (reflexive closure): A relation R' is the reflexive closure of a relation R if and only if

(1) R' is reflexive,

(2) R ⊆R', and

(3) for any relation R'', if R ⊆R'' and R'' is reflexive, then R' ⊆R'' , that is, R' is the smallest relation that satisfies (1) and (2).

Example: Let R be the less-than relation on the set of integers I, that is R = {<a, b>| a ∈I ⋀b ∈I ⋀a<b }.

Then the reflexive closure r(R) of R is the union of R and the equality relation on I, that is r(R) = {<a, b>| a ∈I ⋀b ∈I ⋀a ≤b }

The digraph of the reflexive closure of a relation is obtained from the digraph of the relation by adding a self-loop at each vertex if one is already not there.

Symmetric and transitive closures can be defined similarly.

Definition (symmetric closure): A relation R' is the symmetric closure of a relation R if and only if

(1) R' is symmetric,

(2) R ⊆R', and

(3) for any relation R'', if R ⊆R'', and R'' is symmetric, then R' ⊆R'' , that is, R' is the smallest relation that satisfies (1) and (2).

Example: Let R be the less-than relation on the set of integers I. Then the symmetric closure of R, denoted by s(R) is s(R) = {<a, b>| a ∈I ⋀ b ∈I ⋀[ a<b ∨ a>b ] } that is {<a, b>| a ∈I ⋀b ∈I ⋀a ≠b }

Questions & Answers

if three forces F1.f2 .f3 act at a point on a Cartesian plane in the daigram .....so if the question says write down the x and y components ..... I really don't understand
Syamthanda Reply
hey , can you please explain oxidation reaction & redox ?
Boitumelo Reply
hey , can you please explain oxidation reaction and redox ?
Boitumelo
for grade 12 or grade 11?
Sibulele
the value of V1 and V2
Tumelo Reply
advantages of electrons in a circuit
Rethabile Reply
we're do you find electromagnetism past papers
Ntombifuthi
what a normal force
Tholulwazi Reply
it is the force or component of the force that the surface exert on an object incontact with it and which acts perpendicular to the surface
Sihle
what is physics?
Petrus Reply
what is the half reaction of Potassium and chlorine
Anna Reply
how to calculate coefficient of static friction
Lisa Reply
how to calculate static friction
Lisa
How to calculate a current
Tumelo
how to calculate the magnitude of horizontal component of the applied force
Mogano
How to calculate force
Monambi
a structure of a thermocouple used to measure inner temperature
Anna Reply
a fixed gas of a mass is held at standard pressure temperature of 15 degrees Celsius .Calculate the temperature of the gas in Celsius if the pressure is changed to 2×10 to the power 4
Amahle Reply
How is energy being used in bonding?
Raymond Reply
what is acceleration
Syamthanda Reply
a rate of change in velocity of an object whith respect to time
Khuthadzo
how can we find the moment of torque of a circular object
Kidist
Acceleration is a rate of change in velocity.
Justice
t =r×f
Khuthadzo
how to calculate tension by substitution
Precious Reply
hi
Shongi
hi
Leago
use fnet method. how many obects are being calculated ?
Khuthadzo
khuthadzo hii
Hulisani
how to calculate acceleration and tension force
Lungile Reply
you use Fnet equals ma , newtoms second law formula
Masego
please help me with vectors in two dimensions
Mulaudzi Reply
how to calculate normal force
Mulaudzi
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Discrete structures. OpenStax CNX. Jan 23, 2008 Download for free at http://cnx.org/content/col10513/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Discrete structures' conversation and receive update notifications?

Ask