Chain Rule in 2D Function Transformation

In summary, the partial derivatives of a function $z$ with respect to $x$ and $y$ can be transformed using the chain rule and the given change of variables $u=x+2y+2$ and $v=x-y-1$. This results in the equation $2\frac{\partial^2 z}{\partial x^2}+\frac{\partial^2 z}{\partial x\partial y}-\frac{\partial^2 z}{\partial y^2}+\frac{\partial z}{\partial x}+\frac{\partial z}{\partial y}=0$ being transformed to $3\frac{\partial^2 z}{\partial u\partial v
  • #1
Julio1
69
0
Let $z:\mathbb{R}^2\to \mathbb{R}$ an function of kind $C^2(\mathbb{R}^2)$. What transforms the equation $2\dfrac{\partial^2 z}{\partial x^2}+\dfrac{\partial^2 z}{\partial x\partial y}-\dfrac{\partial^2 z}{\partial y^2}+\dfrac{\partial z}{\partial x}+\dfrac{\partial z}{\partial y}=0$ under the change of variable $u=x+2y+2$ and $v=x-y-1$?

Hi, I have this problem I don't understand how to solve it. I have calculated the following:

$\dfrac{\partial z}{\partial x}=\dfrac{\partial z}{\partial u}\dfrac{\partial u}{\partial x}+\dfrac{\partial z}{\partial v}\dfrac{\partial v}{\partial x}=\dfrac{\partial z}{\partial u}+\dfrac{\partial z}{\partial v}.$

$\dfrac{\partial z}{\partial y}=\dfrac{\partial z}{\partial u}\dfrac{\partial u}{\partial y}+\dfrac{\partial z}{\partial v}\dfrac{\partial v}{\partial y}=2\dfrac{\partial z}{\partial u}-\dfrac{\partial z}{\partial v}.$

However, the case $\dfrac{\partial^2 z}{\partial x^2}$ I don't understand how solve, anyone can help me?
 
Last edited:
Physics news on Phys.org
  • #2
Julio said:
Let $z:\mathbb{R}^2\to \mathbb{R}$ an function of kind $C^2(\mathbb{R}^2)$. What transforms the equation $2\dfrac{\partial^2 z}{\partial x^2}+\dfrac{\partial^2 z}{\partial x\partial y}-\dfrac{\partial^2 z}{\partial y^2}+\dfrac{\partial z}{\partial x}+\dfrac{\partial z}{\partial y}=0$ under the change of variable $u=x+2y+2$ and $v=x-y-1$?

Hi, I have this problem I don't understand how to solve it. I have calculated the following:

$\dfrac{\partial z}{\partial x}=\dfrac{\partial z}{\partial u}\dfrac{\partial u}{\partial x}+\dfrac{\partial z}{\partial v}\dfrac{\partial v}{\partial x}=\dfrac{\partial z}{\partial u}+\dfrac{\partial z}{\partial v}.$

$\dfrac{\partial z}{\partial y}=\dfrac{\partial z}{\partial u}\dfrac{\partial u}{\partial y}+\dfrac{\partial z}{\partial v}\dfrac{\partial v}{\partial y}=2\dfrac{\partial z}{\partial u}-\dfrac{\partial z}{\partial v}.$

However, the case $\dfrac{\partial^2 z}{\partial x^2}$ I don't understand how solve, anyone can help me?

By the chain rule, note that

\[\frac{\partial}{\partial x} = \frac{\partial u}{\partial x}\frac{\partial}{\partial u} + \frac{\partial v}{\partial x} \frac{\partial}{\partial v}\]

(and similarly with respect to $y$). Therefore, for $u=x+2y+2$ and $v=x-y-1$, you should have that

\[\begin{aligned} \frac{\partial^2 z}{\partial x^2} &= \frac{\partial}{\partial x}\left[\frac{\partial z}{\partial x}\right] \\ &= \left(\frac{\partial u}{\partial x} \frac{\partial}{\partial u} + \frac{\partial v}{\partial x} \frac{\partial}{\partial v}\right) \left(\frac{\partial z}{\partial u}\frac{\partial u}{\partial x} + \frac{\partial z}{\partial v}\frac{\partial v}{\partial x}\right)\\ &= \frac{\partial u}{\partial x}\frac{\partial}{\partial u}\left(\frac{\partial z}{\partial u}\frac{\partial u}{\partial x} + \frac{\partial z}{\partial v}\frac{\partial v}{\partial x}\right) + \frac{\partial v}{\partial x}\frac{\partial}{\partial v} \left(\frac{\partial z}{\partial u}\frac{\partial u}{\partial x} + \frac{\partial z}{\partial v}\frac{\partial v}{\partial x}\right)\\ &= \frac{\partial}{\partial u}\left( \frac{\partial z}{\partial u} + \frac{\partial z}{\partial v}\right) + \frac{\partial}{\partial v}\left(\frac{\partial z}{\partial u} + \frac{\partial z}{\partial v}\right) \\ &= \frac{\partial^2 z}{\partial u^2} + 2\frac{\partial^2 z}{\partial u\partial v} + \frac{\partial^2 z}{\partial v^2}\end{aligned}\]

In a similar manner (verify),

\[\frac{\partial^2 z}{\partial y^2} = 4\frac{\partial^2 z}{\partial u^2} - 4\frac{\partial^2 z}{\partial u\partial v} + \frac{\partial^2 z}{\partial v^2}\]

and (verify)

\[\frac{\partial^2 z}{\partial x \partial y} = 2\frac{\partial^2 z}{\partial u^2} + \frac{\partial^2 z}{\partial u\partial v} - \frac{\partial^2 z}{\partial v^2}\]

Therefore,

\[2\frac{\partial^2 z}{\partial x^2} + \frac{\partial^2 z}{\partial x\partial y} - \frac{\partial^2 z}{\partial y^2} + \frac{\partial z}{\partial x} + \frac{\partial z}{\partial y} = 0 \implies 3\frac{\partial^2 z}{\partial u\partial v} + \frac{\partial z}{\partial u} = 0\]

Is this what you were after?

I hope this made sense! (Smile)
 
  • #3
Chris L T521 said:
Is this what you were after?

I hope this made sense! (Smile)

Hello Chris L T521 :), yes, that's what should do. Sorry, I wanted to express it better in English, but I could not.

Chris L T521 said:
By the chain rule, note that
\[\frac{\partial}{\partial x} = \frac{\partial u}{\partial x}\frac{\partial}{\partial u} + \frac{\partial v}{\partial x} \frac{\partial}{\partial v}\]
Thanks for helping, but know I do not quite understand this. What I understand from this is that $\dfrac{\partial}{\partial x}=D^{0},$ namely $\dfrac{\partial}{\partial x}$ is an operator, but is possible do $D^{0}=\dfrac{\partial u}{\partial x}\cdot D^{0}+\dfrac{\partial v}{\partial x}\cdot D^0.$ In other words, is only one notation?, because $\dfrac{\partial u}{\partial x}$ it should not be understood as a fraction, or as a product fraction, but is an differential.

Chris L T521 said:
\begin{aligned} &= \dfrac{\partial u}{\partial x}\frac{\partial}{\partial u}\left(\frac{\partial z}{\partial u}\frac{\partial u}{\partial x} + \frac{\partial z}{\partial v}\frac{\partial v}{\partial x}\right) + \frac{\partial v}{\partial x}\frac{\partial}{\partial v} \left(\frac{\partial z}{\partial u}\frac{\partial u}{\partial x} + \frac{\partial z}{\partial v}\frac{\partial v}{\partial x}\right)\\ &= \frac{\partial}{\partial u}\left( \frac{\partial z}{\partial u} + \frac{\partial z}{\partial v}\right) + \frac{\partial}{\partial v}\left(\frac{\partial z}{\partial u} + \frac{\partial z}{\partial v}\right) \\
\end{aligned}

