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ść

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

Lekcja 10: Dywergencja i rotacja (artykuły)

# Curl warmup, fluid rotation in two dimensions

Curl measures the rotation in a fluid flowing along a vector field.  Formally, curl only applies to three dimensions, but here we cover the concept in two dimensions to warmup.

## Kontekst

Note: Throughout this article I will use the following convention:
• $\stackrel{^}{\mathbf{\text{i}}}$ represents the unit vector in the $x$-direction.
• $\stackrel{^}{\mathbf{\text{j}}}$ represents the unit vector in the $y$-direction.

## Do czego zmierzamy

• Curl measures the "rotation" in a vector field.
• In two dimensions, if a vector field is given by a function $\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)={v}_{1}\left(x,y\right)\stackrel{^}{\mathbf{\text{i}}}+{v}_{2}\left(x,y\right)\stackrel{^}{\mathbf{\text{j}}}$, this rotation is given by the formula
$\text{2d-curl}\phantom{\rule{0.278em}{0ex}}\stackrel{\to }{\mathbf{\text{v}}}=\frac{\partial {v}_{2}}{\partial x}-\frac{\partial {v}_{1}}{\partial y}$

## Rotation in fluid flow

Have yourself a nice swirly vector field:
This particular vector field is defined with the following function:
$\begin{array}{rl}\phantom{\rule{1em}{0ex}}\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)& =\left[\begin{array}{c}{y}^{3}-9y\\ {x}^{3}-9x\end{array}\right]\\ \\ & =\left({y}^{3}-9y\right)\stackrel{^}{\mathbf{\text{i}}}+\left({x}^{3}-9x\right)\stackrel{^}{\mathbf{\text{j}}}\end{array}$
Now I want you to imagine that this vector field describes a fluid flow, perhaps in a chaotic part of a river. The following video shows a simulation of what this might look like. A sample of fluid particles, shown as blue dots, will flow along the vector field. This means that at any given moment, each dot moves along the arrow it is closest to. Focus in particular on what happens in the four circled regions.
Filmy wideo na Khan Academy
Amidst all the chaos, you might notice that the fluid is rotating within the circled regions. In the left and right circles, the rotation is counterclockwise, and in the top and bottom circles, the rotation is clockwise.
• Key Question: If we are given a function $\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)$ that defines a vector field, along with some specific point in space, $\left({x}_{0},{y}_{0}\right)$, how much does a fluid flowing along the vector field rotate at the point $\left({x}_{0},{y}_{0}\right)$?
The vector calculus operation curl answer this question by turning this idea of fluid rotation into a formula. It is an operator which takes in a function defining a vector field and spits out a function that describes the fluid rotation given by that vector field at each point.
Technically, the curl operation only applies to three dimensions. You can see what that means and how it is computed in the next article, but in this article, we warm up by describing fluid rotation in two dimensions with a formula.

## Capturing two-dimensional rotation with a formula

One of the simplest examples of a vector field which describes a rotating fluid is
$\begin{array}{r}\phantom{\rule{1em}{0ex}}\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)=\left[\begin{array}{c}-y\\ x\end{array}\right]=-y\stackrel{^}{\mathbf{\text{i}}}+x\stackrel{^}{\mathbf{\text{j}}}.\end{array}$
Here's what it looks like.
Animated, all the fluid particles just go in circles.
Filmy wideo na Khan Academy
In some sense, this is the most perfect example of counterclockwise rotation, and you can understand the general formula for rotation in a two-dimensional vector field just by understanding why the function $\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)=-y\stackrel{^}{\mathbf{\text{i}}}+x\stackrel{^}{\mathbf{\text{j}}}$ gives counterclockwise rotation.

## The $\stackrel{^}{\mathbf{\text{i}}}$‍ -component

First, let's understand why the $-y\stackrel{^}{\mathbf{\text{i}}}$ component suggests counterclockwise rotation. Imagine a small twig sitting in our fluid, oriented parallel to the $y$-axis. More specifically, let's say one end is at the origin $\left(0,0\right)$, and the other is at the point $\left(0,2\right)$. What does the $-y\stackrel{^}{\mathbf{\text{i}}}$ component of the vector field imply for the fluid velocity at points on this twig?
This means the velocity at the top of the twig is $-2\stackrel{^}{\mathbf{\text{i}}}$, a leftward vector, while the velocity at the bottom of the twig is $0$.
For the twig, this means the important factor for counterclockwise rotation is that vectors point more to the left as we move up the vector field. Said with a few more symbols, the important point here is that the $\stackrel{^}{\mathbf{\text{i}}}$-component of a vector attached to a point $\left({x}_{0},{y}_{0}\right)$ decreases as ${y}_{0}$ increases.
Said with even more symbols,
$\frac{\partial }{\partial y}\left(-y\right)=-1<0$
Let's generalize this idea a bit.
• Question: Consider a more general vector field.
$\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)={v}_{1}\left(x,y\right)\stackrel{^}{\mathbf{\text{i}}}+{v}_{2}\left(x,y\right)\stackrel{^}{\mathbf{\text{j}}}$
The components ${v}_{1}$ and ${v}_{2}$ are any scalar-valued functions. If you place a small twig at some point $\left({x}_{0},{y}_{0}\right)$, oriented parallel to the $y$-axis, how can you tell if the twig will rotate just by looking at ${v}_{1},{v}_{2}$ and $\left({x}_{0},{y}_{0}\right)$?
• Answer: Look at the rate of change of ${v}_{1}$ as $y$ varies near the point of interest, $\left({x}_{0},{y}_{0}\right)$:
If this is negative, it indicates that vectors point more to the left as ${y}_{0}$ increases, so rotation would be counterclockwise. If it is positive, vectors point more to the right as ${y}_{0}$ increases, indicating a clockwise rotation.

