Vector Calculus & Integral Theorems

work integral

In elementary physics, work is force times distance — but only the part of the force that points along your direction of motion does any work, and only when the force and path are both constant. The work integral generalizes this to a force that varies from point to point and a path that bends: it is the running total of force-along-the-path, accumulated step by step as you move through a vector field.

If F is a force field and the path is C, the work done is the vector line integral W = integral over C of F dot dr. At each tiny step dr along the path, the contribution is F dot dr, which automatically picks out the component of F parallel to the motion (a force perpendicular to your step does zero work). Parametrizing the path as r(t) turns this into the ordinary integral W = integral of F(r(t)) dot r'(t) dt. The dot product is doing the physics: it keeps the part of the push that helps you along and discards the part that merely shoves you sideways.

The work integral is the physical face of the vector line integral and the gateway to energy methods. When the force field is conservative — a gradient of a potential — the work depends only on the endpoints, not the route, and equals the drop in potential energy; this is the work-energy theorem made geometric. Gravity and electrostatic forces are conservative, so their work integrals are path-independent; friction is not, which is exactly why friction drains energy that depends on the whole path you took.

The constant gravitational force F = (0, -m g) doing work as you walk from height y = 0 to y = h gives W = integral of F dot dr = -m g times (change in y) = -m g h, independent of the horizontal wandering of your path — only the rise in height matters.

Because gravity is conservative, the work depends only on the height change, not the wiggly route taken.

Work being path-independent is a property of the force field (it must be conservative), not a universal law: for a non-conservative field like a frictional or magnetic-style force the work genuinely depends on the path, and assuming otherwise gives wrong energy budgets.

Also called
work done by a forceline integral of work做功积分力沿路径的功