# How to determine if a vector field is conservative (2023)

If $\dlvf$ is a three-dimensional vector field, $\dlvf : \R^3 \to \R^3$ (confused?), then we can derive another condition. This condition is based on the fact that a vector field $\dlvf$ is conservative if and only if $\dlvf = \nabla f$ for some potential function. We can calculate that the curl of a gradient is zero, $\curl \nabla f = \vc{0}$, for any twice continuously differentiable $f : \R^3 \to \R$. Therefore, if $\dlvf$ is conservative, then its curl must be zero, as $\curl \dlvf = \curl \nabla f = \vc{0}$.

For a continuously differentiable two-dimensional vector field, $\dlvf : \R^2 \to \R^2$, we can similarly conclude that if the vector field is conservative, then the scalar curl must be zero, $$\pdiff{\dlvfc_2}{x}-\pdiff{\dlvfc_1}{y} = \frac{\partial f^2}{\partial x \partial y}-\frac{\partial f^2}{\partial y \partial x}=0.$$

We have to be careful here. The valid statement is that if $\dlvf$ is conservative, then its curl must be zero. Without additional conditions on the vector field, the converse may not be true, so we cannot conclude that $\dlvf$ is conservative just from its curl being zero. There are path-dependent vector fields with zero curl. On the other hand, we can conclude that if the curl of $\dlvf$ is non-zero, then $\dlvf$ must be path-dependent.

Can we obtain another test that allows us to determine for sure that a vector field is conservative? We can by linking the previous two tests (tests 2 and 3). Test 2 states that the lack of “macroscopic circulation” is sufficient to determine path-independence, but the problem is that lack of circulation around any closed curve is difficult to check directly. Test 3 says that a conservative vector field has no “microscopic circulation” as captured by the curl. It's easy to test for lack of curl, but the problem is that lack of curl is not sufficient to determine path-independence.

(Video) How to Test if a Vector Field is Conservative // Vector Calculus

What we need way to link the definite test of zero “macroscopic circulation” with the easy-to-check test of zero “microscopic circulation.” This link is exactly what both Green's theorem and Stokes' theorem provide. Don't worry if you haven't learned both these theorems yet. The basic idea is simple enough: the “macroscopic circulation” around a closed curve is equal to the total “microscopic circulation” in the planar region inside the curve (for two dimensions, Green's theorem) or in a surface whose boundary is the curve (for three dimensions, Stokes' theorem).

Let's examine the case of a two-dimensional vector field whose scalar curl $\pdiff{\dlvfc_2}{x}-\pdiff{\dlvfc_1}{y}$ is zero. If we have a closed curve $\dlc$ where $\dlvf$ is defined everywhere inside it, then we can apply Green's theorem to conclude that the “macroscopic circulation” $\dlint$ around $\dlc$ is equal to the total “microscopic circulation” inside $\dlc$. We can indeed conclude that the “macroscopic circulation” is zero from the fact that the “microscopic circulation” $\pdiff{\dlvfc_2}{x}-\pdiff{\dlvfc_1}{y}$ is zero everywhere inside $\dlc$.

According to test 2, to conclude that $\dlvf$ is conservative, we need $\dlint$ to be zero around every closed curve $\dlc$. If the vector field is defined inside every closed curve $\dlc$ and the “microscopic circulation” is zero everywhere inside each curve, then Green's theorem gives us exactly that condition. We can conclude that $\dlint=0$ around every closed curve and the vector field is conservative.

The only way we could run into trouble is if there are some closed curves $\dlc$ where $\dlvf$ is not defined for some points inside the curve. In other words, if the region where $\dlvf$ is defined has some holes in it, then we cannot apply Green's theorem for every closed curve $\dlc$. In this case, we cannot be certain that zero “microscopic circulation” implies zero “macroscopic circulation” and hence path-independence. Such a hole in the domain of definition of $\dlvf$ was exactly what caused in the problem in our counterexample of a path-dependent field with zero curl.

(Video) How to Determine if a Vector Field is Conservative

