- 2,590
- 5
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 \oint_S \textbf{B} \cdot d \textbf{S} = 0 and application of the divergence theorem shows us that \nabla \cdot \textbf{B} = 0.
Homework Equations
Divergence theorem:
\oint_S \textbf{B} \cdot d\textbf{S} = \int_{\mbox{vol}} \nabla \cdot \textbf{B} dv.
The Attempt at a Solution
How does \nabla \cdot \textbf{B} = 0 follow from the application of the divergence theorem in this case? It is only required that the volume integral of \nabla \cdot \textbf{B} = 0 , but not \nabla \cdot \textbf{B}, right?