Higher order derivatives using the chain rule

Click For Summary
SUMMARY

This discussion focuses on calculating higher order derivatives using the chain rule, specifically for functions defined by the transformations \( u = x \cos \theta - y \sin \theta \) and \( v = x \sin \theta + y \cos \theta \). The participants derive the second derivatives \( \frac{\partial^2}{\partial x^2} \) and \( \frac{\partial^2}{\partial y^2} \) and discuss the correct application of the chain rule. A key correction is made regarding the sign in the derivative expressions, leading to the final forms of the second derivatives, which include mixed partial derivatives. The discussion concludes with a successful application of the Pythagorean identity to simplify the results.

PREREQUISITES
  • Understanding of multivariable calculus and partial derivatives
  • Familiarity with the chain rule in calculus
  • Knowledge of trigonometric identities, particularly the Pythagorean identity
  • Experience with LaTeX for mathematical notation
NEXT STEPS
  • Study the application of the chain rule in multivariable calculus
  • Learn about mixed partial derivatives and their properties
  • Explore the use of trigonometric identities in calculus
  • Practice writing and formatting mathematical expressions using LaTeX
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus and differential equations, as well as anyone interested in applying the chain rule to transformations in multivariable functions.

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
983
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