1. Home
  2. Explore
  3. Mathematics
  4. Vector Calculus Integrals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Vector Calculus Integrals

Vector Integrals in Electromagnetics

Vector calculus provides the mathematical tools needed to analyze electromagnetic fields and Maxwell’s equations. Three fundamental types of integrals are:

  • Line integrals, which describe the cumulative effect of a field along a path.

  • Surface integrals, which describe the flux of a field through a surface.

  • Volume integrals, which describe the total quantity contained within a volume.

The differential quantities used in these integrals are the differential length dld\mathbf{l}dl, differential surface area dsd\mathbf{s}ds, and differential volume dvdvdv.


1. Line, Surface, and Volume Integrals

Line Integral

A line integral of a vector field A\mathbf{A}A along a path is written as

∫CA⋅dl\int_C \mathbf{A}\cdot d\mathbf{l}∫C​A⋅dl

where:

  • A\mathbf{A}A is the vector field.

  • dld\mathbf{l}dl is the differential length vector along the path.

  • The dot product A⋅dl\mathbf{A}\cdot d\mathbf{l}A⋅dl is a scalar.

  • The result is integrated along the specified path CCC.

The direction of dld\mathbf{l}dl follows the direction in which the path is traversed.

A line integral measures the cumulative contribution of the vector field along a path. In electromagnetics, a line integral of the electric field can be used to determine the potential difference between two points.

For a closed path, the notation is commonly written as

∮CA⋅dl\oint_C \mathbf{A}\cdot d\mathbf{l}∮C​A⋅dl

The closed-path line integral is important in understanding Ampère’s law.


Surface Integral

A surface integral of a vector field is written as

∬SA⋅ds\iint_S \mathbf{A}\cdot d\mathbf{s}∬S​A⋅ds

where:

  • A\mathbf{A}A is the vector field.

  • dsd\mathbf{s}ds is the differential surface-area vector.

  • dsd\mathbf{s}ds has a magnitude equal to a small area and a direction normal to the surface.

  • The dot product A⋅ds\mathbf{A}\cdot d\mathbf{s}A⋅ds is a scalar.

A surface integral measures the flux of a vector field through a surface. Flux represents the amount of field passing through the surface.

For a closed surface, the integral is written as

∯SA⋅ds\oiint_S \mathbf{A}\cdot d\mathbf{s}∬​S​A⋅ds

The direction of the differential surface vector is normally chosen to point outward from a closed volume.

Surface integrals are central to Gauss’s law, which relates the total electric flux through a closed surface to the charge enclosed by that surface.


Volume Integral

A volume integral is written as

∭VA dv\iiint_V A\,dv∭V​Adv

where:

  • AAA may be a scalar or vector quantity.

  • dvdvdv is the differential volume.

  • dvdvdv is a scalar quantity because volume has magnitude but no direction.

If AAA is a scalar field, the result is scalar. For example, if ρv\rho_vρv​ is volume charge density, then the total charge enclosed in a volume is

Q=∭Vρv dvQ=\iiint_V \rho_v\,dvQ=∭V​ρv​dv

If A\mathbf{A}A is a vector field, then

∭VA dv\iiint_V \mathbf{A}\,dv∭V​Adv

produces a vector result. Such an integral can be used, for example, when determining an average vector field over a volume.

The type of result depends on the integrand: integrating a scalar field produces a scalar, while integrating a vector field produces a vector.


2. Differential Length in Different Coordinate Systems

The expression for the differential length depends on the coordinate system being used.


Cartesian Coordinate System

The Cartesian coordinates are xxx, yyy, and zzz, with unit vectors ax\mathbf{a}_xax​, ay\mathbf{a}_yay​, and az\mathbf{a}_zaz​.

If a point moves through small displacements dxdxdx, dydydy, and dzdzdz, the differential length is

dl=dx ax+dy ay+dz azd\mathbf{l}=dx\,\mathbf{a}_x+dy\,\mathbf{a}_y+dz\,\mathbf{a}_zdl=dxax​+dyay​+dzaz​

