Second derivative relationships of substituted varaibles

In summary, the conversation discusses using variable substitution to solve a problem. The relationships between the first derivatives of both sets are found using the chain rule, but there is uncertainty about the correct method for determining the second derivative relationships. The conversation also delves into the differential operators and their application on the substituted variables, leading to the conclusion that the second derivative relationships should have cross terms. Finally, the correct method for determining the second derivative relationships is confirmed to be 9 \frac{\partial^2}{\partial r^2} \ \ + \ \ 6 \frac{\partial^2}{\partial r \partial s} \ \ + \ \ \frac{\partial^2}{\partial s^2}.
  • #1
PhilDSP
643
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
  • #2
What are you differentiating?
 
  • #3
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:
  • #4
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].
 
  • #5
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:
  • #6
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:
  • #7
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.
 

Related to Second derivative relationships of substituted varaibles

What are second derivative relationships of substituted variables?

Second derivative relationships of substituted variables refer to the relationship between the second derivative of a function and its substituted variables. This involves using the chain rule to find the second derivative of a function with respect to a substituted variable.

Why is it important to understand second derivative relationships of substituted variables?

Understanding second derivative relationships of substituted variables is important because it allows us to find the rate of change of a function with respect to a substituted variable. This is useful in various fields of science, such as physics and chemistry, where we need to analyze the rate of change of certain variables.

What is the chain rule and how is it used in finding second derivative relationships of substituted variables?

The chain rule is a mathematical rule that allows us to find the derivative of a function with respect to another function. In the context of second derivative relationships of substituted variables, the chain rule is used to find the second derivative of a function with respect to a substituted variable by taking the derivative of both the original function and the substituted variable function, and then multiplying them together.

Can second derivative relationships of substituted variables be applied to real-world problems?

Yes, second derivative relationships of substituted variables can be applied to real-world problems in various fields, such as economics, engineering, and biology. For example, in economics, it can be used to analyze the relationship between demand and supply, and in biology, it can be used to study the growth rate of a population.

Are there any limitations to using second derivative relationships of substituted variables?

One limitation of using second derivative relationships of substituted variables is that it assumes that the substituted variable is a single, independent variable. In cases where the substituted variable is a function of multiple variables, the second derivative relationship may become more complex and difficult to calculate.

Similar threads

Replies
3
Views
1K
Replies
1
Views
1K
Replies
6
Views
2K
Replies
5
Views
573
Replies
3
Views
1K
Replies
1
Views
2K
  • Calculus
Replies
3
Views
3K
  • Calculus
Replies
2
Views
2K
Replies
3
Views
1K
  • Calculus
Replies
5
Views
1K
Back
Top