Introduction
In this part we’ll cover so-called vector fields.
Definition 1 (Vector field)
A vector field is a function, F:
F:D⊂R2→R2 ∣ 2DF:D⊂R3→R3 ∣ 3D
Example 1
Consider F(x,y)=(−y,x) (which is the same as −yi+xj).
The graph for this looks like:

Gradient field
By this definiton, we can say that.
Let f:D⊂R2→R be a differentiable function. The gradient is ∇f(x,y)=⟨fx(x,y),fy(x,y)⟩.
The gradient is therefore a vector field!
∇f:D→R2
Let’s quickly just do a simple gradient example to refresh our memory.
Example 2
Find ∇f for f(x,y)=x2y−y3
∇f(x,y)=⟨fx(x,y),fy(x,y)⟩∇f(x,y)=⟨2xy,x2−3y2⟩
Let’s also remember that ∇f(x,y) is perpendicular to the level curves of f.
Which means, ∇f has larger (vector) length when the level curves are tighter together.
Definition 2 (Conservative vector field)
A vector field, F, is called conservative, if there is a function, f, for which ∇f=F.
In this case, f, is called a potential for F.
Integrating over vector fields
Suppose the vector field, F, represents some force on the plane/space and suppose there is a string, curved of the shape of a curve, C.
If a particle moves along the curve, the work done by F, to move it a distance:
∫CF⋅dr
We call this the line integral of F over C.
Definition 3 (Line integral over a vector field)
If C is parameterized as r(t)=⟨x(t),y(t),z(t)⟩ in the interval, a≤t≤b. Then:
∫CF⋅dr=∫abF(x(t),y(t),z(t))⋅r′(t) dt
Example 3
Evaluate ∫CF⋅dr for F(x,y,z)=(y,z,x) on the straight line from (2,0,0) to (3,4,5).
Let’s first parameterize our curve.
r(t)=⟨x0+ta,y0+tb,z0+tc⟩r(t)=⟨2+t(3−2),0+t(4−0),0+t(5−0)⟩r(t)=⟨2+t,4t,5t⟩ ∣ 0≤t≤1Which means:
r′(t)=⟨1,4,5⟩ ∣ 0≤t≤1Using our definition:
∫CF⋅dr=∫01⟨4t,5t,2+t⟩⋅⟨1,4,5⟩ dt∫014t+20t+10+5t dt∫0129t+10 dt229t2+10tt=0t=1229+10
Example 4
Evaluate ∫CF⋅dr for F(x,y,z)=xyi+yzj+zxk.
C is given by, r(t)=⟨t,t2,t3⟩. For 0≤t≤1.
Let’s first rewrite F:
F(x,y,z)=⟨xy,yz,zx⟩Let’s differentiate:
r′(t)⟨1,2t,3t2⟩Use our definition:
∫CF⋅dr=∫01⟨t3,t5,t4⟩⋅⟨1,2t,3t2⟩ dt∫01t3+2t6+3t6 dt∫015t6+t3 dt75t7+41t4t=0t=175+41