Why does $\frac{\partial x}{\partial r} = \frac{\partial r}{\partial x}$ in this Jacobian matrix converting from Cartesian to polar coordinates

jacobianlinear algebra

My question comes from Strang's Linear Algebra and its Applications 4e, problem 4.4.39 (p. 257):

Strang 257

I don't understand his claim that $\frac{\partial x}{\partial r} = \frac{\partial r}{\partial x}$. It follows from the conversion to polar coordinates that if $r = \frac{x}{\cos\theta}$, then $\frac{\partial r}{\partial x} = \frac{1}{\cos \theta} = \sec \theta$, right?

I can fake my way into the right answer by just inverting the second matrix in problem 37, but I don't think that's the point of the exercise.

Best Answer

When you partially differentiate with respect to $x,y$ is kept constant, not $r,\theta$ since they are both function of $x,y$.

To find $\frac{\partial r}{\partial x}$ you need $r$ as a function of $x,y$, which will make the differentiation easier since $y$ will be held constant.$$r^2=x^2+y^2\implies2r\frac{\partial r}{\partial x}=2x$$giving $\frac{\partial r}{\partial x}=\frac xr=\cos\theta$.

When you partially differentiate with respect to $r,\theta$ is kept constant, not $x,y$ since they are both function of $r,\theta$.

To find $\frac{\partial x}{\partial r}$ you need $x$ as a function of $r,\theta$, which will make the differentiation easier since $\theta$ will be held constant.$$x=r\cos\theta\implies\frac{\partial x}{\partial r}=\cos\theta$$

Related Question