GUIDE TO LOGIC

Relations II

Contents

20. Reflexive Relations
21. Relations which are Not Reflexive
22. Irreflexive Relations
23. Relations which are Not Irreflexive
24. Reflexive and Irreflexive Relations
25. Symmetric Relations
26. Symmetric and Inverse Relations
27. Relations which are Not Symmetric
28. Symmetric Relations and Negation
29. Antisymmetric Relations
30. Relations which are Not Antisymmetric
31. Antisymmetric and Irreflexive Relations
32. Transitive Relations
33. Intransitive Relations
34. Properties of Inverses
35. Equivalence Relations
36. Equivalence Classes
37. Simple Order Relations

20. Reflexive Relations

A relation between the elements in a set is called reflexive when every element in the set is related to itself.

Example: Let x and y stand for telescopes, and let x R y mean x has the same power as y. Then R is reflexive because every telescope has the same power as itself.

We define a reflexive relation in symbols as follows:

R is reflexive when Ax: x R x.

21. Relations which are Not Reflexive

A relation between the elements in a set is not reflexive when it is not true that every element is related to itself, in other words when there exists an element not related to itself. This is summarized in symbols as follows:
R is not reflexive when Ex: x not-R x.
Example: Let x and y stand for people, and let x R y mean x knows the birthday of y. Most people know their own birthdays, but there are some people who do not. Therefore, the relation R is not reflexive.

EXERCISE

Let x and y stand for people. Say whether the following relations are reflexive or not.
  1. x drives the motor car of y.
  2. x speaks the same language as y.

22. Irreflexive Relations

A relation between the elements in a set is called irreflexive when no element in the set is related to itself.

Example: Let x and y stand for men, and let x R y mean x is the father of y. Since no man is the father of himself, it follows that R is irreflexive.

We define an irreflexive relation in symbols as follows:

R is irreflexive when Ax: x not-R x.

23. Relations which are Not Irreflexive

A relation between the elements in a set is not irreflexive when it is not true that no element is related to itself, in other words when there exists an element that is related to itself. This is summarized in symbols as follows:
R is not irreflexive when Ex: x R x.
Example: Let x and y stand for people, and let x R y mean x teaches y to use a computer. Many people are taught by someone else to use a computer, but some people teach themselves. Therefore, the relation x R y is not irreflexive.

EXERCISE

Let x and y be numbers in the set {1, 2, 3, 4, 5}. Say whether the following relations are irreflexive or not irreflexive.
  1. The square of x is twice y.
  2. x is greater than y.

24. Reflexive and Irreflexive Relations

When a relation R between the elements of a set is reflexive, every element x is related to itself as follows: x R x. Since the negation of a negative relation is the same as the original positive relation, we have R = not-(not-R). Therefore, when R is reflexive, every element x is related to itself as follows: x not-(not-R) x. In other words, no element is related to itself as follows: x not-R x. This means that not-R is irreflexive.

Example: Let x and y stand for telescopes, and let x R y mean x has the same power as y. Then x not-R y means x does not have the same power as y. Here R is reflexive, because every telescope has the same power as itself, and not-R is irreflexive, because it is never true to say that a telescope does not have the same power as itself.

The general law is summarized in symbols as follows:

A relation R is reflexive if and only if not-R is irreflexive.

EXERCISE

Let x and y stand for mountains. Say whether each of the following relations is reflexive or irreflexive. If the relation is reflexive give the associated irreflexive relation. If the relation is irreflexive give the associated reflexive relation.
  1. Let x R y mean x is higher than y.
  2. Let x R y mean x belongs to the same mountain range as y.

25. Symmetric Relations

A relation R between the elements in a universal set is called symmetric when x R y always implies y R x; in other words, when R is symmetric it does not matter whether x is written first or y is written first in the expression x R y.

