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.
Vector Field
A vector field is a field that assigns a vector to each point in its domain D⊆Rn,
F(x,y,z)=f(x,y,z)i+g(x,y,z)j+h(x,y,z)k
Here f, g, h are real-valued component functions of F on D.
F is continuous iff each component function is continuous. F is differentiable iff each component function is differentiable.
Gradient
For ϕ a scalar 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.
Divergence
Let F(x,y,z)=fi+gj+hk. The divergence of F is
divF=∇⋅F=∂x∂f+∂y∂g+∂z∂h
divF is a scalar field.
Physical meaning of divergence:
- Measures the net outward flow of a vector field per unit volume near a point.
- divF>0 indicates a source at the point.
- divF<0 indicates a sink at the point.
- divF=0 indicates no net local source or sink.
Curl
Let F(x,y,z)=fi+gj+hk. The curl of F is
curlF=∇×F=i∂x∂fj∂y∂gk∂z∂h
curlF is a vector field.
Physical meaning of curl:
- Measures the local tendency of a vector field to rotate around a point.
- The direction of curlF is the axis of local rotation, determined by the right-hand rule.
- The magnitude of curlF measures the strength of local rotation.
- curlF=0 indicates no local rotational tendency.
Laplacian
The Laplacian operator is
∇2=∇⋅∇=∂x2∂2+∂y2∂2+∂z2∂2
For ϕ a scalar field, the Laplacian of ϕ is
∇2ϕ=div(∇ϕ)=∂x2∂2ϕ+∂y2∂2ϕ+∂z2∂2ϕ
The equation ∇2ϕ=0 is Laplace’s equation.
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.
Force Field
A force field is a vector field F whose value at each point is the force acting on a particle at that point.
Inverse-Square Field
Let r=0 be the position vector of a point and c a constant. A vector field of the below form is an inverse-square field.
F(r)=∥r∥3cr
For example, the electric field given by Coulomb’s law is an inverse-square field.
An inverse-square field F has zero divergence wherever r=0.
divF=0
Worked Examples
Gradient at a Point
Find ∇ϕ at (1,2,1) for ϕ=x2y+yz3.
Solution Reveal Hide
Partial derivatives:
∂x∂ϕ=2xy,∂y∂ϕ=x2+z3,∂z∂ϕ=3yz2Gradient field:
∇ϕ=2xyi+(x2+z3)j+3yz2kAt (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.
Solution Reveal Hide
∇ϕ=2xi+2yj+2zk=2rHere r=xi+yj+zk is the position vector.
Divergence and Curl
Find divF and curlF for F=xyi+yzj+zxk.
Solution Reveal Hide
Components are f=xy, g=yz, h=zx.
Divergence:
divF=∂x∂(xy)+∂y∂(yz)+∂z∂(zx)=y+z+xCurl:
curlF=i∂x∂xyj∂y∂yzk∂z∂zx=(∂y∂(zx)−∂z∂(yz))i+(∂z∂(xy)−∂x∂(zx))j+(∂x∂(yz)−∂y∂(xy))k=(0−y)i+(0−z)j+(0−x)k=−yi−zj−xk
Curl of a Rotation Field
Find curlF for F=−yi+xj.
Solution Reveal Hide
Components are f=−y, g=x, h=0.
curlF=i∂x∂−yj∂y∂xk∂z∂0=(0−0)i+(0−0)j+(∂x∂x−∂y∂(−y))k=2k
Curl of a Gradient Field
Find curlF for F=∇(xyz).
Solution Reveal Hide
F=yzi+xzj+xykcurlF=i∂x∂yzj∂y∂xzk∂z∂xy=(x−x)i+(y−y)j+(z−z)k=0
Laplacian at a Point
Find ∇2ϕ at (1,2,1) for ϕ=x2y+yz3.
Solution Reveal Hide
Second partial derivatives:
∂x2∂2ϕ=2y,∂y2∂2ϕ=0,∂z2∂2ϕ=6yzSum:
∇2ϕ=2y+6yzAt (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.
Solution Reveal Hide
Since ∂x∂r=rx:
∂x∂ϕ=−r3x∂x2∂2ϕ=−r31+r53x2By symmetry, the y and z terms are
∂y2∂2ϕ=−r31+r53y2,∂z2∂2ϕ=−r31+r53z2Sum:
∇2ϕ=−r33+r53(x2+y2+z2)=−r33+r53r2=0