Question #202040

Q2:

Let R be the parent relation on the set of all people (see Example 21 in section 9.1

of the book). When is an ordered pair in the relation R^3?

SUGGESTED TEXT:


·     Keneth H. Rosen. Discrete Mathematics and its Applications. 7th edition.


1
Expert's answer
2021-06-02T18:06:46-0400

Solution:

Given from this example: Let R be the relation on the set of all people such that (a, b) ∈ R if person a is a parent of person b. Then (a, c) ∈ R ◦R if and only if there is a person b such that (a, b) ∈ R and (b, c) ∈ R, that is, if and only if there is a person b such that a is a parent of b and b is a parent of c. In other words, (a, c) ∈ R ◦R if and only if a is a grandparent of c.

Now, R3=R2R=(RR)RR^3=R^2\cdot R=(R\cdot R)\cdot R

Say, (a,c)RR(a,c)\in R\cdot R , then a is grandparent of c.

Now, (a,d)(RR)R(a,d)\in (R\cdot R)\cdot R , then a is great grandparent of d.

So, (a,d)R3(a,d)\in R^3 if and only if a is a great grandparent of d.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS