MHB The chain rule (General version)

  • Thread starter Thread starter Petrus
  • Start date Start date
  • Tags Tags
    Chain Chain rule
Click For Summary
The discussion focuses on applying the chain rule to the function g(s, t) = f(s² - t², t² - s²) and demonstrating that it satisfies the equation t(dg/ds) + s(dg/dt) = 0. Participants detail their calculations of dg/ds and dg/dt using the chain rule, emphasizing the importance of partial derivatives in multivariable functions. A tree diagram was created to visualize the relationships between variables, which was confirmed to be correct. Additionally, a helpful resource for further understanding the chain rule was shared. The conversation reflects a collaborative effort to clarify and solve the example problem effectively.
Petrus
Messages
702
Reaction score
0
Exempel 6: If $$g(s, t) = f(s^2-t^2, t^2-s^2)$$ and f is differentiable, show that g satisfies the equation
$$t\frac{dg}{ds}+s\frac{dg}{dt}=0$$
I always try solve it before I look 'soloution' so this is how we both did it. (remember this is a exempel in my book so they show how to solve it but they did not make any tree driagram etc.)
$$\frac{dg}{ds}=\frac{df}{dx}\frac{dx}{ds}+\frac{df}{dy}\frac{dy}{ds}=\frac{df}{dx}(2s)+\frac{df}{dy}(-2s)$$
$$\frac{dg}{dt}=\frac{df}{dx}\frac{dx}{dt}+\frac{df}{dy}\frac{dy}{dt}=\frac{df}{dx}(-2t)+\frac{df}{dy}(2t)$$
$$t\frac{dg}{ds}+s\frac{dg}{dt}=\frac{df}{dx}(2st)+ \frac{df}{dy}(-2st) - \frac{df}{dx}(2st)+\frac{df}{dy}(2st)=0$$
This is what I made extra cause I want to be specefic. I want to citat from my book:
"We got n variables ($$x_1,x_2,...x_n$$ (in this problem we got 2) and each of these $$x_j$$ is a differentiable function of the m vavariables $$t_1, t_2,...,t_m$$ then u is a function of $$t_1,t_2,...,t_m$$ (in our it will be 2 if I understand correct but I strugle on that one)"
So now I did write about these note and got same answer as the soloution. Then I wanted to draw a 'tree driagram' and I did draw it like this, correct me if I do it wrong View attachment 735

Regards,
 

Attachments

  • math1.png
    math1.png
    1.9 KB · Views: 102
Physics news on Phys.org
Petrus said:
Exempel 6: If $$g(s, t) = f(s^2-t^2, t^2-s^2)$$ and f is differentiable, show that g satisfies the equation
$$t\frac{dg}{ds}+s\frac{dg}{dt}=0$$
I always try solve it before I look 'soloution' so this is how we both did it. (remember this is a exempel in my book so they show how to solve it but they did not make any tree driagram etc.)
$$\frac{dg}{ds}=\frac{df}{dx}\frac{dx}{ds}+\frac{df}{dy}\frac{dy}{ds}=\frac{df}{dx}(2s)+\frac{df}{dy}(-2s)$$
$$\frac{dg}{dt}=\frac{df}{dx}\frac{dx}{dt}+\frac{df}{dy}\frac{dy}{dt}=\frac{df}{dx}(-2t)+\frac{df}{dy}(2t)$$
$$t\frac{dg}{ds}+s\frac{dg}{dt}=\frac{df}{dx}(2st)+ \frac{df}{dy}(-2st) - \frac{df}{dx}(2st)+\frac{df}{dy}(2st)=0$$
This is what I made extra cause I want to be specefic. I want to citat from my book:
"We got n variables ($$x_1,x_2,...x_n$$ (in this problem we got 2) and each of these $$x_j$$ is a differentiable function of the m vavariables $$t_1, t_2,...,t_m$$ then u is a function of $$t_1,t_2,...,t_m$$ (in our it will be 2 if I understand correct but I strugle on that one)"
So now I did write about these note and got same answer as the soloution. Then I wanted to draw a 'tree driagram' and I did draw it like this, correct me if I do it wrong View attachment 735

Regards,

Hi Petrus, :)

Not sure whether you still need to clarify this question but here goes. Everything is correct, except the chain rule for multivariable functions involve partial derivatives; so I would have written,

\[\frac{\partial g}{\partial s}=\frac{\partial f}{\partial x}\frac{\partial x}{\partial s}+\frac{\partial f}{\partial y}\frac{\partial y}{\partial s}=2s\frac{\partial f}{dx}-2s\frac{\partial f}{\partial y}\]

and so on. The tree diagram is also correct. A nice reference about the chain rule with similar kind of examples is,

Pauls Online Notes : Calculus III - Chain Rule
 
Sudharaka said:
Hi Petrus, :)

Not sure whether you still need to clarify this question but here goes. Everything is correct, except the chain rule for multivariable functions involve partial derivatives; so I would have written,

\[\frac{\partial g}{\partial s}=\frac{\partial f}{\partial x}\frac{\partial x}{\partial s}+\frac{\partial f}{\partial y}\frac{\partial y}{\partial s}=2s\frac{\partial f}{dx}-2s\frac{\partial f}{\partial y}\]

and so on. The tree diagram is also correct. A nice reference about the chain rule with similar kind of examples is,

Pauls Online Notes : Calculus III - Chain Rule
Hello Sudharaka,
Thanks once again for the help and taking your time!:) That link seems really good I will read about it when I got time and I will be back if I got any question!:)

Regards,
$$|\pi\rangle$$
 
Petrus said:
Hello Sudharaka,
Thanks once again for the help and taking your time!:) That link seems really good I will read about it when I got time and I will be back if I got any question!:)

Regards,
$$|\pi\rangle$$

Glad to be of help. :)
 
Thread 'Problem with calculating projections of curl using rotation of contour'
Hello! I tried to calculate projections of curl using rotation of coordinate system but I encountered with following problem. Given: ##rot_xA=\frac{\partial A_z}{\partial y}-\frac{\partial A_y}{\partial z}=0## ##rot_yA=\frac{\partial A_x}{\partial z}-\frac{\partial A_z}{\partial x}=1## ##rot_zA=\frac{\partial A_y}{\partial x}-\frac{\partial A_x}{\partial y}=0## I rotated ##yz##-plane of this coordinate system by an angle ##45## degrees about ##x##-axis and used rotation matrix to...

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K