Thanks, but know you that I don't understand how pass from the third to the fourth line?. Is there something that simplify? :confused:
 
Last edited:
  • #4
Thanks, I solved so:

$\begin{eqnarray*}
\dfrac{\partial^2 z}{\partial x^2}&=&\dfrac{\partial}{\partial x}\left(\dfrac{\partial z}{\partial x}\right)\\
&=&\left(\dfrac{\partial }{\partial u}\dfrac{\partial u}{\partial x}+\dfrac{\partial}{\partial v}\dfrac{\partial v}{\partial x}\right)\left(\dfrac{\partial z}{\partial u}+\dfrac{\partial z}{\partial v}\right)\\
&=&\dfrac{\partial}{\partial u}\dfrac{\partial u}{\partial x}\dfrac{\partial z}{\partial u}+\dfrac{\partial}{\partial u}\dfrac{\partial u}{\partial x}\dfrac{\partial z}{\partial v}+\dfrac{\partial}{\partial v}\dfrac{\partial v}{\partial x}\dfrac{\partial z}{\partial u}+\dfrac{\partial}{\partial v}\dfrac{\partial v}{\partial x}\dfrac{\partial z}{\partial v}\\
&=&\dfrac{\partial u}{\partial x}\dfrac{\partial^2 z}{\partial u^2}+\dfrac{\partial u}{\partial x}\dfrac{\partial^2 z}{\partial u\partial v}+\dfrac{\partial v}{\partial x}\dfrac{\partial^2 z}{\partial v\partial u}+\dfrac{\partial v}{\partial x}\dfrac{\partial ^2 z}{\partial v^2}\\
&=&\dfrac{\partial^2 z}{\partial u^2}+\dfrac{\partial^2 z}{\partial u\partial v}+\dfrac{\partial^2 z}{\partial v\partial u}+\dfrac{\partial^2 z}{\partial v^2}\\
&\overbrace{=}^{\text{Schwarz}}&\dfrac{\partial^2 z}{\partial u^2}+2\dfrac{\partial^2 z}{\partial u\partial v}+\dfrac{\partial^2 z}{\partial v^2}.
\end{eqnarray*}
$

In analogy with the others, okay?
 

FAQ: Chain Rule in 2D Function Transformation

What is the Chain Rule?

The Chain Rule is a mathematical concept used in calculus to find the derivative of a composite function. It allows us to calculate the rate of change of a quantity that depends on another quantity, which in turn depends on a third quantity, and so on.

How do you use the Chain Rule?

To use the Chain Rule, you first need to identify the composite function, which is a function that is made up of other functions. Then, you need to break it down into its individual parts and apply the Chain Rule formula, which involves taking the derivative of each function and multiplying them together.

Why is the Chain Rule important?

The Chain Rule is important because it allows us to solve more complex problems that involve multiple functions. Without the Chain Rule, we would not be able to find the derivative of composite functions, which are commonly used in many real-world applications, including physics, engineering, and economics.

What is an example of using the Chain Rule?

An example of using the Chain Rule is finding the derivative of a function like f(x) = sin(x^2). First, we identify the composite function as f(g(x)), where g(x) = x^2 and f(x) = sin(x). Then, we apply the Chain Rule formula, which is f'(g(x)) * g'(x), to get f'(g(x)) = cos(g(x)) and g'(x) = 2x. Finally, we substitute these values into the formula to get the derivative of f(x) = sin(x^2) as f'(x) = cos(x^2) * 2x.

What are some common mistakes when using the Chain Rule?

Some common mistakes when using the Chain Rule include forgetting to apply the derivative to each individual function, not properly identifying the composite function, and not using the chain rule formula correctly. It is important to carefully break down the composite function and follow the steps of the chain rule formula to avoid these mistakes.

Similar threads

Replies
6
Views
2K
Replies
3
Views
2K
Replies
5
Views
2K
Replies
3
Views
2K
Replies
5
Views
1K
Replies
12
Views
2K
Back
Top