Work Done by a Constant Force and a Variable Force
Quick answer Work is the dot product of force and displacement; for a force that changes with position, work equals the area under the force-displacement graph.
Work is done on a body when a force applied to it produces a displacement. Work is a scalar quantity defined as the dot product of the force vector and the displacement vector.
For a constant force F acting on a body that undergoes a displacement d, making an angle θ with the force, the work done is:
W = F d cosθ
Three special cases follow directly from the cosθ factor:
- If 0° ≤ θ < 90°, cosθ is positive, so the work done is positive (e.g. gravity doing work on a falling stone).
- If θ = 90°, cosθ = 0, so the work done is zero (e.g. work done by tension on a body moving in a circle, or by gravity on a body moving horizontally).
- If 90° < θ ≤ 180°, cosθ is negative, so the work done is negative (e.g. work done by friction opposing motion, or work done by gravity on a body that is being lifted upward, since the gravitational force acts downward while the displacement is upward).
When the force is not constant — for example, the force exerted by a stretched spring, which grows with extension — the displacement is divided into a large number of infinitesimally small steps dx, over each of which the force F(x) may be treated as constant. The work done over one such small step is dW = F(x) dx, and the total work done moving from x1 to x2 is obtained by integrating these small contributions:
W = ∫ F(x) dx, integrated from x = x1 to x = x2
Graphically, if F(x) is plotted against x, this integral is exactly the area enclosed between the F-x curve and the x-axis between x1 and x2. This is the standard way to compute work for a variable force in board exams.
Worked Example 1 (constant force):
Given: A force of 10 N is applied on a block at an angle of 60° to the horizontal, producing a horizontal displacement of 5 m.
Formula: W = F d cosθ
Substitution: W = 10 × 5 × cos60° = 10 × 5 × 0.5
Result: W = 25 J
Worked Example 2 (variable force, area under graph):
Given: A force F(x) = (3x + 2) N acts on a particle as it moves from x = 0 to x = 2 m.
Formula: W = ∫F(x)dx from 0 to 2 = [1.5x2 + 2x] from 0 to 2
Substitution: W = (1.5 × 22 + 2 × 2) − 0
Result: W = (6 + 4) J = 10 J
- Work is a scalar quantity; its SI unit is the joule (J) = N·m = kg·m²·s⁻².
- W = F d cosθ for a constant force; the sign of work depends only on angle θ.
- For a variable force, work equals ∫F dx — the area under the F-x graph.
- Work done by a force perpendicular to displacement is always zero.
- Work can be positive, negative, or zero depending on the direction of force relative to displacement.
