Work by a Variable Force and the Dot Product

AP Physics C: Mechanics · Unit 3 — Work, Energy, and Power

The general definition of work

In Physics C the formula $W=Fd\cos\theta$ is only a special case. The definition that always holds is an integral of a dot product along the path:

$$W=\int_{i}^{f}\vec{F}\cdot d\vec{r}$$

For one-dimensional motion along $x$ this collapses to

$$W=\int_{x_i}^{x_f}F(x)\,dx$$

which is the signed area under the graph of $F$ versus $x$ — area below the axis counts as negative work.

The dot product

$$\vec{F}\cdot d\vec{r}=F_x\,dx+F_y\,dy+F_z\,dz=|\vec{F}|\,|d\vec{r}|\cos\theta$$

Work is a scalar. A force component perpendicular to the displacement contributes nothing, which is why the normal force and any centripetal force never do work.

Work-energy theorem, derived

Start from Newton's second law and change the variable of integration:

$$W_{\text{net}}=\int F\,dx=\int m\frac{dv}{dt}\,dx=\int m\,v\,dv=\tfrac12mv_f^2-\tfrac12mv_i^2=\Delta K$$

The step $\dfrac{dv}{dt}dx=\dfrac{dv}{dt}\dfrac{dx}{dt}dt=v\,dv$ is the whole trick, and readers are expected to reproduce it.

x F level F(x2) — times the distance gives the WHOLE rectangle W = integral of F dx = the blue shaded part x1 x2 Each thin slice dx contributes dW = F(x) dx. Add up all the slices to get the work. Taking a single value of F times the distance measures the wrong thing: the rectangle.
Work is an area, not a multiplication. The blue region is $\int_{x_1}^{x_2}F(x)\,dx$ — the accumulation of countless thin slices $F(x)\,dx$. The red dashed horizontal line at the level $F(x_2)$ shows what happens when someone takes a single force value times the distance: the result is the whole rectangle, much larger than the blue part. For a force that increases, that multiplication always gives an overestimate; for a decreasing force it always falls short. Only when the graph is horizontal do the two methods coincide — and that is exactly the case of constant $F$.

Worked example: force increasing with position

A force along the $x$ axis has magnitude $F(x)=(4x+2)$ N, with $x$ in meters. Compute the work this force does as the object moves from $x=0$ to $x=3$ m, and compare it with the incorrect result obtained by taking the force at the end point times the distance.

Solution

The force varies with position, so we must integrate:

$$W=\int_{0}^{3}(4x+2)\,dx=\Big[2x^2+2x\Big]_{0}^{3}=(18+6)-0=24\ \text{J}$$

If someone takes the force at the end point, $F(3)=14$ N, and multiplies by the distance of $3$ m, they get $42$ J — nearly double the truth, because that multiplication measures the area of a rectangle $14$ N tall rather than the true trapezoid.

Check another way: the graph of $F$ versus $x$ is a straight line, so the trapezoid’s area is $\dfrac{F(0)+F(3)}{2}\times3=\dfrac{2+14}{2}\times3=24$ J. It matches. Note that this method works only because $F$ is linear; for $F(x)=3x^2$ it would be wrong.

Common mistake

The costliest trap in this problem is using $W=Fd$ for a force that is clearly varying. A safeguard: before writing any line, ask does the force depend on $x$. Whenever the problem gives $F$ as an expression containing $x$, or gives a graph that is not horizontal, the integral sign is mandatory. Only a rectangle can be multiplied.

Key takeaway

$W=\int\vec{F}\cdot d\vec{r}$ is the definition; $Fd\cos\theta$ is only the case of a constant force. Work is the signed area under the graph of $F$ versus $x$. The work–kinetic energy theorem is derived by the change of variable $\dfrac{dv}{dt}dx=v\,dv$.

← Circular Motion and Velocity-Dependent Resistive Forces · All AP Physics C: Mechanics lessons · Practice AP Physics C: Mechanics questions (free, instant scoring) · Conservative Forces and Potential Energy →