A field is a function that assigns a mathematical object, a scalar, vector, or tensor, to each point in its domain D⊆Rn.
Scalar Field
A real-valued function defined on each points in D⊆Rn.
Gradient
For ϕ a field of x, y, z, the gradient of ϕ is
∇ϕ=∂x∂ϕi^+∂y∂ϕj^+∂z∂ϕk^
∇ϕ is the gradient field of ϕ. ∇ is the del operator, or nabla,
∇=∂x∂i^+∂y∂j^+∂z∂k^
Where ∇ϕ=0:
- ∇ϕ points in the direction of the steepest increase of ϕ.
- ∣∇ϕ∣ is the rate of increase of ϕ in that direction.
- ∇ϕ is perpendicular to the level surface ϕ=c through that point.
The rate of change of ϕ along a unit vector u^ is ∇ϕ⋅u^.
Examples:
- For a temperature field, −∇ϕ gives the direction of heat flow.
- For a height field of a hill, ∇ϕ points up the steepest slope.
Laplacian
The Laplacian operator is
∇2=∇⋅∇=∂x2∂2+∂y2∂2+∂z2∂2
For ϕ a field, the Laplacian of ϕ is
∇2ϕ=∂x2∂2ϕ+∂y2∂2ϕ+∂z2∂2ϕ
Physical meaning of ∇2ϕ:
- Compares the value of ϕ at a point with its average over a small sphere around that point.
- ∇2ϕ>0 means ϕ is lower than the average of its surroundings.
- ∇2ϕ<0 means ϕ is higher than the average of its surroundings.
- ∇2ϕ=0 means ϕ equals the average of its surroundings. Such a ϕ is harmonic.
Examples:
- In the heat equation ∂t∂T=α∇2T, a point warms up when its neighbours are hotter on average.
- In electrostatics, the potential ϕ satisfies ∇2ϕ=0 in a charge-free region.
Worked Examples
Gradient at a Point
Find ∇ϕ at (1,2,1) for ϕ=x2y+yz3.
Partial derivatives:
∂x∂ϕ=2xy,∂y∂ϕ=x2+z3,∂z∂ϕ=3yz2
Gradient field:
∇ϕ=2xyi^+(x2+z3)j^+3yz2k^
At (1,2,1):
∇ϕ=2(1)(2)i^+(1+1)j^+3(2)(1)k^=4i^+2j^+6k^
Gradient of the Squared Distance
Find ∇ϕ for ϕ=x2+y2+z2.
∇ϕ=2xi^+2yj^+2zk^=2r
Here r=xi^+yj^+zk^ is the position vector.
Laplacian at a Point
Find ∇2ϕ at (1,2,1) for ϕ=x2y+yz3.
Second partial derivatives:
∂x2∂2ϕ=2y,∂y2∂2ϕ=0,∂z2∂2ϕ=6yz
Sum:
∇2ϕ=2y+6yz
At (1,2,1):
∇2ϕ=2(2)+6(2)(1)=16
Harmonic Field
Show that ϕ=r1 satisfies ∇2ϕ=0 for r=0, where r=x2+y2+z2.
Since ∂x∂r=rx:
∂x∂ϕ=−r3x
∂x2∂2ϕ=−r31+r53x2
By symmetry, the y and z terms are
∂y2∂2ϕ=−r31+r53y2,∂z2∂2ϕ=−r31+r53z2
Sum:
∇2ϕ=−r33+r53(x2+y2+z2)=−r33+r53r2=0