Calculus 1 • Applications of Integration

Work & Fluid Force — Work and Fluid Force Applications (Intro)

Use integration to calculate the work done by variable forces and the pressure exerted by fluids.

A smooth function curve with a function symbol and rising tangent trend.
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

Long before calculus existed, people needed to answer practical questions: How much effort does it take to lift water out of a well? How much pressure does a river exert against a dam wall? These are questions about work and fluid force. For centuries, engineers relied on rough estimates and rules of thumb. It was only when mathematicians developed the tools of integration that these problems could be solved with precision.

~250 BC • Archimedes & Fluid Pressure

Archimedes studied the behavior of fluids at rest, establishing early principles of hydrostatics. His famous buoyancy principle laid the groundwork for understanding fluid force on submerged surfaces.

1687 • Newton's Principia

Isaac Newton published his laws of motion and defined force and work in a rigorous mathematical framework. His version of calculus opened the door to solving variable-force problems.

1738 • Bernoulli's Hydrodynamica

Daniel Bernoulli applied calculus to fluid behavior, connecting pressure, velocity, and height. His work unified fluid statics and dynamics under one mathematical roof.

1800s • Industrial Revolution Applications

Engineers designing steam engines, pumps, and dams used integration to compute the work needed to move pistons and the force water exerted on structures. Calculus became indispensable to engineering.

The central question this lesson addresses is: when a force changes as an object moves, or when pressure varies across a surface, how do we add up infinitely many tiny contributions to get an exact total? The answer is integration — the same tool you have been using to find areas under curves, now applied to the physical world.

SECTION 2

Core Principles & Definitions

Before diving into formulas, you need to understand three foundational ideas that connect physics to calculus. These principles explain why integration is the right tool for computing work and fluid force, and they will guide every problem you solve in this topic.

1

Work as Force × Distance

When a constant force F moves an object a distance d, the work done is W = F × d. But when force varies, you must slice the motion into tiny pieces and integrate.
2

Variable Force & Integration

If force depends on position, F(x), then the work over a small interval dx is approximately F(x) dx. Summing these infinitesimal pieces from a to b gives W = ∫ F(x) dx — an exact answer via a definite integral.
3

Pressure & Depth

Fluid pressure increases with depth. At depth h below the surface, pressure equals ρ × g × h, where ρ is the fluid's density and g is gravitational acceleration. Deeper water pushes harder.
4

Fluid Force on a Surface

Because pressure varies with depth, the total hydrostatic force on a submerged plate is found by integrating pressure × width over the depth range. Each thin horizontal strip feels a different pressure.
✦

KEY TAKEAWAY

Think of work like paying for a road trip where gas prices change at every mile marker. You cannot just multiply one price by total miles — you have to add up what you pay mile by mile. Integration does exactly that: it adds up infinitely many tiny payments (force × tiny distance) to get the exact total cost (work). The same idea applies to fluid force — pressure changes with depth, so you add up the force on each thin horizontal strip of a submerged surface.

SECTION 3

Visual Explanation — Work Done by a Variable Force

The diagram below shows how calculating work with a variable force connects directly to finding the area under a curve. The horizontal axis represents position x, and the vertical axis represents force F(x). Each thin rectangle has width Δx and height F(x), so its area approximates the work done over that small interval. As you take more and more rectangles (letting Δx → 0), the sum of these rectangles becomes the definite integral — the exact area under the curve.

Work = Area Under the Force CurvePosition xForce F(x)abΔxF(x)·ΔxW = ∫ₐᵇ F(x) dx
Each cyan rectangle represents F(x) × Δx — the approximate work over a small interval. The smooth cyan curve is F(x). The total shaded area from a to b equals the definite integral ∫ₐᵇ F(x) dx, which is the exact work.

Notice that the golden dashed lines isolate a single rectangle of width Δx. Its area is F(x) × Δx, which estimates the work over that tiny interval. When you let the number of rectangles approach infinity, the Riemann sum becomes the integral, and you get the exact total work. This is the same area-under-the-curve idea from earlier in your calculus course, just applied to a physical quantity.

SECTION 4

Mathematical Framework

Now let's formalize the ideas from the previous sections into the equations you will use to solve problems. We will cover the work integral, two common work scenarios (springs and pumping), and the fluid force integral.

WORK BY A VARIABLE FORCE

W=∫abF(x)dxW = ∫ₐᵇ F(x) dx

W = work (in joules or foot-pounds), F(x) = force as a function of position x, and the integral runs from x = a to x = b along the direction of motion.

HOOKE'S LAW — SPRING WORK

W=∫0xk⋅xdx=½kx2W = ∫₀ˣ k·x dx = ½kx²

A spring with spring constant k (in N/m) exerts force F(x) = kx, where x is the displacement from the natural (rest) length. Integrating from 0 to x gives the work to stretch or compress the spring by x units.

PUMPING WORK

W=∫abρ⋅g⋅A(y)⋅(D−y)dyW = ∫ₐᵇ ρ · g · A(y) · (D − y) dy