Example. Let the universal set consist of mountains. Let x R y mean The tops of x and y are both covered with snow. This implies The tops of y and x are both covered with snow, which is represented by y R x. Therefore, R is symmetric.

We define a symmetric relation as follows:

R is symmetric when Ax: Ay: x R y implies y R x.

26. Symmetric and Inverse Relations

A relation R between the elements in a set is symmetric when x R y always implies y R x. This implication stays true when we interchange x and y; that is: y R x always implies x R y. Therefore, R is symmetric when the two statements x R y and y R x are equivalent. But x R y is also equivalent to y R-1 x, where R-1 is the inverse of R. Therefore, a symmetric relation R is the same relation as its inverse R-1. This fact is summarized in symbols as follows:
R is symmetric if and only if R = R-1.

EXERCISE

Let x and y stand for hats. Give the inverse of each of the following relations, and say whether the relation is symmetric or not.
  1. x is larger than y
  2. x is the same size as y
  3. The size of x is different from the size of y

27. Relations which are Not Symmetric

A relation R between the elements in a set is not symmetric when it is not true that: For all x and y, x R y implies y R x. In other words, R is not symmetric when there exist elements x and y such that: x R y and y not-R x.

Example. Let x and y stand for horses. Let x R y mean x runs faster than y. Then y R x means y runs faster than x. There exist horses x and y such that x R y is true. For these horses y R x is not true, and it follows that R is not symmetric.

The general law is summarized as follows:

R is not symmetric if and only if Ex: Ey: x R y and y not-R x.

EXERCISE

Let x and y stand for periods of time in the day (such as 6 a.m. to 6 p.m., or 12 noon to 12 midnight). Let x R y mean The period x is all within the period y. Give two periods of time x and y such that x R y is true and y not-R x is true. Say, if possible, whether this shows that R is symmetric or not symmetric.


28. Symmetric Relations and Negation

A relation R between the elements in a set is symmetric when x R y always implies y R x. By the contrapositive law, the statement x R y always implies y R x has the same meaning as y not-R x always implies x not-R y. We may now interchange x and y and obtain the statement x not-R y always implies y not-R x. This shows, by the definition of a symmetric relation, that not-R is symmetric. If we begin by assuming that not-R is symmetric, we find that not-(not-R) is symmetric; in other words, R is symmetric.

Example. Let x and y stand for mountains, and let x R y mean The tops of x and y are both covered with snow. The relation R is symmetric. Then x not-R y means It is not true that the tops of x and y are both covered with snow; in other words, The top of x is not covered with snow or the top of y is not covered with snow. This has the same meaning as: The top of y is not covered with snow or the top of x is not covered with snow, which is expressed in symbols as follows: y not-R x. Therefore, x not-R y implies y not-R x. This shows that not-R is symmetric.

The general law is summarized in symbols as follows:

R is symmetric if and only if not-R is symmetric.

EXERCISE

Let x and y stand for motor-cars; and let x R y mean x and y have the same colour.

Give the meaning of x not-R y.

Are the relations R and not-R symmetric, or not symmetric?


29. Antisymmetric Relations

A relation R between the elements in a set is called antisymmetric when x R y always implies y not-R x. In other words, x R y and y R x cannot both be true when R is antisymmetric.

Example. Let x and y stand for horses; and let x R y mean x runs faster than y. If x runs faster than y, then it is not true that y runs faster than x; in other words, y does not run faster than x. This conclusion is represented by: y not-R x. Therefore, R is antisymmetric.

An antisymmetric relation is defined in symbols as follows:

R is antisymmetric when Ax: Ay: x R y implies y not-R x.

30. Relations which are Not Antisymmetric

A relation R is not antisymmetric when it is not true that: For all x and y, x R y implies y not-R x. In other words, R is not antisymmetric when there exist elements x and y such that x R y and y R x.

Example. Let x and y stand for telescopes; and let x R y mean x is not less powerful than y. For telescopes that have the same power as each other, x R y (which means x is not less powerful than y) and y R x (which means y is not less powerful than x) are both true. Therefore, R is not antisymmetric.

