Local Transformations and Differential Elements

This note unpacks how tiny changes transform across coordinates using the Jacobian matrix--from displacement to area to volume, in Cartesian, cylindrical, and spherical systems.

Sources:

  1. Fawwaz Ulaby. (2020). Chapter 3: Vector Analysis. Fundamentals of applied electromagnetics (8rd ed., pp. 130–163). Pearson.

Local transformations and Differential Elements

Notation

Symbol Type Explanation
x,y,z R Cartesian coordinates
u,v,w R General curvilinear coordinates
r,ϕ,z R Cylindrical coordinates
R,θ,ϕ R Spherical coordinates
r R3 Position vector
x^,y^,z^ R3 Cartesian unit basis vectors
r^,ϕ^,z^ R3 Cylindrical unit basis vectors
R^,θ^,ϕ^ R3 Spherical unit basis vectors
eu,ev,ew R3 Base vectors in the transformed coordinate system
dl R3 Differential displacement vector
dlu,dlv,dlw R3 Differential displacement vectors along each coordinate
ds R3 Differential area vector
dsu,dsv,dsw R3 Differential area vectors along each coordinate
dV R Differential volume element
J R3×3 Jacobian matrix of the coordinate transformation
detJ R Determinant of the Jacobian matrix, used for volume scaling
eu(ev×ew) R Scalar triple product of base vectors, equal to detJ
Operator Gradient operator

Coordinate transformations and local linearization

Consider a general coordinate transformation:

x=f1(u,v,w),y=f2(u,v,w),z=f3(u,v,w)

For function f1(u,v,w), the total increment is:

Δxf1(u+du,v+dv,w+dw)f1(u,v,w)

Expanding using the Taylor series:

Δx=xudu+xvdv+xwdw+O(du2,dv2,dw2)

Here, x means f1.

Defining the total differential as only the linear terms: dxxdu

where:

x=(xu,xv,xw),du=[dudvdw]

yields:

Δx=dx+xwdw+O(du2,dv2,dw2)

When du,dv,dw are small, higher-order terms can be neglected, leading to Δxdx.

Therefore, dx is a linear approximation of Δx, and we shall use dx to perform integration.

Since the same linear approximation applies to x,y,z, we can similarly approximate Δy and Δz using dy and dz. Thus, we extend this to all three coordinates:

[dxdydz]=[xyz]du

Jacobian matrix

Writing in matrix form:

[dxdydz]=J[dudvdw]

where J=[xyz]=[xuxvxwyuyvywzuzvzw]. J is often referred to as the Jacobian matrix.

Transforming the differential displacement vector

Consider a position vector r in Cartesian coordinates, expressed as:

r=xx^+yy^+zz^.

A small displacement in space is described by the differential displacement vector:

dl=x^dx+y^dy+z^dz

If coordinates x,y,z are functions of a new coordinate system (u,v,w), we express this transformation as:

[dxdydz]=J[dudvdw]

Substituting this into the expression for dl, we obtain:

dl=[x^y^z^]J[dudvdw].

Note that

[x^y^z^]J=[rurvrw]. Thus,

$$ d =

= $$

where the base vectors (not necessarily unit) of the new coordinate system are given by:

ei=rui where ui=u,v,w.

This shows that the Jacobian not only transforms differentials but also provides the (coordinates of the) base vectors (not necessarily unit) in the transformed coordinate system.

To cylindrical coordinates (r,ϕ,z)

Transforming to cylindrical coordinates, x=rcosϕ,y=rsinϕ,z=z

The position vector becomes

r=rcosϕx^+rsinϕy^+zz^

The Jacobian matrix is

J=[cosϕrsinϕ0sinϕrcosϕ0001]

The base vectors are the columns of J :

er=cosϕx^+sinϕy^eϕ=rsinϕx^+rcosϕy^ez=z^ Normalize them, obtain base unit vectors:

r^=cosϕx^+sinϕy^ϕ^=sinϕx^+cosϕy^,z^=ez.

Since eϕ has a magnitude of r, we write

eϕ=rϕ^

Thus,

er=r^,eϕ=rϕ^,ez=z^ Using the transformation formula,

dl=[ereϕez][drdϕdz]

Substituting the base vectors,

dl=[r^rϕ^z^][drdϕdz].

or explicitly,

dl=r^dr+rϕ^dϕ+z^dz

To spherical coordinates (R,θ,ϕ)

Transforming to spherical coordinates,

x=Rsinθcosϕ,y=Rsinθsinϕ,z=Rcosθ

The position vector is

r=Rsinθcosϕx^+Rsinθsinϕy^+Rcosθz^

The Jacobian matrix is

