My friend and I are self-studying electrodynamics. In Griffiths, Introduction to Electrodynamics (1999), the concept of divergence is introduced mathematically and the following vector field is drawn.
Griffiths states that this vector field has "a large positive divergence".
When trying to imagine what physical scenarios could give rise to this vector field, we imagined a thin shell of very strong negative charge surrounding the center point. We thought this would create an attractive force which gets stronger as you move towards it, just as in the diagram.
But we are troubled, because later Gauss's law is introduced:
$$\mathbf{\nabla} \cdot \mathbf{E} = \frac{\rho}{\epsilon_0}$$
Our questions:
- (Less importantly) What does Griffiths mean by "the vector field has a large positive divergence"? Surely the divergence only has a value at a certain point? I'm assuming he means that it is positive at all points, but wanted to call out that assumption specifically.
- (More importantly) How is our "thin shell" scenario compatible with Gauss's law? Gauss's law seems to state that if there is no charge density at a point, the divergence at that point must be zero. But in our case, there is no charge density anywhere but at the edges. How, then, does this field have a large positive divergence?