On the other hand, we know we are safe if the region where $\dlvf$ is defined is simply connected, i.e., the region has no holes through it. In this case, we know $\dlvf$ is defined inside every closed curve $\dlc$ and nothing tricky can happen. We can summarize our test for path-dependence of two-dimensional vector fields as follows.

If a vector field $\dlvf: \R^2 \to \R^2$ is continuously differentiable in a simply connected domain $\dlr \in \R^2$ and its curl is zero, i.e., $$\pdiff{\dlvfc_2}{x}-\pdiff{\dlvfc_1}{y}=0,$$ everywhere in $\dlr$, then $\dlvf$ is conservative within the domain $\dlr$.

It turns out the result for three-dimensions is essentially the same. If a vector field $\dlvf: \R^3 \to \R^3$ is continuously differentiable in a simply connected domain $\dlv \in \R^3$ and its curl is zero, i.e., $\curl \dlvf = \vc{0}$, everywhere in $\dlv$, then $\dlvf$ is conservative within the domain $\dlv$.

One subtle difference between two and three dimensions is what it means for a region to be simply connected. Any hole in a two-dimensional domain is enough to make it non-simply connected. But, in three-dimensions, a simply-connected domain can have a hole in the center, as long as the hole doesn't go all the way through the domain, as illustrated in this figure.

(Video) Conservative Vector Fields

The reason a hole in the center of a domain is not a problem in three dimensions is that we have more room to move around in 3D. If we have a curl-free vector field $\dlvf$ (i.e., with no “microscopic circulation”), we can use Stokes' theorem to infer the absence of “macroscopic circulation” around any closed curve $\dlc$. To use Stokes' theorem, we just need to find a surface whose boundary is $\dlc$. If the domain of $\dlvf$ is simply connected, even if it has a hole that doesn't go all the way through the domain, we can always find such a surface. The surface can just go around any hole that's in the middle of the domain. With such a surface along which $\curl \dlvf=\vc{0}$, we can use Stokes' theorem to show that the circulation $\dlint$ around $\dlc$ is zero. Since we can do this for any closed curve, we can conclude that $\dlvf$ is conservative.

The flexiblity we have in three dimensions to find multiple surfaces whose boundary is a given closed curve is illustrated in this applet that we use to introduce Stokes' theorem.

(Video) Finding a Potential for a Conservative Vector Field

Macroscopic and microscopic circulation in three dimensions. The relationship between the macroscopic circulation of a vector field $\dlvf$ around a curve (red boundary of surface) and the microscopic circulation of $\dlvf$ (illustrated by small green circles) along a surface in three dimensions must hold for any surface whose boundary is the curve. No matter which surface you choose (change by dragging the green point on the top slider), the total microscopic circulation of $\dlvf$ along the surface must equal the circulation of $\dlvf$ around the curve. (We assume that the vector field $\dlvf$ is defined everywhere on the surface.) You can change the curve to a more complicated shape by dragging the blue point on the bottom slider, and the relationship between the macroscopic and total microscopic circulation still holds. The surface is oriented by the shown normal vector (moveable cyan arrow on surface), and the curve is oriented by the red arrow.

Of course, if the region $\dlv$ is not simply connected, but has a hole going all the way through it, then $\curl \dlvf = \vc{0}$ is not a sufficient condition for path-independence. In this case, if $\dlc$ is a curve that goes around the hole, then we cannot find a surface that stays inside that domain whose boundary is $\dlc$. Without such a surface, we cannot use Stokes' theorem to conclude that the circulation around $\dlc$ is zero.

## Videos

1. Conservative Vector Fields - The Definition and a Few Remarks
(patrickJMT)
2. potential function of a conservative vector field (KristaKingMath)
(Krista King)
3. Determining if a Vector Field is Conservative
(Larry Green)
4. Calc III: Determine if a vector field is conservative
(Rajendra Dahal)
5. Calculus 3: Line Integrals (38 of 44) What are conservative/NON-Conservative Vector Fields?
(Michel van Biezen)
6. Conservative vector field test.mov
(Mathbyfives)
Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated: 04/20/2023

Views: 5239

Rating: 4.7 / 5 (47 voted)

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039