Field

Work in progress. This note is still being written and incomplete.

A field is a function that assigns a mathematical object, a scalar, vector, or tensor, to each point in its domain D⊆RnD \subseteq \mathbb{R}^n.

Scalar Field

A real-valued function defined on each points in D⊆RnD \subseteq \mathbb{R}^n.

Gradient

For ϕ\phi a field of xx, yy, zz, the gradient of ϕ\phi is

∇ϕ=∂ϕ∂xi^+∂ϕ∂yj^+∂ϕ∂zk^\nabla \phi = \frac{\partial \phi}{\partial x}\hat{i} + \frac{\partial \phi}{\partial y}\hat{j} + \frac{\partial \phi}{\partial z}\hat{k}

∇ϕ\nabla \phi is the gradient field of ϕ\phi. ∇\nabla is the del operator, or nabla,

∇=∂∂xi^+∂∂yj^+∂∂zk^\nabla = \frac{\partial}{\partial x}\hat{i} + \frac{\partial}{\partial y}\hat{j} + \frac{\partial}{\partial z}\hat{k}

Where ∇ϕ≠0⃗\nabla \phi \neq \vec{0}:

  • ∇ϕ\nabla \phi points in the direction of the steepest increase of ϕ\phi.
  • ∣∇ϕ∣|\nabla \phi| is the rate of increase of ϕ\phi in that direction.
  • ∇ϕ\nabla \phi is perpendicular to the level surface ϕ=c\phi = c through that point.

The rate of change of ϕ\phi along a unit vector u^\hat{u} is ∇ϕ⋅u^\nabla \phi \cdot \hat{u}.

Examples:

  • For a temperature field, −∇ϕ-\nabla \phi gives the direction of heat flow.
  • For a height field of a hill, ∇ϕ\nabla \phi points up the steepest slope.

Laplacian

The Laplacian operator is

∇2=∇⋅∇=∂2∂x2+∂2∂y2+∂2∂z2\nabla^2 = \nabla \cdot \nabla = \frac{\partial^2}{\partial x^2} + \frac{\partial^2}{\partial y^2} + \frac{\partial^2}{\partial z^2}

For ϕ\phi a field, the Laplacian of ϕ\phi is

∇2ϕ=∂2ϕ∂x2+∂2ϕ∂y2+∂2ϕ∂z2\nabla^2 \phi = \frac{\partial^2 \phi}{\partial x^2} + \frac{\partial^2 \phi}{\partial y^2} + \frac{\partial^2 \phi}{\partial z^2}

Physical meaning of ∇2ϕ\nabla^2 \phi:

  • Compares the value of ϕ\phi at a point with its average over a small sphere around that point.
  • ∇2ϕ>0\nabla^2 \phi > 0 means ϕ\phi is lower than the average of its surroundings.
  • ∇2ϕ<0\nabla^2 \phi < 0 means ϕ\phi is higher than the average of its surroundings.
  • ∇2ϕ=0\nabla^2 \phi = 0 means ϕ\phi equals the average of its surroundings. Such a ϕ\phi is harmonic.

Examples:

  • In the heat equation ∂T∂t=α∇2T\dfrac{\partial T}{\partial t} = \alpha \nabla^2 T, a point warms up when its neighbours are hotter on average.
  • In electrostatics, the potential ϕ\phi satisfies ∇2ϕ=0\nabla^2 \phi = 0 in a charge-free region.

Worked Examples

Gradient at a Point

Find ∇ϕ\nabla \phi at (1,2,1)(1, 2, 1) for ϕ=x2y+yz3\phi = x^2 y + y z^3.

Partial derivatives:

∂ϕ∂x=2xy,∂ϕ∂y=x2+z3,∂ϕ∂z=3yz2\frac{\partial \phi}{\partial x} = 2xy, \quad \frac{\partial \phi}{\partial y} = x^2 + z^3, \quad \frac{\partial \phi}{\partial z} = 3yz^2

Gradient field:

∇ϕ=2xy i^+(x2+z3) j^+3yz2 k^\nabla \phi = 2xy\,\hat{i} + (x^2 + z^3)\,\hat{j} + 3yz^2\,\hat{k}

At (1,2,1)(1, 2, 1):

∇ϕ=2(1)(2) i^+(1+1) j^+3(2)(1) k^=4i^+2j^+6k^\nabla \phi = 2(1)(2)\,\hat{i} + (1 + 1)\,\hat{j} + 3(2)(1)\,\hat{k} = 4\hat{i} + 2\hat{j} + 6\hat{k}

Gradient of the Squared Distance

Find ∇ϕ\nabla \phi for ϕ=x2+y2+z2\phi = x^2 + y^2 + z^2.

∇ϕ=2x i^+2y j^+2z k^=2r⃗\nabla \phi = 2x\,\hat{i} + 2y\,\hat{j} + 2z\,\hat{k} = 2\vec{r}

Here r⃗=xi^+yj^+zk^\vec{r} = x\hat{i} + y\hat{j} + z\hat{k} is the position vector.

Laplacian at a Point

Find ∇2ϕ\nabla^2 \phi at (1,2,1)(1, 2, 1) for ϕ=x2y+yz3\phi = x^2 y + y z^3.

Second partial derivatives:

∂2ϕ∂x2=2y,∂2ϕ∂y2=0,∂2ϕ∂z2=6yz\frac{\partial^2 \phi}{\partial x^2} = 2y, \quad \frac{\partial^2 \phi}{\partial y^2} = 0, \quad \frac{\partial^2 \phi}{\partial z^2} = 6yz

Sum:

∇2ϕ=2y+6yz\nabla^2 \phi = 2y + 6yz

At (1,2,1)(1, 2, 1):

∇2ϕ=2(2)+6(2)(1)=16\nabla^2 \phi = 2(2) + 6(2)(1) = 16

Harmonic Field

Show that ϕ=1r\phi = \dfrac{1}{r} satisfies ∇2ϕ=0\nabla^2 \phi = 0 for r≠0r \neq 0, where r=x2+y2+z2r = \sqrt{x^2 + y^2 + z^2}.

Since ∂r∂x=xr\dfrac{\partial r}{\partial x} = \dfrac{x}{r}:

∂ϕ∂x=−xr3\frac{\partial \phi}{\partial x} = -\frac{x}{r^3} ∂2ϕ∂x2=−1r3+3x2r5\frac{\partial^2 \phi}{\partial x^2} = -\frac{1}{r^3} + \frac{3x^2}{r^5}

By symmetry, the yy and zz terms are

∂2ϕ∂y2=−1r3+3y2r5,∂2ϕ∂z2=−1r3+3z2r5\frac{\partial^2 \phi}{\partial y^2} = -\frac{1}{r^3} + \frac{3y^2}{r^5}, \quad \frac{\partial^2 \phi}{\partial z^2} = -\frac{1}{r^3} + \frac{3z^2}{r^5}

Sum:

∇2ϕ=−3r3+3(x2+y2+z2)r5=−3r3+3r2r5=0\nabla^2 \phi = -\frac{3}{r^3} + \frac{3(x^2 + y^2 + z^2)}{r^5} = -\frac{3}{r^3} + \frac{3r^2}{r^5} = 0
Written by October 10, 2026 2 min read
Was this helpful?