Prerequisites
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 in 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 : .
Note that we could write to emphasize applying the gradient results in a vector field, but it is implied by the fact that gradient always returns a vector field.
Divergence
Given a vector field , the divergence of the vector field, , is 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 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:
- everywhere.
- is independent of the open surface: the flux of an open surface only depends on its boundary.
- : the surface integral over any closed surface is 0.
- : The vector field is the curl of another vector field .
Todo
Proof
Curl
Curl of vector field is defined as the cross product of and :
It is a measure of how much the vector field curls around the point we evaluate at.
Todo
Write the 2D version of curl, where only third component matters. Reference Green’s Theorem
Curl-free vector field
If a vector field is curl-free, then the following are all true:
- : The curl of the vector field is 0 everywhere
- is path independent: The path integral of the vector field is independent of the path (and only depends on the starting points and ).
- :The closed path integral of the vector field is always 0.
- There exists a scalar field such that .
Proof summary
We will first assume (4), then prove (4) → (2) → (3) → (1)
Let’s start by assuming (4) is true, meaning:
We can prove (2) is path independent, because of the Gradient Theorem - Fundamental Theorem for Line Integrals:
This implies that the path integral is independent of the path, and only depends on the endpoints and .
From (2) we can prove (3) :
From (3), we can prove (1) using Green’s Theorem:
Where is the boundary enclosing . Since we can make as small as we want, this implies that the curl integrated over any infinitesimally small area is always 0, and therefore the curl must be 0 at every point, or in other words (1):
Related ideas
- Divergence Theorem
- Green’s Theorem
- Fundamental Theorem for Divergences
- vector calculus is relevant in Electromagnetism
External References
- Wikipedia on Del
- Cool visualizations of divergence and curl
- Griffiths E&M textbook