Artificial Intelligence 🤖
Conservative vector fields

Conservative vector fields

It is important to devote a section to this as conservative fields. We start off with a definition.

Definition 2.6 A vector field F\boldsymbol{F} is conservative if there exists a scalar function V(x,y)V(x, y) such that:

F=V\boldsymbol{F}=\nabla V

VV is then called a potential function. Note that the above apply to three-dimensional scalar functions as well, i.e. V=V(x,y,z)V=V(x, y, z).

We then introduce a useful theorem for conservative vector fields:

Fundamental theorem for conservative fields

Let F=V\boldsymbol{F}=\nabla V be a conservative field ( V\mathrm{V} is the potential of F\boldsymbol{F} ) on a domain DD. If C\mathcal{C} is a path from points AA and BB in DD, then:

CFdr=V(B)V(A).\int_{\mathcal{C}} \boldsymbol{F} \cdot d \boldsymbol{r}=V(B)-V(A) .

The proof of Theorem 2.3 is as follows: we consider a conservative field, F=V\boldsymbol{F}=\nabla V, where V=V(x,y)V=V(x, y) and a given parametrisation r(t)\boldsymbol{r}(t) of curve C\mathcal{C} (where atba \leq t \leq b ) such that V=V(x(t),y(t)V=V(x(t), y(t) ). Using Eq. (2.56) the line integral of F\boldsymbol{F} is:

CFdr=abVr(t)dt=ab(Vx,Vy)(x(t),y(t))dt=abVxx(t)+Vyy(t)dt\begin{aligned} \int_{\mathcal{C}} \boldsymbol{F} \cdot d \boldsymbol{r} & =\int_{a}^{b} \nabla V \cdot \boldsymbol{r}^{\prime}(t) d t \\ & =\int_{a}^{b}\left(\frac{\partial V}{\partial x}, \frac{\partial V}{\partial y}\right) \cdot\left(x^{\prime}(t), y^{\prime}(t)\right) d t \\ & =\int_{a}^{b} \frac{\partial V}{\partial x} x^{\prime}(t)+\frac{\partial V}{\partial y} y^{\prime}(t) d t \end{aligned}

By the chain rule, the integrand in Eq. (2.65) is expressed as:

ddt[V(x(t),y(t))]=fVxx(t)+Vyy(t)\frac{d}{d t}[V(x(t), y(t))]=\frac{f \partial V}{\partial x} x^{\prime}(t)+\frac{\partial V}{\partial y} y^{\prime}(t)

Plugging Eq. (2.66) in Eq. (2.65) yields:

CFdr=abddt[V(x(t),y(t))]dt=[V(x(t),y(t))]ab=V(x(b),y(b))V(x(a),y(a)),=V(B)V(A).\begin{aligned} \int_{\mathcal{C}} \boldsymbol{F} \cdot d \boldsymbol{r} & =\int_{a}^{b} \frac{d}{d t}[V(x(t), y(t))] d t \\ & =[V(x(t), y(t))]_{a}^{b} \\ & =V(x(b), y(b))-V(x(a), y(a)), \\ & =V(B)-V(A) . \end{aligned}

Example 2.8 Evaluate CFdr\int_{\mathcal{C}} \boldsymbol{F} \cdot d \boldsymbol{r} where F\boldsymbol{F} is conservative, i.e. F=V\boldsymbol{F}=\nabla V and V(x,y,z)=cos(πx)+sin(πy)xyzV(x, y, z)=\cos (\pi x)+\sin (\pi y)-x y z where C\mathcal{C} is any curve connecting point AA to BB where A=(1,1/2,2)A=(1,1 / 2,2) and B=(2,1,1)B=(2,1,-1).

Solution

Using Eq. (2.62), we have:

CFdr=V(B)V(A),=cos(2π)+sin(π)+2(cos(π)+sin(π/2)1),=4.\begin{aligned} \int_{\mathcal{C}} \boldsymbol{F} \cdot d \boldsymbol{r} & =V(B)-V(A), \\ & =\cos (2 \pi)+\sin (\pi)+2-(\cos (\pi)+\sin (\pi / 2)-1), \\ & =4 . \end{aligned}

Observe that we are not given a specific path for C\mathcal{C} and we do not require to have the gradient vector, V\nabla V. Using Theorem 2.3 , we only need the endpoints to evaluate the line integral of the conservative field F\boldsymbol{F}.

Suppose we have two paths, C1\mathcal{C}_{1} and C2\mathcal{C}_{2} that have the same initial and final points (say, AA and BB, respectively). Now, if a vector field F\boldsymbol{F} is conservative (i.e. F=V\boldsymbol{F}=\nabla V ) then, according to Theorem 2.3, we have the following results for the line integrals of F\boldsymbol{F} along C1\mathcal{C}_{1} and C2\mathcal{C}_{2} :

C1Fdr=V(B)V(A) and C2Fdr=V(B)V(A).\int_{\mathcal{C}_{1}} \boldsymbol{F} \cdot d \boldsymbol{r}=V(B)-V(A) \text { and } \int_{\mathcal{C}_{2}} \boldsymbol{F} \cdot d \boldsymbol{r}=V(B)-V(A) .

Therefore, if F\boldsymbol{F} is conservative,

C1Fdr=C2Fdr\int_{\mathcal{C}_{1}} \boldsymbol{F} \cdot d \boldsymbol{r}=\int_{\mathcal{C}_{2}} \boldsymbol{F} \cdot d \boldsymbol{r}

for any pair of curves C1\mathcal{C}_{1} and C2\mathcal{C}_{2} with the same endpoints. The line integral of the conservative vector F\boldsymbol{F} from AA to BB is independent of the path since the result only depends on the initial and final points.

Suppose now that we have a closed curve; the latter is a curve or path whose initial and final points are the same (e.g. a circle is a closed curve). We refer to the line integral of F\boldsymbol{F} around a closed path as the circulation of F\boldsymbol{F} and denote the integral sign with a circle in the middle, i.e. \oint. The following theorem applies to the line integral of a conservative field around a closed path.

Conservative fields around a closed curve

Let F=V\boldsymbol{F}=\nabla V be a conservative field on a domain D\mathcal{D} and assume C\mathcal{C} is a closed path from points AA and BB (closed implies A=BA=B ), then:

CFdr=0\oint_{\mathcal{C}} \boldsymbol{F} \cdot d \boldsymbol{r}=0

i.e. Eq. (2.70) states that the circulation of F\boldsymbol{F} around a closed path is zero.

The proof of Theorem 2.4 is a straightforward result from Theorem 2.3. Since A=BA=B, then Eq. (2.62) gives V(B)V(A)=0V(B)-V(A)=0.

Finding potential functions

So far, we know how to show that a vector field is conservative given a potential function, VV. However, this is not an efficient way of telling whether a given vector field, F=(F1,F2,F3)\boldsymbol{F}=\left(F_{1}, F_{2}, F_{3}\right), where F1,F2F_{1}, F_{2} and F3F_{3} are the components of the vector field, is conservative. We start off with the following theorem about the quality of cross-partials of a conservative field.

Cross-partial property of a conservative vector field

If the vector field F=(F1,F2,F3)\boldsymbol{F}=\left(F_{1}, F_{2}, F_{3}\right) is conservative, then ×F=0\underline{\nabla \times \mathbf{F}=0}. From Definition 2.4 of the curl of a vector, we see that

F1y=F2x,F2z=F3y,F3x=F1z.\frac{\partial F_{1}}{\partial y}=\frac{\partial F_{2}}{\partial x}, \frac{\partial F_{2}}{\partial z}=\frac{\partial F_{3}}{\partial y}, \frac{\partial F_{3}}{\partial x}=\frac{\partial F_{1}}{\partial z} .

So, according to Theorem 2.5 , equality of the cross partials indicates that F\boldsymbol{F} is conservative. This theorem is valid provided the domain DD on which F\boldsymbol{F} is defined is simply-connected, i.e. one that has no holes, as shown in Fig. 2.12, leading to Theorem 2.6:

(a)

(b)

Figure 2.5: (a) Simply-connected regions and (b) nonsimply-connected regions.

Existence of a potential function

Let F\boldsymbol{F} be a vector field on a simply-connected region, DD. Then, if F\boldsymbol{F} satisfies the cross-partial condition given by Eq. (2.71), F\boldsymbol{F} is conservative.

Next, we will look at an example of finding a potential function VV, given a two-dimensional vector field, F=(F1,F2)\boldsymbol{F}=\left(F_{1}, F_{2}\right) using the equality of the partials conditions given by Eq. (2.71). Example 2.9 Suppose we have a vector field, F=(2xy+y3,x2+\boldsymbol{F}=\left(2 x y+y^{3}, x^{2}+\right. 3xy2+2y)\left.3 x y^{2}+2 y\right). Show that F\boldsymbol{F} is conservative and find a potential function, V(x,y)V(x, y).

Solution According to Theorem 2.6, F\boldsymbol{F} is conservative if defined on a simply-connected domain, DD and if there exists equality of the partials. In the case of two dimensions, the partial z\frac{\partial}{\partial z} is zero and hence we only need to show that F1y=F2x\frac{\partial F_{1}}{\partial y}=\frac{\partial F_{2}}{\partial x}.

F1y=y(2xy+y3)=2x+3y2,F2x=x(x2+3xy2+2y)=2x+3y2\frac{\partial F_{1}}{\partial y}=\frac{\partial}{\partial y}\left(2 x y+y^{3}\right)=2 x+3 y^{2}, \quad \frac{\partial F_{2}}{\partial x}=\frac{\partial}{\partial x}\left(x^{2}+3 x y^{2}+2 y\right)=2 x+3 y^{2}

Further, the entire xyx y-plane is a simply-connected region and therefore F\boldsymbol{F} is conservative. Now, from Eq. (2.61), we know that:

F1=Vx, and F2=Vy.F_{1}=\frac{\partial V}{\partial x}, \text { and } F_{2}=\frac{\partial V}{\partial y} .

The equations above tell us that V(x,y)V(x, y) is an antiderivative of F1F_{1} regarded as a function of xx alone and of F2F_{2} regarded as a function of yy alone. To determine V(x,y)V(x, y) therefore, we integrate F1F_{1} with respect to xx and F2F_{2} with respect to yy :

V(x,y)=F1dx=2xy+y3dx=x2y+xy3+f(y);V(x, y)=\int F_{1} d x=\int 2 x y+y^{3} d x=x^{2} y+x y^{3}+f(y) ;

note that in order to obtain the general antiderivative of F1F_{1} with respect to xx, we the usual 'constant' of integration is now a function of the variable being kept constant, i.e. yy. Similarly, we have:

V(x,y)=F2dy=x2+3xy2+2ydy=x2y+xy3+y2+g(x)V(x, y)=\int F_{2} d y=\int x^{2}+3 x y^{2}+2 y d y=x^{2} y+x y^{3}+y^{2}+g(x)

where, agan, we have added a function of the variable being kept constant, i.e. xx. Of course Eqs. (2.72) and (2.73) must be equal. Hence, comparing the two equations, we have:

f(y)=y2 and g(x)=0.f(y)=y^{2} \text { and } g(x)=0 .

The potential function is given by V(x,y)=x2y+xy3+y2V(x, y)=x^{2} y+x y^{3}+y^{2}.