Steve Schlicker, Mitchel T. Keller, Nicholas Long, Zach Norwood, Audrey Goodnight, Based on Active Calculus
Section4.4Path-Independent Vector Fields and the Fundamental Theorem of Calculus for Line Integrals
Objectives
What characteristic of a vector field \(\vF\) will make \(\int_C\vF\cdot d\vr\) have the same value for every oriented curve from a point \(P\) to a point \(Q\text{?}\)
What special properties do gradient vector fields have?
Given a gradient vector field \(\vF\text{,}\) how can we efficiently find a potential function \(f\) so that \(\vF
= \grad f\text{?}\)
In Activity4.3.3, Example4.3.5, and Activity4.3.4, we have encountered situations where \(C_1\) and \(C_2\) are different oriented curves from a point \(P\) to a point \(Q\) and \(\int_{C_1}\vF\cdot d\vr = \int_{C_2}\vF\cdot
d\vr\text{.}\) In this section, we explore vector fields which have the property that for all points \(P\) and \(Q\text{,}\) if \(C_1\) and \(C_2\) are oriented paths from \(P\) to \(Q\text{,}\) then \(\int_{C_1}\vF\cdot d\vr = \int_{C_2}\vF\cdot
d\vr\text{.}\)
Exploration4.4.1
In Activity4.3.3, we considered the vector field \(\vF(x,y) = \langle
y^2,2xy+3\rangle\) and two different oriented curves from \((1,0)\) to \((-1,0)\text{.}\) We found that the value of the line integral of \(\vF\) was the same along those two oriented curves.
(a)
Verify that \(\vF(x,y) = \langle y^2,2xy+3\rangle\) is a gradient vector field by showing that \(\vF = \nabla f\) for the function \(f(x,y) = xy^2 + 3y\text{.}\)
Since \(\frac{\partial f}{\partial x}=y^2\) and \(\frac{\partial f}{\partial y}=2xy+3\text{,}\) \(\vF=\nabla f\text{.}\)
(b)
Calculate the change in the output of the scalar function \(f\) over the curves \(C_1\) and \(C_2\text{.}\) In other words, what is the difference in the output of \(f\) at the start of the curve and the end of the curve. How does this value compare to the value of the line integral \(\int_{C_1}\vF\cdot d\vr\) you found in Activity4.3.3?
Algebraically, \(f(-1,0)-f(1,0)=0-0=0\text{.}\) There is no net change in the output of \(f\text{.}\) The line integral is also \(0\text{.}\)
(c)
Let \(C_3\) be the line segment from \((1,1)\) to \((3,4)\text{.}\) Calculate \(\int_{C_3}\vF\cdot d\vr\) as well as \(f(3,4)-f(1,1)\text{.}\) What do you notice?
Note here that \(f(3,4)-f(1,1)=60-4=56\) which is the same as the result of the line integral.
(d)
Earlier in the chapter, we've used Clairaut's Theorem to argue that a vector field in \(\R^2\) is not a gradient vector field when \(\partial F_1/\partial y\neq \partial F_2/\partial
x\text{.}\) Earlier in this preview activity, you verified that a given vector field was the gradient of a particular function of two variables. Clairaut's Theorem holds for functions of three variables. However, in that case there are six mixed partials to calculate, and thus it can be rather tedious.The remaining parts of this preview activity suggest a process for determining if a vector field in \(\R^3\) is a gradient vector field as well as finding a potential function for the vector field.
Let \(\vG(x,y,z) = \langle 3e^{y^2}+z\sin(x),6xy e^{y^2} -
z,3z^2-y-\cos(x)\rangle\) and \(\vH(x,y,z) = \langle 3x^2
y,x^3+2yz^3,xz+3y^2z^2\rangle\text{.}\)
If \(\vG\) and \(\vH\) are to be gradient vector fields, then there are functions \(g\) and \(h\) for which \(\vG = \nabla g\) and \(\vH=\nabla h\text{.}\) What would this tell us about the partial derivatives \(g_x\text{,}\) \(g_y\text{,}\) \(g_z\text{,}\) \(h_x\text{,}\) \(h_y\text{,}\) and \(h_z\text{?}\)
Each of the partial derivatives of \(g\) and \(h\) would have to be as follows: \(g_x=3e^{y^2}+z\sin(x)\text{,}\) \(g_y=,6xy e^{y^2} - z\text{,}\) \(g_z=3z^2-y-\cos(x)\text{,}\) \(h_x=x^2 y\text{,}\) \(h_y=x^3+2yz^3\text{,}\) and \(h_z=xz+3y^2z^2\text{.}\)
(e)
Let \(g_1(x,y,z)=3e^{y^2}+xyz-z\sin(x)\text{.}\) Calculate \(\partial g_1/\partial x\text{.}\) Could \(g_1\) be a potential function for the vector field \(\vG\text{?}\)
The partial of \(g_1\) with respect to \(x\) would be \(3e^{y^2}+yz-z\cos(x)\text{.}\) Since the partial of \(g_1\) with respect to \(x\) is not the same as the \(x\)-component of \(\vG\text{,}\) \(g_1\) cannot be a potential function for \(\vG\text{.}\)
(f)
Find a function \(g\) so that \(\partial g/\partial x =
3e^{y^2}+z\sin(x)\text{.}\) Find a function \(h\) so that \(\partial h/\partial x = 3x^2y\text{.}\)
\(g(x,y,z)=3xe^{y^2}-z\cos(x)\) and \(h(x,y,z)= x^3y\)
(g)
When finding the most general anti-derivative for a function of one variable, we add a constant of integration (usually denoted by \(C\)) to capture the fact that any constant will become \(0\) through differentiation.
(i)
When taking the partial derivative with respect to \(x\) of a function of \(x\text{,}\) \(y\text{,}\) and \(z\text{,}\) what variables can appear in terms that become \(0\) in the partial derivative because they are treated as constants?
Any terms that do not contain an \(x\)-variable will be treated as a constant, so \(y\) and \(z\) are allowed.
(ii)
What does this tell you should be added to \(g\) and \(h\) in the previous part to make them the most general possible functions with the desired partial derivatives with respect to \(x\text{?}\)
The most general form of \(g\) and \(h\) are \(g(x,y,z)=3xe^{y^2}-z\cos(x)+ C_1(y,z)\) and \(h(x,y,z)=
x^3y+C_2(y,z)\text{,}\) where \(C_1\) and \(C_2\) are functions.
(h)
Now calculate \(\partial g/\partial y\) and \(\partial
h/\partial y\text{.}\) Explain why this tells you that we must have
We find that \(\frac{\partial g}{\partial y} =
6xye^{y^2}+\frac{\partial C_1}{\partial y}\) and \(\frac{\partial h}{\partial y}=x^3+\frac{\partial
C_2}{\partial y}\text{.}\) This means that we need to add terms to \(g\) and \(h\) in \(y\) and \(z\) such that the partial with respect to \(y\) will correspond to the second component of \(\vG\) and \(\vH\text{.}\)
(i)
Calculate \(\partial g/\partial z\) and \(\partial
h/\partial z\) for the functions in the part above. Notice that \(m_1\) and \(m_2\) are functions of \(z\) alone, so taking a partial derivative with respect to \(z\) is the same as taking an ordinary derivative, and thus you may use the notation \(m'_1(z)\) and \(m'_2(z)\text{.}\)
If \(g(x,y,z)=3xe^{y^2}-z\cos(x)-yz+z^3\text{,}\) then \(\nabla g = \vG\text{.}\) There is no \(m_2(z)\) that will have a partial with respect to \(z\) of \(xz\) since \(m_2(z)\) cannot have a dependence on \(x\text{.}\)
Subsection4.4.1Path-Independent Vector Fields
We say that a vector field \(\vF\) defined on a domain \(D\) is path-independent if \(\int_{C_1}\vF\cdot d\vr = \int_{C_2}\vF\cdot d\vr\) whenever \(C_1\) and \(C_2\) are oriented paths in \(D\) such that both curves start at the same point \(P\) and end at point \(Q\text{.}\)
In Activity4.3.3 and Example4.3.5, we encountered situations where we had evidence that a vector field was path-independent. However, since the definition of path-independence requires that the value of the line integral be the same for every pair of points in the domain and every possible path from one point to the other, it doesn't appear that verifying a vector field is path-independent is an easy task.
Fortunately, one familiar class of vector fields can be shown to be path-independent. Let \(f\colon \R^3\to \R\) be a function for which \(\nabla f\) is continuous on a domain \(D\text{.}\) Suppose that \(P\) and \(Q\) are points in \(D\) and let \(C\) be a smooth oriented path from \(P\) to \(Q\text{.}\) Let's take a look at \(\int_C\nabla f \cdot d\vr\) by fixing an arbitrary parametrization \(\vr(t)\) of \(C\text{,}\) \(a\leq t \leq b\text{.}\) Since \(\nabla f(\vr(t)) = \langle f_x(\vr(t)),f_y(\vr(t)),f_z(\vr(t))\rangle\text{,}\) we know that
In other words, gradient vector fields are path-independent vector fields, and we can evaluate line integrals of gradient vector fields by using a potential function. (Technically the argument above assumed that \(C\) was smooth, but we can replace \(C\) by a piecewise smooth curve by splitting the line integral up into the sum of finitely many line integrals along smooth curves.)
This result is so important that it is frequently called the Fundamental Theorem of Calculus for Line Integrals, because of its similarity to the Fundamental Theorem of Calculus, which can be written as
Theorem4.4.1Fundamental Theorem of Calculus for Line Integrals
Let \(f\) be a function for which \(\nabla f\) is continuous on a domain \(D\text{.}\) If \(P\) and \(Q\) are points in \(D\) and \(C\) is a piece-wise smooth oriented path from \(P\) to \(Q\) in \(D\text{,}\) then
\(\int_C \nabla f\cdot d\vr\) if \(f(x,y) = 3xy^2 - \sin(x) + e^y\) and \(C\) is the top half of the unit circle oriented from \((-1,0)\) to \((1,0)\text{.}\)
Because \(f(-1,0)=-\sin(-1)+1\) and \(f(1,0)=sin(1)+1\text{,}\) then \(\int_C \nabla f\cdot d\vr=(\sin(1)+1)-(-\sin(-1)+1)=0\text{.}\)
(b)
\(\int_C \nabla g\cdot d\vr\) if \(g(x,y,z) = xz^2 - 5y^3\cos(z) + 6\) and \(C\) is the portion of the helix \(\vr(t) = \langle 5\cos(t),5\sin(t),3t\rangle\) from \((5,0,0)\) to \((0,5,9\pi/2)\text{.}\)
Because \(g(5,0,0)=0-0+6\) and \(g(0,5,\frac{9\pi}{2})=0-0+6\text{,}\) then \(\int_C \nabla g\cdot d\vr=(6)-(6)=0\text{.}\)
(c)
\(\int_C \nabla h\cdot d\vr\) if \(h(x,y,z) = 3y^2e^{y^3} - 5x\sin(x^3z) + z^2\) and \(C\) is the curve consisting of the line segment from \((0,0,0)\) to \((1,1,1)\text{,}\) followed by the line segment from \((1,1,1)\) to \((-1,3,-2)\text{,}\) followed by the line segment from \((-1,3,-2)\) to \((0,0,10)\text{.}\)
We can choose \(f(x,y)=x^2+y^2+C\) and note that \(\nabla f = \vF\text{.}\) so by the Fundamental Theorem of Calculus for Line Integrals, \(\int_C \vF\cdot d\vr = f(1,2)-f(-1,0)=5-1=4\text{.}\)
(b)
\(\int_C \vG\cdot d\vr\) if \(\vG(x,y) = \langle 4x^3-12y\cos(xy),9y^2-12x\cos(xy)\rangle\) and \(C\) is the portion of the unit circle from \((0,-1)\) to \((0,1)\text{.}\)
We can choose \(g(x,y)=x^4-12\sin(xy)+3y^3+C\) and note that \(\nabla g = \vG\text{.}\) so by the Fundamental Theorem of Calculus for Line Integrals, \(\int_C \vG\cdot d\vr = g(0,1)-g(0,-1)=3-(-3)=6\text{.}\)
(c)
\(\int_C \vH\cdot d\vr\) if \(\vH(x,y,z) = \langle H_1,H_2,H_3\rangle\) with
and \(C\) is the curve consisting of the line segment from \((1,1,1)\) to \((3,0,3)\text{,}\) followed by the line segment from \((3,0,3)\) to \((1,5,-1)\text{,}\) followed by the line segment from \((1,5,-1)\) to \((0,0,0)\text{.}\)
We can choose \(h(x,y,z)=xe^{z^2}+x^2y^3z+\sin(x)+y^3\cos(x)+e^{y^2}-z^4\) and note that \(\nabla h = \vH\text{.}\) so by the Fundamental Theorem of Calculus for Line Integrals, \(\int_C \vH\cdot d\vr = h(0,0,0)-h(1,1,1)=1-(e+1+\sin(1)+\cos(1)+e-1)=1-(2e+\sin(1)+\cos(1))\text{.}\)
Subsection4.4.2Line Integrals Along Closed Curves
Recall that we call an oriented curve \(C\) closed if it has the same initial and terminal point. A typical example of a closed curve would be a circle (with an orientation of which way to go around), but we could also consider something like the square with vertices \((1,1)\text{,}\) \((-1,1)\text{,}\) \((-1,-1)\text{,}\) and \((1,-1)\text{,}\) oriented clockwise (or counterclockwise). Recall that we sometimes use the symbol \(\oint\) for a line integral when the curve is closed and that if \(C=C_1+C_2\text{,}\) then \(\int_C\vF\cdot d\vr=\int_{C_1}\vF\cdot d\vr+ \int_{C_2}\vF\cdot d\vr\text{.}\)
Activity4.4.4
Suppose that \(\vF\) is a continuous path-independent vector field (in \(\R^2\) or \(\R^3\)) on some domain \(D\text{.}\)
(a)
Let \(P\) and \(Q\) be points in \(D\) and let \(C_1\) and \(C_2\) be oriented curves from \(P\) to \(Q\text{.}\) What can you say about \(\int_{C_1}\vF\cdot d\vr\) and \(\int_{C_2}\vF\cdot d\vr\text{?}\)
Because \(\vF\) is a path-independent vector field and both \(C_1\) and \(C_2\) start at \(P\) and end at \(Q\text{,}\) \(\int_{C_1}\vF\cdot d\vr = \int_{C_2}\vF\cdot d\vr\text{.}\)
(b)
Let \(C = C_1 - C_2\text{.}\) Explain why \(C\) is a closed curve.
The curve \(C\) is closed because the end of \(C_1\) is the start of \(-C_2\) and the end of \(-C_2\) is the start of \(C_1\text{,}\) thus \(C\) starts and ends at \(P\text{.}\)
\(\oint_C\vF\cdot d\vr=\int_{C_1}\vF\cdot d\vr+ \int_{-C_2}\vF\cdot d\vr=\int_{C_1}\vF\cdot d\vr- \int_{-C_2}\vF\cdot d\vr\) and by part 1, this difference is zero.
(d)
Write a sentence that summarizes what we can conclude at this point in the activity.
The line integral along every closed curve in a path-independent vector field is \(0\text{.}\)
(e)
Now let us suppose that \(\vG\) is a continuous vector field on a domain \(D\) for which \(\oint_C\vG\cdot d\vr =
0\) for all closed curves \(C\text{.}\) Pick two points \(P\) and \(Q\) in \(D\text{.}\) Let \(C_1\) and \(C_2\) be oriented curves from \(P\) to \(Q\text{.}\) What type of curve is \(C = C_1 - C_2\text{?}\)
We have that \(C\) is a closed curve (from \(P\) to \(P\)) because \(C_1\) will go from \(P\) to \(Q\) and \(-C_2\) will go from \(Q\) back to \(P\text{.}\)
We see that \(\oint_C\vG\cdot d\vr=0\) because (as stated above) \(\vG\) is a continuous vector field on a domain \(D\) for which \(\oint_C\vG\cdot d\vr = 0\) for all closed curves \(C\text{.}\)
(g)
What does that tell you about the relationship between \(\int_{C_1}\vG\cdot d\vr\) and \(\int_{C_2}\vG\cdot d\vr\text{?}\)
The argument above relies only on the fact that the two paths have the same initial and terminal points.
We summarize the result of Activity4.4.4 with the theorem below. Although this theorem is not a terribly useful way to show that a vector field is path-independent, it can be a useful way to show that a vector field is not path-independent: find a closed curve around which the circulation is not zero.
Theorem4.4.2
Let \(\vF\) be a continuous vector field on a domain \(D\text{.}\) The following are equivalent conditions on \(\vF\text{.}\)
\(\vF\) is path-independent.
For every closed curve \(C\) in \(D\text{,}\) the circulation of \(\vF\) along \(C\) is zero.
The following activity gives you a chance to reason about path-independence based purely on a graphical representation of a vector field.
Activity4.4.5
Explain why neither of the vector fields in Figure4.4.3 is path-independent.
For \(\vF\text{,}\) consider a square with lower-left corner \((-1,-1)\) and upper-right corner \((1,1)\text{.}\) For \(\vG\text{,}\) consider a circle centered at \((3,0)\text{.}\)
In \(\vF\text{,}\) we consider the square with lower-left corner \((-1,-1)\) and upper-right corner \((1,1)\text{,}\) oriented clockwise, to be \(C\text{.}\) Notice that \(\oint_C\vF\cdot d\vr \gt
0\) because the line integrals along the horizontal edges of the square are both positive and the line integrals along the vertical sides are zero because \(\vF\) is orthogonal to those sides. Because the line integral along this closed curve is not \(0\text{,}\) \(\vF\) is not path-independent.
In \(\vG\text{,}\) consider the circle \(C\) of radius \(2\) centered at the point \((3,0)\text{.}\) It appears that \(\vG\) is tangent to \(C\text{,}\) but we can confidently say that \(\vG\cdot d\vr \gt 0\) along \(C\text{,}\) which makes \(\oint_C\vG\cdot d\vr\text{,}\) and thus \(\vG\) is not path-independent.
Subsection4.4.3What other vector fields are path-independent?
Recall that in single variable calculus, the Second Fundamental Theorem of Calculus tells us that given a constant \(c\) and a continuous function \(f\text{,}\) there is a unique function \(A(x)\) for which \(A(c) = 0\) and \(A'(x) = f(x)\text{.}\) In particular, \(A(x) = \int_c^x f(t)\, dt\) is this function. We are about to investigate an analog of this result for path-independent vector fields, but first we require two additional definitions.
If \(D\) is a subset of \(\R^2\) or \(\R^3\text{,}\) we say that \(D\) is open provided that for every point in \(D\text{,}\) there is a disc (in \(\R^2\)) or ball (in \(\R^3\)) centered at that point such that every point of the disc/ball is contained in \(D\text{.}\) For example, the set of points \((x,y)\) in \(\R^2\) for which \(x^2+y^2 \lt 1\) is open, since we can always surround any point in this set by a tiny disc contained in the set. However, if we change the inequality to \(x^2+y^2\leq 1\text{,}\) then the set is not open, as any point on the circle \(x^2+y^2=1\) cannot be surrounded by a disc contained in the set; any disc surrounding a point on that circle will contain points outside the set, that is with \(x^2+y^2 \gt 1\text{.}\) We will also say that a region \(D\) is path-connected provided that for every pair of points in \(D\text{,}\) there is a path from one to the other contained in \(D\text{.}\)
Activity4.4.6
Let \(\vF=\langle F_1,F_2\rangle\) be a continuous, path-independent vector field on an open, connected region \(D\text{.}\) We will assume that \(D\) is in \(\R^2\) and \(\vF\) is a two-dimensional vector field, but the ideas below generalize completely to \(\R^3\text{.}\) We want to define a function \(f\) on \(D\) by using the vector field \(\vF\) and line integrals, much like the Second Fundamental Theorem of Calculus allows us to define an antiderivative of a continuous function using a definite integral. To that end, we assign \(f(x_0,y_0)\) an arbitrary value. (Setting \(f(x_0,y_0)=0\) is probably convenient, but we won't explicitly tie our hands. Just assume that \(f(x_0,y_0)\) is defined to be some number.) Now for any other point \((x,y)\) in \(D\text{,}\) define
where \(C\) is any oriented path from \((x_0,y_0)\) to \((x,y)\text{.}\) Since \(D\) is connected, such an oriented path must exist. Since \(\vF\) is path-independent, \(f\) is well-defined. If different paths from \((x_0,y_0)\) to \((x,y)\) gave different values for the line integral, then we'd not be sure what \(f(x,y)\) really is.
To better understand this mysterious function \(f\) we've now defined, let's start looking at its partial derivatives.
(a)
Since \(D\) is open, there is a disc (perhaps very small) surrounding \((x,y)\) that is contained in \(D\text{,}\) so fix a point \((a,b)\)in that disc. Since \(D\) is path-connected, there is a path \(C_1\) from \((x_0,y_0)\) to \((a,b)\text{.}\) Let \(C_y\) be the line segment from \((a,b)\) to \((a,y)\) and let \(C_x\) be the line segment from \((a,y)\) to \((x,y)\text{.}\) (See Figure4.4.4.) Rewrite \(f(x,y)\) as a sum of \(f(x_0,y_0)\) and line integrals along \(C_1\text{,}\) \(C_y\text{,}\) and \(C_x\text{.}\)
The curve \(C_x\) can be given by \(\vr(t)=\langle t,y\rangle \) for \(a \leq t\leq
x\text{,}\) since only the \(x\)-coordinate of points on \(C_x\) varies.
(c)
Use the parametrization from above to write \(\int_{C_y}\vF\cdot d\vr\) and \(\int_{C_x}\vF\cdot
d\vr\) as single variable integrals in the manner of Section4.3. Use the fact that \(\vF(x,y) = \langle F_1(x,y),F_2(x,y)\rangle\) to express your integrals in terms of \(F_1\) and \(F_2\) without any dot products.
Using the parametrization of \(C_x\) and \(C_y\) from the previous part, we notice that \(\vr'(t)\) has only one nonzero component in each case. Thus, we have
Notice that your expression for \(f(x,y)\) from the previous part only depends on \(x\) as the upper limit of an single variable integral. Use the Second Fundamental Theorem of Calculus to calculate \(f_x(x,y)\text{.}\)
The first three terms in our expression for \(f(x,y)\) do not depend on \(x\text{,}\) and thus when taking the partial derivative with respect to \(x\text{,}\) they vanish. By the Second Fundamental Theorem of Calculus (treating \(a,y\) as constants),
To calculate \(f_y(x,y)\text{,}\) we continue to consider a path \(C_1\) from \((x_0,y_0)\) to \((a,b)\text{,}\) but now let \(L_x\) be the line segment from \((a,b)\) to \((x,b)\) and let \(L_y\) be the line segment from \((x,b)\) to \((y,b)\text{.}\) Modify the process you used to find \(f_x(x,y)\) to find \(f_y(x,y)\text{.}\)
Only the last term of this expression depends on \(y\text{,}\) so the first three terms vanish when calculating \(f_y(x,y)\text{.}\) By the Second Fundamental Theorem of Calculus,
What can you conclude about the relationship between \(\grad f\) and \(\vF\text{?}\) What does this tell you about \(\vF\) beyond that it is path-independent and continuous?
Since \(f_x(x,y) = F_1(x,y)\) and \(f_y(x,y) =
F_2(x,y)\text{,}\) we can conclude that \(\grad f =
\vF\text{.}\) Therefore, we know that \(\vF\) is a gradient vector field.
If \(\vF\) is a path-independent vector field on an open, path-connected domain \(D\text{,}\) then \(\vF\) is a gradient vector field on \(D\text{.}\) Furthermore, if \(P\) is a point in \(D\) and \(f(P)\) is fixed, then for a point \(Q\) in \(D\) and an oriented curve \(C\) from \(P\) to \(Q\) in \(D\text{,}\) the function
with the analogous result holding if \(f\) is a function of three variables.
A vector field is path-independent if and only if the circulation around every closed curve in its domain is \(0\text{.}\)
If a vector field \(\vF\) is path-independent, then there exists a function \(f\) such that \(\nabla f =
\vF\text{.}\) That is, \(\vF\) is a conservative or gradient vector field.
The line integral of \(\vF=\langle yz,xz,y\rangle\) along the helix of radius of 3 given by \(\vr(t) \langle
3\sin(t), 3\cos(t), \frac{4}{\pi} t\rangle \) as \(-\pi\leq
t\leq \pi\text{.}\)
The Fundamental Theorem of Calculus for Line Integrals does not apply to this problem because the vector field is not a gradient vector field. The process described in the Preview Activity breaks down in the \(z\)-component because there is not a term of the form \(xyz\text{.}\)
(b)
The line integral of \(\vF=\langle \sin(yz),
xz\cos(yz)-z\sin(y),xy\cos(yz)+\cos(y)\rangle\) along the line segment from \((0,\pi,3)\) to \((2,-1,2\pi)\text{.}\)
The Fundamental Theorem of Calculus for Line Integrals does apply to this problem because the vector field is a gradient vector field. The potential functions are of the form \(f(x,y,z)=x\sin(yz)+z\cos(y)+C\text{.}\) Hence, the line integral evaluates as \(f(2,-1,2\pi)-f(0,\pi,3)=(0+2\pi\cos(-1))-(0-3)=2\pi\cos(-1)+3\text{.}\)
(c)
The integral\(\int_C y^2\, dx +2xy\, dy\) where \(C\) is the parabolic path along \(y=x^2\) from \((-1,1)\) to \((4,16)\text{.}\)
The Fundamental Theorem of Line Integrals does apply to this problem because the vector field is a gradient vector field. The potential functions are of the form \(f(x,y,z)=xy^2+C\text{.}\) Hence, the line integral evaluates as \(f(4,16)-f(-1,1)=(1024)-(-1)=1025\text{.}\)
Based on the \(x\) and \(z\) component functions of \(\vF\text{,}\) the potential function will need to be of the form \(f(x,y,z)=xz+\frac{3}{2}x^2y^2+\frac{1}{3}yz^3+\sin(z)+C(y)\text{.}\) This means that any \(F_2\) of the form \(3x^2y+\frac{1}{3}z^3+g(y)\) (where \(g(y)\) is an integrable function of \(y\)) will make \(\vF\) a gradient vector field.
(b)
Give a component function \(F_2\) such that \(\vF\) is not a gradient vector field.
Based on the \(x\) and \(z\) component functions of \(\vF\text{,}\) the potential function will need to be of the form \(f(x,y,z)=xz+\frac{3}{2}x^2y^2+\frac{1}{3}yz^3+\sin(z)+C(y)\text{.}\) This means that any \(F_2\) that is not of the form \(3x^2y+\frac{1}{3}z^3+g(y)\) (where \(g(y)\) is an integrable function of \(y\)) will prevent \(\vF\) from being a conservative vector field.
This exercise focuses on reasoning graphically about line integrals and vector fields.
(a)
Find a closed curve on which the line integral of the vector field pictured below will not be zero. Be sure to clearly define your curve and explain why the line integral over your curve is non-zero.
Using the path of line segments from \((0,0)\) to \((1,0)\) to \((0,1)\) to \((0,0)\text{,}\) you can see the only part of the path where the vector field is not orthogonal to the path is from \((1,0)\) to \((0,1)\text{.}\) On the segment \((1,0)\) to \((0,1)\) the vector field will have a strictly positive dot product with the direction of travel and the line integral over the segment \((1,0)\) to \((0,1)\) will necessarily be positive.
(b)
Explain why you think the following vector field is path independent or not.
Any closed path will have a balanced amount of the vector field in the direction of travel and against the direction of travel. This argument is easiest to see using paths that are symmetric.
This line integral is for a gradient vector field (with potential function \(f(x,y,z)=xye^z\)) from \((1,1,0)\) to \((4,8,1)\text{.}\) The Fundamental Theorem of Calculus for Line Integrals says that this line integral will evaluate to \(f(4,8,1)-f(1,1,0)=32e-1\text{.}\)