I am trying to solve the following problem:
Let $A=[a_{ij}]\in \mathbb{R}^{n\times n}$ is positive semidefinite and have positive diagonal entries. Show that the matrix $B=[b_{ij}]$ is positive semidefinite, where $b_{ij}=\frac{a_{ij}}{(a_{ii}a_{jj})^\frac{1}{2}}$?
At the beginning, I was trying to find the relation between the diagonal entries and eigenvalues of a symmetric to solve it, but I didn't find it. Then I think maybe there is a way to write the matrix $B$ into some form with $A$, but I failed to do it. Can you help me? Thank you!