How Do You Apply Chain Rule for Functions in Polar Coordinates?

Click For Summary

Homework Help Overview

The discussion revolves around applying the chain rule to functions defined in polar coordinates, specifically for the function f(x,y) = g(r,θ), where x and y are expressed in terms of r and θ. Participants are tasked with finding the partial derivatives ∂f/∂x and ∂f/∂y in terms of r, θ, and the derivatives of g.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss expressing r and θ as functions of x and y to find their derivatives. There are attempts to derive the partial derivatives using the chain rule, with some participants questioning the correctness of their expressions and the dependencies between variables.

Discussion Status

The discussion is active, with participants providing feedback on each other's attempts and clarifying the relationships between the variables. Some guidance has been offered regarding the need to express r and θ explicitly as functions of x and y, and there is acknowledgment of the complexity involved in these relationships.

Contextual Notes

Participants note the challenge of expressing r and θ explicitly in terms of x and y, with some suggesting the use of the implicit function theorem. There is also mention of the importance of understanding the transformation between Cartesian and polar coordinates.

CAF123
Gold Member
Messages
2,918
Reaction score
87

Homework Statement


Given that [tex]f(x,y) = g(r,\theta),[/tex] where [itex]x = r\cos\theta[/itex] and [itex]y = r\sin\theta,[/itex] find formulae for [itex]\frac{∂f}{∂x}[/itex] and [itex]\frac{∂f}{∂y}[/itex] expressed entirely in terms of [itex]r, \theta, \frac{∂g}{∂r} , \frac{∂g}{∂\theta}[/itex].

The Attempt at a Solution


I said [tex]\frac{∂f}{∂x} = \frac{∂g}{∂x} = \frac{∂g}{∂r}\frac{∂r}{∂x} + \frac{∂g}{∂\theta}\frac{∂\theta}{∂x}.[/tex]
Rearranging x = rcos(θ) to r = x/(cos(θ) gave [itex]\frac{∂r}{∂x} = \sec\theta[/itex] and [itex]\frac{∂\theta}{∂x} = -\frac{1}{r\sin\theta}[/itex]
Can someone tell me if this is correct?
I used a similar method for [itex]\frac{∂f}{∂y} = \frac{∂g}{∂y}[/itex]
Many thanks
 
Physics news on Phys.org
You need to express r and theta in terms of x and y, and then find their derivatives.
 
I expressed r = x/cosθ, found [itex]\frac{∂r}{∂x}[/itex] and then r = y/sinθ and found [itex]\frac{∂r}{∂y}[/itex] Is this not correct?
 
In r = x/cosθ, θ is also a function of x. Ditto for r = y/sinθ. You need to express r and θ as explicit functions of x and y to obtain their derivatives. Or use the implicit function theorem if you have it.
 
voko said:
In r = x/cosθ, θ is also a function of x. Ditto for r = y/sinθ. You need to express r and θ as explicit functions of x and y to obtain their derivatives. Or use the implicit function theorem if you have it.

I don't see how it is possible to write r as a function of x and y explicitly;
If r = x/cosθ and θ = arcsin(y/r) then r = x/cos(arcsin(y/r))
 
Consider x^2 + y^2.
 
voko said:
Consider x^2 + y^2.
Thanks. I got [itex]\frac{∂r}{∂x} = \cosθ[/itex] and [itex]\frac{∂r}{∂y} = \sin\theta[/itex]
How do you obtain theta as a function of x and y?
 
Given x = rcosθ and y = rsinθ, surely you can exclude r and thus get θ as a function of x and y.
 
voko said:
Given x = rcosθ and y = rsinθ, surely you can exclude r and thus get θ as a function of x and y.
Yes, of course, sorry I have been looking at this problem for quite a while now and I think I am just overlooking simple things at times.
So, [itex]\frac{∂θ}{∂x} = -\frac{\sin\theta}{r}[/itex] and [itex]\frac{∂θ}{∂y} = \frac{\cos\theta}{r}[/itex]
Bringing this all together: [tex]\frac{∂f}{∂x} = \frac{∂g}{∂r}(\cos\theta) + \frac{∂g}{∂\theta}(-\sin\theta/r)[/tex]
And; [tex]\frac{∂f}{∂y} = \frac{∂g}{∂r}(\sin\theta) + \frac{∂g}{∂\theta}((\cos\theta)/r)[/tex]
Ok now?
Just to check a couple of things: was the reason I was wrong first was because x is a function of theta but theta also depends on y? and similarly for r? Was my error in forgetting that theta also had a y dependence?
 
  • #10
CAF123 said:
Yes, of course, sorry I have been looking at this problem for quite a while now and I think I am just overlooking simple things at times.
So, [itex]\frac{∂θ}{∂x} = -\frac{\sin\theta}{r}[/itex] and [itex]\frac{∂θ}{∂y} = \frac{\cos\theta}{r}[/itex]

I think you should pause here for a second. ## r ## and ## \theta ## are known as polar coordinates; you have been given the representation of Cartesian coordinates in polar coordinates, and you have found (although not written here) the representation of polar coordinates in Cartesian coordinates. This all is worth committing to memory, you are going to encounter polar coordinates many, many times and you should know how to transform to and fro.

Bringing this all together: [tex]\frac{∂f}{∂x} = \frac{∂g}{∂r}(\cos\theta) + \frac{∂g}{∂\theta}(-\sin\theta/r)[/tex]
And; [tex]\frac{∂f}{∂y} = \frac{∂g}{∂r}(\sin\theta) + \frac{∂g}{∂\theta}((\cos\theta)/r)[/tex]
Ok now?

Looks good to me.

Just to check a couple of things: was the reason I was wrong first was because x is a function of theta but theta also depends on y? and similarly for r? Was my error in forgetting that theta also had a y dependence?

I would say this was because ## \theta ## depends on x and y.
 
  • #11
voko said:
I think you should pause here for a second. ## r ## and ## \theta ## are known as polar coordinates; you have been given the representation of Cartesian coordinates in polar coordinates, and you have found (although not written here) the representation of polar coordinates in Cartesian coordinates. This all is worth committing to memory, you are going to encounter polar coordinates many, many times and you should know how to transform to and fro.



Looks good to me.



I would say this was because ## \theta ## depends on x and y.
Thanks for all your help and advice.
 
  • #12
CAF123 said:

Homework Statement


Given that [tex]f(x,y) = g(r,\theta),[/tex] where [itex]x = r\cos\theta[/itex] and [itex]y = r\sin\theta,[/itex] find formulae for [itex]\frac{∂f}{∂x}[/itex] and [itex]\frac{∂f}{∂y}[/itex] expressed entirely in terms of [itex]r, \theta, \frac{∂g}{∂r} , \frac{∂g}{∂\theta}[/itex].

The Attempt at a Solution


I said [tex]\frac{∂f}{∂x} = \frac{∂g}{∂x} = \frac{∂g}{∂r}\frac{∂r}{∂x} + \frac{∂g}{∂\theta}\frac{∂\theta}{∂x}.[/tex]
Rearranging x = rcos(θ) to r = x/(cos(θ) gave [itex]\frac{∂r}{∂x} = \sec\theta[/itex] and [itex]\frac{∂\theta}{∂x} = -\frac{1}{r\sin\theta}[/itex]
Can someone tell me if this is correct?
I used a similar method for [itex]\frac{∂f}{∂y} = \frac{∂g}{∂y}[/itex]
Many thanks

[tex]r = \sqrt{x^2+y^2}, \; \tan(\theta) = y/x.[/tex]

RGV
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K