Chain rule with partial derivatives and divergence

Click For Summary

Discussion Overview

The discussion revolves around the application of the chain rule in the context of partial derivatives and divergence, particularly when dealing with functions where one variable is dependent on another. Participants explore the implications of these relationships in both scalar and vector functions, as well as the conditions under which divergence theorems apply.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests that when y is a function of x, the calculation involves a total derivative rather than a partial derivative, leading to a different interpretation of the gradient operator.
  • Another participant emphasizes the importance of careful notation, indicating that confusion may arise from imprecise expressions of relationships between variables.
  • A participant questions the definition of divergence for a function of multiple variables, particularly when one variable is defined as a function of others, citing a specific textbook reference.
  • Concerns are raised about the applicability of divergence and curl when functions are constrained to surfaces, suggesting that this leads to more complex geometrical considerations.
  • There is a discussion about the interpretation of terms in a specific problem from a textbook, with one participant expressing confusion over the definitions and applications of divergence in that context.
  • Another participant points out that the divergence theorem may not hold under certain conditions, particularly when considering time-dependent variables and their implications for the definitions of divergence.

Areas of Agreement / Disagreement

Participants express differing views on the definitions and applications of divergence and the chain rule in the context of dependent variables. There is no consensus on the correct interpretation of these concepts, and multiple competing views remain throughout the discussion.

Contextual Notes

Participants note limitations in their understanding of how divergence applies when variables are interdependent and how this affects the use of the divergence theorem. There are unresolved questions regarding the implications of treating certain variables as constants versus variables in the context of divergence.

bigerst
Messages
56
Reaction score
0
say you have a function f(x,y)
\nablaf= \partialf/\partialx + \partialf/\partialy
however when y is a function of x the situation is more complicated
first off \partialf/\partialx = \partialf/\partialx +(\partialf/\partialy) (\partialy/\partialx)
( i wrote partial of y to x in case y was dependent on some other variable)
the \partialf/\partialx appears on both sides...what does this mean?do they can cancel? are their values equal?
my best guess is the partial with respect to x on the left side assumes non constant y, whereas the partial on the right wrt x assumes constant y... how would you even show that in notation

now suppose we have a vector function F(x,y(x)), what is then the divergence of F, when we put in the operator \nabla do we assume constant y or non constant y? and in which case does the divergence theorem hold?

thanks
 
Physics news on Phys.org
When y = y(x), what you're doing is calculating a total derivative instead of a partial. \nabla f = \hat x \partial_x f + \hat y \partial_y f still, but df/dx = \partial_x f + \partial_y f (dy/dx).

Generally, it's easier to deal with parameterized functions instead of y = y(x). Say x(t) = t and y(t) is some arbitrary function. Really, though, \nabla doesn't make a lot of sense when you're confining yourself to a curve (which is what you're doing when you say y=y(x). Do you see why? You no longer have the freedom to go in any direction as the definition of the derivative would require.
 
You should be careful about your notation.
If you write:
F(x,t)=f(x,y(x,t)) (where I have used "t" as an additional variable),
then you see the answer to your query.

Your doubt about whether to terms are "equal" and somehow cancels, is merely the result of sloppy notation.
 
thanks for the replies
i get the total derivative part
say you have function f(x,y,z) where z= g(x,y), how would you define div(f)? I've seen textbooks (griffiths specifically) say divf =\partialfx/\partialx + \partialfy/\partialy+\partialfz/\partialz or something like that. it doesn't make much sense to me.

bigerst
 
Like I said, I'm not sure divergence and curl make sense when you're considering a function confined to a surface. Doing that starts to get into a whole bunch of stuff about intrinsic/extrinsic geometry, projections of the derivative, differential geometry in general, and so on. At the least, I suspect that formalism may be more than you were bargaining for.
 
bigerst said:
thanks for the replies
i get the total derivative part
say you have function f(x,y,z) where z= g(x,y), how would you define div(f)? I've seen textbooks (griffiths specifically) say divf =\partialfx/\partialx + \partialfy/\partialy+\partialfz/\partialz or something like that. it doesn't make much sense to me.

bigerst
I've never seen any textbook say such a thing. When f is a scalar function of x, y, and z, then
div f= \nabla f= \frac{\partial f}{\partial x}\vec{i}+ \frac{\partial f}{\partial y}\vec{j}+ \frac{\partial f}{\partial z}\vec{k}
Where in Griffiths is the formula you quote and, in particular, what do "fx", "fy", and "fz" mean there? Are they partial derivatives or components of a vector?
 
f_{x} means the x compoenent of the vector function f
its on chapter 10 Q8, Griffiths, introduction to electrodynamics 3rd edition
part of problem asks to take the gradient of J(r',t_{r})
∇'J(r',t_{r})
where t_{r} = t - abs(r-r')/c
so treating ∇' = <\partial/\partialx', \partial/\partialy', \partial/\partialz'>
where <> denotes a vector
hence using the chain rule
∇'J(r',t_{r}) = \partialJx/\partialx' +\partialJy/\partialy' +\partialJz/\partialz' -(1/c)(\partialJ/\partialt_{r})∇(abs(r-r'))
the answer, however is ∇'J(r',t_{r})=-\partialp/\partialt -(1/c)(\partialJ/\partialt_{r})∇(abs(r-r'))
where i believe the author makes use of the continuity equation that states
\nablaJ= - \partialp/\partialt by arguing \partialJx/\partialx' +\partialJy/\partialy' +\partialJz/\partialz' = ∇ J
this made no sense to me as i thought wasnt ∇'J(r',t_{r}) already the divergence?
hence i think either the definition of divergence is different somehow
perhaps the div(J) on the right side means taking the time to be constant while the div on the left side is more of a "absolute divergence?" then how would the divergence theorem hold in that case? define a new G(r',r,t)=J(r',t_{r}) ?
thanks

bigerst
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K