I was studying about partial derivatives and I got confused by this problem. I'm asked to prove that $$(\frac{\partial \omega}{\partial \theta})^2+ \frac{1}{r^2}(\frac{\partial \omega}{\partial r})^2=(\frac{\partial f}{\partial x})^2+(\frac{\partial f}{\partial y})^2$$ when I'm given that $\omega=f(x,y)$, $x=rcos\theta $ and $y=rsin\theta$.
I know how to find $\frac{\partial \omega}{\partial \theta}$ and $\frac{\partial \omega}{\partial r}$ but I don't know how to find out $\frac{\partial f}{\partial x}$ and $\frac{\partial f}{\partial y}$. Some help is greatly appreciated.