Square root of a diagonalizable matrix $A$ can be otained as $$B=\sqrt{A}=D \Lambda D^{-1} ~~~~(1),$$ where $$\Lambda=\begin{pmatrix} \lambda_1^{1/2} & 0 \\ 0 & \lambda_2^{1/2} \end{pmatrix}.$$ Here, $\lambda_{1,2}$ are the eigenvalues and $D$ is the diagonalizing matrix od $A$. Recently, in a question:
Solving a matrix equation of four unknowns
Square root of $$P=\begin{pmatrix} 4 & 5 \\ 3 & 6 \end{pmatrix},$$ was required such that $P=Q^2$. The eigenvalues of $P$ are $9,1$, the method (1) and also the the command `MatrixPower[P, 1/2]' of Mathematica gives $$Q=\frac{1}{4}\begin{pmatrix} 7 & 5 \\ 3 & 9 \end{pmatrix}.~~~~(2)$$ However a brute force method of construction $Q$ from four unknowns $a,b,c,d$ and solutions of the equations thereby along with the conditions that $Trace (P)=Trace (Q^2)$ and $\det(P)=\det(Q^2)$ yields a matrix $$Q= \frac{1}{2} \begin{pmatrix} 1 & 5 \\ 3 & 3 \end{pmatrix}.~~~~(3)$$ Can one explain why does the method in (1) and the Mathematica igonres (3)? How to resolve this ?