← Lecture Notes

The fundamental theorem for divergences (Divergence theorem, Gauss's theorem)

A volume 𝒱 bounded by surface 𝒮 is divided into two parts 𝒱₁ and 𝒱₂ by a diaphragm D, and then into many small cells 𝒱ᵢ
Images are from E. M. Purcell, Electricity and Magnetism.
$$\oint_{\mathcal{S}}\mathbf{v}\cdot d\mathbf{a} = \oint_{\mathcal{S}_1}\mathbf{v}\cdot d\mathbf{a} + \oint_{\mathcal{S}_2}\mathbf{v}\cdot d\mathbf{a} = \sum_i^N \oint_{\mathcal{S}_i}\mathbf{v}\cdot d\mathbf{a} = \sum_i^{\color{red}\infty} \color{blue}{\underbrace{\oint_{\mathcal{S}_i}\mathbf{v}\cdot d\mathbf{a}}_{\color{red}\to\, 0}}$$

Recalling the definition of divergence,

$$\nabla\cdot\mathbf{v} = \lim_{V\to 0}\frac{\oint_{\mathcal{S}}\mathbf{v}\cdot d\mathbf{a}}{V} \quad\longrightarrow\quad \color{blue}{\oint_{\mathcal{S}_i}\mathbf{v}\cdot d\mathbf{a} = (\nabla\cdot\mathbf{v})\,d\tau}$$
$$\Rightarrow\quad \oint_{\mathcal{S}}\mathbf{v}\cdot d\mathbf{a} = \int_{\mathcal{V}}(\nabla\cdot\mathbf{v})\,d\tau$$

The fundamental theorem for curls (Stokes' theorem)

A surface 𝒮 bounded by path 𝒫 is divided by a bridge B into two loops 𝒫₁ and 𝒫₂, and then into many small patches with area vectors aᵢ
Images are from E. M. Purcell, Electricity and Magnetism.
$$\oint_{\mathcal{P}}\mathbf{v}\cdot d\mathbf{l} = \oint_{\mathcal{P}_1}\mathbf{v}\cdot d\mathbf{l} + \oint_{\mathcal{P}_2}\mathbf{v}\cdot d\mathbf{l} = \sum_i^N \oint_{\mathcal{P}_i}\mathbf{v}\cdot d\mathbf{l} = \sum_i^{\color{red}\infty} \color{blue}{\underbrace{\oint_{\mathcal{P}_i}\mathbf{v}\cdot d\mathbf{l}}_{\color{red}\to\, 0}}$$

Recalling the definition of curl,

$$(\nabla\times\mathbf{v})\cdot\hat{\mathbf{n}} = \lim_{a\to 0}\frac{\oint_{\mathcal{P}}\mathbf{v}\cdot d\mathbf{l}}{a} \quad\longrightarrow\quad \color{blue}{\oint_{\mathcal{P}_i}\mathbf{v}\cdot d\mathbf{l} = (\nabla\times\mathbf{v})\cdot\hat{\mathbf{n}}\,da}$$
$$\Rightarrow\quad \int_{\mathcal{S}}(\nabla\times\mathbf{v})\cdot d\mathbf{a} = \oint_{\mathcal{P}}\mathbf{v}\cdot d\mathbf{l}$$