I'm struggling to understand the significance of these matrices based on partial derivatives, when the book I'm reading didn't make sense I found this article: https://en.m.wikiversity.org/wiki/PlanetPhysics/Transformation_Between_Cartesian_Coordinates_and_Polar_Coordinates
Computing the transformations at the end via programming didn't clear things up and when I looked at the equation for theta at the very bottom I found that it is always zero! $-xy/r^2+yx/r^2$
However the book uses the exact same equations... What am I missing? Theta always being zero makes zero sense to me... Even if the x and y in the vector are supposed to be different from the ones in the matrix theta would be zero in lots of weird situations.