## 17Calculus - Conservative Vector Fields

##### 17Calculus
A conservative vector field may also be called a gradient field. A conservative vector field is a vector field that is a gradient of some function, in this context called a potential function. The idea is that you are given a gradient and you have to 'un-gradient' it to get the original function. The only kind of vector fields that you can 'un-gradient' are conservative vector fields.

Test For Conservative Vector Field

Conservative vector fields are also called irrotational since the curl is zero. So, you now have a test to see if a vector field is conservative: calculate the curl and see if it's zero. If so, then it is conservative, otherwise it is not conservative. Let's watch a quick video that explains this idea in more detail.

### PatrickJMT - Conservative Vector Fields - The Definition and a Few Remarks [4mins-1sec]

video by PatrickJMT

Okay, so you may be saying to yourself, that works for three dimensions, but what about two dimensions? Well, it works for two dimensions too but your instructor may give you a 'special' equation. The next section discusses this 'special' equation.

Conservative Vector Fields in Two Dimensions

In the above discussion, we said that the test for a conservative vector field is to calculate the curl to see if it is zero. However, the curl uses the idea of the cross product, which works only in three dimensions. Here is how we apply the same idea to a two dimensional situation. This frees you from having to memorize those 'special' equations.

Let's say you are given the two dimensional vector field $$\vec{F}(x,y) = M(x,y)\hat{i} + N(x,y)\hat{j}$$ and you need to determine if it is conservative.
First, we expand it to three dimensions so that we can use find the curl. So we rewrite it as $$\vec{G}(x,y) = M(x,y)\hat{i} + N(x,y)\hat{j} + 0\hat{k}$$. We renamed this new three dimensional vector as $$\vec{G}$$ just to be clear that we are now working in three dimensions. Okay, let's set up the curl and evaluate it.

 $$\vec{ \nabla } \times \vec{G}$$ $$\begin{vmatrix} \vhat{i} & \vhat{j} & \vhat{k} \\ \displaystyle{\frac{\partial }{\partial x}} & \displaystyle{ \frac{\partial }{\partial y}} & \displaystyle{\frac{\partial }{\partial z}} \\ M(x,y) & N(x,y) & 0 \end{vmatrix}$$ $$\begin{vmatrix} \displaystyle{\frac{\partial }{\partial y}} & \displaystyle{\frac{\partial }{\partial z}} \\ N(x,y) & 0 \end{vmatrix} \hat{i} - \begin{vmatrix} \displaystyle{\frac{\partial }{\partial x}} & \displaystyle{\frac{\partial }{\partial z}} \\ M(x,y) & 0 \end{vmatrix} \hat{j} + \begin{vmatrix} \displaystyle{\frac{\partial }{\partial x}} & \displaystyle{\frac{\partial }{\partial y}} \\ M(x,y) & N(x,y) \end{vmatrix} \hat{k}$$ $$\left[ \displaystyle{\frac{\partial 0 }{\partial y} - \frac{\partial N(x,y)}{\partial z}} \right] \hat{i} - \displaystyle{\left[ \frac{\partial 0 }{\partial x} - \frac{\partial M(x,y)}{\partial z} \right]} \hat{j} + \displaystyle{\left[ \frac{\partial N(x,y)}{\partial x} - \frac{\partial M(x,y)}{\partial y} \right]} \hat{k}$$

Okay, let's look at each component separately. Of course, you know that the derivative of zero is zero. That's easy. So for the $$\hat{i}$$ component we have the term $$\partial N(x,y) / \partial z$$. Notice that $$N(x,y)$$ does not contain any $$z$$'s. So this derivative is zero. The same reasoning holds for $$\partial M(x,y) / \partial z$$. This means that we have zero for both the $$\hat{i}$$ and $$\hat{j}$$ components.

For a vector field to be conservative, we need the curl to be zero. Since we have zero for both the $$\hat{i}$$ and $$\hat{j}$$ components, we just need to look at the $$\hat{k}$$ component. For it to be zero, we need

$$\displaystyle{ \frac{\partial N(x,y)}{\partial x} = \frac{\partial M(x,y)}{\partial y} }$$

And that's your 'special' equation. Cool, eh? We don't think that special equations should be memorized. We recommend that you understand the technique that applies to a wider range of problems. However, what your instructor expects comes first. So check with them before you take our advice.

Okay, so you may be wondering, what's the point? Why do we care? Well, conservative vectors fields are unique in that, if we assume the vector field we have is a the result of taking the gradient of another function, it is sometimes possible to undo the gradient to find the other function, which we call a potential function.

When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.