Tutorials › Calculus II › Variable Forces at an Angle to Motion

Work and Variable Forces · Tutorial 454 of 998

Variable Forces at an Angle to Motion

Find the work done by a position-dependent force at an angle by integrating the component parallel to the motion.

Intermediate 9 min read

What You'll Learn

  • Define work for a force whose angle changes along a straight path
  • Resolve a force into parallel and perpendicular components
  • Set up and evaluate work integrals for pulling and pushing forces
  • Interpret the sign of work when a force turns from forward to backward
  • Identify and correct the error of integrating force magnitude alone

Why the Angle Matters

A force does work on an object when it acts along the object’s displacement. If the force is not parallel to the motion, only part of its magnitude contributes to the work. That part can change as the object moves: a rope may become steeper as it is pulled, or a pushing force may gradually tilt downward.

For straight-line motion, the essential calculation is to find the force component in the direction of motion at each position and integrate that component over the distance traveled. The force’s perpendicular component does not contribute directly to work because it acts across, rather than along, the displacement.

Key idea: Work depends on the force component parallel to the displacement, not on the full force magnitude. If the force makes a position-dependent angle \(\theta(x)\) with the direction of motion, its parallel component is \(F(x)\cos\theta(x)\).

Definition for Straight-Line Motion

Suppose an object moves along a straight line in the positive \(x\)-direction, from \(x=a\) to \(x=b\), where \(a\le b\). Let \(F(x)\) be the magnitude of a force acting on the object at position \(x\), and let \(\theta(x)\) be the angle between the force and the positive direction of motion. The angle is measured from \(0\) to \(\pi\): angles below \(\pi/2\) have a forward component, while angles above \(\pi/2\) have a backward component.

Definition: If \(F(x)\) and \(\theta(x)\) are continuous on \([a,b]\), the work done by the force as the object moves from \(a\) to \(b\) is
$$ W=\int_a^b F(x)\cos\theta(x)\,dx. $$
Here \(F(x)\cos\theta(x)\) is the signed component of the force along the positive direction of motion. If force is measured in newtons and distance in metres, work is measured in joules, where \(1\,\mathrm{J}=1\,\mathrm{N\,m}\).

The formula also applies when the force magnitude is constant but its angle changes, or when both magnitude and angle vary. Continuity is a convenient sufficient condition for the integral to exist; more generally, the parallel component need only be integrable. In each case, \(\theta(x)\) must describe the angle at the object’s current position.

Why the Formula Works

Over a small displacement \(\Delta x\) in the positive direction, the displacement vector points along the line of motion. The force can be split into a parallel component of magnitude \(F(x)\cos\theta(x)\) and a perpendicular component. The perpendicular component is at a right angle to the displacement, so it contributes no work over that small step. The small work is therefore approximately \(F(x)\cos\theta(x)\Delta x\).

Adding those contributions over a partition of the path gives a sum of the form \(\sum F(x_i)\cos\theta(x_i)\Delta x_i\). As the partition intervals shrink, these sums approach the definite integral of the parallel component. This yields the work formula.

1
Describe the force at position \(x\).
Write its magnitude \(F(x)\) and its angle \(\theta(x)\) relative to the direction of motion.
2
Take the parallel component.
Calculate \(F(x)\cos\theta(x)\), keeping its sign.
3
Integrate over the path.
Evaluate \(\int_a^b F(x)\cos\theta(x)\,dx\), then report the result with work units.

Worked Examples

Worked Example: Pulling an Object with a Changing Rope Angle

An object moves horizontally from \(x=0\,\mathrm{m}\) to \(x=4\,\mathrm{m}\). A rope pulls it toward a fixed point at \((4\,\mathrm{m},3\,\mathrm{m})\), and the rope’s force has constant magnitude \(10\,\mathrm{N}\). Find the work done by the rope.

At position \(x\), the rope points along the vector \((4-x,3)\), with lengths measured in metres. Its length is \(\sqrt{(4-x)^2+9}\,\mathrm{m}\). The horizontal, forward component of the force is therefore

$$ F(x)\cos\theta(x) = 10\,\mathrm{N}\, \frac{4-x}{\sqrt{(4-x)^2+9}}. $$

Thus the work is

$$ \begin{aligned} W &=\int_0^4 10\frac{4-x}{\sqrt{(4-x)^2+9}}\,dx\\ &=10\left[-\sqrt{(4-x)^2+9}\right]_0^4\\ &=10\left(-\sqrt{9}+\sqrt{25}\right)\,\mathrm{N\,m}\\ &=10(-3+5)\,\mathrm{N\,m}\\ &=20\,\mathrm{J}. \end{aligned} $$

To check the antiderivative, differentiate it: \(\frac{d}{dx}\left[-\sqrt{(4-x)^2+9}\right]=(4-x)/\sqrt{(4-x)^2+9}\), which is the required integrand apart from the constant factor \(10\). At the endpoint \(x=4\,\mathrm{m}\), the rope is vertical and its horizontal component is zero, as the formula also shows.

Worked Example: Pushing with Increasing Magnitude and Angle

An object moves from \(x=0\,\mathrm{m}\) to \(x=5\,\mathrm{m}\). A push has magnitude \(F(x)=(10+2x)\,\mathrm{N}\), where the numerical value of \(x\) is measured in metres. The push tilts progressively below the forward direction, with \(\cos\theta(x)=1-x/10\) on this interval. Find the work done by the push.

