Sub topic 2
Work by a variable force and area under the F-x graph
This chapter assumes you know W = F d cos θ for a constant force, the dot product, and the integral of simple powers such as ∫xⁿ dx. It extends work to forces that change with position.
From constant to variable force
For a constant force along a straight line, W = F·d. This formula fails when F changes as the body moves, because no single value of F applies to the whole displacement.
The fix is to split the path into tiny steps dx. Over each step the force is nearly constant, so the work is dW = F dx. Adding all the steps gives an integral:
W = ∫ F dx, taken from x₁ to x₂
For motion along a line with a force in the same direction, this is the whole rule. In general, dW = F·dr, so only the force component along the displacement counts.
Area under the F-x graph
The integral ∫ F dx is the area between the F-x curve and the x-axis. This gives a graphical shortcut that NEET uses often.
- Area above the x-axis (F positive) is positive work.
- Area below the x-axis (F negative) is negative work.
- Net work is the sum of the signed areas, not the sum of the absolute areas.
Worked example 1: a graph
A force rises linearly from 0 N at x = 0 to 10 N at x = 4 m. It then stays constant at 10 N until x = 8 m.
- Triangle: ½ × 4 × 10 = 20 J
- Rectangle: 4 × 10 = 40 J
- Total: W = 60 J
Worked example 2: a formula
A force F = 3x² (in N, with x in m) acts along the x-axis. Find the work from x = 1 m to x = 3 m.
from scipy.integrate import quad
def F(x):
return 3 * x ** 2 # newton
W, _ = quad(F, 1, 3)
print(round(W, 2)) # 26.0By hand: W = ∫ 3x² dx = [x³] from 1 to 3 = 27 − 1 = 26 J.
Spring force as a variable force
A spring exerts F = −kx. To stretch it slowly, you apply +kx. The area under this line is a triangle:
W = ½ × x × kx = ½ k x²
This result reappears later as elastic potential energy.
Common errors
- Using F·d with an average of the end values when the graph is not a straight line. The average-force shortcut works only for linear variation.
- Forgetting that x must be position, not time. An F-t graph gives impulse, not work.
- Mixing units, such as centimetres with newtons, before computing the area.
Exercise
A force F = (2x + 1) N acts on a body along the x-axis. Find the work done in moving it from x = 0 to x = 3 m.
Show answer
W = ∫(2x + 1) dx from 0 to 3 = [x² + x] from 0 to 3 = 9 + 3 = 12 J. As a check, the graph is a trapezoid with parallel sides 1 N and 7 N and width 3 m, so the area is ½ × (1 + 7) × 3 = 12 J.
Exercise
A force graph shows +8 N from x = 0 to 2 m, then −4 N from x = 2 m to 5 m. Find the net work.
Show answer
Positive area = 8 × 2 = 16 J. Negative area = −4 × 3 = −12 J. Net work = 16 − 12 = 4 J.