I know that the one-point compactification of $X,$ a topological space, is $Y=X\cup\{\infty\}$ and $\text{Top}_Y=\text{Top}_X\cup\{Y\setminus K: K $ compact in $ X \}.$ Question, is $Y$ compact?
My try, write $Y=(Y\setminus K)\cup K$ for $K$ compact in $X$. First component is open by definition, $K$ is compact so we can cover it by a finite number of open sets in $X,$ so open sets in $Y.$ Thus we cover $Y$ by a finite number of open sets.
Is this correct?