TITLE: Writing real invertible matrices as exponential of real matrices
QUESTION [5 upvotes]: Every invertible square matrix with complex entries can be written as the exponential of a complex matrix. I wish to ask if it is true that 

Every invertible real matrix with positive determinant can be written as the exponential of a real matrix. (We need +ve determinant condition because if $A=e^X$ then $\det A=e^{\operatorname{tr}(X)} > 0$.) If not is there a simple characterization of such real matrices (with +ve determinant) which are exponentials of other matrices ?

REPLY [4 votes]: Another characterization is as follows: $A$ is the exponential of a real matrix iff $A$ is the square of a real invertible matrix. In particular, remark that if $A=e^X$, then $A=(e^{X/2})^2$.
Concerning the Lee's post, if $A$ is in a neighborhood of $I$, then $A=I+B$ with $||B||<1$ and we can take $X=B-B^2/2+B^3/3+\cdots$.
EDIT: An outline of the proof. Let $A=B^2$ where $B$ is invertible real; we may assume that $B$ is in Jordan form. For each Jordan block $B_k=\lambda I_k+J_k$ of $B$ s.t.  $\lambda<0$, change $B_k$ with $-B_k$. Finally you obtain a matrix $C$ s.t. $C^2=A$. It is not difficult to show that such a matrix $C$ which has no $<0$ eigenvalues is the exp of a real matrix.