Work Done by a General Variable Force and the Work–Kinetic Energy Theorem
Learning Objectives for Work Done by a Variable Force
Calculate the work done on an object by a variable force defined as a function of position by integrating that function from the initial position to the final position in one or more dimensions (Learning Objective 7.5.1).
Calculate the work done by graphically integrating from the initial position to the final position when presented with a graph of force versus position (Learning Objective 7.5.2).
Convert an acceleration-versus-position graph into a force-versus-position graph to determine work (Learning Objective 7.5.3).
Apply the work–kinetic energy theorem to physical scenarios where an object is displaced under the action of a variable force (Learning Objective 7.5.4).
One-Dimensional Analysis of Work Done by a Variable Force
In a one-dimensional system involving a particle-like object (such as a bead constrained to move along an axis), a force directed along the positive axis may have a magnitude that varies with position , designated as .
Under these conditions, only the magnitude of the force changes with position; its direction remains constant along the positive axis, and its magnitude at any specific position does not change over time.
The constant-force formulation for work, W = Fd or W = Fd cos(theta), is inapplicable because it requires a force that is strictly constant in both.
To determine the work done on the particle as it moves from an initial position to a final position , calculus is employed to discretize the continuous displacement into a sequence of narrow intervals:
The area beneath the curve of versus is partitioned into a large number of narrow vertical strips, each having an incremental width of .
The width is chosen to be sufficiently small so that the force remains reasonably constant throughout that sub-interval.
The quantity denotes the average value of the force within the -th interval, which corresponds to the height of the -th rectangular strip.
The increment of work done by the force in the -th interval is approximated using the constant-force relation: This quantity is geometrically identical to the area of the -th rectangular shaded strip.
The total work performed on the particle from to is approximated by summing the areas of all rectangular strips located between and :
The summation represents an approximation because the broken "skyline" formed by the horizontal tops of the discrete rectangular strips deviates slightly from the continuous curve of .
The accuracy of this approximation increases systematically by decreasing the strip width and correspondingly increasing the total number of strips.
In the mathematical limit where the strip width approaches zero (), the number of strips approaches infinity, producing an exact expression:
This limit constitutes the definite Riemann integral of the continuous function evaluated between the boundaries and :
Geometrically, the total work done by the variable force equals the area bounded between the curve of and the horizontal axis between the spatial limits and .
If an explicit analytical function for is given, work is computed by direct substitution into the definite integral using the integration limits and (standard antiderivatives and integration rules may be referenced from mathematical tables such as Appendix E).

Three-Dimensional Analysis of Variable Work
When a particle moves in three dimensions, it is acted upon by a three-dimensional force vector expressible in Cartesian unit-vector notation as:
In general, the scalar components , , and can each depend on the spatial coordinates of the particle. Three simplifying conditions are implemented:
The component depends solely on the coordinate (and is independent of or ).
The component depends solely on the coordinate (and is independent of or ).
The component depends solely on the coordinate (and is independent of or ).
As the particle undergoes an infinitesimal, incremental displacement vector , the displacement is resolved as:
By the scalar (dot) product definition of work (Eq. 7.2.6), the incremental work performed by during displacement is:
The total work exerted by as the particle traverses a trajectory from an initial position vector with coordinates to a final position vector with coordinates is obtained by integrating the incremental work:
In the special case where possesses only an component, both the and components vanish ( and ), causing the second and third integrals to drop out and directly reducing the formulation back to the one-dimensional integral:
Work–Kinetic Energy Theorem with a Variable Force
The one-dimensional work expression is rigorously proven to equal the object's net change in kinetic energy (), corroborating the work–kinetic energy theorem for non-constant forces.
Consider a particle of constant mass moving along the axis under the influence of a net position-dependent force acting along that same axis.
According to Newton's second law of motion, the net force is directly related to the mass and instantaneous acceleration by . Substituting this into the work integral produces:
By expressing the instantaneous acceleration as the time derivative of velocity, , the differential quantity is rewritten as:
Applying the chain rule of differential calculus to relate velocity, position, and time:
Substituting this chain-rule identity back into the differential term yields:
Substituting into the original work integral transforms the variable of integration from spatial position to instantaneous velocity :
Key calculus considerations in this derivation include:
Changing the integration variable from to strictly requires changing the integration limits from the initial and final positions () to the corresponding initial and final velocities ().
Because the particle's mass is constant throughout the motion, it can be factored directly outside the integration operator.
Identifying the individual algebraic terms on the right-hand side as the final kinetic energy () and initial kinetic energy () demonstrates that:
This confirms that the work done by a variable force acting on a particle equals the net change in the particle's kinetic energy.