Using chain rule to derive 2nd derivative

In summary, the equations \frac{\partial z}{\partial r}=\cos\theta\frac{\partial z}{\partial x}+\sin\theta\frac{\partial z}{\partial y} and \frac{\partial z}{\partial\theta}=-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y} can be used to show that \frac{1}{r^{2}}\frac{\partial^{2}z}{\partial\theta^{2}}+\frac{1}{r} \frac{\partial z}{\partial r}=\sin^{2}\theta\frac{\partial^{2}
  • #1
mrcleanhands

Homework Statement




Use [itex]\frac{\partial z}{\partial r}=\cos\theta\frac{\partial z}{\partial x}+\sin\theta\frac{\partial z}{\partial y}[/itex]
and [itex]\frac{\partial z}{\partial\theta}=-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y}[/itex] to show that

[itex] \frac{1}{r^{2}}\frac{\partial^{2}z}{\partial\theta^{2}}+\frac{1}{r} \frac{\partial z}{\partial r}=\sin^{2}\theta\frac{\partial^{2}z}{\partial x^{2}}-2\sin\theta\cos\theta\frac{\partial ^ {2}z}{\partial x \partial y}+\cos^{2}\theta\frac{\partial ^ {2}z}{\partial y^{2}} [/itex]

Homework Equations





The Attempt at a Solution


[itex]
\frac{\partial z}{\partial\theta}\frac{\partial z}{\partial\theta}=\frac{\partial z}{\partial\theta}(-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y})
[/itex]

[itex]
\frac{\partial^{2}z}{\partial\theta^{2}}=(-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y})(-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y})[/itex]

[itex]
\frac{\partial^{2}z}{\partial\theta^{2}}=r^{2}\sin^{2}\theta\frac{ \partial ^ {2}z}{\partial x^{2}}-2r^{2}\sin\theta\cos\theta\frac{\partial^{2}z}{\partial x\partial y}+r^{2}\cos^{2}\theta\frac{\partial^{2}z}{\partial y^{2}}[/itex]

[itex]
\frac{1}{r^{2}}\frac{\partial^{2}z}{\partial\theta^{2}}=\sin^{2}\theta\frac{\partial^{2}z}{\partial x^{2}}-2\sin\theta\cos\theta\frac{\partial^{2}z}{\partial x\partial y}+\cos^{2}\theta\frac{\partial^{2}z}{\partial y^{2}}[/itex]

but [itex] \frac{1}{r}\frac{\partial z}{\partial r}=\frac{1}{r}\cos\theta\frac{\partial z}{\partial x}+\frac{1}{r}\sin\theta\frac{\partial z}{\partial y}[/itex]

and if I add that I get:
[itex] \frac{1}{r^{2}}\frac{\partial^{2}z}{\partial\theta^{2}}+\frac{1}{r} \frac{ \partial z}{\partial r}=\sin^{2}\theta\frac{\partial^{2}z}{\partial x^{2}}-2\sin\theta\cos\theta\frac{\partial^{2}z}{\partial x\partial y}+\cos^{2}\theta\frac{\partial^{2}z}{\partial y^{2}}+\frac{1}{r}\cos\theta\frac{\partial z}{\partial x}+\frac{1}{r}\sin\theta\frac{\partial z}{\partial y}[/itex] so somehow [itex] \frac{1}{r}\frac{\partial z}{\partial r}=\frac{1}{r}\cos\theta\frac{\partial z}{\partial x}+\frac{1}{r}\sin\theta\frac{\partial z}{\partial y}[/itex] is supposed to be 0?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
mrcleanhands said:

Homework Statement




Use [itex]\frac{\partial z}{\partial r}=\cos\theta\frac{\partial z}{\partial x}+\sin\theta\frac{\partial z}{\partial y}[/itex]
and [itex]\frac{\partial z}{\partial\theta}=-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y}[/itex] to show that

[itex] \frac{1}{r^{2}}\frac{\partial^{2}z}{\partial\theta^{2}}+\frac{1}{r} \frac{\partial z}{\partial r}=\sin^{2}\theta\frac{\partial^{2}z}{\partial x^{2}}-2\sin\theta\cos\theta\frac{\partial ^ {2}z}{\partial x \partial y}+\cos^{2}\theta\frac{\partial ^ {2}z}{\partial y^{2}} [/itex]

Homework Equations





The Attempt at a Solution