The angle grows from \(0\) to \(\pi/3\), since \(\cos\theta(0)=1\) and \(\cos\theta(5)=1/2\). Its parallel component is

$$ \begin{aligned} F(x)\cos\theta(x) &=(10+2x)\left(1-\frac{x}{10}\right)\,\mathrm{N}\\ &=\left(10+2x-x-\frac{x^2}{5}\right)\,\mathrm{N}\\ &=\left(10+x-\frac{x^2}{5}\right)\,\mathrm{N}. \end{aligned} $$

Integrating over the five-metre path gives

$$ \begin{aligned} W &=\int_0^5 \left(10+x-\frac{x^2}{5}\right)\,dx\,\mathrm{N}\\ &=\left[10x+\frac{x^2}{2}-\frac{x^3}{15}\right]_0^5\,\mathrm{N\,m}\\ &=50+\frac{25}{2}-\frac{125}{15}\,\mathrm{N\,m}\\ &=50+\frac{25}{2}-\frac{25}{3}\,\mathrm{N\,m}\\ &=\frac{325}{6}\,\mathrm{J}. \end{aligned} $$

The antiderivative checks because its derivative is \(10+x-x^2/5\), the parallel component in newtons. The work is positive: throughout the interval the push has a forward component. The downward tilt reduces that component, but never reverses it.

Worked Example: A Force That Turns from Forward to Backward

A constant-magnitude force of \(6\,\mathrm{N}\) acts on an object moving from \(x=0\,\mathrm{m}\) to \(x=2\,\mathrm{m}\). Its angle changes so that \(\cos\theta(x)=1-x\), where the numerical value of \(x\) is measured in metres. Find the net work and interpret its sign.

The parallel component is \(6(1-x)\,\mathrm{N}\). It is forward for \(0\le x<1\,\mathrm{m}\), zero at \(x=1\,\mathrm{m}\), and backward for \(1\,\mathrm{m}<x\le2\,\mathrm{m}\). Therefore,

$$ \begin{aligned} W &=6\int_0^2(1-x)\,dx\,\mathrm{N\,m}\\ &=6\left[x-\frac{x^2}{2}\right]_0^2\,\mathrm{J}\\ &=6\left((2-2)-(0-0)\right)\,\mathrm{J}\\ &=0\,\mathrm{J}. \end{aligned} $$

To see how the zero arises, calculate each part separately:

$$ W_{0\text{ to }1}=6\left[x-\frac{x^2}{2}\right]_0^1=3\,\mathrm{J}, \qquad W_{1\text{ to }2}=6\left[x-\frac{x^2}{2}\right]_1^2=-3\,\mathrm{J}. $$

The positive and negative contributions cancel. The antiderivative \(6(x-x^2/2)\,\mathrm{J}\) differentiates to \(6(1-x)\,\mathrm{J/m}\), the parallel force component, confirming the calculation.

Sign, Units, and a Common Error

The sign of the work comes from the parallel component. When \(\theta(x)<\pi/2\), \(\cos\theta(x)>0\), so the force contributes positive work. At \(\theta(x)=\pi/2\), its parallel component is zero. When \(\theta(x)>\pi/2\), the component points opposite the motion and contributes negative work. If the angle crosses \(\pi/2\), different parts of the path can contribute work with different signs, as in the third example.

A frequent error is to integrate the force magnitude alone, as though all of the force were parallel to the motion. In the rope example, that incorrect calculation would be

$$ W_{\text{wrong}}=(10\,\mathrm{N})(4\,\mathrm{m})=40\,\mathrm{J}. $$

This assumes a horizontal force of \(10\,\mathrm{N}\) throughout the path. But the rope is angled for most of the motion, so its horizontal component is smaller than \(10\,\mathrm{N}\). The correct calculation integrates that component and gives \(20\,\mathrm{J}\). Always check that the integrand represents force along the displacement and that multiplying by distance produces joules.

When This Method Is Useful

Many real forces do not act exactly along a path. A person may pull a load by a rope whose angle changes as the load moves. A person pushing an object may alter the direction of the push during the motion. In such situations, the magnitude alone does not determine the work: the angle matters at every position.

The same reasoning applies to any force acting during straight-line motion, provided its parallel component can be described as a function of position and integrated over the interval. If more than one force is being considered, this calculation gives the work done by the specified force; other forces require their own parallel components and work calculations.

Check Your Understanding

Use the parallel component of the force in each question. Keep track of the sign and units.

  1. A \(20\,\mathrm{N}\) force acts at a constant angle of \(60^\circ\) to a straight displacement of \(3\,\mathrm{m}\). What work does it do?
  2. Why does a force component perpendicular to the displacement contribute no work?
  3. A force of magnitude \(8\,\mathrm{N}\) acts with \(\cos\theta(x)=1-x/4\) as an object moves from \(x=0\) to \(x=2\,\mathrm{m}\), with \(x\) measured in metres. Set up and evaluate the work integral.
  4. What is the sign of the parallel force component when the force makes an angle greater than \(\pi/2\) with the direction of motion?
  5. Explain why integrating \(F(x)\) without multiplying by \(\cos\theta(x)\) gives the wrong work when the force is angled.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon