How Does the Chain Rule Apply in Polar Coordinates?

  • Thread starter Thread starter JohnTheMan
  • Start date Start date
  • Tags Tags
    Chain Chain rule
Click For Summary

Homework Help Overview

The discussion revolves around applying the chain rule in the context of polar coordinates, specifically for a function z = ƒ(x,y) where x and y are expressed in terms of polar coordinates (r, θ). The original poster attempts to derive a relationship involving second partial derivatives of z with respect to θ, x, and y.

Discussion Character

  • Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster presents their calculations for the first and second derivatives with respect to θ, noting a discrepancy with the expected result. Some participants question the correctness of the second derivative and suggest that the original poster may have misapplied the chain rule.

Discussion Status

Participants are actively engaging with the original poster's calculations, providing feedback on the derivation process. There is a focus on clarifying the steps involved in obtaining the second derivative, with some participants reiterating the need to consider additional terms in the differentiation process.

Contextual Notes

The discussion highlights potential misunderstandings regarding the application of the chain rule in polar coordinates, particularly in relation to the derivatives of x and y with respect to θ. The original poster expresses uncertainty about their results, indicating a need for further exploration of the topic.

JohnTheMan
Messages
3
Reaction score
0

Homework Statement


z = ƒ(x,y), x = rcos(θ), y = rsin(θ)
Use the chain rule to show that:
\frac{1}{r^{2}}\frac{\partial ^{2} z}{\partial \theta ^{2}} = sin^{2}(\theta)\frac{\partial ^{2} z}{\partial x^{2}}-2sin(\theta)cos(\theta)\frac{\partial ^{2} z}{\partial x \partial y}+cos^{2}(\theta)\frac{\partial ^{2} z}{\partial y ^{2}} - \frac{1}{r}\frac{\partial z}{\partial r}

Homework Equations


∂z/∂r = (∂z/∂x)(∂x/∂r) + (∂z/∂y)(∂y/∂r)

The Attempt at a Solution


I have worked it through and I have found that:
\frac{\partial z}{\partial \theta } = -rsin(\theta)\frac{\partial z}{\partial x}+rcos(\theta)\frac{\partial z}{\partial y}
\frac{\partial z}{\partial r } = cos(\theta)\frac{\partial z}{\partial x}+sin(\theta)\frac{\partial z}{\partial y}
\frac{\partial ^{2} z}{\partial \theta ^{2}} = r^{2}(sin^{2}(\theta)\frac{\partial ^{2} z}{\partial x^{2}}-2sin(\theta)cos(\theta)\frac{\partial ^{2} z}{\partial x \partial y}+cos^{2}(\theta)\frac{\partial ^{2} z}{\partial y ^{2}})
I have checked these a number of times and they seem right to me. The last one listed is the second partial derivative of z in terms of θ, but it doesn't match that of the problem statement. I'm not really sure what I'm doing wrong. Thanks :)
 
Physics news on Phys.org
Your second derivative looks like you just squared your first derivative.
You need to actually take one more derivative to get ## \frac{\partial^2 z}{\partial \theta^2}##.
 
RUber said:
Your second derivative looks like you just squared your first derivative.
You need to actually take one more derivative to get ## \frac{\partial^2 z}{\partial \theta^2}##.
I didn't square it, I took the second derivative.
 
You have the first part right. But your second derivative is wrong.
##\frac{\partial}{\partial \theta } f(x,y) = \frac{\partial f}{\partial x} \frac{\partial x}{\partial \theta} + \frac{\partial f}{\partial y} \frac{\partial y}{\partial \theta}##
##\frac{\partial}{\partial \theta }\left( \frac{\partial}{\partial \theta } f(x,y)\right) = \frac{\partial}{\partial \theta }\left( \frac{\partial f}{\partial x} \frac{\partial x}{\partial \theta} + \frac{\partial f}{\partial y} \frac{\partial y}{\partial \theta}\right) ##
Which is
## = \left( \frac{\partial}{\partial \theta }\frac{\partial f}{\partial x}\right) \frac{\partial x}{\partial \theta}+\underline{ \frac{\partial f}{\partial x} \left( \frac{\partial}{\partial \theta }\frac{\partial x}{\partial \theta} \right) } + \left( \frac{\partial}{\partial \theta } \frac{\partial f}{\partial y}\right) \frac{\partial y}{\partial \theta}+ \underline{ \frac{\partial f}{\partial y} \left( \frac{\partial}{\partial \theta }\frac{\partial y}{\partial \theta}\right)} ##
In your expansion, you missed the second derivatives with respect to theta on x and y. Which will give you the equivalent parts you need for the partial with respect to r.
 
  • Like
Likes   Reactions: JohnTheMan
RUber said:
You have the first part right. But your second derivative is wrong.
##\frac{\partial}{\partial \theta } f(x,y) = \frac{\partial f}{\partial x} \frac{\partial x}{\partial \theta} + \frac{\partial f}{\partial y} \frac{\partial y}{\partial \theta}##
##\frac{\partial}{\partial \theta }\left( \frac{\partial}{\partial \theta } f(x,y)\right) = \frac{\partial}{\partial \theta }\left( \frac{\partial f}{\partial x} \frac{\partial x}{\partial \theta} + \frac{\partial f}{\partial y} \frac{\partial y}{\partial \theta}\right) ##
Which is
## = \left( \frac{\partial}{\partial \theta }\frac{\partial f}{\partial x}\right) \frac{\partial x}{\partial \theta}+\underline{ \frac{\partial f}{\partial x} \left( \frac{\partial}{\partial \theta }\frac{\partial x}{\partial \theta} \right) } + \left( \frac{\partial}{\partial \theta } \frac{\partial f}{\partial y}\right) \frac{\partial y}{\partial \theta}+ \underline{ \frac{\partial f}{\partial y} \left( \frac{\partial}{\partial \theta }\frac{\partial y}{\partial \theta}\right)} ##
In your expansion, you missed the second derivatives with respect to theta on x and y. Which will give you the equivalent parts you need for the partial with respect to r.
RUber said:
You have the first part right. But your second derivative is wrong.
##\frac{\partial}{\partial \theta } f(x,y) = \frac{\partial f}{\partial x} \frac{\partial x}{\partial \theta} + \frac{\partial f}{\partial y} \frac{\partial y}{\partial \theta}##
##\frac{\partial}{\partial \theta }\left( \frac{\partial}{\partial \theta } f(x,y)\right) = \frac{\partial}{\partial \theta }\left( \frac{\partial f}{\partial x} \frac{\partial x}{\partial \theta} + \frac{\partial f}{\partial y} \frac{\partial y}{\partial \theta}\right) ##
Which is
## = \left( \frac{\partial}{\partial \theta }\frac{\partial f}{\partial x}\right) \frac{\partial x}{\partial \theta}+\underline{ \frac{\partial f}{\partial x} \left( \frac{\partial}{\partial \theta }\frac{\partial x}{\partial \theta} \right) } + \left( \frac{\partial}{\partial \theta } \frac{\partial f}{\partial y}\right) \frac{\partial y}{\partial \theta}+ \underline{ \frac{\partial f}{\partial y} \left( \frac{\partial}{\partial \theta }\frac{\partial y}{\partial \theta}\right)} ##
In your expansion, you missed the second derivatives with respect to theta on x and y. Which will give you the equivalent parts you need for the partial with respect to r.
Ahh. That makes sense. Thanks a lot.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K