Visualizing nonconservative vector fields
Earlier this month, Math Stack Exchange user Kolkatas asked why the vector field \(\mathbf{F}(x,y)=\left< y,0 \right>\) is not conservative. Its plot shows nothing but horizontal arrows pointing to the right, so “there is no circle,” and yet \(\frac{\partial P}{\partial y} \neq \frac{\partial Q}{\partial x}\). My answer (original on Math.SE) gave the short version. Here is the longer one, with a demo applet.
Kolkatas is correct that the irrotationality condition \(\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}\) is necessary for the vector field to be conservative. And for this vector field, \(\frac{\partial P}{\partial y} = 1\) while \(\frac{\partial Q}{\partial x} = 0\). So it is not conservative.
But Kolkatas is incorrect that one should be able to see circles in nonconservative field. Here is a plot of the vector field. All the vectors are horizontal, so no “circles” are visible.
But if you drop a wheel in the plane and let it move according to the flow, you see the wheel both moves and rotates. In the upper half-plane, the “top” of the wheel has a longer vector emanating from it, which means that point moves faster. At the “bottom” of the wheel, the vector is pushing in the same direction but not as strong. The result is that the wheel is pushed to the right, but also rotates clockwise slightly.
This type of nonconservative motion is called shearing. In a shear transformation, points are displaced in a single direction by an amount proportional to their distance from a fixed line in that direction. It’s not hard to see that in a coordinate system where that “fixed line” is the \(x\)-axis, the vector field associated with such a transformation would have components similar to \(\left< y, 0 \right>\). A square placed in the vector field would be stretched in the horizontal direction, as one side moves faster than the other.
But you can still find the circles. Notice \[ \left< y, 0 \right> = \left< \frac{y}{2},\frac{x}{2}\right> + \left< \frac{y}{2},-\frac{x}{2}\right> = \nabla\left(\frac{xy}{2}\right)+ \left< \frac{y}{2},-\frac{x}{2}\right> \] The first term is a gradient vector field, and the second is purely rotational. You can isolate each of these and see that the first exhibits no rotation (but lots of stretching), while the second induces circular motion around the origin.
If we add a third component equal to zero, we can see the complete Helmholtz decomposition of \(\mathbf{F}\): \[ \left< y, 0, 0 \right> = \nabla\left(\frac{xy}{2}\right) + \nabla \times \left< 0,0,\frac{1}{4}(x^2+y^2) \right> \] The irrotational component is the gradient of a function, and the rotational component is the curl of a vector field.