STATICS AND DYNAMICS • DYNAMICS

Computing Work — Compute work done by forces and moments along a path

Master the line-integral framework for quantifying energy transfer by forces and moments in engineering systems.

Historical Context & Motivation

The concept of mechanical work arose from centuries of effort to quantify how forces produce useful effects—lifting loads, accelerating projectiles, and driving machinery. Before a formal energy framework existed, engineers and natural philosophers relied on loosely defined notions like vis viva (living force) and the "quantity of action" to compare machines. The systematic definition of work as the scalar product of force and displacement along a path ultimately unified these ideas, providing a bridge between Newtonian mechanics and the emerging science of thermodynamics. Understanding the path-dependent and path-independent cases of work computation remains central to dynamics, energy methods, and the design of real engineering systems.

1687
Newton's Principia
Isaac Newton formalized the three laws of motion, establishing force as the fundamental quantity. Although he did not define "work" explicitly, his second law provided the mathematical scaffold on which the work–energy relationship was later built.
1829
Coriolis Defines Work
Gaspard-Gustave de Coriolis provided an influential and precise definition of work as force times displacement in Du Calcul de l'Effet des Machines, coining the term "work" (travail) and providing the integral formulation engineers still use today. His contemporary Jean-Victor Poncelet independently developed similar energy methods for machine analysis, and Thomas Young had earlier coined the term "energy" in 1807.
1843
Joule's Mechanical Equivalent of Heat
James Prescott Joule demonstrated quantitative equivalence between mechanical work and heat, firmly linking the work concept to the broader energy conservation principle and motivating the SI unit that bears his name.
1867
Thomson & Tait's Treatise on Natural Philosophy
In their Treatise on Natural Philosophy, Lord Kelvin and Peter Guthrie Tait presented a systematic and rigorous treatment of energy methods in mechanics, including the work–energy theorem. The theorem itself had been established in various forms by mid-century; Thomson & Tait's contribution was a comprehensive and authoritative synthesis that shaped how the subject was taught for generations.
1900s
Modern Computational Methods
The development of virtual work, Lagrangian mechanics, and finite-element methods extended work computation to complex multi-body systems, enabling the analysis of robotic arms, spacecraft, and structural systems along arbitrary paths.

The central question this lesson addresses is both practical and theoretical: given a force or moment that varies in magnitude and direction as a body moves along a curved path, how do we rigorously compute the total work done? Answering this requires the machinery of line integrals, dot products, and a clear distinction between translational and rotational contributions to energy transfer.

Core Principles & Definitions

Computing work in dynamics rests on several interconnected ideas. At the most fundamental level, work is a scalar measure of energy transfer: it tells us how much energy a force or moment adds to (or removes from) a system as the system moves through a finite displacement. The following principles form the foundation for every work computation you will encounter in dynamics.

1

Work of a Force

The work done by a force F on a particle as it moves along a path C is the line integral W = ∫C F · dr. Only the component of force tangent to the path contributes.
2

Work of a Moment (Couple)

For a rigid body undergoing rotation, a moment M does work W = ∫ M · dθ, where dθ is the differential angular displacement about the axis of the moment. This is the rotational analog of force-displacement work.
3

Path Dependence vs. Independence

Work is generally path-dependent: friction and drag forces yield different work values for different paths between the same endpoints. Conservative forces (gravity, elastic springs) are the exception—their work depends only on the endpoints.
4

Work–Energy Theorem

The net work done on a particle equals its change in kinetic energy: ΣW = ΔT = ½mv₂² − ½mv₁². For rigid bodies, both translational and rotational kinetic energies must be considered.
5

Superposition of Work

When multiple forces and moments act on a system, the total work is the algebraic sum of the work done by each individual force and moment. This linearity is inherited from the dot product and integral operations.
KEY TAKEAWAY
Think of work as a "force odometer." Just as an odometer measures how far a car travels regardless of direction, the work integral accumulates only the component of force that pushes along the actual direction of travel. A perpendicular force—like a centripetal force on a car rounding a curve—spins the steering wheel but registers zero on the work odometer, because it never acts in the direction of motion.

Visual Explanation — Force Along a Curved Path

The diagram shows a particle moving along a curved path C from s₁ to s₂. At an arbitrary point P the force F (pink) makes an angle θ with the tangent direction. The differential displacement dr (amber) is tangent to the path. Only the tangential component F cos θ (cyan) contributes to work; the normal component does zero work.

The diagram above captures the essential geometry of the work integral. At every infinitesimal segment of the path, the differential work is dW = F · dr = F cos θ ds, where ds = |dr| is the arc-length increment and θ is the instantaneous angle between the force and the tangent. When the force opposes motion (θ > 90°), cos θ is negative and the force does negative work, extracting energy from the system. The total work is obtained by integrating dW over the entire path. In Cartesian form, if F = Fx î + Fy ĵ + Fz k̂, then W = ∫(Fx dx + Fy dy + Fz dz), which is the form most useful when the path is given parametrically.

