Square root of of real matrices [duplicate]

For any real matrix $$A$$, write down a sufficient condition for a real matrix $$E$$ to exist such that $$E^2 = A$$, and prove that this condition is sufficient.

• What is E2? Is E the identity matrix?
– Mike
Jan 15 '20 at 19:40
• You need to find sufficients conditions for a real matrix $E$ so that $E^2 = A$? Jan 15 '20 at 19:43
• I’m not given anything for E either so I’m not really sure what’s going on Jan 15 '20 at 19:46
• When you are given an exercise so badly thought take full advantage of whoever wrote it and answer it to your convenience. They only asked for sufficients conditions. So, you could give a condition as restrictive as you want. For example, $A=0$ is a sufficient condition. If satisfied, there is $E$, the matrix $E=0$, such that $E^2=A$. Jan 15 '20 at 19:52
• @DietrichBurde Note that the OP wants a square root over $\mathbb R$, not $\mathbb C$. Jan 15 '20 at 21:04

On the other hand, examples such as $$\pmatrix{-1 & 0\cr 0 & 1\cr}$$ and $$\pmatrix{0 & 1\cr 0 & 0\cr}$$ that have no real square root show you can't generalize too far.
• Thank you! Would that be my A or would I call that D. I know $C^-1AC$ Jan 15 '20 at 21:06
• If you call the diagonal matrix $D$, under what condition does $D$ have a (real) square root? If $D$ has a square root and $D = C^{-1} A C$, does $A$ have a square root? Jan 15 '20 at 21:42