Maxwell equation and divergence theorem contradict?

66 Views Asked by At

In my engineering mathematics class, I learned about Gauss' law and form of one Maxwell equation. I learned that

$∇∙E=ρ/ε$

in Maxwell's equation

$∇∙E=0$

in process of proving Gauss' law.

force of electric field has inverse proportion so I understood ∇∙E=0.

but why $∇∙E$ is not zero in Maxwell's equation?