Question:
Consider $GL^+(n) \supset SL(n) \supset SO(n)$ the groups of matrices $n \times n$ with positive determinant, determinant $1$ and orthogonal with positive determinant, respectively. Show that these three spaces have the same homotopy type.
Attempt: Two spaces are said to have the same homotopy type when for a continuous map $f : X \to Y$ there exists a continuous $g : Y \to X$ such that $f \circ g \simeq id_Y$ and $g \circ f \simeq id_X$.
(Main idea): Now if we show that $GL^+(n)$ is homeomorphic to $\mathbb R^+ \times SL(n)$ and $P \times SO(n)$, where $P$ is the set of all positive definite matrices in $GL^+(n)$, then we are done.
For the second homeomorphism we notice that for any matrix $A \in GL^+(n)$ if we take the positive definite matrix $A^TA$ then we may find a unique positive definite matrix $B$ such that $B^2 = A^T A$. Then $AB^{-1}$ is orthogonal and we have the (unique) decomposition $A = AB^{-1}\cdot B$. We consider the map $$\begin{align} \psi: P \times SO(n) &\to GL^+(n)\\(X,A) &\mapsto A\exp X\end{align}$$
is a homeomorphism (still have to show that is surjective).
As for the first homeomorphism I still haven't figured out. I thought maybe considering
$$\begin{align} \varphi: \mathbb R^+ \times SL(n) &\to GL^+(n)\\(t,A) &\mapsto \exp tA\end{align}$$
or maybe something like
$$\begin{align} \varphi: Gl^+(n) &\to\mathbb R^+ \times SL(n) \\A &\mapsto (\det A, \,\,\,?\,\,\,)\end{align}$$
Any ideas are welcome.
Note: I am not interested in any different approaches other than the one presented.