Second derivative relationships of substituted varaibles

Click For Summary

Discussion Overview

The discussion revolves around the relationships between the second derivatives of substituted variables in the context of multivariable calculus. Participants explore the application of the chain rule for derivatives, particularly focusing on how to correctly derive second derivative relationships when using variable substitutions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant describes a variable substitution and expresses uncertainty about the correctness of their second derivative relationships derived from the chain rule.
  • Another participant asks for clarification on what function is being differentiated, prompting further elaboration on the context of the derivatives.
  • A participant explains that the differential operators operate on a function f(x, y) and its substituted form f(r, s).
  • One participant challenges the initial second derivative relationships, suggesting that cross terms should be present and encourages the use of the chain rule again to reveal these terms.
  • A participant provides a detailed breakdown of the second order chain rule, leading to a complex expression involving second derivatives and cross terms.
  • Another participant reflects on the interpretation of terms in the second derivative expression, suggesting that some terms may vanish, leading to a simplified result.
  • A later reply confirms the correctness of the simplified result and presents an alternative approach to arrive at the same conclusion.

Areas of Agreement / Disagreement

Participants express differing views on the presence of cross terms in the second derivative relationships, with some asserting their necessity while others refine their calculations to arrive at simplified expressions. The discussion remains unresolved regarding the best approach to derive the second derivatives.

Contextual Notes

There are limitations in the assumptions made about the function being differentiated, and the discussion reflects varying interpretations of the application of the chain rule in this context.

PhilDSP
Messages
643
Reaction score
15
I'm using variable substitution to solve a problem. Finding the relationships between the first derivatives of both sets is straightforward using the chain rule, but I'm uncertain if the way I'm determining the second derivative relationships is correct.

Given a description of a problem expressed in the x and y variables, I make the substitution as follows

[itex]r = 3x + y \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ s = x + \frac{1}{5}y[/itex]

The chain rule gives

[itex]\frac{\partial}{\partial x} = 3 \frac{\partial}{\partial r} + \frac{\partial}{\partial s} \ \ \ \ \ \ \ \ \ \ \ \ \ \frac{\partial}{\partial y} = \frac{\partial}{\partial r} + \frac{1}{5} \frac{\partial}{\partial s}[/itex]

Solving for [itex]\frac{\partial}{\partial r}[/itex] and [itex]\frac{\partial}{\partial s}[/itex] I get

[itex]\frac{\partial}{\partial r} = - \frac{1}{2} \frac{\partial}{\partial x} + \frac{5}{2} \frac{\partial}{\partial y} \ \ \ \ \ \ \ \ \frac{\partial}{\partial s} = \frac{5}{2} \frac{\partial}{\partial x} - \frac{15}{2} \frac{\partial}{\partial y}[/itex]

Are the second derivative relationships from the chain rule then ?

[itex]\frac{\partial^2}{\partial x^2} = - \frac{1}{2} \frac{\partial^2}{\partial r^2} + \frac{5}{2} \frac{\partial^2}{\partial s^2} \ \ \ \ \ \ \ \ \frac{\partial^2}{\partial y^2} = \frac{5}{2} \frac{\partial^2}{\partial r^2} - \frac{15}{2} \frac{\partial^2}{\partial s^2}[/itex]

Maybe this a strange example as the [itex]\frac{5}{2} \frac{\partial}{\partial y}[/itex] and [itex]\frac{5}{2} \frac{\partial}{\partial x}[/itex] in the separate equations seem to make the relationships symmetrical.
 
Physics news on Phys.org
What are you differentiating?
 
There will be a function f(x, y) which is undefined at the moment because this example is only a mock up. So the differential operators operate on f(). Then the differential operators for the substituted variables also operate on f() as f(r, s).

That is to say [itex]\frac{\partial}{\partial x} \rightarrow \frac{\partial f}{\partial x}[/itex] and [itex]\frac{\partial}{\partial r} \rightarrow \frac{\partial f}{\partial r}[/itex]
 
Last edited:
No, you should have cross terms. Try taking [itex]\partial/\partial x = 3 \partial/\partial r + \partial/\partial s[/itex] and applying it again. You should see that you get a cross term equal to [itex]4 \partial^2/\partial r \partial s[/itex]. Think about what happens when you multiply [itex](3r+s)(3r+s)[/itex].
 
Excellent hints Muphrid, thanks. But this is a bit tricky and I don't seem to have arrived at a result that is in sync with yours. Here is the breakdown:

