Method guideCalculus IIAdvanced12 min read

Setting up work and fluid-force integrals

Slice the changing force into small contributions, express every dimension in one variable, and integrate with units attached.

W=F(x)dxW=\int F(x)\,dx
Method guide

How to recognize the method, run it, and know when it is the wrong choice.

Reviewed July 11, 2026
ModelStart here

Write one thin contribution as force times distance, or pressure times area. Then express density, depth, slice size, and travel distance in the same variable.

01

Work with a changing force

For constant force, work is force times distance. When force varies, partition the motion, approximate force on each small interval, and integrate the products.

Springs use Hooke’s law F = kx, while lifting chains or liquids also requires tracking how much material moves how far.

02

Fluid force varies with depth

Pressure equals weight density times depth. A horizontal strip at one depth has nearly constant pressure, so its force is pressure times strip area.

The depth is measured from the fluid surface, not automatically from the coordinate origin.

03

Draw and label one representative slice

The slice is the model. Label its width, thickness, depth, and movement distance before writing the integral. Most setup errors are visible immediately on that diagram.

Worked exampleStretch a spring

A spring with k = 8 N/m is stretched from 0.1 m to 0.3 m beyond equilibrium. Find the work.

1F(x)=kx=8xF(x)=kx=8x

Use Hooke’s law with displacement from equilibrium.

2W=0.10.38xdxW=\int_{0.1}^{0.3}8x\,dx

Force changes throughout the motion.

3W=[4x2]0.10.3W=\left[4x^2\right]_{0.1}^{0.3}

Evaluate with meter-based bounds.

Result0.32 J\boxed{0.32\ \text{J}}
Watch for

Common mistakes

  1. Using the spring’s total length instead of displacement from equilibrium.
  2. Treating fluid pressure as constant across changing depth.
  3. Mixing centimeters and meters inside one setup.
Keep

Three takeaways

  1. Build one differential contribution first.
  2. Depth and distance must be measured from the correct reference.
  3. Units are a powerful setup check.