Let $Q = \{(x,y): x,y\geq 0\} $ be the 1st quadrant of $\mathbb R^2$, and $f$ is a function defined on it such that all the partial derivative(any order) of $f$ exists and continuous. By Whitney extension theorem (1934 Proceedings of AMS) we know there exists a functions $\tilde{f}$ and open set $\tilde{U}$, such that $\tilde{f}$ is defined on $\tilde{U}$ and $\tilde{f}$ is smooth, $Q\subset \tilde{U}$ and $\tilde{f}$ restricted to $Q$ is $f$. Also $\tilde{f}$ is not unique but for each $p\in Q$, $d\tilde{f}_p$ is same. Now define $df_p:= d\tilde{f}_p$
Now for each $p\in Q$ , let $R(p)$ be a constant time rotation matrix at $p$, This mean $R(p)= c(p) \left[ {\begin{array}{cc} \cos \theta(p) & \sin \theta(p),\\ -\sin \theta(p) & \cos \theta(p) \end{array} } \right]$
$R(p)$ is $2\times 2$ matrix (pls someone fix the tex), and $c(p)$ is differentiable function on $Q$ to $\mathbb R$. and we have for each $p\in Q$, $df_p= R(p)$, does there exits any $\tilde{f}$ and $\tilde{U}$ as above such that for each $q\in \tilde{U}$ we have $d\tilde{f}_q= S(q)$. Where $S(q)$ is constant time rotational matrix and $S(p)= R(p)$ for each $p\in Q$.