This function is continuous because it is a polynomial function, but it is not open. To see this, consider the open set $(-1,1)$ in $\mathbf{R}$. The image of this set under $f$ is $[0,1)$, which is not open in $\mathbf{R}$.
To provide an example of a function
Show more…