Show that a continuous, onto function from a Compact Space is an open map. $X$ is compact and $f$ :$X$ $ \to $ $Y$ is continuous and onto.
Then show that $f$ is an open map.  i.e. Every open set of $X$ is mapped to an open set of $Y$. 
 A: As the question was first stated (without "onto"): Not even close to the truth. Consider $Y$ a non-discrete space, $c\in Y$ a point such that $\{c\}$ is not open, $X$ any topological space and $f:X\to Y$ the constant map $f\equiv c$. Any non-empty open subset of $X$ is mapped to a non-open set.
What if it is onto: Still no. Consider $X=[0,10^4]$, $f(x)=x\sin x$ and $Y=[a,b]=f([0,10^4])$ the image interval. $f(x)$ has a sequence $x_1\le y_1\le x_2\le y_2\le x_3\le y_3\le\ldots$ of local maxima $x_n$ and local minima $y_n$ such that $f(x_n)\nearrow +\infty$ and $f(y_n)\searrow-\infty$. For a fixed $n$ such that - say - $y_{2n}< 10^4$, and a sufficiently small $\delta$, $f((x_n-\delta,y_n+\delta))=[f(y_n),f(x_n)]\subseteq (a,b)$. Therefore, $[f(y_n),f(x_n)]$ is not open.
What if $f$ is onto and closed, and $Y$ Hausdorff? Consider the map $\operatorname{cis}:[-\pi,\pi]\to S^1$, where $\operatorname{cis}(x)=e^{ix}$. Since it is a continuous map from a compact space to a $T_2$ topological space, it is closed. However, $$\operatorname{cis}((0,\pi])=\{z\in S^1\,:\, \Im z\ge0\}\setminus\{1\}$$ 
which is not open.
What if it is bijective but $Y$ is not Hausdorff? (because yeah): The first example can be adapted. Consider a finite topological space $(X,\tau)$ such that, for at least one $c\in X$, $\{c\}$ is not open (for instance, $\#X\ge 2$ and $\tau=\{\emptyset,X\}$). If $\mathcal P(X)$ is the discrete topology on $X$, the map $id:(X,\mathcal P(X))\to (X,\tau)$ is always continuous. Since $X$ is finite, $(X,\mathcal P(X))$ is compact and all subsets are open. However, by hypothesis $id(\{c\})=\{c\}\notin\tau$.
