Let AA be the set of all functions f:Z→Zf: \mathbb{Z} \to \mathbb{Z} and RR be a relation on AA such that R={(f,g):f(0)=g(1) and f(1)=g(0)}R = \{(f,g): f(0)=g(1) \text{ and } f(1)=g(0)\}. Then RR is:

Answer: The relation RR is symmetric but neither reflexive nor transitive.

Step-by-step solution

Step 1: Check for Reflexivity

For a relation to be reflexive, every element must be related to itself. In this case, for any function f∈Af \in A, we need to check if (f,f)∈R(f,f) \in R. This means we must have f(0)=f(1)f(0) = f(1) and f(1)=f(0)f(1) = f(0). This condition is not always true for all functions f:Z→Zf: \mathbb{Z} \to \mathbb{Z}. For example, if f(x)=xf(x) = x, then f(0)=0f(0) = 0 and f(1)=1f(1) = 1, so f(0)≠f(1)f(0) \neq f(1).

Step 2: Check for Symmetry

For a relation to be symmetric, if (f,g)∈R(f,g) \in R, then (g,f)(g,f) must also be in RR. Given (f,g)∈R(f,g) \in R, we have f(0)=g(1)f(0)=g(1) and f(1)=g(0)f(1)=g(0). For (g,f)∈R(g,f) \in R, we need g(0)=f(1)g(0)=f(1) and g(1)=f(0)g(1)=f(0). These are exactly the conditions given, just reordered. Thus, if (f,g)∈R(f,g) \in R, then (g,f)∈R(g,f) \in R.

Step 3: Check for Transitivity

For a relation to be transitive, if (f,g)∈R(f,g) \in R and (g,h)∈R(g,h) \in R, then (f,h)(f,h) must also be in RR. From (f,g)∈R(f,g) \in R, we have f(0)=g(1)f(0)=g(1) and f(1)=g(0)f(1)=g(0). From (g,h)∈R(g,h) \in R, we have g(0)=h(1)g(0)=h(1) and g(1)=h(0)g(1)=h(0). Substituting g(1)g(1) from the first condition into the second, we get f(0)=h(0)f(0)=h(0). Substituting g(0)g(0) from the first condition into the second, we get f(1)=h(1)f(1)=h(1). For (f,h)∈R(f,h) \in R, we need f(0)=h(1)f(0)=h(1) and f(1)=h(0)f(1)=h(0). Since we found f(0)=h(0)f(0)=h(0) and f(1)=h(1)f(1)=h(1), the transitivity condition f(0)=h(1)f(0)=h(1) and f(1)=h(0)f(1)=h(0) is not necessarily satisfied. For example, let f(x)=0f(x)=0, g(x)=0g(x)=0, h(x)=1h(x)=1. Then f(0)=0,f(1)=0f(0)=0, f(1)=0. g(0)=0,g(1)=0g(0)=0, g(1)=0. h(0)=1,h(1)=1h(0)=1, h(1)=1. (f,g)∈R(f,g) \in R since f(0)=g(1)=0f(0)=g(1)=0 and f(1)=g(0)=0f(1)=g(0)=0. (g,h)∈R(g,h) \in R since g(0)=h(1)=1g(0)=h(1)=1 (this is false, 0≠10 \neq 1). Let's choose functions carefully. Let f(x)=xf(x) = x, g(x)=1−xg(x) = 1-x, h(x)=xh(x) = x. Then f(0)=0,f(1)=1f(0)=0, f(1)=1. g(0)=1,g(1)=0g(0)=1, g(1)=0. h(0)=0,h(1)=1h(0)=0, h(1)=1. (f,g)∈R(f,g) \in R because f(0)=0=g(1)f(0)=0=g(1) and f(1)=1=g(0)f(1)=1=g(0). (g,h)∈R(g,h) \in R because g(0)=1=h(1)g(0)=1=h(1) and g(1)=0=h(0)g(1)=0=h(0). Now check (f,h)∈R(f,h) \in R. This requires f(0)=h(1)f(0)=h(1) and f(1)=h(0)f(1)=h(0). We have f(0)=0f(0)=0 and h(1)=1h(1)=1, so f(0)≠h(1)f(0) \neq h(1). Thus, the relation is not transitive.

More from this chapter

All Relations and Functions solutions →

Solve your own maths question free →