To create your own interactive content like this, check out our new web site doenet.org!
Image: A 2D vector field pointing outward
This vector field illustrates expansion or positive divergence. The field is $\dlvf(x,y)=(x,y)$. Its divergence is $\div \vc{\dlvf}=\pdiff{\dlvfc_1}{x}+\pdiff{\dlvfc_2}{y}=1+1=2$.