If you're seeing this message, it means we're having trouble loading external resources on our website.

Jeżeli jesteś za filtrem sieci web, prosimy, upewnij się, że domeny *.kastatic.org i *.kasandbox.org są odblokowane.

Główna zawartość

## Analiza matematyczna funkcji wielu zmiennych

### Kurs: Analiza matematyczna funkcji wielu zmiennych>Rozdział 4

Lekcja 4: Całki krzywoliniowe na polach wektorowych (artykuły)

# Line integrals in a vector field

After learning about line integrals in a scalar field, learn about line integrals work in vector fields.

## What we are building to

Let's say there is some vector field $\mathbf{\text{F}}$ and a curve $C$ wandering through that vector field. Imagine walking along the curve, and at each step taking the dot product between the following two vectors:
• The vector from the field $\mathbf{\text{F}}$ at the point where you are standing.
• The displacement vector associated with the next step you take along this curve.
If you add up those dot products, you have just approximated the line integral of $\mathbf{\text{F}}$ along $C$
The shorthand notation for this line integral is
$\begin{array}{r}{\int }_{C}\mathbf{\text{F}}\cdot d\mathbf{\text{r}}\end{array}$
(Pay special attention to the fact that this is a dot product)
The more explicit notation, given a parameterization $\mathbf{\text{r}}\left(t\right)$ of $C$, is
$\begin{array}{r}{\int }_{a}^{b}\mathbf{\text{F}}\left(\mathbf{\text{r}}\left(t\right)\right)\cdot {\mathbf{\text{r}}}^{\prime }\left(t\right)dt\end{array}$
Line integrals are useful in physics for computing the work done by a force on a moving object.
If you parameterize the curve such that you move in the opposite direction as $t$ increases, the value of the line integral is multiplied by $-1$.

## Whale falling from the sky

Let's say we have a whale, whom I'll name Whilly, falling from the sky. Suppose he falls along a curved path, perhaps because the air currents push him this way and that.
In this example, I am assuming you are familiar with the idea from physics that a force does work on a moving object, and that work is defined as the dot product between the force vector and the displacement vector.
Key question: What is the work done on Whilly by gravity as he falls along the curved path $C$?
Usually, computing work is done with respect to a straight force vector and a straight displacement vector, so what can we do with this curved path? You can start by imagining the curve is broken up into many little displacement vectors:
Go ahead and give each one of these displacement vectors a name,
${\stackrel{\to }{\mathrm{\Delta }s}}_{1}$, ${\stackrel{\to }{\mathrm{\Delta }s}}_{2}$, ${\stackrel{\to }{\mathrm{\Delta }s}}_{3}$, $\dots$
The work done by gravity along each one of these displacement vectors is the gravity force vector, which I'll denote $\stackrel{\to }{{F}_{g}}$, dotted with the displacement vector itself:
$\stackrel{\to }{{F}_{g}}\cdot {\stackrel{\to }{\mathrm{\Delta }s}}_{i}$
The total work done by gravity along the entire curve is then estimated by
$\begin{array}{r}\sum _{n=1}^{N}\stackrel{\to }{{F}_{g}}\cdot {\stackrel{\to }{\mathrm{\Delta }s}}_{n}\end{array}$
But of course, this is calculus, so we don't just look at a specific number of finite steps along the curve $C$. We consider what limiting value this sum approaches as the size of those steps shrinks smaller and smaller. This is captured with the following integral:
$\begin{array}{r}{\int }_{C}\stackrel{\to }{{F}_{g}}\cdot \stackrel{\to }{ds}\end{array}$
This is very similar to line integration in a scalar field, but there is the key difference: The tiny step $\stackrel{\to }{ds}$ is now thought of as a vector, not a scalar length. In the integral above, I wrote both $\stackrel{\to }{{F}_{g}}$ and $\stackrel{\to }{ds}$ with little arrows on top to emphasize that they are vectors. A more subtle and more common way to emphasize that these are vector quantities is to write the variable in bold:
$\begin{array}{r}{\int }_{C}{\mathbf{\text{F}}}_{g}\cdot d\mathbf{\text{s}}\end{array}$
Key takeaway: The thing we're adding up as we wander along $C$ is not the full value of ${\mathbf{\text{F}}}_{g}$ at each point, but the component of ${\mathbf{\text{F}}}_{g}$ pointed in the same direction as the vector $d\mathbf{\text{s}}$. That is, the component of force in the direction of the curve.

## Example 1: Putting numbers on Whilly's fall.

