I'm confused as to what the expression $\iint_D \dfrac{\partial N}{\partial x} - \dfrac{\partial M}{\partial y} \ dA$ in Green's theorem is supposed to be. Is this supposed to be the surface integral? In which case, $\iint_D \dfrac{\partial{N}}{\partial{x}} - \dfrac{\partial M}{\partial y} \ dA = \iint_S \mathbf{F} \cdot \hat{n} \ dS$ ? I was under the impression that Green's theorem is the relationship between the surface integral of a surface and the line integral around the aforementioned surface: $$\oint_C M \ dx + N \ dy = \iint_D \dfrac{\partial N}{\partial x} - \dfrac{\partial M}{\partial{y}} \ dA$$
Is this correct? I'm confused as to whether I am misunderstanding Green's theorem, because I know the surface integral to be $\iint_S \mathbf{F} \cdot \hat{n} \ dS$, or whether these two expressions are equivalent representations of the surface integral.
I would greatly appreciate it if people could please take the time to clarify this.
Green's Theorem allows us to compute line integrals on simple closed curves by computing a double integral on the plane region which is enclosed by the aforementioned curve, and vice-versa. $$\iint_D\left(\frac{\partial N}{\partial x}-\frac{\partial M}{\partial y}\right)dA$$ represents a double integral over the surface $D$ which is enclosed by the curve $C$ in the $xy$-plane. This gives you an alternative way to compute the line integral $$\oint_C\left(M~dx+N~dy\right)$$ by using a double integral. A double integral is analogous to an integral over the real line (e.g. $\int_a^bf(x)dx$). Where an integral $\int_a^bf(x)dx$ is the area under $f$ from $a$ to $b$, the integral $\iint_Df(x,y)dA$ is the volume under $f$ on the 2D-region $D$.