ρ = fluid density, g = 9.8 m/s² (or 32 ft/s²), A(y) = cross-sectional area of the tank at height y, and (D − y) = distance each slice of water must be lifted to the top D. You integrate over the range of y values that contain fluid.

HYDROSTATIC (FLUID) FORCE

F=∫abρ⋅g⋅h(y)⋅w(y)dyF = ∫ₐᵇ ρ · g · h(y) · w(y) dy

ρ = fluid density, g = gravitational acceleration, h(y) = depth of a horizontal strip below the surface, and w(y) = the width of the submerged surface at position y. Each thin strip at depth h feels pressure ρgh, and it has area w(y) dy.

⚠

Units Matter

In SI units, force is in newtons (N), distance in meters (m), and work in joules (J = N·m). In the US customary system, force is in pounds (lb), distance in feet (ft), and work in foot-pounds (ft·lb). Always check that your density, distance, and force are in compatible units before integrating.

SECTION 5

Fluid Force — Detailed Breakdown

Understanding fluid force requires you to visualize how pressure acts on a submerged plate. The key insight is that pressure is not the same everywhere on the plate — it increases with depth. The diagram below shows a vertical plate (like a dam wall) submerged in water. We slice the plate into thin horizontal strips, compute the force on each strip, and integrate to get the total.

Hydrostatic Force on a Submerged Vertical PlateWater SurfacePlate← w(y) →(strip width)h(y)(depth)dyPressure at depth h:P = ρ·g·h(y)Force on strip:dF = ρ·g·h(y)·w(y)·dyTotal Force:F = ∫ ρ·g·h(y)·w(y) dyLow pressure (shallow)High pressure (deep)
A trapezoidal plate (purple) is submerged vertically in water. The pink dimension h(y) shows the depth of a horizontal strip below the surface. The golden dimension w(y) shows the width of that strip. The blue arrows on the left grow longer with depth, illustrating that pressure increases as you go deeper.

The setup process for a fluid force problem has three steps. First, set up a coordinate system — usually y pointing downward from the surface (or upward from the bottom). Second, express both the depth h(y) and the width w(y) in terms of y. Third, integrate ρ · g · h(y) · w(y) over the appropriate range of y. The trickiest part is usually finding w(y) — the width of the plate at each depth — which often requires the equation of a line from coordinate geometry.

SECTION 6

Worked Example — Spring Work

Let's work through a complete example using Hooke's Law. A spring has a natural length of 0.3 m. A force of 50 N is required to hold it stretched to a length of 0.5 m. How much work is done in stretching the spring from its natural length to 0.7 m?

Stretching a Spring

  1. 1

    Step 1 — Identify Given Values

    Natural length = 0.3 m. Stretching to 0.5 m means the displacement from natural length is x = 0.5 − 0.3 = 0.2 m. The force at this displacement is F = 50 N. We want work from x = 0 (natural length) to x = 0.7 − 0.3 = 0.4 m.
    x₁ = 0 m, x₂ = 0.4 m, F(0.2) = 50 N
  2. 2

    Step 2 — Find the Spring Constant k

    By Hooke's Law, F = kx. Substituting F = 50 N and x = 0.2 m: 50 = k × 0.2, so k = 50 / 0.2 = 250 N/m.
    k = 250 N/m
  3. 3

    Step 3 — Set Up the Integral

    The force function is F(x) = 250x. Work = ∫₀⁰·⁴ 250x dx.
    W = ∫₀⁰·⁴ 250x dx
  4. 4

    Step 4 — Evaluate the Integral

    The antiderivative of 250x is 125x². Evaluating from 0 to 0.4: W = 125(0.4)² − 125(0)² = 125 × 0.16 − 0 = 20.
    W = 20 joules
  5. 5

    Step 5 — Interpret the Result

    It takes 20 J of work to stretch the spring from its natural length to 0.4 m beyond its natural length (i.e., to a total length of 0.7 m). Notice that the work is not simply force × distance because the force increases as the spring stretches farther.

SECTION 7

Constant Force vs. Variable Force — Strengths & Limitations

In your earlier physics courses, you probably learned W = F × d for constant forces. Integration generalizes this idea to handle any force that changes with position. The table below compares the two approaches and highlights when each is appropriate.

FeatureConstant Force (W = Fd)Variable Force (W = ∫F dx)
When to useForce does not change during motionForce depends on position, time, or other variables
Math requiredMultiplication onlySetting up and evaluating a definite integral
Typical examplesPushing a box on a flat floor, lifting a brick at constant speedStretching a spring, pumping water, compressing a gas
AccuracyExact when force is truly constantExact for any continuous force function
LimitationCannot handle varying forces — gives wrong answersRequires finding F(x) as a formula, which can be challenging

Comparing constant-force and variable-force work calculations

💡

WHY INTEGRATION MATTERS HERE

Using W = F × d when force varies is like using the average speed for every instant of a car trip — it gives you a rough estimate but misses what actually happened. Integration captures every tiny change in force, just as a GPS tracking your speed every millisecond gives your exact distance traveled. Whenever force is not constant, reach for the integral.

SECTION 8

