Suppose a function f : A → B is given. Define a relation ∼ on A as follows: a1 ∼ a2 ⇔ f(a1) = f(a2).
a) Prove that ∼ is an equivalence relation on A.
I know that I have to prove for the reflexive, symmetric, and transitive properties, but how do I do that?