Use the fact that a real symmetric matrix is diagonalizable by a real orthogonal matrix.

Proof.

Since $A$ is a real symmetric matrix, it can be diagonalizable by a real orthogonal matrix $P$.
Thus we have
\[P^{-1}AP=D,\]
where $D$ is the diagonal matrix whose diagonal entries are the eigenvalues of $A$.

The matrix $D$ is real since all the eigenvalues are real.
(Note that this is always true for a real symmetric matrix.)

If we have $B^2=A$ for some $B$, then we have
\[(P^{-1}BP)(P^{-1}BP)=P^{-1}AP=D.\]

From this, we see that we can choose $B=PD’P^{-1}$ where $D’$ is the diagonal matrix whose $i$-th diagonal entry is the square root of $i$-th diagonal entries of $D$.
The matrix $D’$ is real since the eigenvalues are non-negative by the assumption, hence the square roots of them are still real.

Since $P$ is also real, the matrix $B$ is real and satisfies
\[B^2=(PD’P^{-1})(PD’P^{-1})=PD’^2P^{-1}=PDP^{-1}=A.\]

Therefore the matrix $B$ satisfies the conditions of the problem.

Related Question.

This problems is a generalization of a liner algebra exam problem of Princeton University.

Diagonalizable by an Orthogonal Matrix Implies a Symmetric Matrix
Let $A$ be an $n\times n$ matrix with real number entries.
Show that if $A$ is diagonalizable by an orthogonal matrix, then $A$ is a symmetric matrix.
Proof.
Suppose that the matrix $A$ is diagonalizable by an orthogonal matrix $Q$.
The orthogonality of the […]

A Square Root Matrix of a Symmetric Matrix
Answer the following two questions with justification.
(a) Does there exist a $2 \times 2$ matrix $A$ with $A^3=O$ but $A^2 \neq O$? Here $O$ denotes the $2 \times 2$ zero matrix.
(b) Does there exist a $3 \times 3$ real matrix $B$ such that $B^2=A$ […]

Quiz 13 (Part 1) Diagonalize a Matrix
Let
\[A=\begin{bmatrix}
2 & -1 & -1 \\
-1 &2 &-1 \\
-1 & -1 & 2
\end{bmatrix}.\]
Determine whether the matrix $A$ is diagonalizable. If it is diagonalizable, then diagonalize $A$.
That is, find a nonsingular matrix $S$ and a diagonal matrix $D$ such that […]

Diagonalizable Matrix with Eigenvalue 1, -1
Suppose that $A$ is a diagonalizable $n\times n$ matrix and has only $1$ and $-1$ as eigenvalues.
Show that $A^2=I_n$, where $I_n$ is the $n\times n$ identity matrix.
(Stanford University Linear Algebra Exam)
See below for a generalized problem.
Hint.
Diagonalize the […]

Square Root of an Upper Triangular Matrix. How Many Square Roots Exist?
Find a square root of the matrix
\[A=\begin{bmatrix}
1 & 3 & -3 \\
0 &4 &5 \\
0 & 0 & 9
\end{bmatrix}.\]
How many square roots does this matrix have?
(University of California, Berkeley Qualifying Exam)
Proof.
We will find all matrices $B$ such that […]

Symmetric Matrices and the Product of Two Matrices
Let $A$ and $B$ be $n \times n$ real symmetric matrices. Prove the followings.
(a) The product $AB$ is symmetric if and only if $AB=BA$.
(b) If the product $AB$ is a diagonal matrix, then $AB=BA$.
Hint.
A matrix $A$ is called symmetric if $A=A^{\trans}$.
In […]

Two Matrices with the Same Characteristic Polynomial. Diagonalize if Possible.
Let
\[A=\begin{bmatrix}
1 & 3 & 3 \\
-3 &-5 &-3 \\
3 & 3 & 1
\end{bmatrix} \text{ and } B=\begin{bmatrix}
2 & 4 & 3 \\
-4 &-6 &-3 \\
3 & 3 & 1
\end{bmatrix}.\]
For this problem, you may use the fact that both matrices have the same characteristic […]

## 1 Response

[…] problem A square root matrix of a symmetric matrix with non-negative eigenvalues for a more general question than part […]