Let's see how this plays out when we go through the computation.
Suppose the curve of Whilly's fall is described by the parametric function
$\begin{array}{r}\mathbf{\text{s}}\left(t\right)=\left[\begin{array}{c}100\left(t-\mathrm{sin}\left(t\right)\right)\\ 100\left(-t-\mathrm{sin}\left(t\right)\right)\end{array}\right]\end{array}$
The vector $d\mathbf{\text{s}}$ representing a tiny step along the curve can be given as the derivative of this function, times $dt$:
$d\mathbf{\text{s}}=\frac{d\mathbf{\text{s}}}{dt}dt={\mathbf{\text{s}}}^{\prime }\left(t\right)dt$
If these seem unfamiliar, consider taking a look at the article describing derivatives of parametric functions. The way to visualize this is to think of a tiny increase to the parameter $t$ of size $dt$. This results in a tiny nudge along the curve described by $\mathbf{\text{s}}\left(t\right)$, which is given by the vector ${\mathbf{\text{s}}}^{\prime }\left(t\right)dt$.
Evaluating this derivative vector simply requires taking the derivative of each component:
$\begin{array}{rl}\frac{d\mathbf{\text{s}}}{dt}& =\left[\begin{array}{c}\frac{d}{dt}100\left(t-\mathrm{sin}\left(t\right)\right)\\ \\ \frac{d}{dt}100\left(-t-\mathrm{sin}\left(t\right)\right)\\ \end{array}\right]\\ \\ \frac{d\mathbf{\text{s}}}{dt}& =\left[\begin{array}{c}100\left(1-\mathrm{cos}\left(t\right)\right)\\ \\ 100\left(-1-\mathrm{cos}\left(t\right)\right)\\ \end{array}\right]\end{array}$
The force of gravity is given by the acceleration $9.8\frac{\text{m}}{{\text{s}}^{2}}$ times the mass of Whilly. Not that it matters, but I looked up the typical mass of a blue whale, and it's around $170,000\phantom{\rule{0.167em}{0ex}}\text{kg}$, so let's use that number.
Since this force is directed purely downward, gravity as a force vector looks like this:
$\begin{array}{rl}{\mathbf{\text{F}}}_{g}& =\left[\begin{array}{c}0\\ -\left(170,000\right)\left(9.8\right)\end{array}\right]\end{array}$
Let's say we want to find the work done by gravity between times $t=0$ and $t=10$. What do you get when you plug in all this information to the integral integral ${\int }_{C}{\mathbf{\text{F}}}_{g}\cdot d\mathbf{\text{s}}$ and evaluate the integral? Take a moment to try writing this out for yourself before peeking at the answer.
(To those physics students among you who notice that it would be easier to just compute the gravitational potential of Whilly at the start and end of his fall and find the difference, you are going to love the topic of conservative fields!)

## Visualizing more general line integrals through a vector field

In the previous example, the gravity vector field is constant. Gravity points straight down with the same magnitude everywhere. With most line integrals through a vector field, the vectors in the field are different at different points in space, so the value dotted against $d\mathbf{\text{s}}$ changes. The following animation shows what this might look like.
(Note, the animation uses the variable $\mathbf{\text{r}}$ instead of $\mathbf{\text{s}}$ to parameterize the curve, but of course, it does not make a difference.)
Let's dissect what's going on here. The line integral itself is written as
$\begin{array}{r}{\int }_{C}\mathbf{\text{F}}\left(\mathbf{\text{r}}\right)\cdot d\mathbf{\text{r}}={\int }_{a}^{b}\mathbf{\text{F}}\left(\mathbf{\text{r}}\left(t\right)\right)\cdot {\mathbf{\text{r}}}^{\prime }\left(t\right)dt\end{array}$
where
• $\mathbf{\text{F}}$ is a vector field, associating each point in space with a vector. You can think of this as a force field.
• $C$ is a curve through space.
• $\mathbf{\text{r}}\left(t\right)$ is a vector-valued function parameterizing the curve $C$ in the range $a\le t\le b$
• ${\mathbf{\text{r}}}^{\prime }\left(t\right)$ is the derivative of $\mathbf{\text{r}}$, representing the velocity vector of a particle whose position is given by $\mathbf{\text{r}}\left(t\right)$ while $t$ increases at a constant rate. When you multiply this by a tiny step in time, $dt$, it gives a tiny displacement vector, which I like to think of as a tiny step along the curve. Technically it is a tiny step in the tangent direction to the curve, but for small enough $dt$ this amounts to the same thing.
• Note, in this animation the length of ${\mathbf{\text{r}}}^{\prime }\left(t\right)$ stays constant. This is not necessarily true for most parameterizations of $C$, which may have you speeding up or slowing down as your position varies according to $\mathbf{\text{r}}$. For example, Whilly was probably speeding up during his fall, making the velocity vector grow over time.
• The rotating circle in the bottom right of the diagram is a bit confusing at first. It represents the extent to which the vector $\mathbf{\text{F}}\left(\mathbf{\text{r}}\left(t\right)\right)$ lines up with the tangent vector ${\mathbf{\text{r}}}^{\prime }\left(t\right)$. The grey $x$ and $y$ vectors are shown to see how these vectors are oriented relative to $xy$-plane as a whole.
Concept check: What does the dot product $\mathbf{\text{F}}\left(\mathbf{\text{r}}\left(t\right)\right)\cdot {\mathbf{\text{r}}}^{\prime }\left(t\right)dt$ represent?
Wybierz 1 odpowiedź:

$\mathbf{\text{F}}\left(\mathbf{\text{r}}\left(t\right)\right)\cdot {\mathbf{\text{r}}}^{\prime }\left(t\right)dt$
as
$dW$
That is, a tiny amount of work done by the force field $\mathbf{\text{F}}$ on a particle moving along $C$.

