01 / 21
W

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.

Statics and Dynamics

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.

Positive Work
Force component along motion: object speeds up or gains energy.
Negative Work
Force component opposing motion: object slows down or loses energy.
Zero Work
Force perpendicular to motion: no energy is transferred.

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.

\( \mathbf{d} \) (displacement) \( \mathbf{F} \) \( \theta \) \( F\sin\theta \) \( F\cos\theta \)

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.

1
Work-Energy Theorem: The net work on a particle equals its change in kinetic energy: \( W_{\text{net}} = \Delta KE \).
2
Power: Work per unit time gives power: \( P = \dfrac{dW}{dt} \), linking work to machine performance.
3
Virtual Work: In statics, the principle of virtual work helps solve equilibrium problems that are otherwise complex.

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.

Scalar Form
\( W = Fd\cos\theta \) when you know the magnitudes and the angle between them.
Component Form
\( W = F_x d_x + F_y d_y + F_z d_z \) when you know the Cartesian components.

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.

A B \( d\mathbf{r} \) \( \mathbf{F} \) Path C from A to B

Work Done by a Moment

A moment (torque) can also do work, but instead of linear displacement it acts through an angular displacement.

\( \Delta\theta \) \( M \) initial final

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

1
Identify the force (or moment). Draw a free-body diagram. Determine if the force is constant or variable along the path.
2
Define the path. Establish a coordinate system and parameterize the displacement (\(d\mathbf{r}\) or \(d\theta\)).
3
Set up the dot product. Compute \(\mathbf{F}\cdot d\mathbf{r}\) (or \(M\,d\theta\)) in terms of a single variable.
4
Integrate (or multiply). For constant force: multiply. For variable force: integrate over the path limits.
5
Check the sign. Positive = energy added to the system. Negative = energy removed.

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.

crate \( d = 6\;\text{m} \) \( T = 50\;\text{N} \) \( 30^\circ \)

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.

m natural \( x = 0.3\;\text{m} \) \( F_s \)

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

✕ Using Degrees for Moments
Angular displacement in \( W = M\Delta\theta \) must be in radians, not degrees or revolutions.
✕ Forgetting \(\cos\theta\)
Multiplying \(F \times d\) without accounting for the angle between them overstates the work.
✕ Wrong Sign on Spring Work
The spring force is \(-kx\). Integrating \(+kx\) gives work on the spring, not by it.
✕ Ignoring Path Dependence
Non-conservative forces (friction) have path-dependent work. You cannot simply use endpoint displacements.
✕ Mixing Up \(d\mathbf{r}\)
When parameterizing a curved path, forgetting to express both \(dx\) and \(dy\) in terms of one variable.

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?