Work done by a variable force Knowledge-Based Study
Physics topic explanations on Work done by a variable force.
Study notes
Work Done by a Non-Constant Force
When a force acting on an object remains constant in both magnitude and direction along a straight displacement, the work done is simply given by:
However, in most real-world scenarios, forces vary as a function of position. Common examples include the restoring force of an ideal spring, gravitational forces over astronomical distances, or aerodynamic drag forces that change with speed and position.
Because the value of the force continuously changes, we cannot multiply a single force value by the total displacement. Instead, we divide the total path into infinitesimal displacements . Over each minute displacement, the force can be considered approximately constant, yielding an infinitesimal amount of work:
Area Under the Force-versus-Displacement Curve
A fundamental method for evaluating the work done by a variable force is using a force-versus-position graph ( plotted against ).
If we approximate the total displacement from to as a sequence of small rectangular strips of width and height , the total work is approximated by the sum of their areas:
In the limit as the width of the intervals approaches zero (), this sum becomes exact and equals the area bounded by the force curve and the position axis:
- Positive Work: Regions where for positive displacement lie above the position axis and represent positive work.
- Negative Work: Regions where lie below the position axis and represent negative work done on the object.
- Net Work: The net work equals the algebraic sum of the areas (areas above the axis minus areas below the axis).
Analytical Integration and Spring Forces
Mathematically, the summation of infinitesimal work elements leads to the definite integral:
A classic application is an ideal spring adhering to Hooke's Law, where the restoring force exerted by the spring is proportional to its displacement from equilibrium:
Here, is the spring constant and is the displacement from the unstretched position ().
Work Done by the Spring
When the spring moves from an initial position to a final position , the work done by the spring force is:
Work Done by an Applied External Force
To stretch or compress the spring quasi-statically (without accelerating it), an external agent must apply an opposing force . The work done by this external force is:
Connecting Variable Work to Kinetic Energy
The Work-Energy Theorem states that the net work done by all forces acting on a particle equals the change in its kinetic energy:
This principle holds true for variable forces as well. Using Newton's second law and applying the chain rule :
Evaluating this integral yields:
Summary of Key Takeaways:
- Work done by a position-dependent force is evaluated via .
- Graphically, work corresponds to the net signed area between the curve and the displacement axis.
- Regardless of whether forces are constant or variable, the net work always equals the change in kinetic energy of the object.

