Skip to main content

Physics I course sequence · Interactive lesson

Work Along a Path

The one-axis integral assumes force and motion share a line. On a curve they do not. Cut the route into steps, keep only the force along each step, and add.

UPI-06.07 · Lesson 7 of 7 in this unit. Position is not a completion score.
Starting model: Work Along a PathA force F = (β y) î carries a particle from A at the origin to B at (2.0 m, 2.0 m). The dashed line is the straight route y = x; the solid curve is route C, y ∝ xⁿ. Three arrows sit on route C, at the points where it reaches heights 1.0 m, 1.5 m and 2.0 m; their lengths grow in proportion to that height, and none of them tilts off the x-axis. At β = 2.0 N m⁻¹ and n = 2.0, the force does 2.67 J along route C and 4.00 J along the straight line.F = (β y) î — along x only, growing with heighty (m)B (2.0 m, 2.0 m)A (0, 0)x (m)solid — route C: y ∝ x²dashed — straight line
Start with a picture. Change the model in the lab below.
1

Build the model

The route is part of the answer

The key idea

Work along a path is the sum of F·Δr over every small step of the route, written W = ∫ F·dr along the curve C.

Example. A 5.0 N force pointing east acts while a cart goes 4.0 m east and then 3.0 m north. Only the east leg counts: W = 20 J.

The complete physical model and assumptions

Work is not a property of two endpoints. It is a running total accumulated along the route the object actually travels. Cut the path into steps short enough to count as straight, take F·Δr on each — which keeps only the force component along that step's direction of travel — and add. In the limit that sum is the line integral W = ∫ F·dr, and C names the route. Sometimes the route cancels out: a constant force comes through the integral untouched, so gravity near the ground gives −mg Δy on every path. Friction never does that; it charges f for every metre travelled. Deciding which case you are in is the physics.

1The one-axis integral runs out of road

W = ∫ Fₓ dx earns its simplicity from two assumptions: the object moves along one straight axis, and the force lies along that axis too. A cart on a track satisfies both. A bead threaded on a bent wire, a ball on a curved ramp, or a charge crossing a field region satisfies neither — the direction of travel swings around as the object moves, and the force can swing independently of it. Neither one has a single fixed direction to project onto. Until you say which route was taken, the question "how much work?" has no answer to give.

2Chop the path, keep the tangential part

Cut the route into steps small enough that each counts as straight. Over a step Δr the force is effectively constant, so the constant-force result holds: ΔW = F·Δr = F Δs cos θ, with Δs the step length and θ the angle between F and that step's direction. Add the steps, shrink them, and the sum becomes W = ∫ F·dr along the curve. The dot product does its old job — keep the component along the direction of travel, discard the perpendicular part — but now afresh at every point, because θ varies along the path. A force perpendicular to the motion everywhere therefore does no work at all, however large.

3Parametrise, and it becomes an ordinary integral

To evaluate the integral, describe the path with one parameter. Time is the usual choice: write r(t) = (x(t), y(t), z(t)), note that dr = v dt, and the line integral collapses to W = ∫ F·v dt between two times — a single-variable integral of the kind you already do. Any parameter serves: use x itself when the path is a graph y(x), or an angle when the path is an arc of radius R, where ds = R dφ. In components the same statement reads W = ∫ (Fₓ dx + Fᵧ dy), with the path equation used to express one coordinate in terms of the other. The route enters through that substitution and nowhere else.

4Same endpoints, three different answers

Take a force that grows with height but always points along x: F = (βy) î with β = 1.0 N m⁻¹. Move a particle from (0, 0) to (1.0 m, 1.0 m) three ways. Across then up: on the first leg y = 0, so F = 0; on the second, F points along x while dr points along y, so F·dr = 0 — total W = 0. Up then across: the first leg again gives nothing, but on the second y is fixed at 1.0 m, so Fₓ = 1.0 N acts over 1.0 m — total W = 1.0 J. Straight diagonal, where y = x: F·dr = βx dx, so W = ∫₀¹ βx dx = ½β(1.0 m)² = 0.50 J. Same force law, same endpoints, three answers.

5Friction charges by the metre, gravity by the height

Two everyday forces sit on opposite sides of this. Kinetic friction of magnitude f always points opposite the velocity, so cos θ = −1 at every step and W = −∫ f ds = −f L for constant f, with L the length actually travelled. Take the scenic route and you pay more. Gravity near the ground is the other case: with F = −mg ĵ the dot product gives F·dr = −mg dy, every horizontal contribution vanishes, and W = −mg Δy on any path — stairs, ramp, spiral, closed loop. That path-independence defines a conservative force, and it is what lets you replace the integral with a potential energy such as U = mgy.

6When the shortcut is still legal

