Question

In: Computer Science

Is the relation R consisting of all ordered pairs (a, b) such that a and b...

Is the relation R consisting of all ordered pairs (a, b) such that a and b are people and have one common parent: reflexive, irreflexive, symmetric, antisymmetric, asymmetric, and/or transitive? If a property doesn’t hold give a counter-example and state the logical definitions of the properties as you consider them.

Solutions

Expert Solution

The relation R is defined by (a,b) so that a and b are people and have one common parent. Then,

1. Reflexive:

Logical Definition: Reflexive property states that for every a in set A (a,a) belongs to R.

So, the condition for relation is a and b must belong to common parent.

Thus, for every (a,a) belongs to R because a and a has common parent.

and similarly, every (b,b) belongs to R.

So, the relation is reflexive.

2. Ir-reflexive:

LOGICAL DEFINITION:The Irreflexive property states that:

For every a in set A, (a,a) not belongs to R.

As per the property, we can say that every a or b belongs to the set. All (a,a) or (b,b) belongs to R as every element is related to itself is true (because two identical elements has same common parent).

because every (a,a) in the set is related.

So, the relation is not Ir-reflexive.

3. Symmetric:

LOGICAL DEFINITION: The property symmetric states that from a set (a,b) belongs to R. If (a,b) belongs to R. Then, (b,a) also belongs to R.

As per the property, the relation is symmetric also because if (a,b) belongs to R. It implies that

(b, a) also belongs to R.

This is because Relation is defined over a and b has common parent.

Hence, the relation is Symmetric.

4. Anti-symmetric:

LOGICAL DEFINITION:A relation is anti-symmetric, if (a,b) belongs to R. It implies that (b,a) not belongs to R unless a=b.

So, as per our relation a and b are related if a and b has common parent.

Then, for every (a,b) belongs to R (because a and b has common parent).

It means that (b,a) also belongs to R.

This contradicts our property.

So, the relation is not Anti-symmetric in nature.

EXAMPLE FOR CONTRADICTION:

If (a,b) belongs to R. Then, a and b has common parent.

Then, (b,a) also belongs to R, for every a and b.

So, our relation is not anti-symmetric.

5. Assymmetric:

LOGICAL DEFINITION:The property of Assymetric property states that: If a and b belongs to a set A. Then, for every (a,b) belongs to R implies that (b,a) not belongs to R. (The difference with anti symmetric and asymmetric is that in asymmetric the condition a=b is not excluded. The condition a=b is also included).

For our relation,

if (a,b) belongs to R. Then, a and b has common parent.

Then, (b,a) also belongs to R because b and a also has common parent.

It contradicts our statement.

So, the relation is not Assymetric.

EXAMPLE FOR CONTRADICTION:

(a,b) belongs to R. Then, a and b has common parent.

It implies that for every (a,b), there will be (b,a) because b and a has common parent.

This contradicts our Assymetric property.

6. Transitive:

LOGICAL DEFINITION:The transitivity property states that if (a,b) belongs to R and (b,c) belongs to R. Then, (a,c) also belongs to R.

As per our relation, if (a,b) belongs to R. It means that a and b has common parent.

and (b,c) belongs to R means that b and c has common parent.

Altogether a, b and c has common parent.

Hence, we can conclude that a and c also has common parent.

It means that (a,c) belongs to R.

Thus, the relation is Transitive.


Related Solutions

6. Let R be a relation on Z x Z such that for all ordered pairs...
6. Let R be a relation on Z x Z such that for all ordered pairs (a, b),(c, d) ∈ Z x Z, (a, b) R (c, d) ⇔ a ≤ c and b|d . Prove that R is a partial order relation.
2. Define a relation R on pairs of real numbers as follows: (a, b)R(c, d) iff...
2. Define a relation R on pairs of real numbers as follows: (a, b)R(c, d) iff either a < c or both a = c and b ≤ d. Is R a partial order? Why or why not? If R is a partial order, draw a diagram of some of its elements. 3. Define a relation R on integers as follows: mRn iff m + n is even. Is R a partial order? Why or why not? If R is...
On the set S of all real numbers, define a relation R = {(a, b):a ≤ b}. Show that R is transitive.
On the set S of all real numbers, define a relation R = {(a, b):a ≤ b}. Show that R is transitive.
Let R be the relation on Z+× Z+ such that (a, b) R (c, d) if...
Let R be the relation on Z+× Z+ such that (a, b) R (c, d) if and only if ad=bc. (a) Show that R is an equivalence relation. (b) What is the equivalence class of (1,2)? List out at least five elements of the equivalence class. (c) Give an interpretation of the equivalence classes for R. [Here, an interpretation is a description of the equivalence classes that is more meaningful than a mere repetition of the definition of R. Hint:...
Show that the relation 'a R b if and only if a−b is an even integer defined on the Z of integers is an equivalence relation.
Show that the relation 'a R b if and only if a−b is an even integer defined on the Z of integers is an equivalence relation.
Let S be the set of all ordered pairs of real numbers. Define scalar multiplication and...
Let S be the set of all ordered pairs of real numbers. Define scalar multiplication and addition on S by: α(x1,x2)=(αx1,αx2) (x1,x2)⊕(y1,y2)=(x1 +y1,0) We use the symbol⊕to denote the addition operation for this system in order to avoid confusion with the usual addition x+y of row vectors. Show that S, together with the ordinary scalar multiplication and the addition operation⊕, is not a vector space. Test ALL of the eight axioms and report which axioms fail to hold.
Let V be the set of all ordered pairs of real numbers. Consider the following addition...
Let V be the set of all ordered pairs of real numbers. Consider the following addition and scalar multiplication operations V. Let u = (u1, u2) and v = (v1, v2). Show that V is not a vector space. • u ⊕ v = (u1 + v1 + 1, u2 + v2 + 1 ) • ku = (ku1 + k − 1, ku2 + k − 1) 1)Show that the zero vector is 0 = (−1, −1). 2)Find the...
S = Z (integers), R = {(a,b) : a = b mod 5}. Is this relation...
S = Z (integers), R = {(a,b) : a = b mod 5}. Is this relation an equivalence relation on S? S = Z (integers), R = {(a,b) : a = b mod 3}. Is this relation an equivalence relation on S? If so, what are the equivalence classes?
Assume A = R and the relation R ⊆ A × A such that for x,...
Assume A = R and the relation R ⊆ A × A such that for x, y, ∈ R, xRy if and only if sin2 x + cos2 y = 1. Prove that R is an equivalence relation and for any fixed x ∈ R, find the equivalence class x
Suppose we define the relation R on the set of all people by the rule "a...
Suppose we define the relation R on the set of all people by the rule "a R b if and only if a is Facebook friends with b." Is this relation reflexive? Is is symmetric? Is it transitive? Is it an equivalence relation? Briefly but clearly justify your answers.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT