Vector Fields and Scalar Fields

Summary

Vector fields are functions that map vectors to other vectors.

A vector field is a function that takes as input an dimensional vector and maps it to a dimensional vector:

The th output of is , where each is a scalar field that depends on the inputs and returns a scalar. In other words, a scalar field is a vector field whose output dimension .

For the rest of the text, we will use to denote a vector field, and to denote a scalar field.

Del / Nabla Operator

Summary

, called nabla or del, is an operator that acts like a function that operates on scalar and vector fields, and is fundamental to vector calculus.

There are three ways to apply :

  • Gradient:
    • scalar field vector field
  • Divergence:
    • vector field scalar field
  • Curl:
    • vector field vector field

These are fundamental operators for vector calculus.

Gradient

Summary

a scalar field f maps an n dimensional input x to a single number. The gradient of that scalar field maps that input x to another n dimensional vector that (locally) maximizes f

Given a scalar field , the gradient of the scalar field results is a vector field that maps an dimensional input to an dimensional output:

denotes taking the scalar field and calculating the gradient , which is a vector field. represents evaluating the input for the resulting vector field, where the th output is the partial derivative of the scalar field with respect to the th input :

Divergence

Given a vector field , the divergence of the vector field results in a scalar field that takes in an dimensional input:

denotes taking the vector field and calculating the divergence , which is a scalar field.

If we think of the output vector of a vector field F as the flow of some quantity (the magnitude represents the amount of quantity, and the direction is the way it is flowing), then the divergence of the vector field tells us whether the amount of the quantity is being created, destroyed, or unchanged at each point in space.

Divergence-free vector field

If a vector field is divergence-free, then the following are all true:

  1. everywhere

Curl

Curlless Vector field

If a vector field is curlless, then the following are all true:

  1. : The curl of the vector field is 0 everywhere
  2. is path independent: The path integral of the vector field is independent of the path (and only depends on the starting points and ).
  3. :The closed path integral of the vector field is always 0.
  4. There exists a scalar field such that .

Let’s first show that 1 implies 3: Recall that Stokes Theorem tells us that the following is always true:

Green’s theorem

Greens theorem states that given a 2D dimensional vector field , there is a relationship between the path of around a closed loop and the enclosed area :

Note that since , then the dot product inside the integral on the left hand side can rewritten:

And on the right hand side, the component of (which is the only non zero complement when dot producted with ) is given by:

Divergence Theorem

Stokes Theorem

Flux

Internal References

External References