Connection to Advanced Topics

The work and fluid force integrals you are learning here are introductory versions of ideas that become much more powerful in later courses. In multivariable calculus, you will compute work along curved paths using line integrals, and in engineering courses, you will use surface integrals to find fluid force on curved surfaces like the hull of a ship.

ConceptThis Lesson (Calc 1)Advanced Version
WorkW = ∫ F(x) dx along a straight lineW = ∫ F⃗ · dr⃗ along any curved path (line integral)
Fluid forceForce on a flat vertical plateForce on curved 3D surfaces using double integrals
Force functionF depends on one variable xF⃗ is a vector field depending on x, y, z
ApplicationsSprings, pumping, flat damsRocket propulsion, fluid dynamics, electromagnetism

How these Calculus 1 concepts extend into advanced mathematics

For now, focus on mastering the setup: identifying the variable, writing the force as a function of that variable, and choosing correct limits of integration. These skills transfer directly to every advanced integral application you will encounter.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain in your own words why you cannot use W = F × d to calculate the work done in stretching a spring. What changes about the force, and how does integration fix this problem?
Show answer
When stretching a spring, the force increases as the spring gets longer — it is not constant. Using W = F × d would require choosing a single value for F, but no single value captures the changing force accurately. Integration solves this by breaking the stretch into infinitely many tiny displacements dx, multiplying each by the force at that particular position F(x), and summing all these tiny contributions. This gives the exact total work regardless of how the force varies.

Question 2: BASIC CALCULATION

A spring has spring constant k = 40 N/m. Find the work done in compressing the spring from its natural length by 0.25 m.
Show answer
Using W = ∫₀⁰·²⁵ 40x dx, the antiderivative of 40x is 20x². Evaluating: W = 20(0.25)² − 20(0)² = 20 × 0.0625 = 1.25 J. The work required is 1.25 joules. Note that compressing and stretching use the same formula because Hooke's Law applies in both directions.

Question 3: INTERMEDIATE

A variable force F(x) = 3x² + 2 (in newtons) acts on an object moving along the x-axis from x = 1 m to x = 4 m. Calculate the total work done.
Show answer
Set up the integral: W = ∫₁⁴ (3x² + 2) dx. The antiderivative is x³ + 2x. Evaluating: W = [(4)³ + 2(4)] − [(1)³ + 2(1)] = [64 + 8] − [1 + 2] = 72 − 3 = 69 J. The total work done is 69 joules. This problem illustrates that the integral handles polynomial force functions just as easily as linear ones.

Question 4: APPLIED

A rectangular swimming pool is 4 m wide, 6 m long, and 2 m deep, filled to the brim with water (density ρ = 1000 kg/m³). Find the hydrostatic force on one of the 4 m wide ends of the pool. Use g = 9.8 m/s².
Show answer
Set y = 0 at the surface and y = 2 at the bottom. The depth at position y is h = y, and the width is constant at w = 4 m. The force is F = ∫₀² ρ · g · y · 4 dy = 4 × 1000 × 9.8 ∫₀² y dy = 39200 × [y²/2]₀² = 39200 × 2 = 78,400 N. The hydrostatic force on one 4 m end is 78,400 newtons (about 78.4 kN). This is equivalent to the weight of roughly eight metric tons pressing against that wall.

Question 5: CRITICAL THINKING

A spring requires 10 J of work to stretch it from its natural length to 0.5 m beyond natural length, and 40 J of work to stretch it from its natural length to 1.0 m beyond natural length. Without computing k, explain why the second stretch does NOT require exactly twice the work of the first. Then verify by finding k and computing each work value.
Show answer
The work is not proportional to distance because the force increases as the spring stretches. The second half of the stretch (from 0.5 m to 1.0 m) requires pulling against a much larger force than the first half (from 0 to 0.5 m). Quantitatively, W = ½kx², so work grows as x² — quadratically, not linearly. From the first piece: 10 = ½k(0.5)² = 0.125k, giving k = 80 N/m. Check: W(0 to 1.0) = ½(80)(1.0)² = 40 J ✓. The work from 0.5 to 1.0 is 40 − 10 = 30 J, which is three times the work from 0 to 0.5. This confirms that later stretches demand disproportionately more work because force accumulates.

SUMMARY

Lesson Summary

Summary

In this lesson you learned that work done by a variable force is computed with the integral W = ∫ₐᵇ F(x) dx. For springs obeying Hooke's Law (F = kx), this simplifies to W = ½kx². Pumping work problems use W = ∫ ρ · g · A(y) · (D − y) dy, where each slice of fluid is lifted a different distance to exit the tank.

You also learned that hydrostatic (fluid) force on a submerged surface is found by integrating F = ∫ ρ · g · h(y) · w(y) dy, because pressure increases with depth. The common thread is that integration lets you sum up infinitely many tiny contributions — whether force × distance for work or pressure × area for fluid force — to get an exact total. These same techniques extend to line integrals and surface integrals in more advanced courses.

Varsity Tutors • Calculus 1 • Work & Fluid Force — Work and Fluid Force Applications (Intro)