Partial Derivatives and Polar Coordinates

Click For Summary

Homework Help Overview

The discussion revolves around finding the first partial derivatives of the function z = e^x + yx^2 in polar coordinates, specifically dz/dr and dz/dtheta. The original poster attempts to apply the chain rule using a tree diagram to express the relationships between the variables x, y, r, and theta.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the application of the chain rule and the correct formulation of partial derivatives in polar coordinates. There are attempts to clarify the relationships between x, y, r, and theta, with some questioning the correctness of the derivatives derived from these relationships.

Discussion Status

There is an ongoing exploration of the correct expressions for dz/dr and dz/dtheta, with some participants providing corrections to earlier statements. Multiple interpretations of the relationships between the variables are being discussed, and there is a focus on ensuring the proper application of the chain rule.

Contextual Notes

Participants note potential typos and misunderstandings regarding the definitions of x and y in terms of r and theta, specifically addressing the importance of correctly identifying these relationships for the problem at hand.

RJLiberator
Gold Member
Messages
1,094
Reaction score
63

Homework Statement


Write the chain rule for the following composition using a tree diagram:
z =g(x,y)
where x=x(r,theta) and y=y(r,theta). Write formulas for the partial derivatives dz/dr and dz/dtheta. Use them to answer: Find first partial derivatives of the function z=e^x+yx^2, in polar coordinates, that is find dz/dr and dz/dtheta as a function of polar coordinates (r, theta).

Homework Equations

The Attempt at a Solution


Tree diagram was relatively simple
g extends to x and y. x and y both extend to r and theta.

**all "d's" symbolize partial derivatives**
dz/dr = dg/dx*dx/dr+ dg/dy*dy/dr
dz/dtheta = dg/dx*dx/dtheta+dg/dy*dy/dtheta

Ok.
So
partial x = e^x+2yx
partial y = x^2

Now the problem I'm having trouble with is taking the partial derivative of the polar coordinate functions.
If I am right, then:
x=rcos(theta)
y=rsin(theta)
Taking the partial derivatives dx/dr and dy/dr the answers would be cos(theta) for x and sin(theta) for y, as we treat these as 'constants'.
From here it is merely a plug-n-chug.

Is this correct? Do you have any opinions? Thank you.
 
Last edited:
Physics news on Phys.org
RJLiberator said:
dz/dr = dg/dx*dx/dtheta+ dg/dy*dy/dr
dz/dtheta = dg/dx*dx/dtheta+dg/dy*dy/dtheta
Why is \frac{\partial g}{\partial x}\frac{\partial x}{\partial r} missing?
 
  • Like
Likes   Reactions: RJLiberator
Ah, typo, it should be dx/dr instead of dx/dtheta. My apologies.
 
OK. So we have \frac{\partial g}{\partial x}=\frac{\partial g}{\partial r}\frac{\partial r}{\partial x}+\frac{\partial g}{\partial \theta}\frac{\partial \theta}{\partial x} and \frac{\partial g}{\partial y}=\frac{\partial g}{\partial r}\frac{\partial r}{\partial y}+\frac{\partial g}{\partial \theta}\frac{\partial \theta}{\partial y}...
 
I'm not quite sure why you are using that.

I believe this would be correct, no?:
dz/dr = dg/dx*dx/dr+ dg/dy*dy/dr
dz/dtheta = dg/dx*dx/dtheta+dg/dy*dy/dtheta

So if x=x(r,theta) and y=y(r,theta) then x=rcos(theta) and y=rcos(theta) ??
 
RJLiberator said:
So if x=x(r,theta) and y=y(r,theta) then x=rcos(theta) and y=rcos(theta) ??
Not quite...
RJLiberator said:
I believe this would be correct, no?:
dz/dr = dg/dx*dx/dr+ dg/dy*dy/dr
dz/dtheta = dg/dx*dx/dtheta+dg/dy*dy/dtheta
OK.
 
  • Like
Likes   Reactions: RJLiberator
How could I make it correct? I feel like the x=rcos(theta) is a very important part of the problem. Why is it wrong?
 
RJLiberator said:
How could I make it correct? I feel like the x=rcos(theta) is a very important part of the problem. Why is it wrong?
It isn't wrong. Look at your entire statement.
 
  • Like
Likes   Reactions: RJLiberator
Ugh, another typo. Apologies. y=rsin(theta).
So, if these are right, then their respective derivatives are
cos(theta) with respects to dx/dr
sin(theta) dy/dr
and -rsin(theta) dx/dtheta
rcos(theta) dy/dtheta

And then it's just plugging into the chain rule equations with the partial derivatives of the g function.
 

Similar threads

Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
1K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K