Chain rule for 2nd derivatives

Click For Summary
SUMMARY

The discussion focuses on the application of the second derivative chain rule for multivariable functions, specifically for a function f(x, y) where x and y are dependent on another variable r. The key formula derived is the second derivative with respect to r, expressed as ∂²f/∂r² = ∂/∂r[∂f/∂x (∂x/∂r)] + ∂/∂r[∂f/∂y (∂y/∂r)]. This involves applying the chain rule multiple times, highlighting the complexity of derivatives in multivariable calculus. The discussion clarifies the necessity of using the chain rule for each term involving partial derivatives.

PREREQUISITES
  • Understanding of multivariable calculus concepts, particularly partial derivatives.
  • Familiarity with the chain rule for single-variable functions.
  • Knowledge of the product rule in calculus.
  • Basic proficiency in Leibniz notation for derivatives.
NEXT STEPS
  • Study the application of the chain rule in multivariable calculus.
  • Learn about the product rule and its implications for higher-order derivatives.
  • Explore examples of second derivatives in functions of multiple variables.
  • Review the use of Leibniz notation in complex derivative calculations.
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are dealing with multivariable functions and require a deeper understanding of derivative applications in their fields.

quietrain
Messages
648
Reaction score
2
hi does anyone know why the 2nd derivative chain rule is as such?

a1c3a6d5dafe24a2f4c2d423a8e87fdb.png


i roughly know that

if u = f(x,y) and x=rcos(T) , y = rsin(T)

then

du/dr = df/dx * dx/dr + df/dy * dy/dr

but if i am going to have a second d/dr, then how does it work out?
 
Physics news on Phys.org
I think you're mixing up the chain rule for single- and multivariable functions. For the single variable case,

<br /> (f \circ g)&#039;(x) = f&#039;(g(x))g&#039;(x)<br />

Using the product rule, we then have

<br /> (f \circ g)&#039;&#039;(x) = \frac{d}{dx}[f&#039;(g(x))g&#039;(x)] = f&#039;&#039;(g(x)) g&#039;(x) g&#039;(x) + f&#039;(g(x))g&#039;&#039;(x) = f&#039;&#039;(g(x))[g&#039;(x)]^2 + f&#039;(g(x))g&#039;&#039;(x)<br />

or in Leibniz notation,

<br /> \frac{d^2 f}{dx^2}(g(x)) \left[\frac{dg}{dx}\right]^2 + \frac{df}{dx}(g(x)) \frac{d^2 g}{dx^2}<br />

For a two-variable function things are more complicated. Suppose we have a function f(x,y) where x and y are themselves functions x(r,t) and y(r,t). As you stated,

<br /> \frac{\partial f}{\partial r} = \frac{\partial f}{\partial x} \frac{\partial x}{\partial r} + \frac{\partial f}{\partial y} \frac{\partial y}{\partial r}<br />

Then

<br /> \frac{\partial^2 f}{\partial r^2} = \frac{\partial}{\partial r}\left[\frac{\partial f}{\partial x} \frac{\partial x}{\partial r}\right] + \frac{\partial}{\partial r}\left[\frac{\partial f}{\partial y} \frac{\partial y}{\partial r}\right]<br />

To make things simpler, let's just look at that first term for the moment. The tricky part is that \frac{\partial f}{\partial x} is still a function of x and y, so we need to use the chain rule again. Using the chain rule,

<br /> \frac{\partial}{\partial r}\left[\frac{\partial f}{\partial x}\right] = \frac{\partial^2 f}{\partial x^2} \frac{\partial x}{\partial r} + \frac{\partial^2 f}{\partial y \partial x} \frac{\partial y}{\partial r}<br />

So

<br /> \frac{\partial}{\partial r}\left[\frac{\partial f}{\partial x} \frac{\partial x}{\partial r}\right] = \frac{\partial}{\partial r}\left[\frac{\partial f}{\partial x}\right]\frac{\partial x}{\partial r} + \frac{\partial f}{\partial x} \frac{\partial^2 x}{\partial r^2} = \left(\frac{\partial^2 f}{\partial x^2} \frac{\partial x}{\partial r} + \frac{\partial^2 f}{\partial y \partial x} \frac{\partial y}{\partial r}\right)\frac{\partial x}{\partial r} + \frac{\partial f}{\partial x} \frac{\partial^2 x}{\partial r^2}<br />

I'm feeling a bit too lazy at the moment to write out the whole thing for \frac{\partial^2 f}{\partial r^2}. (So many \frac's and \partial's...). Hopefully what I've written so far will help you enough and hopefully I didn't make any mistakes!
 
ah i see... thank you very much
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K