Skip to main content
\(\renewcommand{\chaptername}{Unit} \newcommand{\derivativehomeworklink}[1]{\href{http://db.tt/cSeKG8XO}{#1}} \newcommand{\chpname}{unit} \newcommand{\sageurlforcurvature}{http://bmw.byuimath.com/dokuwiki/doku.php?id=curvature_calculator} \newcommand{\uday}{ \LARGE Day \theunitday \normalsize \flushleft \stepcounter{unitday} } \newcommand{\sageworkurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=work_calculator} \newcommand{\sagefluxurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=flux_calculator} \newcommand{\sageworkfluxurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=both_flux_and_work} \newcommand{\sagelineintegral}{http://bmw.byuimath.com/dokuwiki/doku.php?id=line_integral_calculator} \newcommand{\sagephysicalpropertiestwod}{http://bmw.byuimath.com/dokuwiki/doku.php?id=physical_properties_in_2d} \newcommand{\sagephysicalpropertiesthreed}{http://bmw.byuimath.com/dokuwiki/doku.php?id=physical_properties_in_3d} \newcommand{\sageDoubleIntegralCheckerURL}{http://bmw.byuimath.com/dokuwiki/doku.php?id=double_integral_calculator} \newcommand{\myscale}{1} \newcommand{\ds}{\displaystyle} \newcommand{\dfdx}[1]{\frac{d#1}{dx}} \newcommand{\ddx}{\frac{d}{dx}} \newcommand{\ii}{\vec \imath} \newcommand{\jj}{\vec \jmath} \newcommand{\kk}{\vec k} \newcommand{\vv}{\mathbf{v}} \newcommand{\RR}{\mathbb{R}} \newcommand{\R}{ \mathbb{R}} \newcommand{\inv}{^{-1}} \newcommand{\im}{\text{im }} \newcommand{\colvec}[1]{\begin{bmatrix}#1\end{bmatrix} } \newcommand{\cl}[1]{ \begin{matrix} #1 \end{matrix} } \newcommand{\bm}[1]{ \begin{bmatrix} #1 \end{bmatrix} } \DeclareMathOperator{\rank}{rank} \DeclareMathOperator{\rref}{rref} \DeclareMathOperator{\vspan}{span} \DeclareMathOperator{\trace}{tr} \DeclareMathOperator{\proj}{proj} \DeclareMathOperator{\curl}{curl} \newcommand{\blank}[1]{[14pt]{\rule{#1}{1pt}}} \newcommand{\vp}{^{\,\prime}} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section12.2Two Vector Operators: Curl and Div

After completing this section you should...

  • Be able to compute the curl and divergence for 2-D and 3-D vector-functions

  • Be able to visualize and sketch vector fields with these properties.

We are going to take a short aside now to define two operators: the curl and the divergence. These operators provide insight into how vector fields are behaving and have direct applications to understanding circulation, flux and flow. We'll come back to those applications once we are comfortable with computing each operation.

Before we define them though, we need a bit of notation. We've been writing \(\vec \nabla f\) for the gradient. This gives us a vector of partial derivatives: \(\vec \nabla f= \left[ \frac{\partial f}{\partial x},\frac{\partial f}{\partial y},\frac{\partial f}{\partial z}\right]\text{.}\) We want to now separate out \(\vec \nabla\) which we'll call the `del' operator. We define `del' as \(\langle \frac{\partial}{\partial x},\frac{\partial}{\partial y},\frac{\partial}{\partial z}\rangle\text{.}\) If we treat this as a vector in its own right, we can perform vector operations (dot and cross product) between \(\vec \nabla\) and vector fields \(\vec{F}(x,y,z)\text{.}\) This will give us the tools to define the curl and divergence.

Subsection12.2.1The Divergence

The first vector operation we learned was the dot product. We now use the dot product between \(\vec \nabla\) and a vector field to define the divergence:

\begin{align*} \text{ div } \vec F(x,y,z) \amp = \vec \nabla\cdot \vec F = \left(\frac{\partial }{\partial x},\frac{\partial }{\partial y},\frac{\partial }{\partial z} \right)\cdot (M,N,P)\\ \amp = \frac{\partial M}{\partial x}+\frac{\partial N}{\partial y}+\frac{\partial P}{\partial z} = M_x+N_y+P_z . \end{align*}

Let's practice finding the divergence before looking at some applications.

Exercise12.2.1

For each vector field:

(a)

sketch a plot (you can graph it in Sage or WolframAlpha first)

(b)

find the divergence

(c)

\(\vec{F}(x,y)=(x,y)\)

(d)

\(\vec{F}(x,y)=(y,x)\)

(e)

\(\vec{F}(x,y)=(x,x+y)\)

(f)

\(\vec{F}(x,y)=(x-y^2+2, xy+y)\)

Can you make a general statement about how a 2-D vector field looks for it to have non-zero divergence?

Now let's take a look at some 3-D fields. You should still plot them in Sage or Wolfram-Alpha, but don't worry about sketching a plot (unless you want to).

Exercise12.2.2

Compute the divergence for each of the following vector fields. [Suggestion: Again leave space]

(a)

\(\vec F(x,y,z) = \left(z,x,y \right)\)

(b)

\(\vec F(x,y,z) = \left(-y+x,x,z \right)\)

(c)

\(\vec F(x,y,z) = \left(x^2+y^2,x^2+z^2,y^2+z^2 \right)\)

(d)

\(\vec F(x,y,z) = \left(x^3+y,\tan^{-1}(1+y^2) + z^2,e^{z^2+\sin z} -2x\right)\)

Subsection12.2.2The Curl

Instead of computing the dot product between \(\vec \nabla\) and \(\vec F\) we could compute the cross product. This gives us the curl of a vector field.

We call the vector \(\left\lt P_y-N_z,M_z-P_x,N_x-M_y\right>\) the curl of \(\vec F\) and we write

\begin{align*} \text{ curl } (\vec F) \amp = \vec \nabla \times \vec F\\ \amp = \left(\frac{\partial}{\partial x},\frac{\partial}{\partial y},\frac{\partial}{\partial z}\right) \times (M,N,P)\\ \amp = \left(\frac{\partial P}{\partial y}-\frac{\partial N}{\partial z}, \frac{\partial M}{\partial z}-\frac{\partial P}{\partial x},\frac{\partial N}{\partial x}-\frac{\partial M}{\partial y}\right)\\ \amp = \left(P_y-N_z,M_z-P_x,N_x-M_y\right) \end{align*}

The notation \(\vec \nabla \times \vec F\) gives a convenient way to remember the formula, as

\begin{align*} \text{ curl } (\vec F)=\vec \nabla \times \vec F \amp =\det \begin{bmatrix} \vec i \amp \vec j \amp \vec k\\ \frac{\partial}{\partial x}\amp \frac{\partial}{\partial y}\amp \frac{\partial}{\partial z}\\ M\amp N\amp P \end{bmatrix}\\ \amp = \left(\frac{\partial}{\partial y}P-\frac{\partial}{\partial z}N,\frac{\partial}{\partial z}M-\frac{\partial}{\partial x}P,\frac{\partial}{\partial x}N-\frac{\partial}{\partial y}M\right) \end{align*}

Let's take a look now at several vector fields, to get intuition about what curl is really telling us.

Exercise12.2.3

These are the same vector fields from Exercise 1.

Find the curl

for each vector field:

See MathInsight.org for a really nice animation of the curl of a vector field.

(a)

\(\vec{F}(x,y)=(x,y)\)

(b)

\(\vec{F}(x,y)=(y,x)\)

(c)

\(\vec{F}(x,y)=(x,x+y)\)

(d)

\(\vec{F}(x,y)=(x-y^2+2, xy+y)\)

You should have noticed that for all of the above vector-fields, the curl was only in the \(z\)-direction. Let's do a quick problem to explore this.

Exercise12.2.4

For a vector field \(\vec{F}= ( M(x,y), N(x,y), 0 )\text{,}\) compute \(curl( \vec{F})\text{.}\) That is, assume that \(P(x,y,z)=0\)

One common way to quickly decide if a 2-D field has a curl at a point is to imagine placing a paddle-wheel (like on an old-fashion water mill or steamboat) in the vector-field. If the paddle would spin, then there's a curl. If it spins counter-clockwise then the curl is positive. You can see this idea illustrated by visiting this site.

We will use this 2-D version to rewrite Green's Theorem in the following section. Let's get a little more practice computing curl. This time, the vector fields are all three-dimensional. You should still plot them in Sage or Wolfram-Alpha, but don't worry about sketching a plot (unless you want to).

Exercise12.2.5

Compute the curl for each of the following vector fields. You can add these in the spaces after Exercise 2.

(a)

\(\vec F(x,y,z) = \left(z,x,y \right)\)

(b)

\(\vec F(x,y,z) = \left(-y+x,x,z \right)\)

(c)

\(\vec F(x,y,z) = \left(x^2+y^2,x^2+z^2,y^2+z^2 \right)\)

(d)

\(\vec F(x,y,z) = \left(x^3+y,\tan^{-1}(1+y^2) + z^2,e^{z^2+\sin z} -2x\right)\)