It has been some years since I've taken multivariable calculus now, but there's something I really never understood: how people would discover the expressions for divergence and curl. I mean, the books usually say the formulas and then show that with that it's possible to view divergence as a measure of how much a vector field diverges locally and curl the analog for rotation locally.
Now, it's not clear that if you pick those expressions it will give this interpretation. Books usually say: "we take those formulas because they work" and well, I know that. What I want to know is: imagining we want to find two operators $\operatorname{div}$ and $\operatorname{curl}$ on vector fields such that $\operatorname{div}$ gives local divergence and $\operatorname{curl}$ gives local rotation, how could we deduce the definitions that would work?
I'm questioning this because currently I'm studying differential forms on manifolds, and to appreciate the definition of exterior derivative I thought it would be good to go back and see where the definitions of divergence and curl come from.
Based then on the exterior derivative, I've found out that if $v\in \mathfrak{X}(\mathbb{R}^3)$ is a vector field and we consider the usual cartesian coordinates in $\mathbb{R}^3$ then
$$\nabla \times v = \sum_{i=1}^3 \nabla v^i \times \dfrac{\partial}{\partial x^i} \qquad \nabla\cdot v = \sum_{i=1}^3 \nabla v^i \cdot \dfrac{\partial}{\partial x^i}$$
I then started to try seeing if these formulas were any easier to find out, but I couldn't get anythin from it.
Thanks very much in advance.
Best Answer
The complete answer is given on pages 22-27 of my 2011 vector calculus notes. I think many good calculus text include these heuristic arguments, I found them in Thomas' calculus a few editions back. Long story short, what you should really do to understand is to prove Greene's and Stokes' Theorems, this will give you deeper insight into the nature of your question. Let me summarize the method here:
All of this said, I really would rather give the less helpful answer that $d$ is the natural exterior derivative operation on the exterior algebra of $\mathbb{R}^3$ and it is just the case that: 1. $df = \omega_{\nabla f}$, 2. $d\omega_{\vec{F}} = \Phi_{\nabla \times \vec{F}}$ and 3. $d \Phi_{\vec{G}} = \nabla \cdot G dx \wedge dy \wedge dz$
where $\omega_{\langle a,b,c \rangle} = adx+bdy+cdz$ and $\Phi_{\langle a,b,c \rangle} = ady \wedge dz+bdz \wedge dz+cdx \wedge dy$. Therefore, gradient, curl and divergence are just different levels of the cohomological operator which ultimately reveals the deeper shape of space.