Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
The answer is No. Here is a counter exemple-example: $$X=\begin{pmatrix} 9 & 3 \\ 3 & 1 \end{pmatrix},\qquad Y=\begin{pmatrix} 1 & 3 \\ 3 & 9 \end{pmatrix}.$$
The answer is No. Here is a counter exemple: $$X=\begin{pmatrix} 9 & 3 \\ 3 & 1 \end{pmatrix},\qquad Y=\begin{pmatrix} 1 & 3 \\ 3 & 9 \end{pmatrix}.$$
The answer is No. Here is a counter-example: $$X=\begin{pmatrix} 9 & 3 \\ 3 & 1 \end{pmatrix},\qquad Y=\begin{pmatrix} 1 & 3 \\ 3 & 9 \end{pmatrix}.$$