Continuity equation derivation in Griffiths - why partial derivative?

Click For Summary

Discussion Overview

The discussion centers on the derivation of the continuity equation as presented in Griffiths' "Electromagnetism" and its implications regarding the use of partial versus total derivatives in the context of integrals. Participants explore the mathematical reasoning behind these choices, particularly in relation to the behavior of density as a function of time and space.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant questions why a partial derivative is used instead of a total derivative when differentiating the integral of density with respect to time.
  • Another participant explains that the total derivative applies to the integral of density, but once integrated, the parameters are treated as constants, necessitating the use of a partial derivative when differentiating under the integral sign.
  • A later reply elaborates that while density is a function of space and time, the definite integral over a volume does not depend on spatial coordinates, thus justifying the switch to a partial derivative.
  • One participant clarifies that the d/dt in the equation represents an ordinary time derivative, not a material time derivative, and discusses its implications for mass change within a stationary control volume.
  • Another participant introduces the local form of the continuity equation and discusses the conditions under which the integral form is equivalent to the time derivative of charge within a volume, emphasizing the importance of the volume being stationary.
  • A final post suggests looking into Reynolds' transport theorem for further details related to the discussion.

Areas of Agreement / Disagreement

Participants generally agree on the mathematical reasoning behind the use of partial derivatives in this context, but there are nuances regarding the interpretation of time derivatives and the conditions under which the continuity equation holds. Some aspects remain unresolved, particularly regarding the implications of time-dependent volumes.

Contextual Notes

Participants note that the application of the Leibniz rule and the conditions for the continuity equation's validity depend on whether the volume of integration is stationary or time-dependent, which introduces additional complexity to the discussion.

HJ Farnsworth
Messages
126
Reaction score
1
Greetings,

In Griffiths E&M, 3rd. Ed., on page 214, the following is part of the derivation of the continuity equation (the same derivation is shown on the Wikipedia article for the current density, under the continuity equation section: http://en.wikipedia.org/wiki/Current_density)

\int\nabla\cdotJd\tau=-\frac{d}{dt}\int\rhod\tau=-\int\frac{\partial}{\partial t}\rhod\tau,

where the integral is over the volume. Why isn't the relation

\int\nabla\cdotJd\tau=-\frac{d}{dt}\int\rhod\tau=-\int\frac{d}{dt}\rhod\tau?

Ie., in commutating the integral and the derivative, why is it switched to a partial derivative ∂/∂t rather than keeping the total derivative d/dt?

Furthermore, how would the \frac{\partial x}{\partial t}, \frac{\partial y}{\partial t}, and \frac{\partial z}{\partial t} terms in the total derivative \frac{d\rho}{dt}=\frac{\partial \rho}{\partial t}+\frac{\partial \rho}{\partial x}\frac{\partial x}{\partial t}+\frac{\partial \rho}{\partial y}\frac{\partial y}{\partial t}+\frac{\partial \rho}{\partial z}\frac{\partial z}{\partial t} be interpreted?

I think the answer to my first question might be that those terms are 0, but it's hard to think about whether that's true since I am having trouble interpreting those terms in this equation.

Anyway, thanks for any help that you can give.

-HJ Farnsworth
 
Physics news on Phys.org
The total derivative was for the integral of the density; once you have integrated over the parameter, that parameter is absorbed into the integrated function.

But when you pass the derivative through the integral, it becomes a partial derivative because you must not alter the functional relationship with the integration parameter.

Also see http://en.wikipedia.org/wiki/Differentiation_under_the_integral_sign

Note that the application of the generalized chain rule for total or partial derivatives is almost never clear from the notation: you have to know from context if all of the variables are allowed to vary, or if only one is allowed to vary. But in the case of differentiating an integral you already know that the integration parameters cannot be allowed to vary - otherwise you will mess up the integration.
 
Thanks for the quick reply, UltrafastPED.

I think I understand - basically, it can be thought of in terms of free and bound variables. Even though ρ is a function of x, y, z, and t, the definite integral of ρ over a given volume is not dependent on any of the position coordinates - at that point, it is just a constant with respect to x, y, and z, though it could still be a function of t. Therefore, in taking the derivative of the volume integral of ρ with respect to t, the expression \frac{d}{dt}Q(x,y,z,t) is misleading; what we are really doing is taking \frac{d}{dt}Q(t). In commutating the derivative and the integral, we must take this fact into account, so the total derivative becomes a partial derivative.

Inidentally, the link you sent me quickly led to the article on the Leibniz integral rule, http://en.wikipedia.org/wiki/Leibniz_integral_rule, which had a very easy-to-follow proof for the 2-variable case in the Proofs section.

Does this sound correct?

Thanks very much again!
 
Yup ... you got it!
 
The d/dt in this equation is not a material time derivative. It is just what we would regard as an ordinary time derivative. It is calculating the rate of change of mass within a stationary control volume. So you take the mass within the fixed control volume at time t + Δt, subtract the mass within the control volume at time t, and divide by Δt. The second equality is equivalent to this. However, within the control volume, the density is a function of spatial position, so you have to use the partial derivative with respect to time at each location.

Chet
 
There's only one caveat left. The continuity equation is the local equation
\partial_t \rho+\vec{\nabla} \cdot \vec{j}=0.
Integrating this over a volume V with boundary \partial V (oriented in the usual way with the area normal vectors pointing outside of the volume)
\int_V \mathrm{d^3} \vec{x} \partial_t \rho =-\int_{\partial V} \mathrm{d}^2 \vec{F} \cdot \vec{j},
using Stokes integral theorem.

This is equivalent to the time derivative of the charge inside the volume if and only if this volume is stationary, i.e., independent of time, because then and only then you can write
\int_V \mathrm{d^3} \vec{x} \partial_t \rho=\frac{\mathrm{d}}{\mathrm{d} t} \int_V \mathrm{d^3} \vec{x} \rho.

If the volume is time-dependent there is an additional term cf. the Leibniz rule
\frac{\mathrm{d}}{\mathrm{d} t} \int_V \mathrm{d}^3 \vec{x} \rho = \int_V \mathrm{d}^3 \vec{x} \partial_t \rho + \int_{\partial V} \mathrm{d}^2 \vec{F} \cdot \rho \vec{v},
where \vec{v}=\vec{v}(t,\vec{x}) is the velocity of the boundary of the time-dependent volume.
 
You can find out more details about what vanhees71 is talking about here by googling Reynolds' transport theorem.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
973
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
757
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
929
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K