18.7: Exercises
( \newcommand{\kernel}{\mathrm{null}\,}\)
Exercise 18.7.1
Let ≡ represent the relation on R×R where (x1,y1)≡(x2,y2) means y1−x21=y2−x22.
- Verify that ≡ is an equivalence relation.
- Describe the equivalence classes [(0,0)], [(0,1)], and [(1,0)] geometrically as sets of points in the plane.
Exercise 18.7.2
Given a connected (undirected) graph G, we can define a relation on the set V of vertices in G as follows: let v1Rv2 mean that there exists a trail within G beginning at vertex v1 and ending at vertex v2 that traverses an even number of edges.
- Prove that R is an equivalence relation on V.
- Determine the equivalence classes for this relation when G is the graph below.

Equivalence relations and classes.
In each of Exercises 3–12, you are given a set A and a relation R on A. Determine whether R is an equivalence relation, and, if it is, describe its equivalence classes. Try to be more descriptive than just “[a] is the set of all elements that are equivalent to a.”
Exercise 18.7.3
A={a,b,c}; R={(a,a),(b,b),(c,c),(a,b),(b,a)}.
Exercise 18.7.4
A={−1,0,1}; R={(x,y)|x2=y2}.
Exercise 18.7.5
A is the power set of some set; R is the subset relation.
Exercise 18.7.6
A=R; x1Rx2 means f(x1)=f(x2), where f:R→R is the function f(x)=x2.
Exercise 18.7.7
A is some abstract set; a1Ra2 means f(a1)=f(a2), where f:A→B is an arbitrary function with domain A.
Exercise 18.7.8
A is the set of all “formal” expressions a/b, where a,b are integers and b is nonzero; (a/b)R(c/d) means ad=bc.
Note: Do not think of a/b as a fraction in the usual way; instead think of it as a collection of symbols consisting of two integers in a specific order with a forward slash between them.
Exercise 18.7.9
A is the power set of some finite set; XRY means |X|=|Y|.
Exercise 18.7.10
A is the set of all straight lines in the plane; L1RL2 means L1 is parallel to L2.
Exercise 18.7.11
A is the set of all straight lines in the plane; L1RL2 means L1 is perpendicular to L2.
Exercise 18.7.12
A=R×R; (x1,y1)R(x2,y2) means x21+y21=x22+y22.
- Hint.
-
Does the expression x2+y2 remind you of anything from geometry?