Let $p:X\to Y$ be continuous surjective closed mapping s.t. $p^{-1}(y)$ is compact $\forall y\in Y$, prove that:
(a) If $X$ is Hausdorff, then $Y$ is Hausdorff
(b) If $Y$ is compact, then $X$ is compact.
I have no idea but a messy mind, could you please give me some hints? Thank you
(a) Note that p being a closed continous surjective mapping implies that it is a quotient map, ie. U is open in Y iff $p^{-1} (U)$ is open in X.
Let y1, y2 be any two disjoint points in Y. Let $y\in p^{-1}(y2)$. Since X is Hausdorff, $p^{-1}(y1)$ being compact implies that there exist open sets $U_y$ and $V_y$ such that
$y\in V_y$, $p^{-1}(y1)\subseteq U_y$ and $V_y\cap U_y = \phi$ $\forall y\in X$
Now, $(V_y)_{y\in Y}$ gives an open cover for $p^{-1}(y2)$, hence $\exists$ z1, z2,..,zn such that $(V_{z_i})^n_{i=1}$ gives an open cover for $p^{-1}(y2)$. Hence, $V = \cup (V_{z_i})^n_{i=1}$ and $U = \cap (U_{z_i})^n_{i=1}$ are disjoint open sets covering $p^{-1}(y2)$ and $p^{-1}(y1)$ respectively.
Now, since U is open in X, $U^c$ is closed in X. p is a closed map, so $p(U^c)$ is closed in Y, and hence $Y\setminus p(U^c)$ is open in Y. Since $y1\in Y\setminus p(U^c)$, $\exists W\subseteq Y\setminus p(U^c)$, W open such that $y1\in W$. Using set inclusions, we obtain $p^{-1}(W)\subseteq U$. Similarly, we get an open set Z in Y such that $y2\in Z$ and $p^{-1}(Z)\subseteq V$.
If $W\cap Z \ne \phi$, then $p^{-1}(W)\cap p^{-1}(Z) \ne \phi$, which would contradict $U\cap V \ne \phi$. Hence we obtain disjoint open sets W and Z such that $y1\in W$ and $y2\in Z$. Thus Y is Hausdorff.
(b) Let $(U_{\alpha})_{\alpha \in A}$ be an open cover of X. Then for every x in $U_{\alpha}$, $\exists$ an open set $W_x$ in Y containing p(x) such that $p^{-1}(W)\subseteq U_{\alpha}$ (as constructed in (a)). Since p is a surjective map, $(W_x)_{x\in X}$ gives an open cover of Y. Since Y is compact, $\exists$ x1, x2, ...,xn such that $(W_{xi})^n_{i=1}$ is an open cover of Y. As $p^{-1}(Y) = X$, therefore $(p^{-1}(W_{xi}))^n_{i=1}$ gives an open cover of X. This is contained in finitely many $\alpha_i$s, which give a finite open cover for X. So every open cover of X has a finite subcover, and we are done.