I About divergence, gradient and thermodynamics

AI Thread Summary
The discussion centers on evaluating the divergence of the product ##\mu \vec F## in thermodynamics, where ##\mu## is a scalar function dependent on multiple variables. The divergence is expressed as ##\nabla \cdot (\mu \vec F) = \nabla \mu \cdot \vec F + \mu \nabla \cdot \vec F##, with the latter term vanishing in this context. The confusion arises around calculating the gradient of ##\mu##, particularly how to incorporate dependencies on temperature and magnetic fields. The correct approach involves applying the chain rule, leading to the expression for the gradient as a sum of partial derivatives with respect to each variable. This clarifies how to account for all dependencies in the evaluation of the divergence.
fluidistic
Gold Member
Messages
3,928
Reaction score
272
At some point, in Physics (more precisely in thermodynamics), I must take the divergence of a quantity like ##\mu \vec F##. Where ##\mu## is a scalar function of possibly many different variables such as temperature (which is also a scalar), position, and even magnetic field (a vector field).

My question is, how to evaluate that divergence? I am tempted to set it equal to ##\nabla \cdot (\mu \vec F)=\nabla \mu \cdot \vec F + \mu \nabla \cdot \vec F##. I know it doesn't matter here, but it turns out that thanks to some physical fact, the divergence of ##\vec F## vanishes, so we can focus solely on the first term if we want.

And that is where my doubt lies. Precisely, the gradient of ##\mu##. Is it like a total derivative? So that if ##\mu## depends on temperature, magnetic field and position, then I should evaluate ##\nabla \mu## as ##\left ( \frac{\partial \mu}{\partial T}\right)_{\vec B,x}\frac{\partial T}{\partial x} + \left ( \frac{\partial \mu}{\partial x}\right)_{\vec B,T}\frac{\partial x}{\partial x} + \left ( \frac{\partial \mu}{\partial B_x}\right)_{B_y, B_z,x,T}\frac{\partial B_x}{\partial x}+... ##? I am a bit confused on the number of terms and whether what I wrote is correct.
 
Mathematics news on Phys.org
To answer the first part of the question, just write it out in Cartesian component form.

For the second part, you correctly determined the partial with respect to x at constant y and z.
 
  • Like
Likes fluidistic
Chestermiller said:
To answer the first part of the question, just write it out in Cartesian component form.
Done, I confirm what I wrote, namely ##\nabla \cdot (\mu \vec F)=\nabla \mu \cdot \vec F + \mu \nabla \cdot \vec F##

However, more precisely I get (for the first term on the right side): ##\left( \frac{\partial \mu}{\partial x} \right) F_x + \left( \frac{\partial \mu}{\partial y} \right) F_y + \left( \frac{\partial \mu}{\partial z} \right) F_z##. As if only spatial derivatives mattered.

So, even if ##\mu## depends on temperature, I do not see how to reach what I wrote, say the term ##\left ( \frac{\partial \mu}{\partial T}\right)_{\vec B,x}\frac{\partial T}{\partial x}##. How could I reach this?
 
fluidistic said:
Done, I confirm what I wrote, namely ##\nabla \cdot (\mu \vec F)=\nabla \mu \cdot \vec F + \mu \nabla \cdot \vec F##

However, more precisely I get (for the first term on the right side): ##\left( \frac{\partial \mu}{\partial x} \right) F_x + \left( \frac{\partial \mu}{\partial y} \right) F_y + \left( \frac{\partial \mu}{\partial z} \right) F_z##. As if only spatial derivatives mattered.

So, even if ##\mu## depends on temperature, I do not see how to reach what I wrote, say the term ##\left ( \frac{\partial \mu}{\partial T}\right)_{\vec B,x}\frac{\partial T}{\partial x}##. How could I reach this?

Apply the chain rule: if \mu(u_1(x,y,z), \dots, u_n(x,y,z)) then
<br /> \frac{\partial \mu}{\partial x} = \sum_{i=1}^n \frac{\partial \mu}{\partial u_i} \frac{\partial u_i}{\partial x} and thus <br /> \nabla \mu = \sum_{i=1}^n \frac{\partial \mu}{\partial u_i} \nabla u_i.
 
  • Informative
Likes fluidistic
Thank you, I mathematically get it.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top