The three components represent:

  • dxdxdx: displacement in the xxx direction.

  • dydydy: displacement in the yyy direction.

  • dzdzdz: displacement in the zzz direction.

Each unit vector points in the increasing direction of its corresponding coordinate.


Cylindrical Coordinate System

The cylindrical coordinates are ρ\rhoρ, ϕ\phiϕ, and zzz, with unit vectors aρ\mathbf{a}_\rhoaρ​, aϕ\mathbf{a}_\phiaϕ​, and az\mathbf{a}_zaz​.

  • ρ\rhoρ represents radial distance from the zzz-axis.

  • ϕ\phiϕ represents the azimuthal angle around the zzz-axis.

  • zzz represents vertical distance.

The differential displacements are:

  • In the radial direction: dρd\rhodρ.

  • In the vertical direction: dzdzdz.

  • In the angular direction: ρ dϕ\rho\,d\phiρdϕ.

The angular displacement is an arc length. Since arc length equals radius multiplied by angular change,

dsϕ=ρ dϕds_{\phi}=\rho\,d\phidsϕ​=ρdϕ

Therefore, the differential length is

dl=dρ aρ+ρ dϕ aϕ+dz azd\mathbf{l}=d\rho\,\mathbf{a}_\rho+\rho\,d\phi\,\mathbf{a}_\phi+dz\,\mathbf{a}_zdl=dρaρ​+ρdϕaϕ​+dzaz​

The factor ρ\rhoρ is necessary because a given angular change corresponds to a longer arc at larger radial distance.


Spherical Coordinate System

The spherical coordinates are rrr, θ\thetaθ, and ϕ\phiϕ, with unit vectors ar\mathbf{a}_rar​, aθ\mathbf{a}_\thetaaθ​, and aϕ\mathbf{a}_\phiaϕ​.

  • rrr is the distance from the origin.

  • θ\thetaθ is the polar angle measured from the positive zzz-axis.

  • ϕ\phiϕ is the azimuthal angle in the xxx-yyy plane.

The differential displacements are:

  • In the radial direction: drdrdr.

  • In the θ\thetaθ direction: r dθr\,d\thetardθ.

  • In the ϕ\phiϕ direction: ρ dϕ\rho\,d\phiρdϕ.

The cylindrical radial distance ρ\rhoρ is the projection of rrr onto the xxx-yyy plane:

ρ=rsin⁡θ\rho=r\sin\thetaρ=rsinθ

Therefore, the displacement in the ϕ\phiϕ direction is

ρ dϕ=rsin⁡θ dϕ\rho\,d\phi=r\sin\theta\,d\phiρdϕ=rsinθdϕ

The differential length is consequently

dl=dr ar+r dθ aθ+rsin⁡θ dϕ aϕd\mathbf{l} = dr\,\mathbf{a}_r + r\,d\theta\,\mathbf{a}_\theta + r\sin\theta\,d\phi\,\mathbf{a}_\phidl=drar​+rdθaθ​+rsinθdϕaϕ​

The scale factors in spherical coordinates arise because angular changes correspond to arc lengths.


3. Differential Surface Area

A differential surface-area vector has:

  • A magnitude equal to a small surface area.

  • A direction normal, or perpendicular, to the surface.

For a closed surface, the vector conventionally points outward.

The general procedure for finding a differential surface area is:

  1. Keep one coordinate constant.

  2. Allow the other two coordinates to vary.

  3. Multiply the two differential-length components associated with the varying coordinates.

  4. Point the resulting vector in the direction normal to the surface.

  5. Choose the sign according to the required orientation, usually outward for a closed surface.


Cartesian Coordinate System

The differential length is

dl=dx ax+dy ay+dz azd\mathbf{l}=dx\,\mathbf{a}_x+dy\,\mathbf{a}_y+dz\,\mathbf{a}_zdl=dxax​+dyay​+dzaz​

The surface-area expressions are obtained by multiplying the two differential-length components that lie in the surface.

Surface with Constant xxx

If xxx is constant, then yyy and zzz vary. The surface lies in the yyy-zzz plane, and its normal is in the xxx direction:

ds=dy dz axd\mathbf{s}=dy\,dz\,\mathbf{a}_xds=dydzax​

For the opposite-facing surface, the outward direction may be negative:

ds=−dy dz axd\mathbf{s}=-dy\,dz\,\mathbf{a}_xds=−dydzax​

Surface with Constant yyy

If yyy is constant, then xxx and zzz vary. The surface lies in the xxx-zzz plane:

ds=dx dz ayd\mathbf{s}=dx\,dz\,\mathbf{a}_yds=dxdzay​

The opposite-facing surface has

ds=−dx dz ayd\mathbf{s}=-dx\,dz\,\mathbf{a}_yds=−dxdzay​

Surface with Constant zzz

If zzz is constant, then xxx and yyy vary. The surface lies in the xxx-yyy plane:

ds=dx dy azd\mathbf{s}=dx\,dy\,\mathbf{a}_zds=dxdyaz​

For the opposite face, the vector points in the negative zzz direction:

ds=−dx dy azd\mathbf{s}=-dx\,dy\,\mathbf{a}_zds=−dxdyaz​

Thus, the direction of the surface-area vector depends on which side of the surface is being considered.

In Cartesian coordinates, the surface-area vector points along the coordinate whose value remains constant.


Cylindrical Coordinate System

The cylindrical differential length is

dl=dρ aρ+ρ dϕ aϕ+dz azd\mathbf{l} = d\rho\,\mathbf{a}_\rho + \rho\,d\phi\,\mathbf{a}_\phi + dz\,\mathbf{a}_zdl=dρaρ​+ρdϕaϕ​+dzaz​

Surface with Constant ρ\rhoρ

When ρ\rhoρ is constant, ϕ\phiϕ and zzz vary. This forms a curved cylindrical surface.

The two surface dimensions are:

  • ρ dϕ\rho\,d\phiρdϕ in the angular direction.

  • dzdzdz in the vertical direction.

The normal is in the radial direction:

ds=ρ dϕ dz aρd\mathbf{s} = \rho\,d\phi\,dz\,\mathbf{a}_\rhods=ρdϕdzaρ​

Surface with Constant zzz

When zzz is constant, ρ\rhoρ and ϕ\phiϕ vary. This forms a circular disk.

The two surface dimensions are:

  • dρd\rhodρ in the radial direction.

  • ρ dϕ\rho\,d\phiρdϕ in the angular direction.

The differential surface area is

ds=ρ dϕ dρ azd\mathbf{s} = \rho\,d\phi\,d\rho\,\mathbf{a}_zds=ρdϕdρaz​

For the bottom cap of a cylinder, the outward direction is negative zzz, so

ds=−ρ dϕ dρ azd\mathbf{s} = -\rho\,d\phi\,d\rho\,\mathbf{a}_zds=−ρdϕdρaz​

Surface with Constant ϕ\phiϕ

When ϕ\phiϕ is constant, ρ\rhoρ and zzz vary. This produces a radial half-plane.

The surface dimensions are dρd\rhodρ and dzdzdz, and the normal is in the ϕ\phiϕ direction:

ds=dρ dz aϕd\mathbf{s}=d\rho\,dz\,\mathbf{a}_\phids=dρdzaϕ​

For the opposite side of the same type of surface, the direction is negative ϕ\phiϕ:

ds=−dρ dz aϕd\mathbf{s}=-d\rho\,dz\,\mathbf{a}_\phids=−dρdzaϕ​

In cylindrical coordinates, the differential surface area points in the direction of the coordinate that remains constant.


Spherical Coordinate System

The spherical differential length is

