Provide an example of continuous real valued functions, so a map $f : \mathbb{R} \to \mathbb{R}$, that is open but not closed. Make sure to justify why your example subsets satisfy the desired criteria
Given that: A map $f : X \to Y$ is called open if for every open set $U$ in $X$, the set $f(U)$ is open in $Y$ and $f$ is called closed if it maps closed sets in $X$ to closed sets in $Y$.
I am not sure if there has to be one function, or a set of functions being open and not closed
I need a start on this. Please help