Mathematical Framework

We now formalize the work definitions for both forces and moments, present the key special cases, and connect the results to the work–energy theorem. Mastery of these equations is essential for every energy-method problem in dynamics.

WORK OF A FORCE (GENERAL)
W₁₋₂ = ∫₁² F · dr = ∫₁² (Fₓ dx + F_y dy + F_z dz)
W₁₋₂ = work from position 1 to position 2 (J or ft·lb); F = force vector (N or lb); dr = differential position vector along the path. The integral is path-dependent in general.
WORK OF A MOMENT (COUPLE)
W₁₋₂ = ∫_{θ₁}^{θ₂} M · dθ = ∫_{θ₁}^{θ₂} M_z dθ (for rotation about a fixed axis z)
M = moment or torque (N·m or ft·lb); dθ = differential angular displacement (rad). For a constant moment, this simplifies to W = Mz(θ₂ − θ₁).
WORK OF GRAVITY
W_gravity = −mg Δy = −mg(y₂ − y₁)
This formula uses a signed elevation convention: y is positive upward, and Δy = y₂ − y₁ is the signed change in height. The result is positive when the body descends (y₂ < y₁, so Δy < 0). Equivalently, if Δh denotes the magnitude of a downward drop (Δh > 0), then W_gravity = +mg Δh for a descending body — both expressions are consistent when sign conventions are applied carefully.
WORK OF A SPRING FORCE
W_spring = ½ k s₁² − ½ k s₂²
k = spring stiffness (N/m); s₁ and s₂ are the initial and final deformations (stretch or compression) measured from the natural length. Positive work when the spring returns toward its natural length.

The work–energy theorem ties all of these together. For a particle, ΣW₁₋₂ = T₂ − T₁ where T = ½mv². For a rigid body in general plane motion, ΣW₁₋₂ = ½mvG₂² − ½mvG₁² + ½IGω₂² − ½IGω₁², which accounts for both translational and rotational kinetic energy changes. This theorem is the primary reason for computing work in dynamics: once you know the total work done on a system, you can solve for unknown velocities, angular velocities, or the forces themselves.

Sign Convention Reminder
Work is positive when the force (or moment) acts in the same direction as the displacement (or angular displacement). A friction force always opposes motion, so the work of friction is always negative. Be consistent: define a positive direction for your path parameter and compute F · dr accordingly.

Detailed Breakdown — Types of Work in Dynamic Systems

In a typical dynamics problem, several forces and moments act simultaneously. Organizing them by type—conservative versus non-conservative, translational versus rotational—streamlines the calculation. The following diagram and table classify the most common force types and their associated work expressions.

This classification tree organizes the forces and moments in a dynamic system. Conservative forces (green) yield path-independent work that can be expressed via potential energy. Non-conservative forces (red) require explicit path integration. Rotational work (cyan) from moments is shown at the bottom. All contributions sum to satisfy the work–energy theorem.
Summary of work expressions for common forces and moments in dynamics
Force / Moment TypeWork ExpressionPath Dependent?Notes
Constant force FW = F · d (dot product)Depends on F typed = displacement vector from start to end
Weight (gravity)W = −mg(y₂ − y₁)NoOnly vertical displacement matters
Linear spring (k)W = ½k(s₁² − s₂²)Nos measured from natural length
Kinetic friction (μkN)W = −μkN × (total distance)YesAlways negative; depends on total sliding distance, not net displacement
Variable force F(s)W = ∫ F · drGenerally yesMust parameterize path and integrate
Constant moment MW = M(θ₂ − θ₁)Depends on M typeθ in radians; positive when M and Δθ same sense
Torsional spring (kt)W = ½kt(θ₁² − θ₂²)NoAnalog of linear spring; θ from undeformed position

Worked Example — Block on a Curved Ramp with Friction and a Spring

A 5-kg block slides from rest down a curved ramp, dropping through a vertical height of 3 m. At the bottom of the ramp, the block contacts a horizontal spring (k = 800 N/m) and compresses it by 0.25 m before momentarily stopping. The total sliding distance along the ramp is 5 m. A constant kinetic friction coefficient μk = 0.2 acts along the ramp (assume a constant normal force equal to mg cos 37° ≈ 39.2 N for the curved section). Additionally, a motor applies a constant torque of 4 N·m to a pulley (radius 0.1 m) attached to the block by a cable, assisting gravity over a pulley rotation of 15 rad. Determine the velocity of the block just before it contacts the spring.

