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 s∼t if s and t are in the same Sα is an equivalence relation on S.

Proof.
  1. (a) To show: (aa) If s∈S then s is in some equivalence class.
  2. (a) To show: (ab) If [s]∩[t] ≠∅ then [s]=[t].
  3. (a) (aa) Let s∈S.
  4. (a) (aa) Since s∼s, 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 s∼r and r∼t.
  9. (a) (ab) By transitivity, s∼t.
  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 u∼s.
  14. (a) (ab) (aba) We know s∼t.
  15. (a) (ab) (aba) So, by transitivity, u∼t.
  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 v∼t.
  20. (a) (ab) (abb) We know t∼s.
  21. (a) (ab) (abb) So, by transitivity, v∼s.
  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 s∈S then s∼s.
  28. (b) To show: (bb) If s∼t then t∼s.
  29. (b) To show: (bc) If s∼t and t∼u then s∼u.
  30. (b) (ba) Since s and s are in the same Sα, s∼s.
  31. (b) (bb) Assume s∼t.
  32. (b) (bb) Then s and t are in the same Sα.
  33. (b) So t∼s.
  34. (b) (bc) Assume s∼t and t∼u.
  35. (b) (bc) Then s and t are in the same Sα and t and u are in the same Sα.
  36. (b) So s∼u.
  37. So ∼ is an equivalence relation.
□

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

Proof.
  1. ⇒ Assume f:S→T has an inverse function f-1:T→S.
  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 t∈T.
  9. ⇒ (b) To show: There exists s∈S 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:S→T is bijective.
  16. ⇐ To show: f has an inverse function.
  17. ⇐ We need to define a function φ:T→S.
  18. ⇐ Let t∈T.
  19. ⇒ Since f is surjective there exists s∈S 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 t∈T then φ(t)∈S.
  24. ⇐ (a) To show: (ab) If t1,t2∈T and t1=t2 then φ(t1) =φ(t2) .
  25. ⇐ (a) (aa) This follows from the definition of φ.
  26. ⇐ (a) (ab) Assume t1,t2∈T 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 s∈S then φ (f(s))=s.
  33. ⇐ (b) To show: (bb) If t∈T then f( φ(t))=t.
  34. ⇐ (b) (ba) This follows from the definition of φ.
  35. ⇐ (b) (bb) Assume t∈T.
  36. ⇐ (b) (bb) Let s∈S 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