I was given this question on my midterm. Currently I am studying for finals and am still unsure how to properly solve this question.
Let X and Y be two sets and f be a map from X to Y be a bijection. Prove that, when we consider X and Y with their respective T1-topologies (cofinite topology), this map is a homeomorphism.
I know that I must show that f is continuous in order to show X and Y are homeomorphic. On the midterm I tried showing that open sets in Y have preimage that are open in X and closed sets in Y have preimage that are closed in X. However I'm unsure how to approach the sets in X,Y that are neither open nor closed.
So my question is, would it be easier to show continuity by first showing local continuity at every point in X and using that to prove the continuity of f? Or is this the wrong way to approach this problem?