Problem about the derivation of divergence for a magnetic field

AI Thread Summary
The discussion revolves around deriving that the divergence of a magnetic field is zero, utilizing Biot-Savart's law and the properties of integrals and curls. The main question posed is how to justify taking the curl outside the integral when the variables differ, specifically when the curl operates on an unprimed variable while the integral involves a primed variable. Participants clarify that this interchange is valid because the integral and curl act on different variables, allowing for the application of the Leibniz integral rule. A proof is suggested through the consideration of multi-variable functions reducing to single-variable cases, emphasizing the conditions under which such operations can be performed. The conversation concludes with a confirmation of the proof's validity.
georg gill
Messages
151
Reaction score
6
Summary:: I am trying to derive that the divergence of a magnetic field is 0. One of the moves is to take the curl out of an integral. Can someone prove that this is addressable

Biot Savart's law is

$$B(r)=\frac{\mu _0}{4\pi} \int \frac{I(r') \times (r-r')}{|r-r|^3}dl'=\frac{\mu _0}{4\pi} \int \frac{J(r') ds \times (r-r')}{|r-r|^3}dl'=\frac{\mu _0}{4\pi} \int \frac{J(r') \times (r-r')}{|r-r|^3}dV'$$

We use:

$$\frac{(r-r')}{|r-r'|^3}=-\nabla \frac{1}{|r-r'|}$$

$$B(r)=-\frac{\mu _0}{4\pi} \int J(r') \times \nabla \frac{1}{|r-r'|}dV'$$

We use the identity

$$-J \times (\nabla \Psi)=\nabla \times (\Psi J) - \Psi (\nabla \times J)$$

$$B(r)=\frac{\mu _0}{4\pi} \int \nabla \times \{\frac{ J(r')}{|r-r'|} - \frac {1}{|r-r|}\nabla \times J(r') \}dV'$$

$$\nabla \times J(r')$$ is 0 since we take the derivative of r on a function of r'.$$B(r)=\frac{\mu _0}{4\pi} \int \nabla \times \frac{ J(r')}{|r-r'|} dV'$$

My question. The next move is to take the curl outside the integral so that one obtains

$$B(r)=\frac{\mu _0}{4\pi}\nabla \times \int \frac{ J(r')}{|r-r'|} dV'$$

Indeed this is a nice move as one obtains the formula for the magnetic vector potential. And also gives that the divergence of the magnetic field is 0 since divergence of the curl is 0. But my problem is: How can one prove that one can take the curl outside the integral when the curl inside the integral has r as a variable?
 
Last edited:
  • Like
Likes Delta2
Physics news on Phys.org
If this is a homework problem, then you should have posted it in the homework forum and have filled out the template. Since you have shown your work, however, I'll point out that you have been sloppy with your variables; the denominators should have |r-r'|, and the integral is over dV' thus operating on the primed variable r'. The curl, on the other hand, is unprimed and operates on r. Integral and curl can be interchanged because they operate on different variables.
 
  • Like
Likes Delta2
marcusl said:
If this is a homework problem, then you should have posted it in the homework forum and have filled out the template. Since you have shown your work, however, I'll point out that you have been sloppy with your variables; the denominators should have |r-r'|, and the integral is over dV' thus operating on the primed variable r'. The curl, on the other hand, is unprimed and operates on r. Integral and curl can be interchanged because they operate on different variables.
I have tried to update the prime notation. Should I move it to homework?

The problem is that I want a proof for why integral and curl can be intechanged because they operate on different variables. I have been given the argumentation before. But I need a proof. For example if you start with the integral it seems that you would integrate the current density and also the denominator which would give an ln function or something. After that you would have to derivate this ln function back to \frac{1}{r-r'}. If you go the other something else migh happen. And also why does this laways hold. There has to be a mathematical proof for this. For example I have a mathematical proof for the fact that \frac{\partial^2 f}{\partial x \partial y}=\frac{\partial^2 f}{\partial y \partial x}?
 
Proof? I'm not a mathematician and don't do proofs. As for a demonstration, you could try it in one dimension: write the integral as a Riemann sum in the limit that \Delta z=0 and the derivative as the usual limit of differences (the basic definition from Calc I) and notice that they operate on different variables so you can interchange terms.
 
georg gill said:
Indeed this is a nice move as one obtains the formula for the magnetic vector potential. And also gives that the divergence of the magnetic field is 0 since divergence of the curl is 0. But my problem is: How can one prove that one can take the curl outside the integral when the curl inside the integral has r as a variable?
In terms of a proof, all the multi-variable cases reduce to the single variable case where you have: $$g(x) = \int f(x, y) \ dy \ \ \text{and} \ \ \frac{d}{dx}g(x) = \int \frac{\partial}{\partial x} f(x, y) \ dy$$ And what you are really doing is reversing the order of two limits: the integral and the derivative. In general, if ##f## is a well-behaved function, then you can do this. There's a lot more here (including proofs) if you are interested:

https://en.wikipedia.org/wiki/Leibniz_integral_rule
 
  • Like
Likes Delta2, georg gill and vela
marcusl said:
If this is a homework problem, then you should have posted it in the homework forum and have filled out the template. Since you have shown your work, however, I'll point out that you have been sloppy with your variables; the denominators should have |r−r′|, and the integral is over dV′ thus operating on the primed variable r′. The curl, on the other hand, is unprimed and operates on r. Integral and curl can be interchanged because they operate on different variables.
The problem is that I want a proof for why integral and curl can be intechanged because they operate on differnet variables. I have been given the argumentation before. But I need a proof. For example if you start with the integral
PeroK said:
In terms of a proof, all the multi-variable cases reduce to the single variable case where you have: $$g(x) = \int f(x, y) \ dy \ \ \text{and} \ \ \frac{d}{dx}g(x) = \int \frac{\partial}{\partial x} f(x, y) \ dy$$ And what you are really doing is reversing the order of two limits: the integral and the derivative. In general, if ##f## is a well-behaved function, then you can do this. There's a lot more here (including proofs) if you are interested:

https://en.wikipedia.org/wiki/Leibniz_integral_rule
Thanks for the proof!
 
Thread 'Help with Time-Independent Perturbation Theory "Good" States Proof'
(Disclaimer: this is not a HW question. I am self-studying, and this felt like the type of question I've seen in this forum. If there is somewhere better for me to share this doubt, please let me know and I'll transfer it right away.) I am currently reviewing Chapter 7 of Introduction to QM by Griffiths. I have been stuck for an hour or so trying to understand the last paragraph of this proof (pls check the attached file). It claims that we can express Ψ_{γ}(0) as a linear combination of...
Back
Top