Block on Curved Ramp with Friction, Spring, and Motor Torque
1
Step 1 — Identify the System and StatesDefine state 1 as the block at rest at the top of the ramp (v₁ = 0) and state 2 as the instant the block first contacts the spring (v₂ = unknown). The spring compression phase is a separate sub-problem; here we focus on the ramp descent. The sliding distance from top to spring contact is dramp = 5 m, and the height drop is Δh = 3 m.
v₁ = 0, v₂ = ?
2
Step 2 — Work of GravityThe work done by gravity depends only on the vertical displacement. Using the formula Wgravity = −mg(y₂ − y₁): since the block descends by Δh = 3 m, we have y₂ − y₁ = −3 m (taking upward as positive y), so Wgravity = −mg(−3) = +mg(3) = 5 × 9.81 × 3 = +147.15 J. Equivalently, writing Δh as the positive magnitude of the drop: Wgravity = +mgΔh = +147.15 J. Both expressions give the same positive result, confirming the block gains energy from gravity as it descends.
Wgravity = +147.15 J
3
Step 3 — Work of FrictionFriction opposes motion along the entire sliding distance. The friction force is f = μkN = 0.2 × 39.2 = 7.84 N. The work of friction is Wfriction = −f × d = −7.84 × 5 = −39.20 J. This is negative because friction always removes energy from the system.
Wfriction = −39.20 J
4
Step 4 — Work of the Motor TorqueThe motor applies a constant moment M = 4 N·m through an angular displacement Δθ = 15 rad. The work of the moment is Wmotor = M Δθ = 4 × 15 = 60 J. This is positive because the torque assists the block's motion (the cable pulls in the direction of travel).
Wmotor = +60.00 J
5
Step 5 — Apply the Work–Energy TheoremΣW = T₂ − T₁. Since v₁ = 0, T₁ = 0. Therefore ΣW = ½mv₂². Summing all work contributions: ΣW = 147.15 − 39.20 + 60.00 = 167.95 J. Hence ½(5)v₂² = 167.95, giving v₂² = 67.18 m²/s², so v₂ = √67.18 ≈ 8.20 m/s.
v₂ ≈ 8.20 m/s
6
Step 6 — Check with Spring Compression (Verification)We can verify internal consistency by applying the work–energy theorem over the spring-compression phase alone (state 2 → state 3, v₃ = 0). During compression, the spring does Wspring = −½k s² = −½(800)(0.25)² = −25 J, and friction over the 0.25 m compression distance does Wf,comp = −μkN × 0.25 = −7.84 × 0.25 = −1.96 J (friction acts on the horizontal surface; if the normal force equals mg = 49.05 N on the flat, then Wf,comp = −0.2 × 49.05 × 0.25 = −2.45 J). The motor torque is assumed to act only during the ramp descent, so Wmotor = 0 during compression. Applying ΣW = T₃ − T₂: −25 − 2.45 = 0 − ½(5)(8.20)². Checking: −27.45 ≈ −167.95, which does not balance. This result correctly signals that the phase-2 friction work alone cannot account for the large kinetic energy at state 2—the motor and gravity on the ramp supplied 167.95 J, and only 27.45 J is dissipated during spring compression, meaning the block would not actually stop after 0.25 m of compression with these parameters. In a fully consistent problem the spring stiffness, compression distance, and ramp work must all satisfy the state-2 → state-3 energy balance. For this example the ramp-to-contact velocity (state 2) is the correctly solved quantity; the spring-compression distance given is an independently stated endpoint, not derived from the ramp solution. Always check that all stated parameters are mutually consistent before accepting a final answer.

Strengths & Limitations of the Work–Energy Method

The work–energy approach is one of the most powerful tools in dynamics, but it is not universally superior to Newton's second law or impulse-momentum methods. Understanding when to reach for the work integral—and when a different method is more efficient—is a hallmark of engineering judgment.

When the work–energy method excels and when alternative approaches may be preferable
StrengthsLimitations
Scalar equation — no need to resolve forces into x and y components or track directions at every point along a curve.Cannot determine accelerations or reaction forces directly; only relates velocities (or angular velocities) at two states.
Naturally handles variable forces and curved paths through integration, without requiring equations of motion for each instant.Provides no information about time — you cannot find when the system reaches a certain speed without additional analysis.
Conservative forces yield path-independent work, simplifying computation enormously for gravity and spring problems.Path-dependent forces (friction, drag) require knowledge of the complete trajectory, which may itself be unknown.
Easily extended to rigid-body systems by including rotational kinetic energy and moment work.For systems with internal constraints and multiple bodies, free-body diagrams and Newton–Euler equations may still be needed to find internal forces.
🔧 WHEN TO USE WORK–ENERGY
Use the work–energy theorem when you know (or can compute) all forces along the path and you need to find a velocity or speed at a different position. Think of it as an energy accountant's balance sheet: credit each force that adds energy, debit each force that removes it, and the net balance equals the change in the kinetic-energy "bank account." If the problem asks for a time or an acceleration at a specific instant, switch to Newton's second law or impulse-momentum instead.

