Green's theorem
Putting together these two results, a result analogous to Green's theorem for scalar fields is obtained,