Table of contents

Definition

Definition. Let E be a subset of Rn. A vector field on Rn is a function F that assigns to each point (x1,x2,,xn) in E an n-dimensional vector F(x1,x2,,xn).


In R2, we denote the function F as

F(x,y)=F1(x,y),F2(x,y),

or

F(x,y)=F1(x,y)i+F2(x,y)j.

In R3, we use the notation

F(x,y,z)=F1(x,y,z),F2(x,y,z),F3(x,y,z),

or

F(x,y,z)=F1(x,y,z)i+F2(x,y,z)j+F3(x,y,z)k.

All functions Fi(x1,x2,x3) are scalar functions.

EXAMPLE 1. In R2 the vector field F(x,y)=1,0 assigns to each point in the plane, the horizontal vector 1,0. The figure below shows a visualization of the field.

Vector field




IMPORTANT NOTE: The figure above does not represent the actual vector field. The vector 1,0 has magnitude 1. If we observe the figure in Example 1, we can see that the vectors have the same magnitude, but their magnitude is not one. Most computer algebra systems rescale the vectors automatically for a better visualization.




EXAMPLE 2. The figure below shows a visualization of the vector field F(x,y)=x,x2 in R2.

Vector field




Basic Operations

Curl

Suppose that F(x,y,z)=F1(x,y,z)i+F2(x,y,z)j+F3(x,y,z)k is a vector field in R3 and that the partial derivatives of F1, F2, and F3 all exist. Then, we define the curl of F as

curl F=(F3yF2z)i+(F1zF3x)j+(F2xF1y)k

Another way to think of the curl is by using the “del” or nabla operator as a vector

=ix+jy+kz.

Then we formally take the cross product of and F.

×F=|ijkxyzF1F2F3|=(F3yF2z)i+(F1zF3x)j+(F2xF1y)k=curl F

Summarizing, we can think about the curl as

curl F=×F

EXAMPLE 3. We will calculate the curl of the vector field F=2xyi2xzj+xyzk. We will use the cross product notation:

curl F=|ijkxyz2xy2xzxyz|=(xz+2x)i(yz0)j+(2z2x)k=(xz+2x)iyzj2(x+z)k


IMPORTANT REMARK. The curl of a vector field is a vector field.

Divergence

If F=F1(x,y,z),F2(x,y,z),F3(x,y,z) is a vector field defined in R3, the divergence of the vector field is defined as

div F=F1x+F2y+F3z

assuming that all partial derivatives Fixi exist for i=1,2,3.

If the vector field is in R2, then the divergence would be reduced to

div F=F1x+F2y

IMPORTANT NOTE. While the curl of t vector field is another vector field, the divergence of a vector field is a scalar field.

EXAMPLE 4. We will calculate the divergence of the vector fields

  1. F=x2y2i+exyj, which is div F=2xy2+xexy.
  2. F=xyzi+cos(yz)j+z3k, which is div F=yzzsin(yz)+3z2.


Similarly to what we did with the curl, we can use the nabla operator to give a formal way to compute the divergence by taking the dot product of the nabla operator and the vector field:

F=F1x+F2y+F3z=div F

So

div F=F