Objectives
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.
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.
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.
For each vector field:
sketch a plot (you can graph it in Sage or WolframAlpha first)
find the divergence
[Suggestion: Leave space after each sub-exercise for another computation (the curl).]
See Sage or Wolfram Alpha to plot the vector fields
\(\vec{F}(x,y)=(x,y)\)
\(\vec{F}(x,y)=(y,x)\)
\(\vec{F}(x,y)=(x,x+y)\)
\(\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).
Compute the divergence for each of the following vector fields.
[Suggestion: Again leave space]
\(\vec F(x,y,z) = \left(z,x,y \right)\)
\(\vec F(x,y,z) = \left(-y+x,x,z \right)\)
\(\vec F(x,y,z) = \left(x^2+y^2,x^2+z^2,y^2+z^2 \right)\)
\(\vec F(x,y,z) = \left(x^3+y,\tan^{-1}(1+y^2) + z^2,e^{z^2+\sin z} -2x\right)\)
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 x}P-\frac{\partial}{\partial z}M),\frac{\partial}{\partial x}N-\frac{\partial}{\partial y}M\right)\\ \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*}The curl of a vector field is the direction of the greatest circulation density, and the magnitude of the curl is the circulation density in that direction. If a vector field causes a large amount of circulation in one direction, then the curl will be a long vector. The circulation density of \(\vec F\) at \((x,y,z)\) about \(\vec u\text{,}\) written \(\text{ curl } (\vec F)\cdot \vec u\) is largest when \(\vec u\) points in the same direction as \(\text{ curl } F\text{.}\)
Let's take a look now at several vector fields, to get intuition about what curl is really telling us.
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.
\(\vec{F}(x,y)=(x,y)\)
\(\vec{F}(x,y)=(y,x)\)
\(\vec{F}(x,y)=(x,x+y)\)
\(\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.
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).
Compute the curl for each of the following vector fields. You can add these in the spaces after Exercise 2.
\(\vec F(x,y,z) = \left(z,x,y \right)\)
\(\vec F(x,y,z) = \left(-y+x,x,z \right)\)
\(\vec F(x,y,z) = \left(x^2+y^2,x^2+z^2,y^2+z^2 \right)\)
\(\vec F(x,y,z) = \left(x^3+y,\tan^{-1}(1+y^2) + z^2,e^{z^2+\sin z} -2x\right)\)
These are provided to help you achieve better skills in basic computational answers.