The general law is summarized as follows:

R is not antisymmetric if and only if Ex: Ey: x R y and y R x.

EXERCISE

Let x and y be shirts for sale in a shop. Say whether each of the following relations is antisymmetric, or not antisymmetric.
  1. x is cheaper than y
  2. x is not cheaper than y
  3. The price of x is the same as the price of y

31. Antisymmetric and Irreflexive Relations

Suppose the relation R between the elements in a set is antisymmetric; then, for all x and y, x R y implies y not-R x. Now we may let y = x; then x R x implies x not-R x. This implication is equivalent to the statement: x not-R x or x not-R x; in other words simply: x not-R x. It follows, by definition, that R is irreflexive.

Example. Let x and y stand for horses. Let x R y mean x runs faster than y; and suppose that y = x. Then we have x R x, which means The horse x runs faster than itself. Since this cannot be true, the statement x not-R x must be true; therefore R is irreflexive.

The general law is summarized as follows:

If R is antisymmetric, then R is irreflexive.
The converse of this law is not true: if R is irreflexive we cannot conclude that R is antisymmetric.

Example. Let x and y stand for people, and let x R y mean x and y are cousins. Since nobody is his or her own cousin, the relation R is irreflexive. However, R is not antisymmetric, because the statement x is a cousin of y does not imply y is not a cousin of x.

EXERCISE

Let x and y stand for people. Let x R y mean x is married to y. Say whether R is antisymmetric or irreflexive. Can we use the above law to conclude anything about the relation R?


32. Transitive Relations

A relation R between the elements in a universal set is called transitive when x R y and y R z always imply x R z.

Example. Let the universal set consist of motor vehicles. Let x R y mean x has the same number of wheels as y. Then y R z means y has the same number of wheels as z, and it follows that x has the same number of wheels as z. Therefore, R is transitive.

We define a transitive relation in symbols as follows:

R is transitive when Ax: Ay: Az: (x R y and y R z) implies x R z.

EXERCISE

State whether the following relations are transitive or not.
  1. Let the universal set consist of people. Let x R y mean x and y have the same parents.
  2. Let the universal set consist of people. Let x R y mean x and y have different parents.
  3. Let the universal set consist of mountains. Let x R y mean x is higher than y.
  4. Let the universal set consist of mountains. Let x R y mean x is not higher than y.

33. Intransitive Relations

A relation R between the elements in a universal set is called intransitive when x R y and y R z always imply x not-R z.

Example. Let the universal set consist of men. Let x R y mean x is the son of y. Then y R z means y is the son of z. It follows that x is the grandson (not the son) of z, which implies x not-R z. Therefore, R is intransitive.

We define an intransitive relation in symbols as follows:

R is intransitive when Ax: Ay: Az: (x R y and y R z) implies x not-R z.

EXERCISE

State whether the following relations are intransitive or not.
  1. Let the universal set consist of people. Let x R y mean The sexes of x and y are opposite.
  2. Let the universal set consist of companies. Let x R y mean x does business with y.
  3. Let the universal set consist of the months in the year. Let x R y mean x is the next month after y.

34. Properties of Inverses

Let R be a relation between the elements of a universal set. The inverse relation R-1 as the same as the original relation R, except that the related elements are written in the opposite order. In other words, x R y is the same as y R-1 x. Therefore, any property of R is also a property of R-1.

A list of important properties is as follows:

R-1 is reflexive if and only if R is reflexive.
R-1 is irreflexive if and only if R is irreflexive.
R-1 is symmetric if and only if R is symmetric.
R-1 is antisymmetric if and only if R is antisymmetric.
R-1 is transitive if and only if R is transitive.
R-1 is intransitive if and only if R is intransitive.

35. Equivalence Relations