## Example 2: Work done by a tornado

Consider the vector field described by the function
$\begin{array}{rl}\mathbf{\text{F}}\left(x,y\right)& =\left[\begin{array}{c}-y\\ x\end{array}\right]\end{array}$
The vector field looks like this:
Thought of as a force, this vector field pushes objects in the counterclockwise direction about the origin. For example, maybe this represents the force due to air resistance inside a tornado. This is a little unrealistic because it would imply that force continually gets stronger as you move away from the tornado's center, but we can just euphemistically say it's a "simplified model" and continue on our merry way.
Suppose we want to compute a line integral through this vector field along a circle or radius $1$ centered at $\left(2,0\right)$.
I should point out that orientation matters here. The work done by the tornado force field as we walk counterclockwise around the circle could be different from the work done as we walk clockwise around it (we'll see this explicitly in a bit).
If we choose to consider a counterclockwise walk around this circle, we can parameterize the curve with the function.
$\begin{array}{rl}\mathbf{\text{r}}\left(t\right)& =\left[\begin{array}{c}\mathrm{cos}\left(t\right)+2\\ \mathrm{sin}\left(t\right)\end{array}\right]\end{array}$
where $t$ ranges from $0$ to $2\pi$.
Again, to set up the line integral representing work, you consider the force vector at each point, $\mathbf{\text{F}}\left(x,y\right)$, and you dot it with a tiny step along the curve, $d\mathbf{\text{r}}$:
$\begin{array}{r}{\int }_{C}\mathbf{\text{F}}\cdot d\mathbf{\text{r}}\end{array}$

### Step 1: Expand the integral

Concept check: Which of the following integrals represents the same thing as $\begin{array}{r}{\int }_{C}\mathbf{\text{F}}\cdot d\mathbf{\text{r}}\end{array}$?
Wybierz 1 odpowiedź:

### Step 2: Expand each component

Concept check: Based on the definitions above, what is $\mathbf{\text{F}}\left(\mathbf{\text{r}}\left(t\right)\right)$?
Wybierz 1 odpowiedź:

Concept check: What is ${\mathbf{\text{r}}}^{\prime }\left(t\right)$?
Wybierz 1 odpowiedź:

### Step 3: Solve the integral

Concept check: Put the last three answers together to solve the integral.
$\begin{array}{r}{\int }_{C}\mathbf{\text{F}}\cdot d\mathbf{\text{r}}\end{array}$ =

This final answer gives the amount of work that the tornado force field does on a particle moving counterclockwise around the circle pictured above.
Reflection question: Why should it be intuitive that this answer is positive?

## Orientation matters

What would have happened if in the preceding example, we had oriented the circle clockwise? For instance, we could have parameterized it with the function
$\begin{array}{rl}\mathbf{\text{r}}\left(t\right)& =\left[\begin{array}{c}\mathrm{cos}\left(t\right)+2\\ -\mathrm{sin}\left(t\right)\end{array}\right]\end{array}$
You can, if you want, plug this in and work through all the computations to see what happens. However, there is a simpler way to reason about what will happen. In the integral
$\begin{array}{r}{\int }_{C}\mathbf{\text{F}}\cdot d\mathbf{\text{r}}\end{array}$,
each vector $d\mathbf{\text{r}}$ representing a tiny step along the curve will get turned around to point in the opposite direction.
Concept check: Suppose you have two vectors $\mathbf{\text{v}}$ and $\mathbf{\text{w}}$, and $\mathbf{\text{v}}\cdot \mathbf{\text{w}}=3$. You turn $\mathbf{\text{v}}$ around to point in the opposite direction, getting a new vector ${\mathbf{\text{v}}}_{\text{new}}=-\mathbf{\text{v}}$. What happens to the dot product?
${\mathbf{\text{v}}}_{\text{new}}\cdot \mathbf{\text{w}}=$

Since the dot product inside the integral gets multiplied by $-1$ when you swap the direction of each $d\mathbf{\text{r}}$, we can conclude the following:
Key Takeaway: The line integral through a vector field gets multiplied by $-1$ when you reverse the orientation of a curve.

## Summary

• The shorthand notation for a line integral through a vector field is
$\begin{array}{r}{\int }_{C}\mathbf{\text{F}}\cdot d\mathbf{\text{r}}\end{array}$
• The more explicit notation, given a parameterization $\mathbf{\text{r}}\left(t\right)$ of $C$, is
$\begin{array}{r}{\int }_{a}^{b}\mathbf{\text{F}}\left(\mathbf{\text{r}}\left(t\right)\right)\cdot {\mathbf{\text{r}}}^{\prime }\left(t\right)dt\end{array}$
• Line integrals are useful in physics for computing the work done by a force on a moving object.
• If you parameterize the curve such that you move in the opposite direction as $t$ increases, the value of the line integral is multiplied by $-1$.

## Chcesz dołączyć do dyskusji?

Na razie brak głosów w dyskusji
Rozumiesz angielski? Kliknij tutaj, aby zobaczyć więcej dyskusji na angielskiej wersji strony Khan Academy.