J=[sinθcosϕRcosθcosϕRsinθsinϕsinθsinϕRcosθsinϕRsinθcosϕcosθRsinθ0].

The coordinates of the base vectors are the columns of J:

eR=sinθcosϕx^+sinθsinϕy^+cosθz^eθ=Rcosθcosϕx^+Rcosθsinϕy^Rsinθz^eϕ=Rsinθsinϕx^+Rsinθcosϕy^

To obtain base unit vectors, we normalize: R^=sinθcosϕx^+sinθsinϕy^+cosθz^θ^=cosθcosϕx^+cosθsinϕy^sinθz^ϕ^=sinϕx^+cosϕy^

Since eθ has a magnitude of R and eϕ has a magnitude of Rsinθ, we write

eθ=Rθ^,eϕ=Rsinθϕ^

Thus,

eR=R^,eθ=Rθ^,eϕ=Rsinθϕ^

Using the transformation formula,

dl=[R^Rθ^Rsinθϕ^][dRdθdϕ]

or explicitly,

dl=R^dR+Rθ^dθ+Rsinθϕ^dϕ

Transforming the differential area vector

The differential area vector ds is a vector perpendicular to an infinitesimal surface element with magnitude equal to its area. For a surface parameterized by coordinates (u,v), the differential displacement vectors along these coordinate directions are:

dlu=eudu,dlv=evdv

The differential area vector is then given by their cross product:

ds=dlu×dlv=(eudu)×(evdv)

Its magnitude represents the infinitesimal surface area:

ds=|eu×ev|dudv

where || means vector magnitude.

In Cartesian coordinates, the differential displacement vectors along each coordinate direction are: dlx=x^dx,dly=y^dy,dlz=z^dz

Thus, the differential area vectors are:

dsx=dly×dlz=x^dydz,dsy=dlz×dlx=y^dxdz,dsz=dlx×dly=z^dxdy.

To cylindrical coordinates (r,ϕ,z)

The differential displacement vectors in cylindrical coordinates are:

dlr=r^dr,dlϕ=rϕ^dϕ,dlz=z^dz

Taking cross products to obtain the differential area vectors:

dsr=dlϕ×dlz=(rϕ^dϕ)×(z^dz)=r^rdϕdzdsϕ=dlz×dlr=(z^dz)×(r^dr)=ϕ^drdzdsz=dlr×dlϕ=(r^dr)×(rϕ^dϕ)=z^rdrdϕ

To spherical coordinates (R,θ,ϕ)

The differential displacement vectors in spherical coordinates are: dlR=R^dR,dlθ=Rθ^dθ,dlϕ=Rsinθϕ^dϕ

Taking cross products to obtain the differential area vectors:

dsR=dlθ×dlϕ=(Rθ^dθ)×(Rsinθϕ^dϕ)=R^R2sinθdθdϕdsθ=dlϕ×dlR=(Rsinθϕ^dϕ)×(R^dR)=θ^RsinθdRdϕdsϕ=dlR×dlθ=(R^dR)×(Rθ^dθ)=ϕ^RdRdθ

Transforming the differential volume element

The differential volume element represents an infinitesimal volume in space. It is computed as the scalar triple product of threedifferential displacement vectors that span the volume element.

For a coordinate system (u,v,w), the differential displacement vectors along each coordinate direction are:

dlu=eudu,dlv=evdv,dlw=ewdw

The differential volume element is then given by:

dV=|dlu(dlv×dlw)|

where || means absolute value.

Expanding: dV=|eu(ev×ew)|dudvdw=|detJ|dudvdw

The later equation holds because the definition of cross product.

In Cartesian coordinates, the position vector is:

r=xx^+yy^+zz^

The Jacobian matrix is:

J=[xxxyxzyxyyyzzxzyzz]=[100010001]

Since detJ=1, the differential volume element is:

dV=|detJ|dxdydz=dxdydz

To cylindrical coordinates (r,ϕ,z)

From the differential displacement vectors: dlr=r^dr,dlϕ=rϕ^dϕ,dlz=z^dz

The differential volume element is given by: dV=|dlr(dlϕ×dlz)|

Since dlϕ×dlz gives a differential area element dsr=r^rdϕdz, we compute:

dV=|dr(rdϕdz)|=rdrdϕdz as r is non-negative by definition.

To spherical coordinates (R,θ,ϕ)

From the differential displacement vectors:

dlR=R^dR,dlθ=Rθ^dθ,dlϕ=Rsinθϕ^dϕ

The differential volume element is given by:

dV=|dlR(dlθ×dlϕ)|

Since dlθ×dlϕ gives a differential area element dsR=R^R2sinθdθdϕ, we compute:

dV=|dR(R2sinθdθdϕ)|=R2sinθdRdθdϕ