On my textbook, I was given the following conditions for when a continuous mapping is a homeomorphism:
"Let(X,τ) and (Y,τ′) be topological spaces and f a function from X into Y. Then f is a homeomorphism if and only if (i)f is continuous, (ii)f is one-to-one and onto; that is, the inverse function f^−1:Y→X exists, and (iii)f^−1 is continuous"
I was wondering whether the third criteria is even needed. If a mapping satisfies the first two, shouldn't the inverse mapping automatically be continuous?