You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
We accumulate vectors along a path.
In this section we introduce a new type of integrals, line integrals also known
as path integrals. Let’s start with a mental model for what a line integral
is.
1 The flow of a vector field along a curve
Suppose you are flying to Olinda Brazil for a mathematics conference. Flying
out of John Glenn Columbus International Airport, you have a layover in
Hartsfield-Jackson Atlanta International Airport. Because you bought your tickets as
cheaply as possible, you have very little time to catch your plane in Atlanta. Hence,
your flight time is of crucial interest to you. Fortunately or unfortunately,
hurricane Gauss (note this name is not actually possible for a hurricane) is
creating “interesting” wind patterns. Of crucial interest to you is the following
question:
Is the flow of the wind going with the path of your airplane, or
against?
If the flow of the air is with the path and direction of your plane, you will pick up a
tailwind and get to Atlanta in plenty of time to catch your next flight. If flow of the
wind is against the path and direction of your plane, you might miss your connecting
flight and be forced to spend days in the Atlanta airport reading science fiction
novels.
Let \(\vec {W}(x,y)\) be a vector field that represents wind currents. Let \(\vec {p}(t)\) be a vector-valued function
describing the path of your plane where \(t\) represents the times you are in flight
assuming no wind. The velocity vector of the plane is given by \(\vec {p}'(t)\). To see if the wind
currents are pushing with the plane or against the plane for any given time, you
compute:
\[ \underbrace {\vec {W}(\vec {p}(t))}_{\text {wind currents}}\dotp \underbrace {\vec {p}'(t)}_{\text {velocity of the plane}} \]
Here the dot product measures “how aligned” these two vectors are. If the
dot product is positive, the wind is pushing with the plane and speeding-up your
flight. If the dot product is negative, the wind is pushing against the plane and is
slowing your flight.
To see the net accumulation of the wind on the plane’s flight, you should hence
integrate with respect to time:
This integral will measure the accumulated
contribution of the wind to the flight of the plane. If the integral is positive, you will
arrive in Atlanta early, if the integral is negative you will arrive late. This sort of
integral is called a line integral or path integral because we are integrating along a
line or a path.
Let \(\vec {F}:\R ^n\to \R ^n\) be a vector field, \(C\) be a directed curve in \(\R ^n\), and \(\vec {p}:\R \to \R ^n\) be a vector-valued function that
draws \(C\). A line integral
\[ \int _C \vec {F}\dotp \d \vec {p} \]
measures the flow of the field \(\vec {F}\) along the directed curve \(C\).
Now, there is some stuff to unpack here. First of all, whenever you are computing a
line integral, you have two parts:
A vector field.
A vector-valued function that draws a path through the field.
A line integral measures the flow of a vector field along a path. The basic idea is that there is
some vector field given by \(\vec {F}\):
Now we add directed path \(C\) that is parameterized by \(\vec {p}(t) = \vector {x(t),y(t)}\). This can
be thought of as a path that an object takes through the field:
To figure out if the
flow of the vector field is “with” the direction of the path, we use the dot product:
\[ \underbrace {\vec {F}(x(t),y(t))}_{\text {direction of field}} \dotp \underbrace {\vector {x'(t),y'(t)}}_{\text {direction of path}} \]
In
the case above, the field is “with” the directed curve drawn by \(\vec {p}(t) = \vector {x(t),y(t)}\). Since \(\d \vec {p} = \vector {x'(t),y'(t)}\d t\), hence the line
integral
\[ \int _C \vec {F}\dotp \d \vec {p} \]
is positive.
It can be shown that the value of the line integral is
independent of the speed that the curve is drawn by the parameterization.
Now, if we travel the opposite direction through the field,
the line integral
\[ \int _C \vec {F}\dotp \d \vec {p} \]
is
negative, because the tangent vectors of the path are going “against” the field vectors.
Try your hand at this sort of analysis.
When the direction of the field and the direction of the path are in alignment, the
dot product is…
positive zero negative
When the direction of the field and
the direction of the path are orthogonal, the dot product is…
positive zero negative
When the direction of the field and the direction of the path are in
opposite direction, the dot product is…
positive zero negative
Consider the following vector field along with a (directed) curve \(C\).
Do you
expect
\[ \int _C \vec {F}\dotp \d \vec {p} \]
to be positive, zero, or negative?
positive zero negative
We can think about this better if we break the path into pieces: \(C_1\), \(C_2\), \(C_3\).
The field vectors
are orthogonal to the direction of the path \(C_1\). So this part contributes nothing to the
integral.
The field vectors are flowing against the direction of \(C_2\). This contributes a negative
value to our integral.
The field vectors are again orthogonal to the direction of the path \(C_3\). So this part
contributes nothing to the integral.
Consider the following vector field along with a (directed) curve \(C\).
Do you
expect
\[ \int _C \vec {F}\dotp \d \vec {p} \]
to be positive, zero, or negative?
positive zero negative
We can think about this better if we break the path into pieces: \(C_1\), \(C_2\), \(C_3\).
We can see
that the vectors are flowing with the direction of \(C_1\). Note that the magnitude
of these vectors is large, so this contributes a large positive value to our
integral.
The field vectors are orthogonal to the direction of the path \(C_2\). So this part contributes
nothing to the integral.
The field vectors are flowing against the direction of \(C_3\). However, their magnitude is
much less than the vectors that flowed with \(C_1\). So this contributes a small negative
value to our integral.
Consider the following vector field along with a (directed) curve \(C\).
Do you expect
\[ \int _C \vec {F}\dotp \d \vec {p} \]
to
be positive, zero, or negative?
positive zero negative
Think about what
the tangent vectors to the parameterized curve look like, and whether they point
with the field or against the field.
Consider the following vector field along with a (directed) curve \(C\).
Do you expect
\[ \int _C \vec {F}\dotp \d \vec {p} \]
to be
positive, zero, or negative?
positive zero negative
Think about what the
tangent vectors to the parameterized curve look like, and whether they point with
the field or against the field.
1.1 The notation of line integrals
Since line integrals appear in many different context, there is a wide variety of
notation for line integrals. In fact, if we set
Now, let’s use a table to describe our vector field.
Let \(\vec {F}:\R ^2\to \R ^2\) be roughly described by the following table of values:
Let \(\vec {p}(t)\) be the
vector-valued function describing the line \(\l \) running from the point \((1,3)\) to \((-1,1)\) as \(t\) runs from \(0\)
to \(1\). Setting \(\d t = 1/3\), estimate:
\[ \int _\l \vec {F}\dotp \d \vec {p} \]
Since we want the line to be drawn from point \((1,3)\) to point \((-1,1)\) as \(t\)
runs from \(0\) to \(1\), and the line passes through three rectangles, it makes sense we set \(\d t = 1/3\).
We parameterize our line as
Any smooth path can be approximated with a polygonal path. These can be quite
easy to integrate. Check out our next example.
Let \(\vec {F}(x,y) = \vector {0,x}\) and let \(C\) be the polygonal path below parameterized in a counterclockwise
direction:
Compute
\[ \oint _C \vec {F}\dotp \d \vec {p} \]
We need to parameterize our paths in a counterclockwise direction. While
there are lots of ways to do this, we’ll break it into four line segments each
parameterized as \(t\) runs from \(0\) to \(1\) (though any parameterization would work).
We will soon see that there are many “Fundamental Theorems of Calculus.”
What makes them similar is that they all share the following rather vague
description:
To compute a certain sort of integral over a region, we may do a
computation on the boundary of the region that involves one fewer
integrations.
Each version of the Fundamental Theorem of Calculus makes the “vague” statement
above precise. For example, when working with a single variable, the Fundamental
Theorem concludes:
\[ \int _a^b f'(x) \d x = f(b) - f(a) \]
In this case we are doing an integral over the “region” \([a,b]\), and the
“computation” that allows “one fewer integrations” is antidifferentiation. This is the
only Fundamental Theorem you have known so far in your studies. However with
additional dimensions, there come additional derivatives. When working with
functions \(F:\R ^n\to \R \) we have the gradient as a “derivative.” This brings us to our first of several
new fundamental theorems.
Fundamental Theorem for Line Integrals If \(C\) is a curve that starts at \(\vec {a}\) and ends at \(\vec {b}\),
Like the first fundamental theorem we met in our very first calculus class, the
fundamental theorem for line integrals says that if we can find a potential function
for a gradient field, we can evaluate a line integral over this gradient field by
evaluating the potential function at the end-points. In essence the potential function
is like the antiderivative from your first calculus course.
The up-shot is that whenever you are dealing with a line integral, you should always
start by checking to see if you are working with a gradient field.
3.1 Path independent fields
When trying to compute a line integral over a gradient field, the path one takes is not
important. This is because the Fundamental Theorem for Line Integrals says:
Meaning, you can just use the values of the potential function at the end-points to
compute the line integral. Because of this, some people call gradient fields path
independent fields. Let’s see an example.
Below we see a directed curve with some field vectors attached.
Assuming
that the field vectors are constant along each “side” of our polygonal path, compute:
\[ \int _C\vec {F}\dotp \d \vec {p} \]
This problem would be easier if our field was a gradient field, and while it surely
isn’t, the field is constant along two paths that together make up all of \(C\):
Using the Clairaut gradient test we see that \(\vec {F}\) isis not a
gradient field when restricted to either part of \(C\). Let \(F\) be a potential function for \(\vec {F}\). One
candidate for the the potential function is