Chain rule with multiple variables

Click For Summary

Discussion Overview

The discussion revolves around the application of the chain rule in the context of functions with multiple variables, specifically focusing on the derivatives of a function y(s,t) defined in terms of another function v(x(s,t),t). Participants explore the derivation of the second derivative of y with respect to t and the implications of using partial versus total derivatives.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the chain rule for the first and second derivatives of y(s,t) and expresses confusion about the derivation of the second derivative.
  • Another participant confirms the textbook's result and shares a lengthy proof, indicating a desire to simplify it further.
  • A participant emphasizes the need to recognize that the derivative of v with respect to x is a function of both t explicitly and through x, suggesting that notation can be ambiguous.
  • There is a challenge regarding the use of total versus partial derivatives, with one participant questioning the notation used by another.
  • Clarifications are made about the nature of the derivatives being discussed, with emphasis on holding certain variables constant during differentiation.
  • One participant acknowledges their misunderstanding regarding the distinction between partial and total derivatives and shares additional proofs of the formula.
  • A later reply critiques the notation used in the discussion, stressing that all derivatives are partial and that the notation can be misleading regarding which variables are held constant.

Areas of Agreement / Disagreement

Participants generally agree on the correctness of the textbook's result but express differing views on the clarity of the notation and the distinction between partial and total derivatives. The discussion remains unresolved regarding the best approach to clarify these concepts.

Contextual Notes

Participants note that the notation used in the derivatives can be ambiguous, particularly regarding which variables are held constant during differentiation. This ambiguity may lead to confusion in understanding the application of the chain rule in this context.

Undoubtedly0
Messages
98
Reaction score
0
I was reading over a textbook that stated the following, where y(s,t) = v(x(s,t),t)

\frac{\partial y}{\partial t} = \frac{\partial v}{\partial x}\frac{\partial x}{\partial t} + \frac{\partial v}{\partial t}

and

\frac{\partial^2y}{\partial t^2} = \frac{\partial^2 v}{\partial x^2}\left ( \frac{\partial x}{\partial t} \right )^2 + 2\frac{\partial^2 v}{\partial x \partial t}\frac{\partial x}{\partial t} + \frac{\partial^2 v}{\partial t^2}+ \frac{\partial v}{\partial x}\frac{\partial^2 x}{\partial t^2}

I have been having trouble figuring out how they came to the second statement. My logic proceeds as such, using the product rule:

\frac{\partial^2y}{\partial t^2} = \frac{\partial}{\partial t}\left [ \frac{\partial v}{\partial x}\frac{\partial x}{\partial t} + \frac{\partial v}{\partial t} \right] = \frac{\partial^2 v}{\partial t \partial x}\frac{\partial x}{\partial t} + \frac{\partial v}{\partial x}\frac{\partial^2 x}{\partial t^2} + \frac{\partial^2 v}{\partial t^2}

But certainly my result is not equivalent to the correct one. Where did I go astray? Thanks all!
 
Physics news on Phys.org
It looks like the textbook's result is correct. I just came up with a long, messy proof of the formula, and I've attached it as a PDF. You're probably going to need to zoom into see all the details. Tell me if you don't understand something. It seems like I'm making this proof unnecessarily complicated, so let's see whether I can find a way to make it shorter and more intuitive.
 

Attachments

you have to remember
\frac{\partial v}{\partial x},
is a function of t explicitly and a function of t through x.
so that
\frac{\partial}{\partial t}\left( \frac{\partial v(x(t), t)}{\partial x} \right)<br /> = \frac{\partial}{\partial x}\left( \frac{\partial v(x(t), t)}{\partial x} \right) \frac{\partial x}{\partial t}+<br /> \frac{\partial^2 v(x(t), t)}{\partial t \partial x}<br />

this is one of those cases where the notation is kind of sloppy.

and of course the same thing for
\frac{\partial v}{\partial t}( x(t), t)
 
Last edited:
qbert, are you using total derivatives instead of partial derivatives, but denoting them as partial derivatives? If so, why?
 
all derivatives are partial holding s constant.
you just need to keep the implicit dependence straight.
 
OK, I got it now. I just needed to keep the partial and total derivatives straight. I've attached a PDF with two relatively compehensible proofs of the formula.
 

Attachments

i said something wrong which has been bugging me.
i was going to let it slide but then there was an answer
with the phrase "total derivative", which to me needed
commenting on.

this is basically nit-picking, but...

all the derivatives are partial. they're partial and the
notation is ambiguous as to what's "being held constant"
which is why i commented on the sloppiness of the notation.

when you write \frac{\partial^2 y}{\partial t^2}where y = y(s,t) is a function
of the two variables it means, keep s constant through both derivatives.

so we need to remember our function always depends on the
two variables s an t.

now if we define y(s,t)=v(x(s,t), t) then v is
a function of the two variables x and t. and x is a function
of the two variables s and t.

so that
\frac{\partial y}{\partial t} = \frac{\partial v}{\partial x}\frac{\partial x}{\partial t} <br /> + \frac{\partial v}{\partial t}

The symbol \frac{\partial }{\partial t} means different things on each side of
the equation! acting on y(s,t) it means differentiate with respect to t keeping s constant.
When it acts on v(x,t) it means differentiate with respect to t keeping x constant.

It turns out to be convenient here to introduce
<br /> \frac{\partial v}{\partial x}(x,t) = w(x, t), \text{ and }<br /> \frac{\partial v}{\partial t}(x, t) = u(x, t).<br />

So that

\frac{\partial y}{\partial t}(s,t) = w(x(s,t), t) \frac{\partial x}{\partial t}(s,t) <br /> + u(x(s, t), t)

Now doing the derivative holding s constant gives
\frac{\partial^2 y}{\partial t^2} =<br /> \left( \frac{\partial w}{\partial x} \frac{\partial x}{\partial t} <br /> + \frac{\partial w}{\partial t}<br /> \right) \frac{\partial x}{\partial t} <br /> + w \frac{\partial^2 x}{\partial t^2}<br /> + \left( \frac{\partial u}{\partial x} \frac{\partial x}{\partial t} + \frac{\partial u}{\partial t} \right) <br />

now plugging in for w and u the derivatives of v gives the books result.
notice all the derivatives are partial.
 

Similar threads

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