dl=dr ar+r dθ aθ+rsin⁡θ dϕ aϕd\mathbf{l} = dr\,\mathbf{a}_r + r\,d\theta\,\mathbf{a}_\theta + r\sin\theta\,d\phi\,\mathbf{a}_\phidl=drar​+rdθaθ​+rsinθdϕaϕ​

Surface with Constant rrr

When rrr is constant, θ\thetaθ and ϕ\phiϕ vary. This produces a spherical surface.

The two surface dimensions are:

  • r dθr\,d\thetardθ in the polar direction.

  • rsin⁡θ dϕr\sin\theta\,d\phirsinθdϕ in the azimuthal direction.

The outward normal is radial:

ds=r2sin⁡θ dθ dϕ ard\mathbf{s} = r^2\sin\theta\,d\theta\,d\phi\,\mathbf{a}_rds=r2sinθdθdϕar​

Surface with Constant θ\thetaθ

When θ\thetaθ is constant, rrr and ϕ\phiϕ vary. This produces a conical surface.

The two surface dimensions are:

  • drdrdr in the radial direction.

  • rsin⁡θ dϕr\sin\theta\,d\phirsinθdϕ in the azimuthal direction.

The normal is in the θ\thetaθ direction:

ds=rsin⁡θ dr dϕ aθd\mathbf{s} = r\sin\theta\,dr\,d\phi\,\mathbf{a}_\thetads=rsinθdrdϕaθ​

Surface with Constant ϕ\phiϕ

When ϕ\phiϕ is constant, rrr and θ\thetaθ vary. This produces a plane extending radially from the zzz-axis.

The two surface dimensions are:

  • drdrdr in the radial direction.

  • r dθr\,d\thetardθ in the polar direction.

The normal is in the ϕ\phiϕ direction:

ds=r dr dθ aϕd\mathbf{s} = r\,dr\,d\theta\,\mathbf{a}_\phids=rdrdθaϕ​

For the opposite side, the direction is negative ϕ\phiϕ:

ds=−r dr dθ aϕd\mathbf{s} = -r\,dr\,d\theta\,\mathbf{a}_\phids=−rdrdθaϕ​

In spherical coordinates, the area element is formed by multiplying the differential-length components associated with the two changing coordinates.


4. Differential Volume

The differential volume dvdvdv represents a small volume element in three-dimensional space. Unlike dld\mathbf{l}dl and dsd\mathbf{s}ds, it is a scalar quantity.

The differential volume is found by multiplying all three differential-length scale factors.


Cartesian Coordinates

The three differential lengths are dxdxdx, dydydy, and dzdzdz, so

dv=dx dy dzdv=dx\,dy\,dzdv=dxdydz

Cylindrical Coordinates

The three differential lengths are:

  • dρd\rhodρ

  • ρ dϕ\rho\,d\phiρdϕ

  • dzdzdz

Therefore,

dv=ρ dρ dϕ dzdv=\rho\,d\rho\,d\phi\,dzdv=ρdρdϕdz

The factor ρ\rhoρ accounts for the arc length associated with the angular coordinate.


Spherical Coordinates

The three differential lengths are:

  • drdrdr

  • r dθr\,d\thetardθ

  • rsin⁡θ dϕr\sin\theta\,d\phirsinθdϕ

Thus,

dv=r2sin⁡θ dr dθ dϕdv=r^2\sin\theta\,dr\,d\theta\,d\phidv=r2sinθdrdθdϕ

The factors r2r^2r2 and sin⁡θ\sin\thetasinθ arise from the two angular dimensions of the spherical volume element.

Differential volume elements are obtained by multiplying the three coordinate-direction lengths, including the appropriate coordinate-dependent scale factors.


5. Physical Meaning of the Line Integral

Consider a vector field A\mathbf{A}A and a path from point PPP to point QQQ. The line integral is

∫PQA⋅dl\int_P^Q \mathbf{A}\cdot d\mathbf{l}∫PQ​A⋅dl

For a small segment of the path, the dot product is

