To prove it's an equivalence relation, just test the axioms for an equivalence relation. Specifically, you want to prove the following three things:
- Reflexivity: For all (a, b) in U × U, show that (a, b) ~ (a, b).
- Symmetry: For all (a, b) and (a1, b1) in U × U, show that if (a, b) ~ (a1, b1), then (a1, b1) ~ (a, b).
- Transitivity: For all (a, b), (a1, b1), and (a2, b2) in U × U, show that if (a, b) ~ (a1, b1) and (a1, b1) ~ (a2, b2), then (a, b) ~ (a2, b2).
These should all be easy things to prove.
To construct the set (U × U)/~ of equivalence classes, one way of doing it is just to pick any element and find its equivalence class, pick another element and find its equivalence class, and so on.
Another way of looking at it is this: Notice that (a, b) ~ (a
1, b
1) if and only if a + b = a
1 + b
1. Look at the possible values for a + b (they are 2, 3, 4, 5, and 6). Each equivalence class corresponds to one of these, so there are five equivalence classes; the equivalence class corresponding to 3, for example, is the set of all (a, b) in U × U such that a + b = 3; clearly this is the set {(1, 2), (2, 1)}.
When you list the equivalence classes, remember that each element of the set must be in exactly one equivalence class.