Jacobian Matrix for Polar Coordinates

Click For Summary

Discussion Overview

The discussion revolves around the Jacobian Matrix for transformations between Cartesian coordinates (x, y) and polar coordinates (r, θ). Participants explore the computation of the Jacobian, addressing specific derivatives and the relationships between the two coordinate systems.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks clarification on the Jacobian for (r, θ) and questions why the derivatives for r do not align with their expectations based on the equation r = x² + y².
  • Another participant asserts that the Jacobian is a matrix with specific components and provides the correct formulation for the Jacobian of the transformation from (r, θ) to (x, y).
  • There is a repeated emphasis on the correct expression for r as r = √(x² + y²), contrasting with the incorrect form presented in the original question.
  • A later reply suggests an alternative formulation for the inverse Jacobian matrix, indicating a different arrangement of the components.

Areas of Agreement / Disagreement

Participants express disagreement regarding the correct formulation of the Jacobian and the derivatives involved. There is no consensus on the original question's formulation, and multiple views on the Jacobian's structure are presented.

Contextual Notes

Some participants note that the original question may contain a mistake regarding the definition of r, which could affect the understanding of the derivatives. The discussion also highlights the importance of correctly identifying the relationships between the variables in the context of polar coordinates.

adamwitt
Messages
25
Reaction score
0
Hi,

I need some help understanding the solution to a problem.

Equations:

x = r.cos(θ)
y = r.sin(θ)

r = x2 + y2
theta = arctan(y/x)Question:
Determine the Jacobian Matrix for (x,y)T and for (r, θ)T

SOLUTION:

I understand and can compute by myself the Jacobian for (x,y)T, but the solution to for J(r, θ) i don't understand.

J(r,θ) = ( (@r/@x, @r/@y) , (@θ/@x, @θ,@y) )T

Ok so that makes sense...

Then they gave me this...

(@r/@x, @r/@y) =( x / sqrt( x2 + y2 ) , y / sqrt(x2 + y2) )

Why isn't it just 2x and 2y respectively? why does it resemble something similar to a magnitude?

thanks for your help.
 
Physics news on Phys.org
No, a "Jacobian" is not at all what you say. The Jacobian of a transformation is a matrix but what you wrote has only two components. If x= f(r,\theta), y= g(r\theta) then the Jacobian is
\frac{\partial x, y}{\partial r,\theta}= \begin{bmatrix}\frac{\partial x}{\partial r} & \frac{\partial x}{\partial \theta} \\ \frac{\partial y}{\partial r} & \frac{\partial y}{\partial \theta}\end{bmatrix}

In this case, that would be
\begin{bmatrix}cos(\theta) & sin(\theta) \\ r sin(\theta) & r cos(\theta)\end{bmatrix}

The Jacobian the other way would be
\begin{bmatrix}\frac{\partial r}{\partial x} & \frac{\partial \theta}{\partial x} \\ \frac{\partial r}{\partial y} & \frac{\partial \theta}{\partial y}\end{bmatrix}
Here, we have r= (x^2+ y^2)^{1/2} and \theta= tan^{-1}(y/x) so that the Jacobian is
\begin{bmatrix}cos(\theta) & sin(\theta) \\ -\frac{1}{r} sin(\theta) & \frac{1}{r} cos(\theta)\end{bmatrix}
which is, of course, the inverse matrix to the previous matrix.
 
HallsofIvy said:
No, a "Jacobian" is not at all what you say. The Jacobian of a transformation is a matrix but what you wrote has only two components. If x= f(r,\theta), y= g(r\theta) then the Jacobian is
\frac{\partial x, y}{\partial r,\theta}= \begin{bmatrix}\frac{\partial x}{\partial r} & \frac{\partial x}{\partial \theta} \\ \frac{\partial y}{\partial r} & \frac{\partial y}{\partial \theta}\end{bmatrix}

In this case, that would be
\begin{bmatrix}cos(\theta) & sin(\theta) \\ r sin(\theta) & r cos(\theta)\end{bmatrix}

The Jacobian the other way would be
\begin{bmatrix}\frac{\partial r}{\partial x} & \frac{\partial \theta}{\partial x} \\ \frac{\partial r}{\partial y} & \frac{\partial \theta}{\partial y}\end{bmatrix}
Here, we have r= (x^2+ y^2)^{1/2} and \theta= tan^{-1}(y/x) so that the Jacobian is
\begin{bmatrix}cos(\theta) & sin(\theta) \\ -\frac{1}{r} sin(\theta) & \frac{1}{r} cos(\theta)\end{bmatrix}
which is, of course, the inverse matrix to the previous matrix.


Ok, so my understanding of Jacobian Matrix is how you have described. I've got no idea how to post matrices etc on here so my descriptions above may have been a bit off, but I'll try suss it out for this post...

Ok so, my understanding is fine all the way up until you talk about the Jacobian "the other way around"

Why isn't it the case that...

\frac{\partial r, \theta}{\partial x, y}= \begin{bmatrix}\frac{\partial r}{\partial x} & \frac{\partial r}{\partial y} \\ \frac{\partial \theta}{\partial x} & \frac{\partial \theta}{\partial y}\end{bmatrix}

?



Just getting back to my original question, and I'm sorry if I have missed a larger point you were trying to make, but I'm still trying to work out how


\frac{\partial r}{\partial x}= x / √(x2 + y2)


Since the original equation is...

r = x2 + y2

I would have expected dr/dx = 2x


Thanks very much for your help
My answers for the lower half of the matrix match the solutions given, just not the top half.
 
r = \sqrt{x^2 + y^2}, not x^2 + y^2.
 
Muphrid said:
r = \sqrt{x^2 + y^2}, not x^2 + y^2.

Yes, that makes much more sense. But I've been given r = x^2 + y^2... must have been a mistake in the question itself.


Thanks for your help guys.
 
the first row of inverse Jacobian matrix should be <cosθ , -sinθ/r>
and the second row is <sinθ, cosθ/r>.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K