If $M$ is a compact manifold, how to prove that the unitary tangent bundle is also compact? I have this idea: if I choose a small open set $U\subset M$ then we can consider $T^1U=U\times S^{n-1},$ where $n=\dim M.$ (This is the hint that my professor provided. I don't know why that's true).
Using this, for any $x\in M,$ we can choose $U_x$ a small open set containing $x,$ so we can write:
\begin{eqnarray*}
T^1M&=&\bigcup_{x\in M} T^1U_x =\bigcup_{x\in M} (U_x\times S^{n-1})=\left(\bigcup_{x\in M} U_x\right)\times S^{n-1}=M\times S^{n-1}.
\end{eqnarray*}
Using this equality, I conclude that $T^1M$ is compact if and only if $M$ is compact. I'm not sure about this result. I also tried to prove it using coverings, but I'm still stuck. Any help?
 A: $T^1M$ is not necessarily trivial. So you cannot say that $T^1M$ is isomorphic to $M\times S^{n-1}$. There exists a comapct subset $V_x\subset U_x$ whose interior $V_x^0$ is open. You can find finitely many $x_1,...,x_n$ such that $M=\cup_{x_i}V_{x_i}^0$. If $p:T^1M\rightarrow M$, $p^{-1}(V_x)\subset p^{-1}(U_x)=U_x\times S^{n-1}$. You deduce that $p^{-1}(V_x)=V_x\times S^{n-1}$. You have $T^1M=\cup^{i=n}_{i=1}p^{-1}(V_{x_i}^0)\subset \cup_{i=1}^{i=n}p^{-1}(V_{x_i})$. Since $p^{-1}(V_{x_i})=V_{x_i}\times S^{n-1}$ is compact, you deduce that $T^1M$ is compact since it is the union of compact subsets.
A: There are a number ways to see why the result holds. One of them is sequentially. Pick a sequence $a_n \in T^1M$. The sequence $x_n:=\pi(a_n)$ has a convergent subsequence (since $M$ is compact) to a given $x \in M$. Picking a neighbourhood $U$ around $x$ such that $\pi^{-1}(U) \simeq U \times S^{n-1}$,  we know that $a_n$ belongs to $\pi^{-1}(U)$ for $n$ sufficiently large, and hence $a_n"="(x_n,p_n)$. Using the fact that $S^{n-1}$ is compact, we can thus extract a subsequence (of our previous subsequence) which converges in both coordinates.
PS: What you wrote is not correct, because $T^1U=U\times S^{n-1}$ is not an equality. You have a homeomorphism, in very much the same sense that a small enough neighbourhood of a point in a manifold is not an open set of $\mathbb{R}^n$, but instead homeomorphic to one.
Case in point, it is not always true that $T^1M \simeq M \times S^{n-1}$ . One quick way to see this is to realize that your argument would apply to any bundle, and thus show that any bundle is trivial, which is well-known to be false (for instance, the tangent bundle of the sphere is a well-known example which follows from the Hairy ball theorem).