[itex]
\frac{\partial z}{\partial\theta}\frac{\partial z}{\partial\theta}=\frac{\partial z}{\partial\theta}(-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y})
[/itex]

[itex]
\frac{\partial^{2}z}{\partial\theta^{2}}=(-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y})(-r\sin\theta\frac{\partial z}{\partial x}+r\cos\theta\frac{\partial z}{\partial y})[/itex]
What? When I saw "[itex]\frac{dz}{d\theta}\frac{dz}{d\theta}[/itex]" above I started to write "No, that's the wrong notation- that means the product" but now it appears that you really are just multiplying the first derivative with itself. You do understand that this is NOT what "[itex]\frac{d^2z}{d\theta^2}" means, don't you?


[itex]
\frac{\partial^{2}z}{\partial\theta^{2}}=r^{2}\sin^{2}\theta\frac{ \partial ^ {2}z}{\partial x^{2}}-2r^{2}\sin\theta\cos\theta\frac{\partial^{2}z}{\partial x\partial y}+r^{2}\cos^{2}\theta\frac{\partial^{2}z}{\partial y^{2}}[/itex]

[itex]
\frac{1}{r^{2}}\frac{\partial^{2}z}{\partial\theta^{2}}=\sin^{2}\theta\frac{\partial^{2}z}{\partial x^{2}}-2\sin\theta\cos\theta\frac{\partial^{2}z}{\partial x\partial y}+\cos^{2}\theta\frac{\partial^{2}z}{\partial y^{2}}[/itex]

but [itex] \frac{1}{r}\frac{\partial z}{\partial r}=\frac{1}{r}\cos\theta\frac{\partial z}{\partial x}+\frac{1}{r}\sin\theta\frac{\partial z}{\partial y}[/itex]

and if I add that I get:
[itex] \frac{1}{r^{2}}\frac{\partial^{2}z}{\partial\theta^{2}}+\frac{1}{r} \frac{ \partial z}{\partial r}=\sin^{2}\theta\frac{\partial^{2}z}{\partial x^{2}}-2\sin\theta\cos\theta\frac{\partial^{2}z}{\partial x\partial y}+\cos^{2}\theta\frac{\partial^{2}z}{\partial y^{2}}+\frac{1}{r}\cos\theta\frac{\partial z}{\partial x}+\frac{1}{r}\sin\theta\frac{\partial z}{\partial y}[/itex] so somehow [itex] \frac{1}{r}\frac{\partial z}{\partial r}=\frac{1}{r}\cos\theta\frac{\partial z}{\partial x}+\frac{1}{r}\sin\theta\frac{\partial z}{\partial y}[/itex] is supposed to be 0?
 

1. What is the chain rule?

The chain rule is a mathematical rule that allows us to find the derivative of a composite function. It states that the derivative of a composite function is equal to the product of the derivatives of its individual functions.

2. How do I use the chain rule to find the second derivative?

To use the chain rule to find the second derivative, you must first find the first derivative using the chain rule. Then, you can apply the chain rule again to find the second derivative by taking the derivative of the first derivative.

3. Can you provide an example of using the chain rule to derive a second derivative?

Sure! Let's say we have the function f(x) = (x^2 + 3)^2. Using the chain rule, we can find the first derivative f'(x) = 2(x^2 + 3)(2x). Then, using the chain rule again, we can find the second derivative f''(x) = 2(2x)(2x) + 2(x^2 + 3)(2) = 8x^2 + 12.

4. What are some common mistakes when using the chain rule to derive a second derivative?

One common mistake is forgetting to apply the chain rule twice when finding the second derivative. Another mistake is not carefully keeping track of the variables and their derivatives when using the chain rule. It is also important to understand the chain rule conceptually rather than just memorizing the formula.

5. Can the chain rule be used to find higher-order derivatives?

Yes, the chain rule can be used to find derivatives of any order. To find the third derivative, for example, we would apply the chain rule three times. The formula for the chain rule can be extended to any number of derivatives.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
876
  • Calculus and Beyond Homework Help
Replies
3
Views
883
  • Calculus and Beyond Homework Help
Replies
3
Views
277
  • Calculus and Beyond Homework Help
Replies
1
Views
159
  • Calculus and Beyond Homework Help
Replies
4
Views
694
  • Calculus and Beyond Homework Help
Replies
6
Views
549
  • Calculus and Beyond Homework Help
Replies
2
Views
657
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
562
Back
Top