Computing Work
Learn how forces and moments do work along a path: from the dot product to line integrals, master the energy transfer that drives every mechanical system.
What Is Work?
In mechanics, work measures how much energy a force transfers to (or from) an object as it moves. It is not the force alone, and not the displacement alone: it is the interaction between the two.
The Dot Product Foundation
Work by a constant force over a straight-line displacement is computed using the dot product. Only the component of force along the displacement does work.
Why Work Matters
Work connects force analysis (statics/dynamics) to energy methods. Instead of tracking accelerations, you can often solve a problem faster by computing the total work done.
Core Formula: Constant Force
When a force \(\mathbf{F}\) is constant and the path is a straight line displacement \(\mathbf{d}\), work takes its simplest form.
Variable Force: Line Integral
When the force varies along the path, or the path is curved, you must integrate. Break the path into infinitesimal segments \(d\mathbf{r}\) and sum each tiny contribution of work.
Work Done by a Moment
A moment (torque) can also do work, but instead of linear displacement it acts through an angular displacement.
Force Work vs. Moment Work
| Force Work | Moment Work | |
|---|---|---|
| General formula | \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}\) | \(\displaystyle\int_{\theta_1}^{\theta_2} M\,d\theta\) |
| Constant case | \(Fd\cos\theta\) | \(M\Delta\theta\) |
| Displacement type | Linear (\(\mathbf{d}\) in m) | Angular (\(\theta\) in rad) |
| Units | N·m = J | N·m·rad = J |
| Sign convention | \(\mathbf{F}\) along \(\mathbf{d}\) → positive | \(M\) along \(\Delta\theta\) → positive |
How to Compute Work
Example 1: Constant Force at an Angle
A crate is pulled 6 m across a floor by a rope with tension \(T = 50\;\text{N}\) at \(\theta = 30^\circ\) above the horizontal. Find the work done by the tension.
Example 2: Component Form
A force \(\mathbf{F} = (3\hat{\mathbf{i}} - 2\hat{\mathbf{j}} + 5\hat{\mathbf{k}})\;\text{N}\) acts on a particle that moves from the origin to point \((4, 1, -2)\;\text{m}\). Find the work.
Example 3: Variable Force (Spring)
A spring with stiffness \(k = 200\;\text{N/m}\) is compressed from its natural length by \(x = 0.3\;\text{m}\). Find the work done by the spring force as it returns to its natural length.
Example 4: Work by a Constant Moment
A motor applies a constant torque of \(M = 40\;\text{N·m}\) to a shaft. The shaft rotates through \(\Delta\theta = 5\;\text{rev}\). Find the work done.
Work Along a Curved Path
A particle moves along the parabolic path \( y = x^2 \) from \((0,0)\) to \((2,4)\), subject to force \(\mathbf{F} = (2x\hat{\mathbf{i}} + 3\hat{\mathbf{j}})\;\text{N}\). Find the work.
Common Mistakes
Summary of Work Formulas
| Scenario | Formula | Key Notes |
|---|---|---|
| Constant force, straight line | \( Fd\cos\theta \) | Simplest case |
| Constant force, components | \( F_x d_x + F_y d_y + F_z d_z \) | Use when vectors are given |
| Variable force, curved path | \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}\) | Parameterize the path |
| Spring force | \(\frac{1}{2}k(x_1^2 - x_2^2)\) | Work by spring from \(x_1\) to \(x_2\) |
| Constant moment | \(M\Delta\theta\) | \(\theta\) must be in radians |
| Variable moment | \(\displaystyle\int_{\theta_1}^{\theta_2} M\,d\theta\) | When torque depends on \(\theta\) |
Question 1 of 5
A force of \(80\;\text{N}\) is applied at \(60^\circ\) to the horizontal and pulls a box \(5\;\text{m}\) along the floor. What is the work done by this force?
Question 2 of 5
A force \(\mathbf{F} = (4\hat{\mathbf{i}} + 3\hat{\mathbf{j}})\;\text{N}\) displaces an object by \(\mathbf{d} = (2\hat{\mathbf{i}} - 5\hat{\mathbf{j}})\;\text{m}\). What work is done?
Question 3 of 5
A spring with \(k = 500\;\text{N/m}\) is stretched from \(x_1 = 0.1\;\text{m}\) to \(x_2 = 0.4\;\text{m}\). What is the work done by the spring during this stretch?
Question 4 of 5
A torque of \(25\;\text{N·m}\) turns a wheel through \(3\;\text{revolutions}\). How much work is done?
Question 5 of 5
A particle moves from \((0,0)\) to \((3,9)\) along \(y = x^2\) under force \(\mathbf{F} = (y\,\hat{\mathbf{i}} + x\,\hat{\mathbf{j}})\;\text{N}\). What is the work done?