Unit 3: Vector Calculus

Table of Contents

Vector Calculus is built around the vector differential operator, del ().

In Cartesian coordinates: = î (∂/∂x) + ĵ (∂/∂y) + k̂ (∂/∂z)

This operator is not a vector itself, but it acts on scalar or vector fields to produce new fields.

Vector Differentiation

This refers to differentiating a vector function of a single scalar variable, like time (t).

If r(t) = x(t)î + y(t)ĵ + z(t)k̂ is the position vector of a particle:

Differentiation Rules: (f is a scalar, A and B are vectors)


Directional Derivatives and Normal Derivatives

Directional Derivative

The directional derivative measures the rate of change of a scalar field f(x,y,z) at a specific point P, in a specific direction.

Let the direction be given by a unit vector û.

The directional derivative of f in the direction û is:

Df = (∇f) · û

It is the dot product of the gradient of f (see below) and the unit vector of the direction.

Normal Derivative

The "normal derivative" is simply the directional derivative in the direction normal (perpendicular) to a surface. As we will see, the gradient (∇f) is *already* normal to the level surfaces of f. Therefore, the normal derivative is often used to mean the maximum rate of change, which is just the magnitude of the gradient, |∇f|.


Gradient of a Scalar Field (∇f)

The gradient acts on a scalar field (f) and produces a vector field.

grad(f) = ∇f = (∂f/∂x)î + (∂f/∂y)ĵ + (∂f/∂z)k̂

Geometrical Interpretation of Gradient

The gradient ∇f at a point P has a very important physical meaning:

  1. Direction: ∇f points in the direction of the steepest ascent (maximum rate of change) of the scalar field f.
  2. Magnitude: |∇f| is the value of this maximum rate of change.
  3. Normality: ∇f is always normal (perpendicular) to the level surface (or contour line) f(x,y,z) = constant that passes through the point P.
Physical Applications of Gradient:

Divergence of a Vector Field (∇ · V)

The divergence acts on a vector field (V) and produces a scalar field. It is the dot product of ∇ and V.

If V = Vxî + Vyĵ + Vzk̂:

div(V) = ∇ · V = (∂Vx/∂x) + (∂Vy/∂y) + (∂Vz/∂z)

Physical Interpretation of Divergence

Divergence measures the "outflow" or "source strength" of a vector field from an infinitesimal volume around a point.

Key Application (Maxwell's Equations):

Curl of a Vector Field (∇ × V)

The curl acts on a vector field (V) and produces another vector field. It is the cross product of ∇ and V.

It is calculated using a determinant:

        |  î     ĵ     k̂   |
curl(V) = ∇ × V = | ∂/∂x  ∂/∂y  ∂/∂z |
        |  Vx    Vy    Vz  |
        
= (∂Vz/∂y - ∂Vy/∂z)î - (∂Vz/∂x - ∂Vx/∂z)ĵ + (∂Vy/∂x - ∂Vx/∂y)k̂
            

Physical Interpretation of Curl

Curl measures the microscopic "circulation" or "vorticity" of a vector field at a point. Imagine placing a tiny paddlewheel in the field.

Irrotational Fields are Conservative:
A vector field V is conservative if its line integral depends only on the endpoints, not the path.
Key Theorem: A field V is conservative if and only if ∇ × V = 0.
If a field is conservative, it can *always* be written as the gradient of some scalar potential: V = ∇f (or F = -∇U, E = -∇V).

Vector Identities

These are "second-order" derivatives that are fundamental in physics.

  1. Curl of Gradient is Zero: ∇ × (∇f) = 0
    This is always true. The gradient of a scalar field (∇f) is always an irrotational (conservative) vector field.
  2. Divergence of Curl is Zero: ∇ · (∇ × V) = 0
    This is also always true. The curl of a vector field (∇ × V) is always a solenoidal (divergence-free) vector field. (This is why ∇ · B = 0, because B can be written as the curl of the vector potential A, B = ∇ × A).
  3. Divergence of Gradient (Laplacian): ∇ · (∇f) = ∇²f
    This is called the Laplacian of the scalar field f.

    ∇²f = (∂²f/∂x²) + (∂²f/∂y²) + (∂²f/∂z²)


    It appears in many key physics equations (Wave equation, Schrödinger's equation, Poisson's equation ∇²V = -ρ/ε₀).

Vector Integration: Line, Surface, and Volume Integrals

Line Integrals

A line integral sums up contributions along a path (a curve) C. A common form is:

W = ∫C V · dr

Surface Integrals

A surface integral sums up contributions over a 2D surface S. A common form is:

Flux = ∫∫S V · dS

Volume Integrals

A volume integral sums up contributions over a 3D volume V.

Total Q = ∫∫∫V f dV

Gauss's Divergence Theorem

The Divergence Theorem is a powerful tool that connects a volume integral to a closed surface integral. It relates the "sources" inside a volume to the "flux" coming out of its boundary.

Let V be a 3D volume, and let S be the closed surface that bounds V.

∫∫∫V (∇ · V) dV = ∮∮S V · dS

In words:

"The volume integral of the divergence of a vector field V within a volume is equal to the net flux of V through the closed surface that encloses that volume."

Key Application (Deriving Gauss's Law):
We know `Q_enclosed = ∫∫∫ ρ dV`. From Maxwell's equation, `ρ = ε₀(∇ · E)`.
So, `Q_enclosed = ∫∫∫ ε₀(∇ · E) dV = ε₀ ∫∫∫ (∇ · E) dV`.
By the Divergence Theorem, `∫∫∫ (∇ · E) dV = ∮∮ E · dS`.
Therefore, `Q_enclosed = ε₀ (∮∮ E · dS)`, which gives the familiar integral form: ∮∮ E · dS = Qenclosed / ε₀.

Stokes' Theorem

Stokes' Theorem is another powerful tool that connects a surface integral to a closed line integral. It relates the "circulation" over a surface to the "flow" around its boundary.

Let S be an open surface, and let C be the closed curve (loop) that forms the boundary of S.

∫∫S (∇ × V) · dS = ∮C V · dr

In words:

"The surface integral of the curl of a vector field V over a surface is equal to the line integral (circulation) of V around the closed boundary of that surface."

Key Application (Deriving Ampere's Law):
From Maxwell's equation, `∇ × B = μ₀J` (in steady state).
Integrate over a surface S: `∫∫ (∇ × B) · dS = ∫∫ (μ₀J) · dS`.
The right side is `μ₀` times the current Ienclosed passing through the surface.
By Stokes' Theorem, the left side is `∮ B · dr`.
Therefore: ∮ B · dr = μ₀ Ienclosed.