- 2,590
- 4
Homework Statement
This is from my textbook Engineering Electromagnetics by John Buck and William Hayt 7th Edn, pg 238 in the chapter titled "The Steady Magnetic Field":
The magnetic flux lines are closed and do not terminate on a "magnetic charge". For this reason Gauss's law for the magnetic field is [tex]\oint_S \textbf{B} \cdot d \textbf{S} = 0[/tex] and application of the divergence theorem shows us that [tex]\nabla \cdot \textbf{B} = 0[/tex].
Homework Equations
Divergence theorem:
[tex]\oint_S \textbf{B} \cdot d\textbf{S} = \int_{\mbox{vol}} \nabla \cdot \textbf{B} dv[/tex].
The Attempt at a Solution
How does [tex]\nabla \cdot \textbf{B} = 0[/tex] follow from the application of the divergence theorem in this case? It is only required that the volume integral of [tex]\nabla \cdot \textbf{B} = 0[/tex] , but not [tex]\nabla \cdot \textbf{B}[/tex], right?