WEBVTT

00:00:00.000 --> 00:00:08.000
DAVID JORDAN: Hello , welcome
back to recitation.

00:00:08.000 --> 00:00:10.130
The problem I'd like to work on
with you now is a long one.

00:00:10.130 --> 00:00:14.480
So it's going to be practice
computing line integrals.

00:00:14.480 --> 00:00:18.590
So to begin with, we have this
function of two variables.

00:00:18.590 --> 00:00:22.500
f is x to the fifth
plus 3xy cubed.

00:00:22.500 --> 00:00:24.230
And we have this--

00:00:24.230 --> 00:00:30.320
C is the upper semi-circle going
from (1, 0) to (-1, 0).

00:00:30.320 --> 00:00:35.710
So it's this upper semi-circle
here that we often consider.

00:00:35.710 --> 00:00:38.180
And so the first thing that we
want to do is to just compute

00:00:38.180 --> 00:00:41.830
the gradient capital F
to be the gradient of

00:00:41.830 --> 00:00:43.730
this function f.

00:00:43.730 --> 00:00:47.370
And then parts b through d,
we're going to compute this

00:00:47.370 --> 00:00:53.150
line integral of this vector
field f along this curve C.

00:00:53.150 --> 00:00:55.550
We're going to compute it
in three different ways.

00:00:55.550 --> 00:00:58.290
So first of all, we're going to
compute it directly, just

00:00:58.290 --> 00:01:00.130
using the definition.

00:01:00.130 --> 00:01:04.180
And then in Part c, we're going
to compute it using the

00:01:04.180 --> 00:01:06.790
path independence of line
integrals and we're going to

00:01:06.790 --> 00:01:09.600
replace the path C with
a simpler path.

00:01:09.600 --> 00:01:14.100
And then finally in Part d,
we're going to use the

00:01:14.100 --> 00:01:16.390
fundamental theorem
of line integrals.

00:01:16.390 --> 00:01:19.440
Now when you do Part b,
what I want you to do

00:01:19.440 --> 00:01:20.360
is set up the integral.

00:01:20.360 --> 00:01:22.070
You're going to get a very
complicated integral that I

00:01:22.070 --> 00:01:23.140
wouldn't want to
try to compute.

00:01:23.140 --> 00:01:27.800
So just set up the integral
completely and then go ahead

00:01:27.800 --> 00:01:29.820
and move on to Part c and d.

00:01:29.820 --> 00:01:32.220
So why don't you pause the video
and work on that, and

00:01:32.220 --> 00:01:34.440
we'll check back in
a few minutes and

00:01:34.440 --> 00:01:35.690
we'll solve it together.

00:01:42.850 --> 00:01:43.390
Welcome back.

00:01:43.390 --> 00:01:46.760
I hope you had some luck working
these problems. So

00:01:46.760 --> 00:01:48.755
let's do the easy one first,
computing the gradient.

00:01:51.840 --> 00:01:58.020
So for the gradient we just
take the two partial

00:01:58.020 --> 00:01:58.490
derivatives.

00:01:58.490 --> 00:02:06.920
So we get 5x to the fourth
plus 3y cubed.

00:02:06.920 --> 00:02:10.340
That's the partial derivative in
the x-direction, and in the

00:02:10.340 --> 00:02:18.860
y-direction, we just
get 9xy squared.

00:02:23.130 --> 00:02:31.880
So now for Part b, we're
asked to compute

00:02:31.880 --> 00:02:33.840
this integral directly.

00:02:33.840 --> 00:02:35.530
So we have to recall
what it means.

00:02:35.530 --> 00:02:40.860
So first of all, if we go back
over here, we have this curve

00:02:40.860 --> 00:02:45.100
C. And we need to give a
parameterization for it, and

00:02:45.100 --> 00:02:52.170
so we're going to introduce
a parameterization r of a

00:02:52.170 --> 00:02:53.920
variable t, and we're going
to use that to do our

00:02:53.920 --> 00:02:55.490
computations.

00:02:55.490 --> 00:02:59.780
So let's set r of t--

00:02:59.780 --> 00:03:02.060
so this is our usual circle
that we're used to working

00:03:02.060 --> 00:03:03.530
with, so we're just going
to take the usual

00:03:03.530 --> 00:03:07.460
parameterization,
cos t and sin t.

00:03:10.590 --> 00:03:17.160
And what's important is that the
range is going to be from

00:03:17.160 --> 00:03:23.130
t equals 0 to t equals pi.

00:03:23.130 --> 00:03:25.540
It's t equals pi because we
don't want to go all the way

00:03:25.540 --> 00:03:26.100
around the circle.

00:03:26.100 --> 00:03:27.860
We just want to go halfway
around until we get to

00:03:27.860 --> 00:03:29.900
negative 1.

00:03:29.900 --> 00:03:32.480
So if that is r of t, then
we can compute the

00:03:32.480 --> 00:03:33.910
differential dr of t.

00:03:37.770 --> 00:03:41.890
And so it's going to be just
taking the derivative.

00:03:41.890 --> 00:03:54.380
So we have negative sin
t and cos t dt.

00:03:54.380 --> 00:03:59.680
And so now we can just
write out this

00:03:59.680 --> 00:04:00.730
line integral directly.

00:04:00.730 --> 00:04:08.540
So the integral over C of
F dot dr just becomes--

00:04:08.540 --> 00:04:14.810
so we have the integral
from t equals 0 to pi.

00:04:14.810 --> 00:04:17.820
Those are the ranges
for our curve.

00:04:17.820 --> 00:04:22.310
And now we're going to take the
dot product of F, which

00:04:22.310 --> 00:04:31.990
was (5x to the fourth plus
3y cubed, 9xy squared).

00:04:31.990 --> 00:04:35.950
We're just going to dot this
with our dr vector, which is

00:04:35.950 --> 00:04:38.910
(-sin t, cos t).

00:04:42.440 --> 00:04:45.060
All together we have dt.

00:04:45.060 --> 00:04:49.340
And so now, notice that here
we've got the variables x and

00:04:49.340 --> 00:04:52.540
y, and here we've got the
variables t, but because of

00:04:52.540 --> 00:04:54.640
our parameterization, we
actually know that, for

00:04:54.640 --> 00:04:59.580
instance, x is cos
t and y is sin t.

00:04:59.580 --> 00:05:01.070
So we can write this all out.

00:05:07.170 --> 00:05:20.780
So we have 5 cos to the fourth
t plus 3 sin cubed t.

00:05:20.780 --> 00:05:23.990
So that's this guy written
out in terms of t.

00:05:23.990 --> 00:05:29.800
And then we multiply it
by a negative sin t.

00:05:29.800 --> 00:05:32.860
And then to that we add
the other components.

00:05:32.860 --> 00:05:38.210
So we have plus a 9.

00:05:38.210 --> 00:05:42.830
So we have cos t coming from the
x and another cos t here.

00:05:42.830 --> 00:05:55.480
So we have cos squared t, and
we have a sin squared t dt.

00:05:55.480 --> 00:05:57.930
OK, so that's what it means to
compute this line integral

00:05:57.930 --> 00:06:00.080
directly, and it's not
something that I

00:06:00.080 --> 00:06:01.430
look forward to doing.

00:06:01.430 --> 00:06:05.320
So let's see if we can use path
independence to make our

00:06:05.320 --> 00:06:06.570
lives a little bit simpler.

00:06:09.960 --> 00:06:12.860
So that's going to be c.

00:06:12.860 --> 00:06:21.150
So what we want to do is we want
to replace our original

00:06:21.150 --> 00:06:26.220
curve C with any other curve
that has the same starting

00:06:26.220 --> 00:06:28.130
point and the same
ending point.

00:06:28.130 --> 00:06:31.860
And the curve that I would like
to use is just a straight

00:06:31.860 --> 00:06:32.720
line connecting them.

00:06:32.720 --> 00:06:35.030
There's lots of different
choices that you could do, but

00:06:35.030 --> 00:06:38.280
to me this one seems
the most natural.

00:06:38.280 --> 00:06:39.530
So let's give that a try.

00:06:47.750 --> 00:06:54.680
So let's let r of t be
the curve (-t,0).

00:06:54.680 --> 00:06:59.280
Negative t because we want it
to run moving to the left.

00:06:59.280 --> 00:07:09.310
And then our range is just going
to be from minus 1 to 1.

00:07:09.310 --> 00:07:13.600
So when t is minus 1, then we
get minus the negative 1 and

00:07:13.600 --> 00:07:15.900
it starts at 1.

00:07:15.900 --> 00:07:19.030
And when t is 1 it goes
to negative 1.

00:07:19.030 --> 00:07:22.450
And notice that it goes along
the y equals 0 axis.

00:07:24.960 --> 00:07:28.310
So now we can do the same
computation that we did before

00:07:28.310 --> 00:07:29.650
but we can use this curve.

00:07:29.650 --> 00:07:34.180
So the thing that I want to
emphasize is that if we're

00:07:34.180 --> 00:07:38.750
computing a line integral
of a gradient function--

00:07:38.750 --> 00:07:40.600
so of a function which
is conservative--

00:07:40.600 --> 00:07:45.270
then we can use any line and
we can use any path that

00:07:45.270 --> 00:07:46.800
connects the two end points.

00:07:46.800 --> 00:07:48.270
We can replace our path.

00:07:48.270 --> 00:07:48.940
And so that's what we did.

00:07:48.940 --> 00:07:51.040
We replaced C1 with C2.

00:07:51.040 --> 00:07:53.710
So now this becomes much
easier in two ways.

00:07:53.710 --> 00:07:54.960
So we'll see.

00:08:04.610 --> 00:08:09.640
So our range now is just t
goes from minus 1 to 1.

00:08:09.640 --> 00:08:17.090
And so dr here is
just (-1, 0).

00:08:17.090 --> 00:08:25.130
That's dr. And there's a dt.

00:08:28.130 --> 00:08:30.250
And let's see.

00:08:30.250 --> 00:08:37.200
So now F, we had this value
for F, but notice that the

00:08:37.200 --> 00:08:39.479
y-coordinate is always
0 along this curve.

00:08:42.220 --> 00:08:47.780
So the y-coordinate being 0
means that we just have 5t to

00:08:47.780 --> 00:08:54.990
the fourth and then 0 here.

00:08:54.990 --> 00:08:59.840
That's it, because we set y
to be 0 along this curve.

00:08:59.840 --> 00:09:04.990
So all together this is a very
nice integral to do.

00:09:04.990 --> 00:09:07.700
So just taking this dot product,
all we have is minus

00:09:07.700 --> 00:09:11.770
5t to the fourth dt.

00:09:11.770 --> 00:09:13.370
That's simplified greatly.

00:09:13.370 --> 00:09:23.050
And we just have minus t to the
fifth from 1 to minus 1.

00:09:23.050 --> 00:09:28.590
And so we get simply minus 2.

00:09:28.590 --> 00:09:30.900
So that was a much, much more
straightforward integral to do

00:09:30.900 --> 00:09:32.530
than the one we started with.

00:09:32.530 --> 00:09:38.010
Now finally, in d, we're
suggested to use the

00:09:38.010 --> 00:09:40.010
fundamental theorem
of line integrals.

00:09:40.010 --> 00:09:41.580
So let's remember
what that says.

00:09:41.580 --> 00:09:50.420
That says that if we have any
curve and the line integral

00:09:50.420 --> 00:09:51.670
that we're taking--

00:09:55.470 --> 00:09:58.810
if we know that we're taking the
line integral not of any

00:09:58.810 --> 00:10:01.810
vector field, but of a vector
field which is already the

00:10:01.810 --> 00:10:07.320
gradient of f, then that tells
us that this is simply f of

00:10:07.320 --> 00:10:17.500
the endpoint minus f of the
starting point of our curve.

00:10:17.500 --> 00:10:21.350
So really we don't need to
do any integral at all.

00:10:21.350 --> 00:10:25.295
And so let's see.

00:10:25.295 --> 00:10:36.510
So recall that f was x to the
fifth plus 3xy cubed.

00:10:36.510 --> 00:10:39.320
And so the endpoint--

00:10:39.320 --> 00:10:44.820
so we just need to take
f of (-1, 0) and

00:10:44.820 --> 00:10:49.660
subtract f of (1, 0).

00:10:49.660 --> 00:10:57.930
And so plugging this all in
together we get minus 1 minus

00:10:57.930 --> 00:11:01.090
a positive 1.

00:11:01.090 --> 00:11:03.050
All together we get minus 2.

00:11:03.050 --> 00:11:05.800
And, of course, this does agree
with what we did when we

00:11:05.800 --> 00:11:08.100
computed using the
line integrals.