# [Physics] Dot product and divergence

homework-and-exercisessoft-questionVector Fieldsvectors

Divergence is represented by dot product. How is the divergence related to dot product? And curl is represented by cross product. How is the curl related to cross product?

It is pretty much simply a short way to notate both vector field operations by looking at $\nabla$ as a vector operator by writing $$\nabla=\left(\frac{\partial}{\partial x},\frac{\partial}{\partial y},\frac{\partial}{\partial z}\right)$$ in $\mathbb{R}^3$, or equivalently $$\nabla=\frac{\partial}{\partial x}\hat{\imath}+\frac{\partial}{\partial y}\hat{\jmath}+\frac{\partial}{\partial z}\hat{k}.$$ Performing this vector operator on a scalar field gives you the expression for that field's gradient, whereas applying it to a vector field via a dot product gives you the vector field's divergence (analogoulsy for the cross product, which gives you the field's curl instead).
It is important to note, however, that unlike with regular three-vectors, this expression for divergence is not commutative, as the $\nabla$ operator is not a vector in $\mathbb{R}^3$.