The first order chain rule is

[tex]\frac{\partial}{\partial x} = \frac{\partial r}{\partial x} \frac{\partial}{\partial r} + \frac{\partial s}{\partial x} \frac{\partial}{\partial s} \ \ \ \ \ \ \ \ \ \ \ \ \frac{\partial}{\partial y} = \frac{\partial r}{\partial y} \frac{\partial}{\partial r} + \frac{\partial s}{\partial y} \frac{\partial}{\partial s}[/tex]

The second order chain rule for x should be

[tex]\frac{\partial^2}{\partial x^2} = \frac{\partial}{\partial x} (\frac{\partial r}{\partial x} \frac{\partial}{\partial r} + \frac{\partial s}{\partial x} \frac{\partial}{\partial s})[/tex]
[tex]\ \ \ \ \ \ \ = \ \ \frac{\partial r}{\partial x} \cdot \frac{\partial}{\partial x} (\frac{\partial}{\partial r}) \ \ + \ \ \frac{\partial}{\partial x} (\frac{\partial r}{\partial x}) \frac{\partial}{\partial r} \ \ + \ \ \frac{\partial s}{\partial x} \cdot \frac{\partial}{\partial x} (\frac{\partial}{\partial s}) \ \ + \ \ \frac{\partial}{\partial x} (\frac{\partial s}{\partial x}) \frac{\partial}{\partial s}[/tex]

Then the results would seem to be[tex]\frac{\partial^2}{\partial x^2} = \ \ 3 \cdot [3 \frac{\partial}{\partial r} + \frac{\partial}{\partial s}] \frac{\partial}{\partial r} \ \ + \ \ [3 \frac{\partial}{\partial r} + \frac{\partial}{\partial s}] (3) \frac{\partial}{\partial r} \ \ + \ \ 1 \cdot [3 \frac{\partial}{\partial r} + \frac{\partial}{\partial s}] \frac{\partial}{\partial s} \ \ + \ \ [3 \frac{\partial}{\partial r} + \frac{\partial}{\partial s}] (1) \frac{\partial}{\partial s}[/tex]
[tex]\ \ \ \ \ \ \ \ = \ \ 9 \frac{\partial^2}{\partial r^2} \ \ + \ \ 3 \frac{\partial^2}{\partial r \partial s} \ \ + \ \ 9 \frac{\partial^2}{\partial r^2} \ \ + \ \ 3 \frac{\partial^2}{\partial r \partial s} \ \ + \ \ 3 \frac{\partial^2}{\partial r \partial s} \ \ + \ \ \frac{\partial^2}{\partial s^2} \ \ + \ \ 3 \frac{\partial^2}{\partial r \partial s} \ \ + \ \ \frac{\partial^2}{\partial s^2}[/tex]
[tex]\ \ \ \ \ \ \ \ = \ \ 18 \frac{\partial^2}{\partial r^2} \ \ + \ \ 12 \frac{\partial^2}{\partial r \partial s} \ \ + \ \ 2 \frac{\partial^2}{\partial s^2}[/tex]
 
Last edited:
But now I'm thinking that the
[tex]\frac{\partial}{\partial x} (\frac{\partial r}{\partial x}) \frac{\partial}{\partial r} \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \frac{\partial}{\partial x} (\frac{\partial s}{\partial x}) \frac{\partial}{\partial s}[/tex]

terms should be interpreted as [itex]\frac{\partial}{\partial x}[/itex] operating on [itex]\frac{\partial r}{\partial x}[/itex] and [itex]\frac{\partial s}{\partial x}[/itex] rather than their separate values being multiplied.

Then those terms would vanish and the end result would be

[tex]\frac{\partial^2}{\partial x^2} \ \ = \ \ 9 \frac{\partial^2}{\partial r^2} \ \ + \ \ 6 \frac{\partial^2}{\partial r \partial s} \ \ + \ \ \frac{\partial^2}{\partial s^2}[/tex]
 
Last edited:
Yeah, you've got it right now. The way I would've done it is really as simple as

[tex]\frac{\partial^2}{\partial x^2} = \frac{\partial}{\partial x} \frac{\partial}{\partial x} = \left(3 \frac{\partial}{\partial r} + \frac{\partial}{\partial s} \right)\left(3 \frac{\partial}{\partial r} + \frac{\partial}{\partial s} \right)[/tex]

Which gets the same result.
 

Similar threads

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