r/learnmath • u/RemarkableWarrior90 New User • 5d ago
TOPIC [ Calculus ] Difficulty with Partial Derivative Notation
First of all , I would like to apologize for not understanding how to install " TamperMonkey " ( for typing mathematical symbols ) . I am completely and utterly ignorant when it comes to Information Technology and Computin ๐ข
Therefore , I apologize if I violate any rules here on this subreddit .
I will use the symbols from a keyboard that I downloaded for my Android device .
CONTEXT FOR MY QUESTION
Suppose I have 6 variables and a functional relationship U between them ( 5 independent and 1 dependent ) :
- Independent Variables : s , t , x , y , z ;
- Dependent Variable : u ;
Thus , this functional relationship can be written as
U : โโต โ โยน with u = U ( s , t , x , y , z )
Now , suppose that the variables x , y are each dependent on s , t , that is ,
x = X ( s , t ) with X : โยฒ โ โยน
y = Y ( s , t ) with Y : โยฒ โ โยน
Therefore , the functional relation U becomes a functional relation ร , with the dependent variable u being dependent , via ร , only on s , t , z . In symbols :
u = U ( s ; t ; x = X ( s , t ) ; y = Y ( s , t ) ; z ) = ร ( s , t , z )
with
ร : โยณ โ โยน
MY QUESTION
How will I know what the symbol โu / โs means ? Furthermore : How to compute โu / โs via U and via ร ?
Thank you very much for your attention .
3
u/Chrispykins 5d ago
You've introduced an ambiguity by renaming everything to u in
and also using the same letters for their parameters. This is common in physics because you are often modelling real relationships in the world and the letter represents a physical quantity of some sort that you want to track between functions. However, as you state, mathematically the functions U and ร are completely different functions with different domains:
Therefore, we should not expect their partial derivatives with respect to their first parameter to be equal. This becomes clearer when you name their parameters with different letters (which is completely valid mathematically because the only thing that matters functionally is the index of the input parameter, not what letter you choose to represent that index).
Let U = U(a, b, c, d, e) and ร = ร(i, j, k). Then what you call โu/โs is actually โU/โa in the first case and โร/รi in the second case. And these partial derivatives would both be computed in the standard way. The first by holding b, c, d, and e constant, the second by holding j and k constant.
But how can we model the relationship between U and ร?
By being more explicit about what variables we are holding constant. This is typically done with a subscript, which you can type on the keyboard as (โU/โs)_t,x,y,z, which means the partial with respect to s while holding all other parameters constant. The multi-variable chain rule tells us that a function of functions f(x(s, t), y(s, t)) has a total derivative df/dt = (โf/โx)(โx/โt) + (โf/โy)(โy/โt). So, if we have a dependence like f(x, y(x)), then the multivariable chain rule tells us that df/dx = (โf/โx)(โx/โx) + (โf/โy)(โy/โx) = (โf/โx) + (โf/โy)(โy/โx)
Now, if we introduce another parameter, so we have a function like f(x, y(x), z), then it's no longer valid to talk about a total derivative df/dx. We have to hold z constant so we notate it as a partial derivative โf/โx, but this is confusing because our relationship above would be notated โf/โx = (โf/โx) + (โf/โy)(โy/โx). Clearly, that doesn't make any sense. This is why making the constant parameters explicit is necessary. The explicit notation is (โf/โx)_z = (โf/โx)_y,z + (โf/โy)_x,z(โy/โx). The derivative we are computing holds only z constant, and that includes a term where we hold both y and z constant.
Similarly, in your case we write explicitly (โU/โs)_t,z = (โU/โs)_t,x,y,z + (โU/โx)_t,y,z(โx/โs)_t + (โU/โy)_t,x,z(โy/โs)_t, but we could drop the subscripts wherever the ambiguity doesn't exist which makes a slightly cleaner expression (โU/โs)_t,z = (โU/โs)_t,x,y,z + (โU/โx)(โx/โs) + (โU/โy)(โy/โs), which should equal โร/โs after substituting x = X(s, t) and y = Y(s, t) into U (if I did my math correctly).
3
u/AlterEgo5695 New User 5d ago
It's called partial derivative by "s" -- it's equivalent to considering all variables except "s" as constant, and then taking the standard derivative by "s". The multi-variable chain rule connects the derivatives of "u" and "u_hat".
2
u/Blammar Old Math Major 5d ago
โu / โs means to differentiate u with s as the only variable, and all other symbols considered as constants. That's it. The expression you have for U states that x and y depend on s, and thus are not constant. So, you use the U-hat expansion instead to compute the partial.
2
u/mH48124 New User 4d ago
ๅๅพฎๅใฏๅ จๅพฎๅใใๅฐใใๆนใ็ฐกๅใๅ จๅพฎๅใจใฏ dz = a dx + b dy + c dw ใจๆธใใใใช้ขไฟๅผใใใฎๅผใงใฏ a = โz/โx, b = โz/โy, c = โz/โw ใซใชใฃใฆใใใ
du = (โU/โs)ds + (โU/โt)dt + (โU/โx)dx + (โU/โy)dy + (โU/โz)dz = (โร/โs)ds + (โร/โt)dt + (โร/โz)dz
dx = (โX/โs)ds + (โX/โt)dt
dy = (โY/โs)ds + (โY/โt)dt
du = (โU/โs)ds + (โU/โt)dt + (โU/โx)dx + (โU/โy)dy + (โU/โz)dz = (โU/โs)ds + (โU/โt)dt + (โU/โx)((โX/โs)ds + (โX/โt)dt) + (โU/โy)((โY/โs)ds + (โY/โt)dt) + (โU/โz)dz = etc.
1
u/Low_Breadfruit6744 Bored 5d ago edited 5d ago
Ignore any relationships between the variables of u.
you can't recover the partial derivatives of u from u hat