Work Done by a Variable Force
The problem with variable forces
The formula works only when force is constant. In many real situations, force changes as the body moves — a spring, gravity near a planet, an electric force.
For a variable force, we cannot simply multiply force by displacement. We need calculus.
Building the integral
Divide the total displacement from to into many tiny intervals . Over each tiny interval, the force is approximately constant (since is infinitesimally small).
Work done in each tiny interval:
Total work = sum of all tiny pieces:
Geometric meaning
The integral is the area under the force-displacement graph between and .
- Area above the -axis (force in direction of motion): positive work
- Area below the -axis (force opposing motion): negative work
- Net work = algebraic sum of all areas
This geometric interpretation is extremely useful — many problems can be solved by finding areas of simple shapes (rectangles, triangles, trapezoids) without explicit integration.
Example: Spring force
For a spring with spring constant , force (restoring, opposing displacement).
Work done by spring as body moves from to :
Negative — the spring does negative work as it is stretched (it resists the stretching).
Example: Gravity near Earth's surface
(downward, taking upward as positive).
Work done by gravity as body moves from height to height :
Negative — gravity does negative work when the body moves upward.
Work done by gravity as body moves downward by (from to ):
Positive — gravity does positive work on a falling body.
Reducing to the constant force case
If is constant (does not depend on ):
Consistent with the constant-force formula for .