Let U⊆Rn be open. A scalar field on U is a function f:U→R and a vector field on U is a function F=(F1,…,Fn):U→Rn that assigns a vector to each point. A vector field is Ck if each of its components is. For x,y∈Rn the dot product
x⋅y:=i=1∑nxiyi=x⊺y
is the standard inner product on Rn, so that ∥x∥=x⋅x is the Euclidean distance from x to 0 and two vectors are orthogonal if and only if their dot product is zero. The directional derivative of a differentiable scalar field is Dvf(x)=∇f(x)⋅v.
A curve in Rn is a function γ=(γ1,…,γn):[a,b]→Rn with continuous components, whose image is traced from the initial pointγ(a) to the terminal pointγ(b). The curve is closed if γ(a)=γ(b) and simple if it is injective on [a,b) and on (a,b]. A C1 curve has velocityγ′(t)=(γ1′(t),…,γn′(t)),speed∥γ′(t)∥ and, where the speed is non-zero, unit tangent vectorT(t):=∥γ′(t)∥γ′(t). The curve is regular if its speed is never zero and piecewise C1 if [a,b] is the union of finitely many intervals on each of which it is C1. The arc length of a piecewise C1 curve is the integral of its speed.
L(γ):=∫ab∥γ′(t)∥dt
Let φ:[α,β]→[a,b] be a C1 bijection with φ′=0. The curve γ∘φ is a reparametrisation of γ, which preserves orientation if φ′>0 and reverses orientation if φ′<0; the reversed curveγ−(t):=γ(a+b−t) traces the same image in the opposite direction. Arc length is unchanged by reparametrisation.
Let a,b∈R3. The cross product of a and b is the vector
where the determinant is expanded along its first row of standard basis vectors. The cross product is bilinear and anticommutative, b×a=−a×b, so a×a=0, and it is orthogonal to both of its arguments. If θ is the angle between non-zero a and b then
∥a×b∥=∥a∥∥b∥sinθ,
the area of the parallelogram spanned by a and b, so a×b=0 if and only if a and b are linearly dependent. The standard basis satisfies e1×e2=e3,e2×e3=e1 and e3×e1=e2, which fixes the direction of a×b by the right-hand rule. The scalar triple product of a,b,c∈R3 is the determinant of the matrix with these rows, and its absolute value is the volume of the parallelepiped they span.
The vector triple product satisfies a×(b×c)=(a⋅c)b−(a⋅b)c.
Let f:U→R be a C1 scalar field and F:U→Rn be a C1 vector field. The del operator∇:=(∂x1∂,…,∂xn∂) is the vector of partial derivative operators, so that the gradient ∇f is the vector field of partial derivatives of f. The gradient at x points in the direction in which f increases fastest, since Dvf(x)=∇f(x)⋅v is largest over unit vectors v when v is parallel to ∇f(x), and its length ∥∇f(x)∥ is that largest rate of increase. For c∈R the level set of f at c is {x∈U:f(x)=c}, and if γ is a C1 curve in a level set then the chain rule gives ∇f(γ(t))⋅γ′(t)=0, so the gradient is orthogonal to level sets.
The divergence of F is the scalar field given by the dot product of ∇ with F.
∇⋅F:=i=1∑n∂xi∂Fi=trJF
The divergence is also written divF, and F is solenoidal if ∇⋅F=0 on U. When n=3 the curl of F is the vector field given by the cross product of ∇ with F.
The curl is also written curlF, and F is irrotational if ∇×F=0 on U. When n=2 the scalar curl of F=(F1,F2) is ∂x1∂F2−∂x2∂F1, the third component of the curl of (F1,F2,0). The divergence and curl of F are the trace and the antisymmetric part of its Jacobian matrix: JF−JF⊺ has the components of ∇×F as its off-diagonal entries. A vector field is radial if F(x)=g(∥x∥)x for a scalar function g, and a C1 radial field is irrotational.
Let f:U→R be C2. The Laplacian of f is the divergence of its gradient, the sum of its unmixed second-order partial derivatives.
Δf:=∇⋅∇f=i=1∑n∂xi2∂2f=trHf
The Laplacian is also written ∇2f, and f is harmonic on U if Δf=0 on U. The vector LaplacianΔF of a C2 vector field is the vector field whose components are the Laplacians of the components of F. By Schwarz’s theorem, for C2 scalar fields f,g and C2 vector fields F,G on U⊆R3 the following vector identities hold.
The first identity on the fourth line states that gradient fields are irrotational and the second that curl fields are solenoidal. The identities on the first two lines hold in Rn with the curl omitted.
Let γ:[a,b]→U be a piecewise C1 curve, f:U→R be a continuous scalar field and F:U→Rn be a continuous vector field. The line integral of f along γ with respect to arc length and the line integral of F along γ are
The second integrates the component of F along the unit tangent vector, ∫γF⋅dr=∫γF⋅Tds, and is also written ∫γF1dx1+⋯+Fndxn. Both line integrals are unchanged by orientation-preserving reparametrisation, and reversing the curve leaves the first unchanged and changes the sign of the second. The line integral of F around a closed curve is the circulation of F and is written ∮γF⋅dr.
A vector field F on U is conservative if F=∇φ for a C1 scalar field φ:U→R, which is a potential of F. The gradient theorem states that the line integral of a gradient field depends only on the endpoints of the curve.
∫γ∇φ⋅dr=φ(γ(b))−φ(γ(a))
Suppose that any two points of U can be joined by a piecewise C1 curve in U. Then two potentials of F differ by a constant and the following are equivalent for a continuous vector field F on U:F is conservative; the line integral of F is path independent, taking the same value along any two curves in U with the same initial and terminal points; the circulation of F around every closed piecewise C1 curve in U is zero. Since gradient fields are irrotational, a C1 conservative field on U⊆R3 is irrotational, and a C1 conservative field on U⊆R2 has zero scalar curl. The converse fails in general: F(x,y)=x2+y2(−y,x) has zero scalar curl on R2∖{0} but circulation 2π around the unit circle. The set U is simply connected if every closed curve in U can be continuously shrunk within U to a point, which holds for Rn, for open rectangles and for R3 with a point removed, but not for R2 with a point removed. On a simply connected open set every C1 irrotational field is conservative.
Let D⊂R2 be a closed bounded region of the kind over which multiple integrals are taken and r:D→R3 be C1. The image S=r(D) is a parametrised surface with parameters(u,v)∈D, and the partial derivatives ru:=∂u∂r and rv:=∂v∂r are tangent to S. The normal vectorru×rv is orthogonal to S, the surface is regular if the normal vector is never zero, and its unit normal is n:=∥ru×rv∥ru×rv. Since ∥ru×rv∥ is the area of the parallelogram spanned by the tangent vectors, the surface area of S and the surface integral of a continuous scalar field f over S are
For example, the graph r(u,v)=(u,v,g(u,v)) of a C1 function g has ∥ru×rv∥=1+gu2+gv2, and the sphere of radius ρ parametrised by r(θ,ϕ)=ρ(sinϕcosθ,sinϕsinθ,cosϕ) on [0,2π]×[0,π] has ∥rθ×rϕ∥=ρ2sinϕ and surface area 4πρ2.
A surface is orientable if it admits a continuous choice of unit normal, and a choice of one of the two such fields ±n is an orientation of the surface; the Möbius strip is not orientable. The flux of a continuous vector field F through an oriented surface S is the surface integral of its normal component.
∫SF⋅ndS=∫DF(r(u,v))⋅(ru×rv)d(u,v)
Surface area and surface integrals of scalar fields are unchanged by reparametrisation of S, and the flux changes sign when the orientation is reversed. A surface is closed if it encloses a bounded region of R3, such as a sphere, and its outward normal is the unit normal that points away from that region. Flux through a closed surface is written ∮SF⋅ndS.
The Jordan curve theorem states that a simple closed curve in R2 separates the plane into exactly two regions, one bounded and one unbounded, of which it is the common boundary. Let γ be a piecewise C1 simple closed curve traversed anticlockwise, so that the bounded region D it encloses lies to its left, and write ∂D for the curve γ.Green’s theorem states that for a C1 vector field F=(F1,F2) on an open set containing D and γ
∮∂DF1dx+F2dy=∫D(∂x∂F2−∂y∂F1)d(x,y).
The circulation around the boundary equals the integral of the scalar curl over the region. Taking F=21(−y,x) gives the area of D as 21∮∂Dxdy−ydx.
Let S be a regular oriented parametrised surface in R3 with unit normal n, whose boundary curve∂S is the image of the boundary of D under r, a piecewise C1 closed curve oriented so that S lies to the left when walking along ∂S with head in the direction of n.Stokes’ theorem states that for a C1 vector field F on an open set containing S
∮∂SF⋅dr=∫S(∇×F)⋅ndS.
The circulation around the boundary equals the flux of the curl through the surface. Green’s theorem is the case of a flat surface in the plane with n=e3, and the flux of a curl through a closed surface is zero.
Let V⊂R3 be a bounded region enclosed by a closed, piecewise regular surface ∂V with outward normal n. The divergence theorem states that for a C1 vector field F on an open set containing V and ∂V
∮∂VF⋅ndS=∫V∇⋅Fdx.
The flux out of the region equals the integral of the divergence over the region. The theorem holds in Rn with the surface integral replaced by the integral over the boundary with respect to (n−1)-dimensional area; in R2 it states that ∮∂DF⋅nds=∫D∇⋅Fd(x,y), which is Green’s theorem applied to (−F2,F1). Applied to f∇g for C2 scalar fields f,g, it gives Green’s identities.
Let Bρ={y∈R3:∥y−x∥≤ρ} be the ball of radius ρ centred at x, with volume ∣Bρ∣=34πρ3 and boundary sphere ∂Bρ. By the divergence and Stokes’ theorems with the mean value theorem for integrals, the divergence of a C1 field is its outward flux per unit volume and each component of its curl is its circulation per unit area, where γρ is the circle of radius ρ centred at x in the plane orthogonal to the unit vector v and traversed anticlockwise about v.