Chain rule when taking vector derivatives

Click For Summary

Homework Help Overview

The discussion revolves around the application of the chain rule in the context of vector derivatives, specifically for a function of several variables related to kinetic energy in a scleronomic system of particles. The original poster presents a formulation involving vectors and generalized coordinates.

Discussion Character

  • Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to use the chain rule to express the derivative of a function T with respect to generalized coordinates q_j, questioning the correctness of their formulation. Some participants inquire about the independence of the variables involved and suggest clarifying the notation used for the variables and functions.

Discussion Status

Participants are actively engaging with the original poster's formulation, providing feedback on the notation and the assumptions regarding variable independence. There is an ongoing exploration of how to properly express the relationship between the variables and the function T, with some guidance offered on clarifying the distinctions between variables and functions.

Contextual Notes

The original poster notes that T represents a kinetic energy function in a physics context, indicating that the discussion is situated within Lagrangian mechanics. There are mentions of potential confusion arising from the mathematical notation used and the need for clarity regarding the physical context.

Coffee_
Messages
259
Reaction score
2
Consider a function of several variables ##T=T(x_{1},...,x_{3N})## Let's say I have N vectors of the form ##\vec{r_{1}}=(x_1,x_{2},x_{3})## and ##x_j=x_j(q_1,...,q_n)##. Awkward inex usage but the point is just that the each variable is contained in exactly 1 vector.

Is it correct to in general use the chain rule in this way? :

##\frac{\partial T}{\partial q_j} = \sum\limits_{k=1}^N \frac{\partial T}{\partial \vec{r_k}}.\frac{\partial \vec{r_k}}{\partial q_j}##

Where the notation ##\frac{\partial T}{\partial \vec{r_k}}## is just ##(\frac{\partial T}{\partial x_k},..., \frac{\partial T}{\partial x_{k+2}})##
 
Last edited:
Physics news on Phys.org
There's something wrong with your Latex, please edit your post to fix it.
 
jedishrfu said:
There's something wrong with your Latex, please edit your post to fix it.

Done
 
Coffee_ said:
Consider a function of several variables ##T=T(x_{1},...,x_{3n})##. Let's call vector ##\vec{r_{k}}=(x_{k},x_{k+1},x_{k+2})## in ##R^{3}##

Is it correct to in general use the chain rule in this way? :

##\frac{\partial T}{\partial x_j} = \sum\limits_{k=1}^n \frac{\partial T}{\partial \vec{r_k}}.\frac{\partial \vec{r_k}}{\partial x_j}##

Where the notation ##\frac{\partial T}{\partial \vec{r_k}}## is just ##(\frac{\partial T}{\partial x_k},..., \frac{\partial T}{\partial x_{k+2}})##

The way you've written this, I'd infer that the x's are all independent variables, so it makes no sense to differentiate one wrt another.
 
PeroK said:
The way you've written this, I'd infer that the x's are all independent variables, so it makes no sense to differentiate one wrt another.

Yeah totally right. I've edited it, correctly this time I hope.
 
Coffee_ said:
Consider a function of several variables ##T=T(x_{1},...,x_{3N})## Let's say I have N vectors of the form ##\vec{r_{1}}=(x_1,x_{2},x_{3})## and ##x_j=x_j(q_1,...,q_n)##. Awkward inex usage but the point is just that the each variable is contained in exactly 1 vector.

Is it correct to in general use the chain rule in this way? :

##\frac{\partial T}{\partial q_j} = \sum\limits_{k=1}^N \frac{\partial T}{\partial \vec{r_k}}.\frac{\partial \vec{r_k}}{\partial q_j}##

Where the notation ##\frac{\partial T}{\partial \vec{r_k}}## is just ##(\frac{\partial T}{\partial x_k},..., \frac{\partial T}{\partial x_{k+2}})##

Do you mean that you have ##\vec{r}_1 = (x_1,x_2,x_3)##, ##\vec{r}_2 = (x_4, x_5, x_6)##, etc? Using the notation ##\xi_i(q_1,q_2, \ldots, q_n)## instead of ##x_i(q_1, q_2, \ldots, q_n)## (just so as to keep straight the distinction between the variable ##x_i## and the function ##\xi_i## that delivers you the value of ##x_i##), it seems you are asking for the derivative of
T = {\cal T}(\xi_1(q_1, q_2, \ldots, q_n), \xi_2(q_1, q_2, \ldots, q_n) , \dots, \xi_{3N}(q_1, q_2, \ldots, q_n)),
again being careful to distinguish between the variable ##T## and the function that delivers you ##T## (which I call ##{\cal T}##).
 
Ray Vickson said:
Do you mean that you have ##\vec{r}_1 = (x_1,x_2,x_3)##, ##\vec{r}_2 = (x_4, x_5, x_6)##, etc? Using the notation ##\xi_i(q_1,q_2, \ldots, q_n)## instead of ##x_i(q_1, q_2, \ldots, q_n)## (just so as to keep straight the distinction between the variable ##x_i## and the function ##\xi_i## that delivers you the value of ##x_i##), it seems you are asking for the derivative of
T = {\cal T}(\xi_1(q_1, q_2, \ldots, q_n), \xi_2(q_1, q_2, \ldots, q_n) , \dots, \xi_{3N}(q_1, q_2, \ldots, q_n)),
again being careful to distinguish between the variable ##T## and the function that delivers you ##T## (which I call ##{\cal T}##).

Yeah. Maybe I should have included the physics context since this is a physics forum. Would have messed up less and wasted less of people's time by converting it into math format wrongly.

Basically T is supposed to be a kinetic energy function of a scleronomic system of particles. Where q's represent generalized coordinates and the r-vectors represent the positions of the particles in a carthesian frame.

I was wondering how to formulate the chain rule this way when taking the partial derivative of T wrt. of one of the generalized coordinates. In case you are not familiar with Lagrangian mechanics just nevermind what I said and yes you seem to have stated my problem very well.
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K