A relation between the elements of a universal set that indicates whether or not the elements are alike in some way is called an equivalence relation. The elements related in this way are said to be equivalent.

The logical definition of an equivalence relation is as follows:

A relation is called an equivalence relation when it is:
(1) reflexive,
(2) symmetric,
(3) transitive.
Example. Let the universal set consist of motor vehicles; and let x R y mean x has the same number of wheels as y. Then motorcycles are equivalent because they all have two wheels; private motor-cars are equivalent because they all have four wheels; etc.

In this example the relation R has all the properties of an equivalence relation: (1) Since every vehicle has the same number of wheels as itself, R is reflexive. (2) Since the statement x has the same number of wheels as y always implies y has the same number of wheels as x, R is symmetric. (3) If x and y have the same number of wheels, and if y and z have the same number of wheels, then x and z have the same number of wheels; therefore, R is transitive.

EXERCISE

Let the universal set consist of buildings. Say whether or not each of the following relations is (1) reflexive, (2) symmetric, and (3) transitive. Say whether or not each relation is an equivalence relation.
  1. x has the same number of floors as y
  2. The number of floors in x is different from the number of floors in y
  3. The number of floors in x is not less than the number of floors in y

36. Equivalence Classes

When there is an equivalence relation between the elements of a universal set we may arrange the elements in sets so that any two elements in the same set are equivalent, but two elements in different sets are not equivalent. These sets are called equivalence classes.

Equivalence classes are subsets of the universal set with the following properties:

(1) The intersection of two different equivalence classes is empty.

(2) The union of all the equivalence classes is the universal set.

The reason for property (1) is as follows: Suppose A and B are different equivalence classes made from an equivalence relation R. Let x be any element in A, and let y be any element in B; then we have x not-R y. Now it is impossible for any element z to be in the intersection A . B, because then we would have x R z and z R y; this would imply x R y, which contradicts the relation x not-R y.

The reason for property (2) is that every element in the universal set is used to form the collection of equivalence classes; no element is left out.

Example. The universal set of motor vehicles may be divided into equivalence classes consisting of vehicles with the same number of wheels. All motorcycles belong to the equivalence class of vehicles with two wheels; motor-tricycles belong to the equivalence class of vehicles with three wheels; private cars and small vans belong to the class of vehicles with four wheels; trucks belong to the class with six wheels, or to the class with ten wheels, etc.

EXERCISE

The following is a set of ten cities: {Bangkok, Cairo, Cape Town, Delhi, Hong Kong, Mexico City, New York, Rio de Janeiro, Sydney, Tokyo}

Give the equivalence classes into which this set is divided by the following equivalence relation: x and y are on the same side (east or west) of the Greenwich meridian and are also on the same side (north or south) of the equator. Note: the Greenwich meridian passes through London.


37. Simple Order Relations

A relation that may be used to arrange all the elements of a universal set in a single list, or in a single line, is called a simple order relation.

The logical definition of a simple order relation is as follows:

A relation R is called a simple order relation when:
(1) Ax: Ay: x not= y implies x R y or y R x;
(2) R is antisymmetric;
(3) R is transitive.
Example. Let the universal set consist of words; and let x R y mean x is before y in alphabetical order. (1) In every pair of different words one of the words is before the other in alphabetical order. (2) R is antisymmetric: for example, the word light is before the word like, and this implies that like is not before light. (3) R is transitive: for example, the word easy is before eat, and eat is before edge; this implies that easy is before edge.

EXERCISE

Let the universal set consist of guests in a hotel on a particular day. State which of the following relations are simple order relations.
  1. x's room is on a higher floor than y's room.
  2. x's room number is less than y's room number.
  3. x checked into the hotel before y.

Backward links: Statements I   Statements II   Quantifiers I   Quantifiers II   Sets I   Sets II   Relations I

By R. H. B. Exell, 1998. King Mongkut's University of Technology Thonburi.
Back to Home Page