Stokes theorem Created 2026-09-24 Updated 2026-10-14
Let be an oriented smooth surface with piecewise smooth boundary, and let be a continuously differentiable vector field on a neighborhood of . With the compatible boundary direction determined by the right-hand rule,For on the horizontal unit disc with upward normal, the left side is times its area, giving . The counterclockwise boundary has tangential field of magnitude one and circumference , giving the same line integral. Reversing the surface normal reverses the boundary direction and both signs. The theorem replaces a circulation calculation with a surface integral of the curl, whichever is easier.
Stokes theorem on a cut cylindrical surface 2026-10-25
Stokes theorem applies to an oriented surface with several boundary components. Cutting a cylindrical side along one generator produces a parameter rectangle: the two copies of the cut are traversed in opposite directions and their line integrals cancel for a single-valued smooth vector field. The upper and lower rims retain opposite directions when viewed from the same side. This proves why cylindrical topology does not require a modification of Stokes theorem; it requires inclusion of the entire oriented boundary.
Transverse electric mode of a rectangular waveguide Created 2026-10-14 Updated 2026-10-18
A transverse electric mode of a rectangular waveguide has while its axial magnetic field is generally nonzero. For time dependence and axial dependence , set . The Maxwell equations reconstruct the transverse components from :The axial complex amplitude satisfies a transverse Helmholtz equation, . Zero tangential electric field at each perfect conductor wall becomes a Neumann boundary condition on . Separation of variables givesThe index counts half-periods across , and across . Either index can vanish, allowing ; both cannot vanish. Indeed a spatially constant axial oscillating magnetic field would give nonzero changing magnetic flux through the cross-section, whereas the line integral of tangential electric field around its metal boundary is zero. The integral form of Faraday's law excludes this candidate. Dividing the reconstruction formulas by would be invalid and cannot produce the separate transverse electromagnetic mode.
For , choose . The formulas recover exactly the , and in rectangular electromagnetic waveguide. In particular, the transverse magnetic field accompanies and ensures zero divergence; an oscillating longitudinal magnetic field on its own is not the guided solution.
Vector calculus Created 2026-09-24 Updated 2026-10-14
Vector calculus studies differentiation and integration of scalar fields and vector fields. Three operators answer different local questions: the gradient describes change of a scalar value, the divergence describes net outward flow, and the curl describes local circulation. Their associated integral theorems turn local derivatives into measurements along paths and across boundaries.
The difference between divergence and curl is especially visible in two smooth vector fields on three-dimensional Euclidean space:At each point they have the same Euclidean norm , but their directions differ. For , and . For , and . One expands radially in each horizontal plane; the other describes rigid rotation.
Equal-magnitude fields can have different divergence and curl: radial expansion gives outward flux, while rotation gives circulation
. Details. Around the counterclockwise unit circle in the plane , is normal to the boundary and has zero tangential component. Its outward planar flux integral is , while its line integral around the circle is zero. For the values are reversed: outward planar flux is zero, and circulation is . The divergence and curl predict exactly which boundary measurement survives.
Why is this useful? A velocity field can move material through a boundary or circulate it within a region. Conservation of mass connects its divergence with density changes through the continuity equation; its curl is vorticity. In electromagnetism, the Maxwell equations use the same operators to connect electric fields, magnetic fields, and their sources. The common mathematical language lets the same integral calculations work across different physical models. [ref]
https://openstax.org/books/calculus-volume-3/pages/6-5-divergence-and-curl. OpenStax: Divergence, curl, and their interpretations
.The geometric framework behind these operators is developed in differential forms. The Generalized Stokes theorem unifies the fundamental theorem for line integrals, Green theorem, Stokes theorem, and divergence theorem. In coordinates their formulas look different, but each relates accumulation over a region to a measurement on its boundary.
Wilson's Vector Analysis, published in 1901, was based on J. Willard Gibbs's lectures at Yale. Wilson's preface explains that examples from geometry, mechanics, and physics are interspersed with the mathematical development, so readers encounter applications as soon as they have the tools to understand them. That is a useful way to approach vector calculus: learn each operation through a measurement it makes possible. [ref]
https://archive.org/details/vectoranalysiste00gibbiala. Wilson: Vector Analysis, 1901, title page and general preface
.For an oriented parametric curve and scalar field , define the componentwise line integralIts value is a vector and reversing orientation changes its sign. It differs from the scalar arc length integral , which is independent of orientation. A request to integrate a scalar field along a curve should specify which differential is intended.
For the counterclockwise circle , suppose the restricted field has Fourier series . Orthogonality givesThe oriented vector integral selects the first angular harmonics, whereas the scalar arc-length integral selects the mean.
Velocity potential Created 2026-09-24 Updated 2026-10-13
Use a velocity potential to reconstruct an irrotational flow from one scalar field. A velocity potential satisfiesIt has units and is unchanged as a description of the velocity field when any function of time alone is added. For twice continuously differentiable , the identity curl of a gradient proves zero vorticity. In incompressible flow, taking the divergence also gives , the Laplace equation. This turns a three-component velocity field into a single harmonic function with appropriate boundary conditions. [ref]
For uniform flow , take . With , the change from to is . By the fundamental theorem for line integrals, the line integral of velocity between these points equals that change along any path in the domain; a closed curve gives zero circulation.
For the potential line vortex, choose a local angle branch in polar coordinates and set . Then and . One counterclockwise turn changes the continued velocity potential by , although the velocity field returns to its original value. With , this change is , exactly the circulation. A full annulus therefore admits local angle branches and a multivalued velocity potential, but no global single-valued velocity potential when . Cutting the annulus along a radial line allows a single-valued angle branch on the remaining domain. The obstruction is path independence, not a failure of the local gradient formula.
Work Created 2026-09-24 Updated 2026-10-14
Work measures the energy transferred by a force as its point of application moves. For a point mass following a path , add the contribution of the force along each small displacement:This line integral uses the actual path, and the dot product selects the component of force along the motion. A large force perpendicular to every small displacement does zero work; holding something still also does zero mechanical work on it, even if holding it feels tiring. The SI unit is . [ref]
The usefulness of work is that it connects a description in terms of forces and distances to one in terms of energy. The work-energy theorem gives the change in kinetic energy from the total net work, often without solving for the entire motion. The work of one selected force equals that change only when the other forces contribute zero total work.
Work done by a constant force Created 2026-10-14 Updated 2026-10-25
For a fixed force and endpoint displacement , the line integral reduces to a dot product:Here is the angle between the force and the displacement. For straight motion, is also the distance traveled. A force acting along a displacement does of work. Turning the same force perpendicular to the displacement gives and zero work; reversing it gives and . At , the work is . These signs describe energy transferred to or from the moving body. [ref]
Work-energy theorem Created 2026-09-24 Updated 2026-10-14
For a point mass of constant mass observed in an inertial frame, the net work along its actual path equals its change in kinetic energy:The middle expression is a line integral; the dot product selects the component of force along the displacement. Positive net work increases speed, negative net work decreases it, and zero net work leaves the endpoint speeds equal. Equal endpoint speeds do not imply equal velocities: a perpendicular force can continually change direction while doing zero work. [ref]
https://ocw.mit.edu/courses/8-01sc-classical-mechanics-fall-2016/mit8_01scs22_chapter13.pdf. MIT mechanics, Chapter 13, section 13.11
The bridge to Newton's second law is short: take the dot product of with velocity. The chain rule gives , equating the rate of change of kinetic energy to instantaneous power. Integrating gives the theorem. No conservative force assumption entered this argument; friction also contributes to the net work.
For the harmonic oscillator with spring stiffness , release a mass from rest at . The spring exerts . Its work before the first passage through isThus gives speed there. The velocity is negative on this passage because the position is decreasing. The energy calculation alone determines its magnitude, so the direction still requires information about the motion.
For a time-independent potential energy , the conservative force contributes work . Separating all other work as gives . Consequently conservation of mechanical energy requires zero net other work; the work-energy theorem itself does not require that conservation. With damping, mechanical energy decreases even though the theorem remains valid. [ref]
https://ocw.mit.edu/courses/8-01sc-classical-mechanics-fall-2016/mit8_01scs22_chapter14.pdf. MIT mechanics, Chapter 14: mechanical energy and nonconservative work

