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.

LaTeX article Updated July 11, 2026

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

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.

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.

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 example

Common mistakes

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

Keep these ideas

  • Build one differential contribution first.
  • Depth and distance must be measured from the correct reference.
  • Units are a powerful setup check.
Vocab
Definite integral
Math glossaryDefinite integral
abf(x)dx\int_a^b f(x)\,dx

A signed accumulation over an interval.

Learn more
Area between curves
Math glossaryArea between curves
A=ab(f(x)g(x))dxA=\int_a^b(f(x)-g(x))\,dx

Accumulated top-minus-bottom or right-minus-left distance.

Learn more
Volume of revolution
Math glossaryVolume of revolution
V=πab(R2r2)dxV=\pi\int_a^b(R^2-r^2)\,dx

Volume formed by rotating a region around an axis.

Learn more
Arc length
Math glossaryArc length
L=ab1+[f(x)]2dxL=\int_a^b\sqrt{1+[f'(x)]^2}\,dx

The accumulated length along a smooth curve.

Learn more
Work
Math glossaryWork
W=abF(x)dxW=\int_a^b F(x)\,dx

Accumulated force through displacement.

Learn more
Math glossary