So when may you still write W = F s cos θ? Whenever the force is constant in magnitude and direction. Then F comes out of the integral, W = F·∫dr = F·Δr, and only the net displacement survives — the path may bend as it likes. That is why uniform gravity gives −mg Δy on any route. A straight path is not the condition; a constant force is. What kills the shortcut is a force that changes: friction turns with the velocity, so s cos θ has nothing fixed to multiply. Before you integrate, ask whether the force is constant, and if not, whether another route between the same endpoints would change the answer.

2

Key equations

Read the units, assumptions and limits before substituting.

Work along a curve

W = ∫ F·dr along path C

Add F·Δr over every tiny step of the path; the integral is that sum made exact.

C names the actual route taken; W in joules, J.

Tangential form

W = ∫ F cos θ ds

Only the force component along the direction of travel counts, and θ changes step by step.

θ is the local angle between F and the tangent; ds is arc length in m.

Components

W = ∫ (Fₓ dx + Fᵧ dy)

Written out, the dot product is nothing but these per-axis terms added together.

One term per axis, each in N·m = J; a third axis adds one more term.

Parametrised by time

W = ∫ F·v dt

Write F and v as functions of t, dot them, and integrate over time — one ordinary integral.

dr = v dt, so this is W = ∫ P dt with P = F·v in watts.

Constant force, any path

W = F·Δr = F s cos θ

A force that never changes comes out of the integral, so only the net displacement is left.

s = |Δr| in m; F must be constant in magnitude and direction.

Friction on any route

W = −∫ f ds = −f L for constant f

Friction opposes motion at every step, so every metre travelled subtracts and detours cost extra.

L is path length in m, not displacement; f = μₖN in N.

Gravity near the ground

W = −mg Δy

Horizontal parts of any path contribute nothing, so only the height change survives.

Δy in m with upward positive; the route never appears.
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

2.0 N m⁻¹
1 to 4 N m⁻¹; steps of 0.1.
2.0
0.5 to 3; steps of 0.1.

Try this. Set n = 1 and route C lands on the dashed line; raise n and the route hugs the floor, spending its x-travel where the force is weak, so the work falls below the straight-line value.

Live results

WORK ALONG C
2.67 J
WORK, STRAIGHT LINE
4.00 J
W(C) − W(LINE)
-1.33 J
W(C) ÷ W(LINE)
0.67

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics I modelA force F = (β y) î carries a particle from A at the origin to B at (2.0 m, 2.0 m). The dashed line is the straight route y = x; the solid curve is route C, y ∝ xⁿ. Three arrows sit on route C, at the points where it reaches heights 1.0 m, 1.5 m and 2.0 m; their lengths grow in proportion to that height, and none of them tilts off the x-axis. At β = 2.0 N m⁻¹ and n = 2.0, the force does 2.67 J along route C and 4.00 J along the straight line.F = (β y) î — along x only, growing with heighty (m)B (2.0 m, 2.0 m)A (0, 0)x (m)solid — route C: y ∝ x²dashed — straight line
A force F = (β y) î carries a particle from A at the origin to B at (2.0 m, 2.0 m). The dashed line is the straight route y = x; the solid curve is route C, y ∝ xⁿ. Three arrows sit on route C, at the points where it reaches heights 1.0 m, 1.5 m and 2.0 m; their lengths grow in proportion to that height, and none of them tilts off the x-axis. At β = 2.0 N m⁻¹ and n = 2.0, the force does 2.67 J along route C and 4.00 J along the straight line.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Force gradient β: 2.0 N m⁻¹; Route exponent n: 2.0

Baseline 2.0; choose 1 to 4, in steps of 0.1.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

The reflex is W = F s cos θ with s the straight-line gap between the endpoints, whatever route was taken. The shortcut's real condition is not a straight path — it is a constant force. Pull a constant F out of the integral and any route gives F·Δr, which is why uniform gravity gives −mg Δy on stairs, ramp or spiral alike. Friction is the opposite case: it turns with the velocity, so it is never constant, and it charges for every metre travelled, which makes a detour genuinely cost more. The mirror error is then to decide that all work is route-dependent. Name the force before you pick the case.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

A constant force F = (12 N) î + (5.0 N) ĵ acts on a crate that is dragged 4.0 m east, then 3.0 m north. Find the work done, and check the answer against W = F s cos θ.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

MediumExample 2

A 4.0 kg box is pushed at steady speed across a level floor (μₖ = 0.25) along a quarter-circle arc of radius 2.0 m. Find the work done by friction, and compare it with the straight route between the same two points. Take g = 9.81 m s⁻².

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

HardExample 3

A force F = (βy) î with β = 4.0 N m⁻¹ acts on a bead carried from (0, 0) to (2.0 m, 2.0 m). Find the work along (a) the straight line y = x and (b) the parabola y = x²/(2.0 m).

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

6

Quick check

Select an answer and explain it before checking.

A 2.0 kg block is pulled horizontally at steady speed between points 3.0 m apart (μₖ = 0.30): straight, then round a semicircle on that line. Friction's work?
7

Review & continue

Work along a path is the sum of F·Δr over every small step of the route, written W = ∫ F·dr along the curve C.

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.