A⋅dl=∣A∣ ∣dl∣cos⁡α\mathbf{A}\cdot d\mathbf{l} = |\mathbf{A}|\,|d\mathbf{l}|\cos\alphaA⋅dl=∣A∣∣dl∣cosα

where α\alphaα is the angle between the field and the direction of the path.

Field Aligned with the Path

If α=0\alpha=0α=0, then

cos⁡α=1\cos\alpha=1cosα=1

and the contribution is maximum:

A⋅dl=∣A∣ ∣dl∣\mathbf{A}\cdot d\mathbf{l}=|\mathbf{A}|\,|d\mathbf{l}|A⋅dl=∣A∣∣dl∣

Field Perpendicular to the Path

If α=90∘\alpha=90^\circα=90∘, then

cos⁡α=0\cos\alpha=0cosα=0

and

A⋅dl=0\mathbf{A}\cdot d\mathbf{l}=0A⋅dl=0

Therefore, a field perpendicular to the direction of motion contributes nothing to the line integral.

Electromagnetic Application

For an electric field E\mathbf{E}E, the line integral between two points determines the potential difference. Depending on the sign convention,

VQ−VP=−∫PQE⋅dlV_Q-V_P=-\int_P^Q \mathbf{E}\cdot d\mathbf{l}VQ​−VP​=−∫PQ​E⋅dl

A closed line integral measures the cumulative effect of a field around a closed path:

∮CA⋅dl\oint_C \mathbf{A}\cdot d\mathbf{l}∮C​A⋅dl

This form is particularly important for Ampère’s law.


6. Physical Meaning of the Surface Integral

The surface integral of a vector field A\mathbf{A}A through a surface SSS is

∬SA⋅ds\iint_S \mathbf{A}\cdot d\mathbf{s}∬S​A⋅ds

If an\mathbf{a}_nan​ is the unit normal to the surface, then

ds=dS and\mathbf{s}=dS\,\mathbf{a}_nds=dSan​

and the flux can be expressed as

∬SA⋅an dS\iint_S \mathbf{A}\cdot\mathbf{a}_n\,dS∬S​A⋅an​dS

For a small surface element,

A⋅ds=∣A∣ dScos⁡α\mathbf{A}\cdot d\mathbf{s} = |\mathbf{A}|\,dS\cos\alphaA⋅ds=∣A∣dScosα

where α\alphaα is the angle between the field and the surface normal.

Field Parallel to the Surface Normal

If the field is aligned with the normal, then α=0\alpha=0α=0 and the flux is maximum.

Field Tangential to the Surface

If the field is perpendicular to the normal, then the field lies along the surface. In that case, α=90∘\alpha=90^\circα=90∘, so

A⋅ds=0\mathbf{A}\cdot d\mathbf{s}=0A⋅ds=0

No flux passes through the surface.

Open and Closed Surfaces

An open surface does not enclose a volume. Examples include:

  • A flat sheet.

  • The curved outer surface of a hemisphere without its circular lid.

A closed surface completely encloses a volume. Examples include:

  • The surface of a sphere.

  • A hemisphere together with its circular lid.

  • The complete outer surface of a cylinder, including its top and bottom caps.

The total flux through a closed surface is

∯SA⋅ds\oiint_S \mathbf{A}\cdot d\mathbf{s}∬​S​A⋅ds

In electromagnetics, if A\mathbf{A}A is the electric field E\mathbf{E}E, the total electric flux through a closed surface is related to the charge enclosed within that surface. This relationship is expressed by Gauss’s law:

∯SE⋅ds=Qencϵ\oiint_S \mathbf{E}\cdot d\mathbf{s} = \frac{Q_{\text{enc}}}{\epsilon}∬​S​E⋅ds=ϵQenc​​

where QencQ_{\text{enc}}Qenc​ is the enclosed charge and ϵ\epsilonϵ is the permittivity of the medium.


7. Physical Meaning of the Volume Integral

A volume integral adds a quantity throughout a three-dimensional region.

For a volume charge density ρv\rho_vρv​, the total charge inside a volume VVV is

