# Are all line integrals zero by divergence theorem?

Suppose there is a vector field A. Now the line integral over some curve c equals double integration of curl A over surface S enclosed by C. Now if we put the divergence theorem in this then it becomes triple integral of divergence of curl Adv over the volume enclosed by the surface. Now divergence of curl of vector A becomes zero. Now so the volume integral should be zero. So the surface and line integral is also zero. So we can do this for any line integral (where the vector is defined in the surface). So does it imply all line integrals are zero. Where am I doing the mistake? Sorry for mathjax.

• What are the hypotheses on using the divergence theorem? Aug 4, 2018 at 0:54
• @JasonDeVito the vector should be valid throughout the region. The surface should enclose a volume. The region has to be simply connected. Aug 4, 2018 at 0:56
• If the surface encloses a volume, does it have a boundary curve? Aug 4, 2018 at 0:59
• @JasonDeVito it should have a plane not a curve I guess. Except sphere or paraboloid etc. Aug 4, 2018 at 1:00
• Nope, no exceptions. If a surface encloses a volume, it has no boundary curve. So there is no way to apply the divergence theorem after applying Stokes's theorem Aug 4, 2018 at 1:20

In order to apply the divergence theorem, your surface $S$ needs to enclose a solid. This, in particular, implies that $S$ itself has no boundary. But using Stokes's theorem relates the integral over a surface to an integral over its boundary. Thus, there is no surface $S$ for which both theorems apply.