Here is the problem. Suppose I have a positive definite matrix-valued function $A\colon \mathbb{R}^n\to \mathbb{R}^{n\times n}$. Then we know that there is a matrix-valued function $B\colon \mathbb{R}^n\to \mathbb{R}^{n\times n}$ such that $A=B^TB$, where $B^T$ is the transpose of $B$. I wonder if $A\in C^k$, what is the best possible regularity of the matrix $B$? More precisely, if $A\in C^0$ or $A\in L^\infty$, is it true that $B\in L^\infty$ as well?
If one tries to diagonalized by smooth similarity transformations, then it might not work; see