Q=∭Vρv dvQ=\iiint_V \rho_v\,dvQ=∭V​ρv​dv

Here:

  • ρv\rho_vρv​ gives charge per unit volume.

  • dvdvdv is a small volume element.

  • The integral sums the charge contributions from all small volume elements.

Because both ρv\rho_vρv​ and dvdvdv are scalar quantities, the total charge QQQ is scalar.

More generally, a volume integral can determine the total amount of any distributed scalar quantity, such as mass, energy, or charge. If the integrand is vector-valued, the integral produces a vector result.


8. Example: Flux Through a Cartesian Surface

Consider the vector field

A=x ax+y ay+z az\mathbf{A}=x\,\mathbf{a}_x+y\,\mathbf{a}_y+z\,\mathbf{a}_zA=xax​+yay​+zaz​

and the surface defined by

y=1,0≤x≤1,0≤z≤2y=1,\qquad 0\leq x\leq 1,\qquad 0\leq z\leq 2y=1,0≤x≤1,0≤z≤2

Because yyy is constant, the surface lies parallel to the xxx-zzz plane. Its normal is in the yyy direction.

The differential surface vector is

ds=dx dz ayd\mathbf{s}=dx\,dz\,\mathbf{a}_yds=dxdzay​

The flux is therefore

Φ=∬SA⋅ds\Phi = \iint_S \mathbf{A}\cdot d\mathbf{s}Φ=∬S​A⋅ds

Substituting the field and surface element,

A⋅ds=(x ax+y ay+z az)⋅(dx dz ay)\mathbf{A}\cdot d\mathbf{s} = \left(x\,\mathbf{a}_x+y\,\mathbf{a}_y+z\,\mathbf{a}_z\right) \cdot \left(dx\,dz\,\mathbf{a}_y\right)A⋅ds=(xax​+yay​+zaz​)⋅(dxdzay​)

Only the yyy component contributes:

A⋅ds=y dx dz\mathbf{A}\cdot d\mathbf{s}=y\,dx\,dzA⋅ds=ydxdz

Since y=1y=1y=1 on the surface,

A⋅ds=dx dz\mathbf{A}\cdot d\mathbf{s}=dx\,dzA⋅ds=dxdz

Thus,

Φ=∫01∫02dx dz\Phi = \int_0^1\int_0^2 dx\,dzΦ=∫01​∫02​dxdz

Separating the integrals gives

Φ=(∫01dx)(∫02dz)\Phi = \left(\int_0^1 dx\right) \left(\int_0^2 dz\right)Φ=(∫01​dx)(∫02​dz)

Therefore,

Φ=(1)(2)=2\Phi=(1)(2)=2Φ=(1)(2)=2

The flux through the surface is

Φ=2\boxed{\Phi=2}Φ=2​

The key observation is that only the component of the vector field normal to the surface contributes to the flux.


9. Example Setup: Flux Through a Partial Spherical Surface

Consider a vector field expressed in spherical coordinates over the region

0≤r≤4,0≤θ≤π2,0≤ϕ≤3π20\leq r\leq 4,\qquad 0\leq\theta\leq\frac{\pi}{2},\qquad 0\leq\phi\leq\frac{3\pi}{2}0≤r≤4,0≤θ≤2π​,0≤ϕ≤23π​

The coordinate limits determine the geometry of the region.

Interpreting the Limits

Radial Limit

The range

0≤r≤40\leq r\leq 40≤r≤4

includes all points from the origin to a radius of 444.

Polar-Angle Limit

The range

0≤θ≤π20\leq\theta\leq\frac{\pi}{2}0≤θ≤2π​

selects the upper half of the sphere, because θ\thetaθ extends from the positive zzz-axis to the xxx-yyy plane.

Azimuthal-Angle Limit

The range

0≤ϕ≤3π20\leq\phi\leq\frac{3\pi}{2}0≤ϕ≤23π​

covers three quarters of the full azimuthal range. Since a full revolution corresponds to

