Sets and functions proofs

Arun Ram
Department of Mathematics and Statistics
University of Melbourne
Parkville, VIC 3010 Australia
aram@unimelb.edu.au

Last update: 15 May 2012

Sets and functions

(a)   Let S be a set and let be an equivalence relation on S. Then the set of equivalence classes of the relation is a partition of S.
(b)   Let S be a set and let {Sα} be a partition of S. Then the relation defined by st if s and t are in the same Sα is an equivalence relation on S.

Proof.
  1. (a) To show: (aa) If sS then s is in some equivalence class.
  2. (a) To show: (ab) If [s][t] then [s]=[t].
  3. (a) (aa) Let sS.
  4. (a) (aa) Since ss, s[s].
  5. (a) (ab) Assume [s][t] .
  6. (a) (ab) To show: [s]=[t].
  7. (a) (ab) Since [s][t] , there is an r[s][t].
  8. (a) (ab) So sr and rt.
  9. (a) (ab) By transitivity, st.
  10. (a) (ab) To show: (aba) [s][t].
  11. (a) (ab) To show: (abb) [t][s].
  12. (a) (ab) (aba) Suppose u[s].
  13. (a) (ab) (aba) Then us.
  14. (a) (ab) (aba) We know st.
  15. (a) (ab) (aba) So, by transitivity, ut.
  16. (a) (ab) (aba) Therefore u[t].
  17. (a) (ab) So [s][t].
  18. (a) (ab) (abb) Suppose v[t].
  19. (a) (ab) (abb) Then vt.
  20. (a) (ab) (abb) We know ts.
  21. (a) (ab) (abb) So, by transitivity, vs.
  22. (a) (ab) (abb) Therefore v[s].
  23. (a) (ab) So [t][s].
  24. (a) (ab) So [s]=[t].
  25. So the equivalence classes partition S.
  26. (b) We must show that is an equivalence relation, i.e. that is reflexive, symmetric, and transitive.
  27. (b) To show: (ba) If sS then ss.
  28. (b) To show: (bb) If st then ts.
  29. (b) To show: (bc) If st and tu then su.
  30. (b) (ba) Since s and s are in the same Sα, ss.
  31. (b) (bb) Assume st.
  32. (b) (bb) Then s and t are in the same Sα.
  33. (b) So ts.
  34. (b) (bc) Assume st and tu.
  35. (b) (bc) Then s and t are in the same Sα and t and u are in the same Sα.
  36. (b) So su.
  37. So is an equivalence relation.

Let f:ST be a function. An inverse function to f exists if and only if f is bijective.

Proof.
  1. Assume f:ST has an inverse function f-1:TS.
  2. To show: (a) f is injective.
  3. To show: (b) f is surjective.
  4. (a) Assume f(s1) =f(s2).
  5. (a) To show: s1=s2.
  6. s1 = f-1 (f(s1)) = f-1 (f(s2)) = s2.
  7. So f is injective.
  8. (b) Let tT.
  9. (b) To show: There exists sS such that f(s)=t.
  10. (b) Let s=f-1(t).
  11. (b) Then
  12. f(s) =f(f-1(t) )=t.
  13. So f is surjective.
  14. So f is bijective.
  15. Assume f:ST is bijective.
  16. To show: f has an inverse function.
  17. We need to define a function φ:TS.
  18. Let tT.
  19. Since f is surjective there exists sS such that f(s)=t.
  20. Define φ(t)=s.
  21. To show: (a) φ is well defined.
  22. To show: (b) φ is an inverse function to f.
  23. (a) To show: (aa) If tT then φ(t)S.
  24. (a) To show: (ab) If t1,t2T and t1=t2 then φ(t1) =φ(t2) .
  25. (a) (aa) This follows from the definition of φ.
  26. (a) (ab) Assume t1,t2T and t1=t2.
  27. (a) (ab) Let s1,s2 S such that f(s1) =t1 and f(s2)=t2.
  28. (a) (ab) Since t1=t2, f(s1) =f(s2).
  29. (a) (ab) Since f is injective this implies that s1= s2.
  30. (a) So φ(t1) =s1=s2 =φ(t2).
  31. So φ is well defined.
  32. (b) To show: (ba) If sS then φ (f(s))=s.
  33. (b) To show: (bb) If tT then f( φ(t))=t.
  34. (b) (ba) This follows from the definition of φ.
  35. (b) (bb) Assume tT.
  36. (b) (bb) Let sS be such that f(s) =t.
  37. (b) (bb) Then
  38. f(φ(t)) =f(s)=t.
  39. (b) So φf and fφ are the identity functions on S and T, respectively.
  40. So φ is an inverse function to f.

References

[Ra] A. Ram, Lecture notes in abstract algebra, University of Wisconsin, 1994 MR?????

page history