## The $\stackrel{^}{\mathbf{\text{j}}}$‍ -component

Next, let's see why the $x\stackrel{^}{\mathbf{\text{j}}}$ component of the original vector field suggests counterclockwise rotation as well. This time, imagine a twig which is parallel to the $x$-axis. Specifically, put one end of the twig at the origin $\left(0,0\right)$, and put the other at the point $\left(2,0\right)$.
The vector attached to the origin is $0$, but the vector attached to the other end at $\left(2,0\right)$ is $2\stackrel{^}{\mathbf{\text{j}}}$, an upward vector. Therefore, the fluid pushes the right end of the stick upwards, and the left end experiences no force, so there will be a counterclockwise rotation.
For this second twig, the vertical component of vectors increases as we move right, suggesting counterclockwise rotation. That is to say, the $y$ component of a vector attached to a point $\left({x}_{0},{y}_{0}\right)$ increases as ${x}_{0}$ increases.
In the case of a more general vector field function,
$\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)={v}_{1}\left(x,y\right)\stackrel{^}{\mathbf{\text{i}}}+{v}_{2}\left(x,y\right)\stackrel{^}{\mathbf{\text{j}}}$
we can measure this effect near a point $\left({x}_{0},{y}_{0}\right)$ by looking at the change in ${v}_{2}$ as $x$ changes.

## Combining both components

Putting these two components together, the rotation of a fluid flowing along a vector field $\stackrel{\to }{\mathbf{\text{v}}}$ near a point $\left({x}_{0},{y}_{0}\right)$ can be measured using the following quantity:
$\frac{\partial {v}_{2}}{\partial x}\left({x}_{0},{y}_{0}\right)-\frac{\partial {v}_{1}}{\partial y}\left({x}_{0},{y}_{0}\right)$
When you evaluate this, a positive number will indicate a general tendency to rotate counterclockwise around $\left({x}_{0},{y}_{0}\right)$, a negative quantity indicates the opposite, clockwise rotation. If it equals $0$, there is no rotation in the fluid around $\left({x}_{0},{y}_{0}\right)$. If you are curious about the specifics, this formula gives precisely twice the angular velocity of the fluid near $\left({x}_{0},{y}_{0}\right)$.
Some authors will call this the "two-dimensional curl" of $\stackrel{\to }{\mathbf{\text{v}}}$. This isn't standard, but let's write this formula as if "2d-curl" was an operator.
$\text{2d-curl}\phantom{\rule{0.278em}{0ex}}\stackrel{\to }{\mathbf{\text{v}}}=\frac{\partial {v}_{2}}{\partial x}-\frac{\partial {v}_{1}}{\partial y}$

## Example: Analyzing rotation in a 2d vector field using curl

Problem: Consider the vector field defined by the function
$\begin{array}{r}\phantom{\rule{1em}{0ex}}\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)=\left[\begin{array}{c}\mathrm{cos}\left(x+y\right)\\ \mathrm{sin}\left(xy\right)\end{array}\right]\end{array}$
Determine whether a fluid flowing according to this vector field has clockwise or counterclockwise rotation at the point
$\begin{array}{rl}\phantom{\rule{1em}{0ex}}p& =\left(0,\frac{\pi }{2}\right)\end{array}$
Krok 1: Compute the $\text{2d-curl}$ of this function.
$\text{2d-curl}\phantom{\rule{0.278em}{0ex}}\stackrel{\to }{\mathbf{\text{v}}}=$

Krok 2: Plug in the point $\left(0,\pi /2\right)$.
$\text{2d-curl}\phantom{\rule{0.278em}{0ex}}\stackrel{\to }{\mathbf{\text{v}}}\left(0,\pi /2\right)=$

Krok 3: Interpret. How does the fluid tend to rotate near this point?
Wybierz 1 odpowiedź:

Let's watch a sample of particles in this fluid flow:
Filmy wideo na Khan Academy
The point towards the top where all the particles congregate corresponds with $p=\left(0,\frac{\pi }{2}\right)$. Particles rotate counterclockwise in this region, which should be consistent with your $\text{2d-curl}$ calculations.

## Podsumowanie

• Curl measures the "rotation" in a vector field.
• In two dimensions, if a vector field is given by a function $\stackrel{\to }{\mathbf{\text{v}}}\left(x,y\right)={v}_{1}\left(x,y\right)\stackrel{^}{\mathbf{\text{i}}}+{v}_{2}\left(x,y\right)\stackrel{^}{\mathbf{\text{j}}}$, this rotation is given by the formula
$\text{2d-curl}\phantom{\rule{0.278em}{0ex}}\stackrel{\to }{\mathbf{\text{v}}}=\frac{\partial {v}_{2}}{\partial x}-\frac{\partial {v}_{1}}{\partial y}$

## On to the third dimension!

The true curl operation, covered in the next article, extends this idea and this formula to three dimensions.

## 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.