0≤ϕ≤2π0\leq\phi\leq 2\pi0≤ϕ≤2π

the region excludes one quarter of the upper hemisphere.

The complete boundary consists of four surfaces:

  1. Outer spherical surface S1S_1S1​

  2. Bottom disk S2S_2S2​

  3. Radial plane at ϕ=0\phi=0ϕ=0, or S3S_3S3​

  4. Radial plane at ϕ=3π/2\phi=3\pi/2ϕ=3π/2, or S4S_4S4​

The total flux is the sum of the fluxes through the individual surfaces:

Φtotal=ΦS1+ΦS2+ΦS3+ΦS4\Phi_{\text{total}} = \Phi_{S_1} + \Phi_{S_2} + \Phi_{S_3} + \Phi_{S_4}Φtotal​=ΦS1​​+ΦS2​​+ΦS3​​+ΦS4​​

Surface S1S_1S1​: Outer Spherical Surface

For the outer spherical surface, rrr is constant at r=4r=4r=4, while θ\thetaθ and ϕ\phiϕ vary.

The differential surface vector is

ds=r2sin⁡θ dθ dϕ ard\mathbf{s} = r^2\sin\theta\,d\theta\,d\phi\,\mathbf{a}_rds=r2sinθdθdϕar​

At r=4r=4r=4,

ds=16sin⁡θ dθ dϕ ard\mathbf{s} = 16\sin\theta\,d\theta\,d\phi\,\mathbf{a}_rds=16sinθdθdϕar​

The outward direction is ar\mathbf{a}_rar​.


Surface S2S_2S2​: Bottom Disk

The bottom disk lies in the plane θ=π/2\theta=\pi/2θ=π/2, corresponding to the xxx-yyy plane. Here, rrr and ϕ\phiϕ vary.

The differential surface vector is based on the rrr and ϕ\phiϕ differential lengths:

ds=rsin⁡θ dr dϕ aθd\mathbf{s} = r\sin\theta\,dr\,d\phi\,\mathbf{a}_\thetads=rsinθdrdϕaθ​

At θ=π/2\theta=\pi/2θ=π/2, sin⁡θ=1\sin\theta=1sinθ=1, so its magnitude becomes

dS=r dr dϕdS=r\,dr\,d\phidS=rdrdϕ

For the lower-facing or outward direction of the upper volume, the normal direction is −aθ-\mathbf{a}_\theta−aθ​ at the equatorial plane. Thus, the sign must be chosen consistently with the outward orientation.


Surface S3S_3S3​: Plane at ϕ=0\phi=0ϕ=0

For the surface at constant ϕ=0\phi=0ϕ=0, the coordinates rrr and θ\thetaθ vary.

The differential surface vector is

ds=r dr dθ aϕd\mathbf{s} = r\,dr\,d\theta\,\mathbf{a}_\phids=rdrdθaϕ​

The appropriate sign depends on whether the outward normal points in the positive or negative aϕ\mathbf{a}_\phiaϕ​ direction at that boundary.


Surface S4S_4S4​: Plane at ϕ=3π/2\phi=3\pi/2ϕ=3π/2

For the surface at constant ϕ=3π/2\phi=3\pi/2ϕ=3π/2, the coordinates rrr and θ\thetaθ vary as well. Its differential surface vector has the same magnitude:

ds=r dr dθ aϕd\mathbf{s} = r\,dr\,d\theta\,\mathbf{a}_\phids=rdrdθaϕ​

The direction is opposite to that of the ϕ=0\phi=0ϕ=0 boundary, so the two radial-plane contributions generally have opposite orientations.

The flux through the complete boundary is found by evaluating the surface integral over each of the four surfaces and adding the results.


10. General Problem-Solving Procedure

