If the force F is not a constant, the work
done by this force can be derived using integration over the path.
Suppose an object moves along the x-axis in the positive direction from
x = a to x = b. At each point between a and b a force f(x) acts on the
object, where f is a continuous function. First divide [a, b] into
n small subintervals, so the typical interval is [xi, xi +
dx]. Let xi* be a point in this interval. The
force at this point will be f(xi*).
When this object moves from xi to xi+ dx, the work
done by force f(x) can be approximated as
dW = f(xi*) dx
Using Riemann sum, the total work done by f(x) from x = a to x = b can be approximated as
This approximation becomes better as n becomes larger. The work done
in moving the object from a to b is defined as the limiting value of this quantity as n approaches infinite, and it is a
definite integral:
If the force and the moving direction has an angle θ, the work done by the force is
|