Connection to Advanced Theory — Virtual Work, Lagrangian Mechanics, and Power

The work integral you have learned is the gateway to several advanced frameworks in engineering mechanics. Understanding these connections prepares you for courses in vibrations, analytical dynamics, and finite-element analysis.

How basic work computation connects to advanced dynamics frameworks
ConceptBasic Work FormulationAdvanced Extension
PowerW = ∫ F · dr (total energy transferred)P = dW/dt = F · v (instantaneous rate of energy transfer). For moments: P = M · ω. Critical for motor sizing and thermal design.
Potential EnergyWcons = −ΔV (work of conservative forces)Energy conservation: T₁ + V₁ = T₂ + V₂ (when only conservative forces act). Enables equilibrium stability analysis.
Virtual WorkW = ∫ F · dr along actual pathδW = F · δr along imaginary (virtual) displacement. Used in statics for multi-body equilibrium without solving for internal reactions.
Lagrangian MechanicsWork–energy theorem for single particles/rigid bodiesL = T − V. Lagrange's equations derive from the same energy principles but handle generalized coordinates, constraints, and multi-body systems elegantly.

The concept of power deserves special emphasis: it is the time derivative of work, P = dW/dt = F · v for translational motion and P = M · ω for rotational motion. Engineers use power to size motors, generators, and brakes. If a motor must lift a 500-kg mass at 2 m/s, the required power is P = (500 × 9.81)(2) ≈ 9810 W ≈ 13.2 hp. Looking ahead, the Lagrangian framework replaces the explicit work integral with energy functions (kinetic and potential), deriving equations of motion via calculus of variations rather than direct force integration—a far more scalable approach for complex systems like robotic manipulators, satellites, and vibrating structures.

Practice Problems

PROBLEM 1CONCEPTUAL
A particle moves along a closed circular path and returns to its starting point. If the only force acting on it is gravity, what is the total work done by gravity over the complete loop? Explain your reasoning in terms of conservative forces and path independence.
PROBLEM 2BASIC CALCULATION
A 10-kg crate is pulled 6 m along a horizontal surface by a constant force of 80 N applied at 30° above the horizontal. The coefficient of kinetic friction is μk = 0.25. Calculate the net work done on the crate and its final speed if it starts from rest.
PROBLEM 3INTERMEDIATE
A 2-kg collar slides along a frictionless curved rod in the vertical plane. At position A (height hA = 1.5 m), the collar has a speed of 3 m/s. A spring (k = 500 N/m, natural length 0.4 m) connects the collar to a fixed point. At A the spring length is 0.6 m; at B (height hB = 0.5 m) the spring length is 0.8 m. Find the speed at B.
PROBLEM 4APPLIED
A motor drives a winch drum (radius R = 0.15 m, mass moment of inertia IG = 0.8 kg·m²) to lift a 50-kg load. The motor exerts a constant torque of 120 N·m. A friction moment of 15 N·m opposes rotation at the drum bearing. Starting from rest, determine the angular velocity of the drum after it rotates 10 revolutions and the corresponding velocity of the load.
PROBLEM 5CRITICAL THINKING
A force F = (3xy) î + (2x²) ĵ (in newtons, with x, y in meters) acts on a particle that moves from the origin O(0,0) to point A(2,4). (a) Compute the work done along the straight-line path y = 2x. (b) Compute the work along the parabolic path y = x². (c) Is this force conservative? Justify mathematically.

Summary — Computing Work Done by Forces and Moments Along a Path

Computing work in dynamics centers on the line integral W = ∫ F · dr for forces and W = ∫ M · dθ for moments. Only the component of force tangent to the path (or the component of moment aligned with the angular displacement axis) contributes. Conservative forces (gravity, elastic springs) produce path-independent work that can be recast as potential energy changes, while non-conservative forces (friction, drag) are inherently path-dependent and always require knowledge of the trajectory.

The work–energy theorem (ΣW = ΔT) ties all work contributions together, equating net work to the change in kinetic energy — both translational (½mv²) and rotational (½Iω²) for rigid bodies. Special cases for gravity (W = −mgΔy), springs (W = ½k s₁² − ½k s₂²), and constant moments (W = MΔθ) streamline calculations. Mastery of these formulations is essential for solving velocity and speed problems in dynamics, and it paves the way for power analysis, virtual work, and Lagrangian mechanics in advanced coursework.

Varsity Tutors • Statics and Dynamics • Computing Work — Compute work done by forces and moments along a path