To evaluate a line, surface, or volume integral in electromagnetics, the following method is useful:

  1. Identify the coordinate system.
    Determine whether the field and region are expressed in Cartesian, cylindrical, or spherical coordinates.

  2. Interpret the coordinate limits.
    Identify the geometric region described by the limits.

  3. Write the appropriate differential element.

    • Use dld\mathbf{l}dl for a line integral.

    • Use dsd\mathbf{s}ds for a surface integral.

    • Use dvdvdv for a volume integral.

  4. Determine the orientation.
    For a surface integral, ensure that the differential surface vector points in the required normal direction, usually outward for a closed surface.

  5. Perform the dot product when necessary.
    For line and surface integrals, calculate A⋅dl\mathbf{A}\cdot d\mathbf{l}A⋅dl or A⋅ds\mathbf{A}\cdot d\mathbf{s}A⋅ds before integrating.

  6. Apply the correct limits.

  7. Add contributions from separate surfaces or path segments.
    A closed surface or piecewise path may require several individual integrals.


Key Formulas

Differential Length

Cartesian

dl=dx ax+dy ay+dz azd\mathbf{l} = dx\,\mathbf{a}_x + dy\,\mathbf{a}_y + dz\,\mathbf{a}_zdl=dxax​+dyay​+dzaz​

Cylindrical

dl=dρ aρ+ρ dϕ aϕ+dz azd\mathbf{l} = d\rho\,\mathbf{a}_\rho + \rho\,d\phi\,\mathbf{a}_\phi + dz\,\mathbf{a}_zdl=dρaρ​+ρdϕaϕ​+dzaz​

Spherical

dl=dr ar+r dθ aθ+rsin⁡θ dϕ aϕd\mathbf{l} = dr\,\mathbf{a}_r + r\,d\theta\,\mathbf{a}_\theta + r\sin\theta\,d\phi\,\mathbf{a}_\phidl=drar​+rdθaθ​+rsinθdϕaϕ​

Differential Surface Area

Cartesian

dsx=dy dz axd\mathbf{s}_x=dy\,dz\,\mathbf{a}_xdsx​=dydzax​
dsy=dx dz ayd\mathbf{s}_y=dx\,dz\,\mathbf{a}_ydsy​=dxdzay​
dsz=dx dy azd\mathbf{s}_z=dx\,dy\,\mathbf{a}_zdsz​=dxdyaz​

Cylindrical

dsρ=ρ dϕ dz aρd\mathbf{s}_\rho = \rho\,d\phi\,dz\,\mathbf{a}_\rhodsρ​=ρdϕdzaρ​
dsϕ=dρ dz aϕd\mathbf{s}_\phi = d\rho\,dz\,\mathbf{a}_\phidsϕ​=dρdzaϕ​
dsz=ρ dρ dϕ azd\mathbf{s}_z = \rho\,d\rho\,d\phi\,\mathbf{a}_zdsz​=ρdρdϕaz​

Spherical

dsr=r2sin⁡θ dθ dϕ ard\mathbf{s}_r = r^2\sin\theta\,d\theta\,d\phi\,\mathbf{a}_rdsr​=r2sinθdθdϕar​
dsθ=rsin⁡θ dr dϕ aθd\mathbf{s}_\theta = r\sin\theta\,dr\,d\phi\,\mathbf{a}_\thetadsθ​=rsinθdrdϕaθ​
dsϕ=r dr dθ aϕd\mathbf{s}_\phi = r\,dr\,d\theta\,\mathbf{a}_\phidsϕ​=rdrdθaϕ​

Differential Volume

Cartesian

dv=dx dy dzdv=dx\,dy\,dzdv=dxdydz

Cylindrical

dv=ρ dρ dϕ dzdv=\rho\,d\rho\,d\phi\,dzdv=ρdρdϕdz

Spherical

dv=r2sin⁡θ dr dθ dϕdv=r^2\sin\theta\,dr\,d\theta\,d\phidv=r2sinθdrdθdϕ

The central principle is that line integrals accumulate field effects along paths, surface integrals measure field flux through surfaces, and volume integrals determine the total amount of a quantity distributed throughout a volume.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent