Line Integral
Line Integral
Now when you first learn work, you just say, oh, that' just force times distance.
But then later on, when you learn a little bit about vectors, you realize that the force isn't always going
in the same direction as your displacement.
So, you learn that work is really the magnitude of the force, in the direction, or the component of the
force in the direction of displacement. Displacement is just distance with some direction time the
magnitude of the displacement
Work – magnitude of the force in the direction of the displacement times distance
Maybe you have an ice cube, or some type of block. Maybe it's standing on a bigger lake or ice or
something.
And maybe you're pulling on that ice cube at an angle. Let's say, you're pulling at an angle like that. That
is my force, right there.
Let's say the magnitude of my force vector, let's say it's 10 newtons.
And let's say the direction of my force vector, has a 60-degree angle above horizontal.
So let's say the displacement, that's the displacement vector right there, and the magnitude of it is equal
to 5 meters.
just say, oh, I'm pulling with 10 newtons of force and I'm moving it 5 meters.
You can't just multiply the 10 newtons times the 5 meters. You have to find the magnitude of the
component going in the same direction as my displacement.
So what I essentially need to do is, the length, if you imagine the length of this force vector being 10,
that's the total force, but you need to figure out the length of the component of the force, going in the
same direction as my displacement.
And a little simple trigonometry, you know that the horizontal component is 10 times the cosine of 60
degrees, or that's equal to,
F x =10 cos 60
1
cos 60=
2
F x =5
So the magnitude of the force going in the same direction of the displacement in this case, is 5 newtons.
And then you can figure out the work. You could say that the work is equal to 5 newtons times, I'll just
write a dot for times. I don't want you to think it's cross product, times 5 meters, which is newton
meters, or you could even say 25 Joules of work have been done.
W =Fd cos θ
¿ 5 ∙5
¿ 25 N∗m∨Joules
And this is all review of somewhat basic physics. But just think about what happened here.
If I write in the abstract the work is equal to the 5 newtons. That was the magnitude of my force vector,
so it's the magnitude of my force vector, times the cosine of this angle. So, you know, let's call that
theta.
W =‖F‖cos θ
Let's say it a little generally times the magnitude of the displacement.
W =‖F‖cos θ ∙‖d‖
magnitude of the displacement times the magnitude of the force times the cosine of theta.
W =‖F‖‖d‖cos θ
So, in general, if you're trying to find the work for a constant displacement, and you have a constant
force, you just take the dot product of those two vectors.
F ∙ ⃗d , or d⃗ ∙ ⃗
But just to give you a little bit of that intuition right here, the dot product, when I take ⃗ F,
what it's giving me is, I'm multiplying the magnitude, well
But the idea of the dot product is, take how much of this vector is going in the same direction as this
vector, in this case, this much
Intuitively, dot product is the measure of how much a vector is going in the same direction as another
vector
‖F‖cos θ
And then multiply the two magnitudes.
So, the work is going to be the force vector, dot, taking the dot part of the force vector with the
displacement vector, and this, of course, is a scalar value.
Now let's take a more complex example, but it's really the same idea.
^ unit vector, or
It's a function of x and y , and it's equal to some scalar function of x and y times the i−¿
the horizontal unit vector, plus some other function, scalar function of x and y, times the vertical unit
vector.
⃗f ( x , y )=P ( x , y ) i+
^ Q(x , y ) ^j
⏟
Vecotr field on x− y plane/ R2
So what would something like this be? This is a vector field in 2-dimensional space.
I'm just drawing the first quadrant, and but you could go negative in either direction, if you like.
You give me any x, any y, in the x-y plane, and these are going to end up with some numbers, right?
When you put x, y in the scalar functions of the vector field, you're going to get some value, when
So, you're going to get some combination of the i-and j-unit vectors. So, you're going to get some vector.
What this does (vector field) it defines a vector that's associated with every point on x-y plane.
So, you could say, if I take this point on the x-y plane, and I would pop it into this, I'll get something
times i plus something times j, and when you add those , maybe I get a vector that something like that.
I'm just randomly picking points. It defines a vector on all of the x, y coordinates where these scalar
functions are properly defined.
And that's why it's called a vector field. It defines what a potential, maybe, force would be, or some
other type of force, at any point.
And I could keep doing this forever, and filling in all the gaps.
It associates a vector with every point on x-y plane. Now, this is called a vector field, so it probably
makes a lot of sense that this could be used to describe any type of field.
And this could be essentially telling you how much force there would be on some particle in that field.
Now, let's say that in this field, I have some particle traveling on x-y plane.
and by virtue of all of these crazy forces that are acting on it, and maybe it's on some tracks or
something, so it won't always move exactly in the direction that the field is trying to move it at.
^ y ( t) ^j
r ( t )=x ( t ) i+
Well, in order for this to be a finite path, this is true
a≤t≤b
This is the path that the particle just happens to take, due to all of these wacky forces.
So, when the particle is right here, maybe the vector field acting on it, maybe it's putting a force like
that.
But since the thing is on some type of tracks, it moves in this direction. And then when it's here, maybe
the vector field is like that, but it moves in that direction, because it's on some type of tracks.
my object is changing direction. So let's say when I'm here, and let's say I move a small amount of my
path.
small displacement and let's say over the course of that, the vector field is acting in this local area, let's
say it looks something like that.
So that's the vector field in that area, or the force directed on that particle right when it's at that point.
Right?
It's an infinitesimally small amount of time in space. You could say, OK, over that little small point, we
have this constant force.
What was the work done over this small period? You could say, what's the small interval of work?
Well, by the same exact logic that we did with the simple problem, it's the magnitude of the force in the
direction of our displacement times the magnitude of our displacement. And we know what that is, just
from this example up here.
It's the dot product of the force and our super-small displacement.
So that's equal to the dot product of our force and our super-small displacement.
dW = ⃗f ∙ d ⃗r
Now, just by doing this, we're just figuring out the work over, maybe like a really small, super-small dr.
But
what we want to do, is we want to sum them all up. We want to sum up all of the d ⃗r ’s to figure out the
total, all of the ⃗f ∙ d ⃗r ' s to figure out the total work done.
And that's where the integral comes in. We will do a line integral
do a line integral
❑
∫ dW
c
That says “along this curve c” or along r, whatever you want to say it, of dw.
That'll give us the total work. So, let's say, work is equal to that.
❑
W =∫ dW
c
Or we could also write it over the integral, over the same curve of ⃗f ∙ d ⃗r .
❑ ❑
W =∫ dW =∫ ⃗f ∙ d r⃗
c c
Especially because we have everything parameterized in terms of t. How do we get this in terms of t?
.
d r⃗
=x ' ( t ) i^ + y '(t ) ^j
dt
we're being a little bit more hand-wavy with the differentials, not too rigorous.
We'll get
^ y ( t ) dt ^j
' (t )
d ⃗r =x dt i+
'
that gives the total work done by the field, on the particle, as it moves along that path.
Just super fundamental to pretty much any serious physics that you might eventually find yourself doing.
It's going to be the integral, let's just say from t is equal to a, to t is equal to b.
b
∫❑
a
Well, if you remember from just what the dot product is, you can essentially just take the product of the
corresponding components of you of vector, and add them up.
So this is going to be the integral from t = a to t = b,
b
∫ P ( x ( t ) , y ( t ) ) x' ( t ) dt +Q ( x ( t ) , y ( t ) ) y ' (t ) dt
a
This might still seem a little bit abstract, but we're going to see in the next video, everything is now in
terms of t, so this is just a straight-up integration, with respect to dt.
If we want, we could take the dt's outside of the equation, and it'll look a little bit more normal for you.
But this is essentially all that we have to do.
And we're going to see some concrete examples of taking a line integral through a vector field, or using
vector functions, in the next video.