Paul's Online Notes
Paul's Online Notes
Home / Calculus III / Line Integrals / Conservative Vector Fields
Show Mobile Notice Show All Notes Hide All Notes
Mobile Notice
You appear to be on a device with a "narrow" screen width (i.e. you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best viewed in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (you should be able to scroll/swipe to see them) and some of the menu items will be cut off due to the narrow screen width.

Section 16.6 : Conservative Vector Fields

8. Evaluate \( \displaystyle \int\limits_{C}{{\vec F\centerdot d\vec r}}\) where \(C\) is the portion of the circle centered at the origin with radius 2 in the 1st quadrant with counter clockwise rotation and \(\displaystyle \vec F\left( {x,y} \right) = \left( {2xy - 4 - \frac{1}{2}\sin \left( {\frac{1}{2}x} \right)\sin \left( {\frac{1}{2}y} \right)} \right)\,\vec i + \left( {{x^2} + \frac{1}{2}\cos \left( {\frac{1}{2}x} \right)\cos \left( {\frac{1}{2}y} \right)} \right)\vec j\).

Show All Steps Hide All Steps

Start Solution

There are two ways to work this problem, a hard way and an easy way. The hard way is to just see a line integral with a curve and a vector field given and just launch into computing the line integral directly (probably very difficult in this case). The easy way is to check and see if the vector field is conservative, and if it is find the potential function and then simply use the Fundamental Theorem for Line Integrals that we saw in the previous section.

So, let’s go the easy way and check to see if the vector field is conservative.

\[\begin{align*}P & = 2xy - 4 - \frac{1}{2}\sin \left( {\frac{1}{2}x} \right)\sin \left( {\frac{1}{2}y} \right) & \hspace{0.25in}{P_y} & = 2x - \frac{1}{4}\sin \left( {\frac{1}{2}x} \right)\cos \left( {\frac{1}{2}y} \right)\\ Q & = {x^2} + \frac{1}{2}\cos \left( {\frac{1}{2}x} \right)\cos \left( {\frac{1}{2}y} \right) & \hspace{0.25in}{Q_x} & = 2x - \frac{1}{4}\sin \left( {\frac{1}{2}x} \right)\cos \left( {\frac{1}{2}y} \right)\end{align*}\]

So, we can see that \({P_y} = {Q_x}\) and so the vector field is conservative.

Show Step 2

Now we just need to find the potential function for the vector field. We’ll go through those details a little quicker this time and with less explanation than we did in the some of the previous problems.

First, let’s integrate \(P\) with respect to \(x\).

\[\begin{align*}f\left( {x,y} \right) & = \int{{P\,dx}}\\ & = \int{{2xy - 4 - \frac{1}{2}\sin \left( {\frac{1}{2}x} \right)\sin \left( {\frac{1}{2}y} \right)\,dx}}\\ & = {x^2}y - 4x + \cos \left( {\frac{1}{2}x} \right)\sin \left( {\frac{1}{2}y} \right) + h\left( y \right)\end{align*}\]

Now, differentiate with respect to \(y\) and set equal to \(Q\).

\[{f_y} = {x^2} + \frac{1}{2}\cos \left( {\frac{1}{2}x} \right)\cos \left( {\frac{1}{2}y} \right) + h'\left( y \right) = {x^2} + \frac{1}{2}\cos \left( {\frac{1}{2}x} \right)\cos \left( {\frac{1}{2}y} \right) = Q\hspace{0.25in} \Rightarrow \hspace{0.25in} h'\left( y \right) = 0\]

Solving for \(h\left( y \right)\) gives \(h\left( y \right) = c\) and so the potential function for this vector field is,

\[f\left( {x,y} \right) = {x^2}y - 4x + \cos \left( {\frac{1}{2}x} \right)\sin \left( {\frac{1}{2}y} \right) + c\] Show Step 3

Now that we have the potential function we can simply use the Fundamental Theorem for Line Integrals which says,

\[ \int\limits_{C}{{\vec F\centerdot d\vec r}} = f\left( {{\mbox{end point}}} \right) - f\left( {{\mbox{start point}}} \right)\]

From the problem statement we know that \(C\) is the portion of the circle of radius 2 in the 1st quadrant with counter clockwise rotation. Therefore, the starting point of \(C\) is \(\left( {2,0} \right)\) and the ending point of \(C\) is \(\left( {0,2} \right)\).

The integral is then,

\[\int\limits_{C}{{\vec F\centerdot d\vec r}} = f\left( {0,2} \right) - f\left( {2,0} \right) = \left( {\sin \left( 1 \right) + c} \right) - \left( { - 8 + c} \right) = \require{bbox} \bbox[2pt,border:1px solid black]{{\sin \left( 1 \right) + 8 = 8.8415}}\]