Let $$f:[0,2\pi)\to \mathbb S^1$$ defined as $$f(t)=e^{it}.$$ Then $f$ is continuous and bijective, but the inverse is not continuous because $f^{-1}(\mathbb S^1)=[0,2\pi)$ and $\mathbb S^1$ is compact whereas $[0,2\pi[$ it's not.
Q1) What is the definition of $\mathbb S^1$ ? Is it $\{e^{it}\mid t\in [0,2\pi]\}$ ? Is it $\{(\cos \theta ,\sin\theta )\mid \theta \in [0,2\pi]\}$ ? Or is it the quotient space $[0,1]/_\sim$ where $0\sim 1$ and $x\sim x$ for all $x\in (0,1)$ ?
Q2) So when we say it's compact, it's wrt which topology ? quotient ? metric ? btw what would be a metric on $\mathbb S^1$ ?
Im confused...