We are given $f:X\to Y$ to be a bijective continuous function and my textbook has the following statement:
We shall prove that images of closed sets of $X$ under $f$ are closed in $Y$; this will prove continuity of the map $f^{-1}$.
I think the above statement is incorrect.
$f^{-1}:Y\to X$
The condition that $f^{-1}$ be continuous says that for each open set $U$ of $X$, the inverse image of $U$ under the map $f^{-1}$ is open in $Y$. But the inverse image of $U$ under the map $f^{-1}$ is the same as the image of $U$ under the map $f$. So, for $f^{-1}$ to be continuous, for each open set $U$ of $X$, $f(U)$ is open in $Y$. My textbook says "closed" instead of "open". Who is right?
Recall that a function $f:X\to Y$ (where $X,Y$ are metric spaces) is continuous if and only if $f^{-1}(G)$ is closed in $X$ whenever $G$ is closed in $Y$.
In your case $f^{-1}:Y\to X$ is continuous if and only if $(f^{-1})^{-1}(G)=f(G)$ is closed in $Y$ whenever $G$ is closed in $X$.