2. (5pt) Consider the following binary relations. In each case prove the relation in question is...
2. A binary string is a finite sequence u-діаг . . . an, where each ai is either 0 or 1. In this case n is the length of the string v. The strings ai, aia2,... ,ai... an-1,ai... an are all prefixes of v. On the set X of all binary strings consider the relations Ri and R2 defined as follows: Ri-(w, v) w and v have the same length ) R2 = {(u, v) I w is a prefix...
2. A binary string is a finite sequence v = a1a2 . . . an, where each ai is either 0 or 1. In this case n is the length of the string v. The strings a1, a1a2, . . . , a1 . . . an−1, a1 . . . an are all prefixes of v. On the set X of all binary strings consider the relations R1 and R2 defined as follows: R1 = {(w, v) | w...
2. A binary string s a finite sequence u = ala2 . . . an, where each ai įs either 0 or 1. In this case n is the length of the string v. The strings ai,aia2,...,ai...an-1,aan are all prefixes of v. On the set X of all binary strings consider the relations Ri and R2 defined as follows R, = {(u, u) | w and u have the same length } {(w, u) | w is a prefix of...
Prove that the following relation R is an equivalence relation on the set of ordered pairs of real numbers. Describe the equivalence classes of R. (x, y)R(w, z) y-x2 = z-w2
1. Define a relation on Z by aRb provided a -b a. Prove that this relation is an equivalence relation. b. Describe the equivalence classes. 2. Define a relation on Z by akb provided ab is even. Use counterexamples to show that the reflexive and transitive properties are not satisfied 3. Explain why the relation R on the set S-23,4 defined by R - 11.1),(22),3,3),4.4),2,3),(32),(2.4),(4,2)) is not an equivalence relation.
(1) Suppose R and S are reflexive relations on a set A. Prove or disprove each of these statements. (a) RUS is reflexive. (b) Rn S is reflexive. (c) R\S is reflexive. (2) Define the equivalence relation on the set Z where a ~b if and only if a? = 62. (a) List the element(s) of 7. (b) List the element(s) of -1. (c) Describe the set of all equivalence classes.
2. Consider the set A = {1, 2, 3, ... , 12} and the relations Em on A where x =m y means m divides x – y. (These are equivalence relations on A for the same reason as the similarly-defined relations on all of Z.) For each x E A, find the equivalence classes [x]=ş and [x]=4. Which =3 -equivalence classes are the same? Which 34 -equivalence classes are the same?
probelms 9.1 9 Modular arithmetic Definition 9.1 Let S be a set. A relation R = R(,y) on S is a statement about pairs (x,y) of elements of S. For r,y ES, I is related to y notation: Ry) if R(x,y) is true. A relation Ris: Reflexive if for any I ES, R. Symmetric if for any ry ES, Ry implies y Rr. Transitive if for any r.y.ES, Ry and yRimply R. An equivalence relation is a reflexive, symmetric and...
56. Let S = N × N and let ρ be a binary relation on şdefined by (x,y)ρ(z, w)艹x + y-z + w. Show that p is an equivalence relation on S and describe the resulting equivalence classes.
Given the following binary relations: The relation Rl on {w, 1, y, z), where R1 = {(w, w), (w, 1), (x, w), (x, 1 ), (x, z), (y, y), (z,y),(2, 2)). The relation R2 on (a, b, c), where R2 = {(a, a ), (b, b), (c, c), (a, b), (a, c), (c, b)}. The relation R3 on {x,y,z}, where R3 = {(1, 2), (9,2), (2, y)}. Determine whether these relations are: (1) reflexive, (2) symmetric, (3) antisymmetric, (4) transitive?