Higher order derivatives using the chain rule

Click For Summary

Homework Help Overview

The discussion revolves around calculating higher order derivatives using the chain rule in the context of a rotation in the plane, specifically involving the transformation of variables \(u\) and \(v\) defined in terms of \(x\) and \(y\) with trigonometric functions.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the calculation of second derivatives \(\dfrac{\partial^2}{\partial x^2}\) and \(\dfrac{\partial^2}{\partial y^2}\) using the chain rule and question how to derive \(\dfrac{\partial^2}{\partial u^2}\) and \(\dfrac{\partial^2}{\partial v^2}\).

Discussion Status

There is an ongoing exploration of the calculations involved in higher order derivatives, with some participants suggesting simplifications and corrections to initial expressions. Multiple interpretations of the derivatives are being discussed, and guidance has been provided regarding the use of LaTeX formatting.

Contextual Notes

Participants are working under the constraints of homework rules, and there is a focus on ensuring clarity in the mathematical expressions used. The discussion includes checking for correctness in the application of the chain rule and the relationships between the derivatives.

tompenny
Messages
15
Reaction score
3
Homework Statement
I need to show that higher order derivatives is applicable on a rotation in the plane
Relevant Equations
[u v] = [ cos θ -sin θ * [x y]
sin θ cos θ]

∂2f∂x2+∂2f∂y2=∂2fu2+∂2fv2
Mentor note: Fixed the LaTeX in the following
I have the following statement:

\begin{cases} u=x \cos \theta - y\sin \theta \\ v=x\sin \theta + y\cos \theta \end{cases}

I wan't to calculate:

$$\dfrac{\partial^2}{\partial x^2}$$

My solution for ##\dfrac{\partial^2}{\partial x^2}####\dfrac{\partial}{\partial x} = \dfrac{\partial u}{\partial x}\dfrac{\partial}{\partial u} + \dfrac{\partial v}{\partial x}\dfrac{\partial}{\partial v} = \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v}##
##\dfrac{\partial f}{\partial x} = \dfrac{\partial}{\partial x} f = \left( \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v} \right) f = \cos \theta \dfrac{\partial f}{\partial u} - \sin \theta\dfrac{\partial f}{\partial v}##.Proceeding on to the second derivative I get:##\dfrac{\partial^2}{\partial x^2} = \left( \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v} \right)\left( \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v} \right) = \cos^2 \theta \dfrac{\partial^2}{\partial u^2} - 2\sin \theta \cos \theta \dfrac{\partial^2}{\partial u\partial v} + \sin^2 \theta \dfrac{\partial^2}{\partial v^2}##.Similarly I get ##\dfrac{\partial^2}{\partial y^2} = \left( \sin \theta \dfrac{\partial}{\partial u} \cos \theta\dfrac{\partial}{\partial v} \right)\left( \sin\theta \dfrac{\partial}{\partial u} \cos \theta\dfrac{\partial}{\partial v} \right) = \sin^2 \theta \dfrac{\partial^2}{\partial u^2} - 2\sin \theta \cos \theta \dfrac{\partial^2}{\partial u\partial v} + \cos^2 \theta \dfrac{\partial^2}{\partial v^2}##.

But how do I calculate ##\dfrac{\partial^2}{\partial u^2}## , ##\dfrac{\partial^2}{\partial v^2}## ?

Any tips would be greatly appreciated:)
 
Last edited by a moderator:
Physics news on Phys.org
  • Like
Likes   Reactions: tompenny
tompenny said:
Homework Statement:: I need to show that higher order derivatives is applicable on a rotation in the plane
Relevant Equations:: [u v] = [ cos θ -sin θ * [x y]
sin θ cos θ]

I have the following statement:

$$\begin{cases} u=x \cos \theta - y\sin \theta \\ v=x\sin \theta + y\cos \theta \end{cases}$$

My solution for $\dfrac{\partial^2}{\partial x^2}$

$$\dfrac{\partial}{\partial x} = \dfrac{\partial u}{\partial x}\dfrac{\partial}{\partial u} + \dfrac{\partial v}{\partial x}\dfrac{\partial}{\partial v} = \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v}$$

$$\dfrac{\partial f}{\partial x} = \dfrac{\partial}{\partial x} f = \left( \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v} \right) f = \cos \theta \dfrac{\partial f}{\partial u} - \sin \theta\dfrac{\partial f}{\partial v}$$

Proceeding on to the second derivative I get:

