Skip to main content
\(\renewcommand{\chaptername}{Unit} \newcommand{\derivativehomeworklink}[1]{\href{http://db.tt/cSeKG8XO}{#1}} \newcommand{\chpname}{unit} \newcommand{\sageurlforcurvature}{http://bmw.byuimath.com/dokuwiki/doku.php?id=curvature_calculator} \newcommand{\uday}{ \LARGE Day \theunitday \normalsize \flushleft \stepcounter{unitday} } \newcommand{\sageworkurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=work_calculator} \newcommand{\sagefluxurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=flux_calculator} \newcommand{\sageworkfluxurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=both_flux_and_work} \newcommand{\sagelineintegral}{http://bmw.byuimath.com/dokuwiki/doku.php?id=line_integral_calculator} \newcommand{\sagephysicalpropertiestwod}{http://bmw.byuimath.com/dokuwiki/doku.php?id=physical_properties_in_2d} \newcommand{\sagephysicalpropertiesthreed}{http://bmw.byuimath.com/dokuwiki/doku.php?id=physical_properties_in_3d} \newcommand{\sageDoubleIntegralCheckerURL}{http://bmw.byuimath.com/dokuwiki/doku.php?id=double_integral_calculator} \newcommand{\myscale}{1} \newcommand{\ds}{\displaystyle} \newcommand{\dfdx}[1]{\frac{d#1}{dx}} \newcommand{\ddx}{\frac{d}{dx}} \newcommand{\ii}{\vec \imath} \newcommand{\jj}{\vec \jmath} \newcommand{\kk}{\vec k} \newcommand{\vv}{\mathbf{v}} \newcommand{\RR}{\mathbb{R}} \newcommand{\R}{ \mathbb{R}} \newcommand{\inv}{^{-1}} \newcommand{\im}{\text{im }} \newcommand{\colvec}[1]{\begin{bmatrix}#1\end{bmatrix} } \newcommand{\cl}[1]{ \begin{matrix} #1 \end{matrix} } \newcommand{\bm}[1]{ \begin{bmatrix} #1 \end{bmatrix} } \DeclareMathOperator{\rank}{rank} \DeclareMathOperator{\rref}{rref} \DeclareMathOperator{\vspan}{span} \DeclareMathOperator{\trace}{tr} \DeclareMathOperator{\proj}{proj} \DeclareMathOperator{\curl}{curl} \newcommand{\blank}[1]{[14pt]{\rule{#1}{1pt}}} \newcommand{\vp}{^{\,\prime}} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section9.3The Fundamental Theorem of Line Integrals

Objectives
  • recognize conservative vector fields

  • compute gradients and potentials

In this section we'll return to the concept of work. Many vector fields are actually the derivative of a function. When this occurs, computing work along a curve is extremely easy. All you have to know is the endpoints of the curve, and the function \(f\) whose derivative gives you the vector field. This function is called a potential for a vector field. Once we are comfortable finding potentials, we'll show that the work done by such a vector field is the difference in the potential at the end points. This makes finding work extremely fast.

Definition9.3.1Gradients and Potentials

Let \(\vec F\) be a vector field. A potential for the vector field is a function \(f\) whose derivative equals \(\vec F\text{.}\) So if \(Df=\vec F\text{,}\) then we say that \(f\) is a potential for \(\vec F\text{.}\) When we want to emphasize that the derivative of \(f\) is a vector field, we call \(Df\) the gradient of \(f\) and write \(Df = \vec \nabla f\text{.}\) If \(\vec F\) has a potential, then we say that \(\vec F\) is a gradient field.

The symbol \(\vec \nabla f\) is read “the gradient of \(f\)” or “del f.”

We'll quickly see that if a vector field has a potential, then the work done by the vector field is the difference in the potential. If you've ever dealt with kinetic and potential energy, then you hopefully recall that the change in kinetic energy is precisely the difference in potential energy. This is the reason we use the word “potential.”

Subsection9.3.1Practicing with Gradients and Potentials

Exercise9.3.1

Let's practice finding gradients and potentials.

(a)

Let \(f(x,y) = x^2+3xy+2y^2\text{.}\)

(i)

Find the gradient of \(f\text{,}\) i.e. find \(Df(x,y)\text{.}\)

Hint

The resultant matrix should be a 1x2 matrix.

(ii)

Next compute \(D^2f(x,y)\) (you should get a square matrix).

(iii)

What are \(f_{xy}\) and \(f_{yx}\text{?}\)

(b)

Consider the vector field \(\vec F(x,y)=(2x+y,x+4y)\text{.}\)

(i)

Find the derivative of \(\vec F(x,y)\) (it should be a square matrix).

(ii)

Now find a function \(f(x,y)\) whose gradient is \(\vec F\) (i.e. \(Df=\vec F\)).

(iii)

What are \(f_{xy}\) and \(f_{yx}\text{?}\)

(c)

Consider the vector field \(\vec F(x,y)=(2x+y,3x+4y)\text{.}\)

(i)

Find the derivative of \(\vec F\text{.}\)

(ii)

Explain why is there no function \(f(x,y)\) so that \(Df(x,y)=\vec F(x,y)\text{?}\)

Hint

what would \(f_{xy}\) and \(f_{yx}\) have to equal?

Based on your observations in the previous exercise, we have the following key theorem.

Exercise9.3.2

For each of the following vector fields, find a potential, or explain why none exists. Use Theorem 2

(a)

\(\vec F(x,y)=(2x-y, 3x+2y)\)

(b)

\(\vec F(x,y)=(2x+4y, 4x+3y)\)

(c)

\(\vec F(x,y)=(2x+4xy, 2x^2+y)\)

(d)

\(\vec F(x,y,z)=(x+2y+3z,2x+3y+4z,2x+3y+4z)\)

(e)

\(\vec F(x,y,z)=(x+2y+3z,2x+3y+4z,3x+4y+5z)\)

(f)

\(\vec F(x,y,z)=(x+yz,xz+z,xy+y)\)

If a vector field has a potential, then there is an extremely simple way to compute work. To see this, we must first review the fundamental theorem of calculus. The second half of the fundamental theorem of calculus states,

If \(f\) is continuous on \([a,b]\) and \(F\) is an anti-derivative of \(f\text{,}\) then \(F(b)-F(a) = \int_a^b f(x) dx\text{.}\)

If we replace \(f\) with \(f'\text{,}\) then an anti-derivative of \(f'\) is \(f\text{,}\) and we can write,

If \(f\) is continuously differentiable on \([a,b]\text{,}\) then

\begin{equation*} f(b)-f(a)=\int_a^b f'(x) dx. \end{equation*}

This last version is the version we now generalize.

Subsection9.3.2The Fundamental Theorem of Line Integrals

Notice that if \(\vec F\) is a vector field, and has a potential \(f\text{,}\) which means \(\vec F = Df\text{,}\) then we could rephrase this theorem as follows.

Suppose \(\vec F\) is a a vector field that is continuous along some open region containing the curve \(C\text{.}\) Suppose \(\vec F\) has a potential \(f\text{.}\) Let \(A\) and \(B\) be the start and end points of the smooth curve \(C\text{.}\) Then the work done by \(\vec F\) along \(C\) depends only on the start and end points, and is precisely

\begin{equation*} f(B)-f(A)=\int_C \vec F\cdot d\vec r = \int_C Mdx+Ndy. \end{equation*}

The work done by \(\vec F\) is the difference in a potential.

If you are familiar with kinetic energy, then you should notice a key idea here. Work is a transfer of energy. As an object falls, energy is transferred from potential energy to kinetic energy. The total kinetic energy at the end of a fall is precisely equal to the difference between the potential energy at the top of the fall and the potential energy at the bottom of the fall (neglecting air resistance). So work (the transfer of energy) is exactly the difference in potential energy.

Exercise9.3.3Optional: Proof of the Fundamental Theorem

Suppose \(f(x,y)\) is continuously differentiable, and suppose that \(\vec r(t)\) for \(t\in[a,b]\) is a parametrization of a smooth curve \(C\text{.}\) Prove that \(f(\vec r(b))-f(\vec r(a)) = \int_a^b Df(\vec r(t))D\vec r(t)\ dt\text{.}\) [If you do this exercise, skip Exercise 4 ]

The proof of the fundamental theorem of line integrals is quite short. All you need is the fundamental theorem of calculus, together with the chain rule (chain_rule_def).

Exercise9.3.4Guided Proof of Fundamental Theorem

Suppose \(f(x,y)\) is continuously differentiable, and suppose that \(\vec r(t)\) for \(t\in[a,b]\) is a parametrization of a smooth curve \(C\text{.}\)

We want to prove that:

\begin{equation*} f(\vec r(b))-f(\vec r(a)) = \int_a^b Df(\vec r(t))D\vec r(t)\ dt \end{equation*}
(a)

Let \(g(t) = f(\vec r(t))\text{.}\) Use substitution on the equation. Remember \(t \in [a,b]\text{.}\)

(b)

Explain why the equation you get after the substitution is true.

(c)

Compute \(g'(t)\) using the matrix form of the chain rule.

(d)

Substitute back in to remove \(g(\ )\) from your equation.

Exercise9.3.5

For each vector field and curve below, find the work done by \(\vec F\) along \(C\text{.}\) In other words, compute the integral \(\int_C Mdx+Ndy\) or \(\int_C Mdx+Ndy+Pdz\text{.}\)

(a)

See Sage for a picture.

Let \(\vec F(x,y) = (2x+y,x+4y)\) and \(C\) be the parabolic path \(y=9-x^2\) for \(x\) from \(-3\) to \(2\text{.}\)

Hint

If you parametrize the curve, then you'll have done the exercise the HARD way. You don't need any parametrization at all.

(b)

See Sage for a picture.

Let \(\vec F(x,y,z) = (2x+yz,2z+xz,2y+xy)\) and \(C\) be the straight segment from \((2,-5,0)\) to \((1,2,3)\text{.}\)

Hint

If you parametrize the curve, then you'll have done the exercise the HARD way. You don't need any parametrization at all.

Did you find a potential, and then plug in the end points?

Subsection9.3.3Conservative Vector Fields

Exercise9.3.6

Let \(\vec F = (x,z,y)\text{.}\) Let \(C_1\) be the curve which starts at \((1,0,0)\) and follows a helical path \((\cos t, \sin t, t)\) to \((1,0,2\pi)\text{.}\) Let \(C_2\) be the curve which starts at \((1,0, 2\pi)\) and follows a straight line path to \((2,4,3)\text{.}\) Let \(C_3\) be any smooth curve that starts at \((2,4,3)\) and ends at \((0,1,2)\text{.}\)

See Sage—\(C_1\) and \(C_2\) are in blue, and several possible \(C_3\) are shown in red.

(a)

If you are parameterizing the curves, you're doing this the really hard way. Are you using the potential of the vector field?

Find the work done by \(\vec F\) along each path \(C_1\text{,}\) \(C_2\text{,}\) \(C_3\text{.}\)

(b)

Find the work done by \(\vec F\) along the path \(C\) which follows \(C_1\text{,}\) then \(C_2\text{,}\) then \(C_3\text{.}\)

(c)

If \(C\) is any path that can be broken up into finitely many smooth sub-paths, and \(C\) starts at \((1,0,0)\) and ends at \((0,1,2)\text{,}\) what is the work done by \(\vec F\) along \(C\text{?}\)

In the exercise above, the path we took to get from one point to another did not matter. The vector field had a potential, which meant that the work done did not depend on the path traveled.

Definition9.3.4Conservative Vector Field

We say that a vector field is conservative if the integral \(\int_C \vec F\cdot d\vec r\) does not depend on the path \(C\text{.}\) We say that a curve \(C\) is piecewise smooth if it can be broken up into finitely many smooth curves.

Review9.3.7

Compute \(\ds \int \frac{x}{\sqrt{x^2+4}}dx\text{.}\)

Solution

Let \(u=x^2+4\text{,}\) which means \(du=2xdx\) or \(dx=\frac{du}{2x}\text{.}\) This means:

\begin{equation*} \ds \int \frac{x}{\sqrt{x^2+4}}dx = \int \frac{x}{\sqrt{u}}\frac{du}{2x} = \frac{1}{2}\int u^{-1/2}du = \frac{1}{2}\frac{u^{1/2}}{1/2} = \sqrt{u} = \sqrt{x^2+4}.\text{.} \end{equation*}
Exercise9.3.8

The gravitational vector field is directly related to the radial field \(\ds\vec F = \frac{\left(-x,-y,-z\right)}{(x^2+y^2+z^2)^{3/2}}\text{.}\) Show that this vector field is conservative, by finding a potential for \(\vec F\text{.}\) Then compute the work done by an object that moves from \((1,2,-2)\) to \((0,-3,4)\) along ANY path that avoids the origin.

Hint

See the review exercise just before this if you're struggling with the integral.

Exercise9.3.9

Suppose \(\vec F\) is a gradient field. Let \(C\) be a piecewise smooth closed curve. Compute \(\int_C \vec F\cdot d\vec r\) (you should get a number). Explain how you know your answer is correct.

Subsection9.3.4Computational Practice

These are provided to help you achieve better skills in basic computational answers.

1
2
3
4
5