$$\dfrac{\partial^2}{\partial x^2} = \left( \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v} \right)\left( \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v} \right) = \cos^2 \theta \dfrac{\partial^2}{\partial u^2} - 2\sin \theta \cos \theta \dfrac{\partial^2}{\partial u\partial v} + \sin^2 \theta \dfrac{\partial^2}{\partial v^2}$$.Similarly I get $$\dfrac{\partial^2}{\partial y^2} = \left( \sin \theta \dfrac{\partial}{\partial u} \cos \theta\dfrac{\partial}{\partial v} \right)\left( \sin\theta \dfrac{\partial}{\partial u} \cos \theta\dfrac{\partial}{\partial v} \right) = \sin^2 \theta \dfrac{\partial^2}{\partial u^2} - 2\sin \theta \cos \theta \dfrac{\partial^2}{\partial u\partial v} + \cos^2 \theta \dfrac{\partial^2}{\partial v^2}$$.

But how do I calculate $$\dfrac{\partial^2}{\partial u^2}$$ , $$\dfrac{\partial^2}{\partial v^2}$$ ?

Any tips would be greatly appreciated:)

You don't have to calculate others. You can simplify what you have.

However, you have a mistake in the first line. This is wrong:

$$\dfrac{\partial}{\partial x} = \dfrac{\partial u}{\partial x}\dfrac{\partial}{\partial u} + \dfrac{\partial v}{\partial x}\dfrac{\partial}{\partial v} = \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v}$$
 
  • Like
Likes   Reactions: tompenny
PeroK said:
You don't have to calculate others. You can simplify what you have.

However, you have a mistake in the first line. This is wrong:

$$\dfrac{\partial}{\partial x} = \dfrac{\partial u}{\partial x}\dfrac{\partial}{\partial u} + \dfrac{\partial v}{\partial x}\dfrac{\partial}{\partial v} = \cos \theta \dfrac{\partial}{\partial u} - \sin \theta\dfrac{\partial}{\partial v}$$

Thank you so much for helping me.. should the first line be:
$$\dfrac{\partial}{\partial x} = \dfrac{\partial u}{\partial x}\dfrac{\partial}{\partial u} + \dfrac{\partial v}{\partial x}\dfrac{\partial}{\partial v} = \cos \theta \dfrac{\partial}{\partial u} + \sin \theta\dfrac{\partial}{\partial v}$$ ??
 
@tompenny, this site uses MathJax, which accepts some LaTeX stuff. The delimiters are pairs of $$ characters (standalone LaTeX) or ## (inline).
 
tompenny said:
Thank you so much for helping me.. should the first line be:
$$\dfrac{\partial}{\partial x} = \dfrac{\partial u}{\partial x}\dfrac{\partial}{\partial u} + \dfrac{\partial v}{\partial x}\dfrac{\partial}{\partial v} = \cos \theta \dfrac{\partial}{\partial u} + \sin \theta\dfrac{\partial}{\partial v}$$ ??
Yes. What about $$\dfrac{\partial^2}{\partial x^2}$$.

Hint: write everything out carefully.
 
$$\dfrac{\partial^2}{\partial x^2} = \cos^2 \theta \dfrac{\partial^2}{\partial u^2} + 2sin \theta\cos \theta\dfrac{\partial}{\partial u\partial v}+ \sin^2 \theta \dfrac{\partial^2}{\partial v^2}$$

Is that correct? :)

Can you give me any tips on how to calculate $$\dfrac{\partial^2}{\partial u^2} $$

MAny thanks for all your help:)
 
  • Like
Likes   Reactions: PeroK
tompenny said:
$$\dfrac{\partial^2}{\partial x^2} = \cos^2 \theta \dfrac{\partial^2}{\partial u^2} + 2sin \theta\cos \theta\dfrac{\partial}{\partial u\partial v}+ \sin^2 \theta \dfrac{\partial^2}{\partial v^2}$$

Is that correct? :)

Can you give me any tips on how to calculate $$\dfrac{\partial^2}{\partial u^2} $$

MAny thanks for all your help:)
Why not try $$\dfrac{\partial^2}{\partial y^2} $$
 
  • #10
then I get:
$$\dfrac{\partial^2}{\partial y^2} = \sin^2 \theta \dfrac{\partial^2}{\partial u^2} - 2sin \theta\cos \theta\dfrac{\partial}{\partial u\partial v}+ \cos^2 \theta \dfrac{\partial^2}{\partial v^2}$$

Can I somewhat use this to calculate $$\dfrac{\partial^2}{\partial u^2}$$ ?

Thank you:)
 
  • #11
What about adding those two together?
 
  • Like
Likes   Reactions: tompenny
  • #12
Hahaha.. I finally got it! the mixed partial cancels and if I use the pythagorean trigonometric identity on what's left I get the answer!

I can't explain how much you've made my day! <3
 
  • Like
Likes   Reactions: PeroK

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
4
Views
1K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K