Learning Objectives
By the end of this section, you will be able to:
- Understand how pressure in a static fluid increases linearly with depth
- Calculate hydrostatic force on horizontal submerged surfaces
- Derive and apply the integral formula for force on vertical surfaces
- Extend these methods to surfaces of variable width and inclined surfaces
- Connect hydrostatic force to real engineering applications: dams, submarines, and fluid tanks
- Recognize how integration transforms a varying pressure into a total force
The Big Picture: Forces from Fluids
"When a fluid at rest presses against a surface, the total force depends on how pressure varies with depth — and that's where integration becomes essential."
Every day, you encounter structures holding back fluids: dams retaining lakes, aquarium walls containing water, submarine hulls resisting ocean pressure, and storage tanks holding liquids. Engineers must calculate the total force these structures experience to design them safely.
The challenge is that pressure in a fluid varies with depth. At the surface, pressure is relatively low; at greater depths, it increases. To find the total force, we can't simply multiply a single pressure by the area — we need to integrate the pressure over the entire surface.
Why Integration is Essential
For a horizontal surface submerged at a fixed depth, pressure is uniform and we can use simple multiplication: . But for a vertical or inclined surface, pressure changes continuously with depth. We must divide the surface into infinitesimal strips, calculate the force on each, and integrate to find the total force.
Historical Context: From Archimedes to Modern Engineering
The study of fluids at rest — hydrostatics — has ancient roots. Archimedes (287–212 BCE) discovered his famous principle about buoyancy while investigating the purity of King Hiero's crown. Legend says he shouted "Eureka!" upon realizing that submerged objects displace fluid equal to their volume.
The modern understanding of pressure came much later. In 1653, Blaise Pascal formulated the principle that pressure applied to a confined fluid is transmitted equally in all directions. This led to the realization that pressure increases with depth according to a simple formula.
The Role of Calculus
Newton and Leibniz's development of calculus in the late 17th century provided the mathematical tools to handle continuously varying quantities like pressure. The integral — summing infinitely many infinitesimal contributions — became the natural way to calculate total force from varying pressure.
Pressure Fundamentals
What is Pressure?
Pressure is force per unit area. When a fluid pushes on a surface, the pressure tells us how much force is exerted on each square meter:
Pressure is measured in Pascals (Pa), where . Atmospheric pressure at sea level is approximately 101,325 Pa (about 101 kPa or 1 atm).
Hydrostatic Pressure in a Fluid
In a fluid at rest, pressure increases with depth due to the weight of the fluid above. At depth below the surface, the gauge pressure (pressure above atmospheric) is:
Hydrostatic Pressure Formula
| Symbol | Meaning | Typical Values |
|---|---|---|
| ρ | Fluid density | 1000 kg/m³ (water), 1025 kg/m³ (seawater) |
| g | Gravitational acceleration | 9.81 m/s² |
| h | Depth below surface | Variable (meters) |
| P | Gauge pressure | Pa (Pascals), kPa, atm |
Linear Relationship
The pressure-depth relationship is linear: doubling the depth doubles the pressure. This linearity is key — it's what makes the integral of pressure tractable. The pressure varies from 0 at the surface to at depth .
Interactive: Pressure Explorer
Explore how hydrostatic pressure changes with depth and fluid type. Notice that pressure increases linearly, and the red arrows show how pressure forces act equally in all directions at each depth:
Hydrostatic Pressure Explorer
Explore how pressure increases linearly with depth in a fluid at rest. The pressure formula is P = ρgh.
Pressure Calculation
Key Insight
Pressure increases linearly with depth. At any point in a static fluid, pressure acts equally in all directions (Pascal's principle). The red arrows show how pressure forces push inward against the container walls.
Force on Horizontal Surfaces
The simplest case is a horizontal surface submerged at a constant depth . Every point on this surface is at the same depth, so the pressure is uniform:
Since pressure is constant, the total force is simply pressure times area:
Force on a Horizontal Surface
Example: Aquarium Bottom
Problem: An aquarium tank has a rectangular bottom measuring 2m × 1m. If the water depth is 0.8m, find the force on the bottom.
Solution:
Area:
Pressure at bottom:
Force:
Force on Vertical Surfaces
Now consider a vertical surface, like a dam wall or the side of a tank. Here, pressure is not constant — it increases with depth. We cannot use simple multiplication; we must integrate.
Setting Up the Integral
Consider a vertical rectangular surface of width extending from the water surface (depth 0) to depth . To find the total force:
- Divide the surface into thin horizontal strips of thickness at depth
- Calculate the pressure on each strip:
- Find the area of each strip:
- Compute the force on each strip:
- Integrate from 0 to
Force on a Vertical Rectangular Surface
Understanding the Result
The factor in the formula has important meaning:
- Mathematical origin: It comes from integrating
- Physical interpretation: The average pressure on the surface is — half the maximum pressure at the bottom
- Alternative formula:
Quadratic Dependence on Depth
Notice that force depends on , not . Doubling the water depth quadruples the force! This is why dam failures can be catastrophic — a small increase in water level creates a much larger increase in force.
Interactive: Dam Force Calculator
See how the Riemann sum approximation converges to the integral as you increase the number of strips. Watch the pressure arrows grow with depth:
Hydrostatic Force on a Dam
Calculate the total force on a vertical dam face by integrating pressure over depth. The key insight: F = ∫₀ᴴ ρgy · w dy
Force Calculation
Integration Formula
Force on General Submerged Surfaces
Real submerged surfaces are not always simple rectangles. The general formula for hydrostatic force accounts for surfaces where width varies with depth:
General Hydrostatic Force Formula
The Centroid Shortcut
For many standard shapes, there's a shortcut using the centroid. If is the depth of the centroid (geometric center) and is the total area:
This works because the integral of over the surface equals by the definition of centroid.
| Shape | Centroid Depth | Area | Force Formula |
|---|---|---|---|
| Rectangle (top at y₁, bottom at y₂) | ȳ = (y₁ + y₂)/2 | A = w(y₂ - y₁) | F = ρg·ȳ·A |
| Triangle (base at top, vertex at bottom) | ȳ = y₁ + H/3 | A = bH/2 | F = ρg(y₁ + H/3)·(bH/2) |
| Circle (center at depth d) | ȳ = d | A = πr² | F = ρgd·πr² |
| Semicircle (diameter at surface) | ȳ = 4r/(3π) | A = πr²/2 | F = ρg·4r/(3π)·πr²/2 |
Interactive: Submerged Shapes
Calculate hydrostatic force on different submerged shapes. Watch how the Riemann sum strips adapt to variable-width surfaces:
Submerged Shape Force Calculator
Calculate hydrostatic force on different submerged shapes. The general formula is F = ∫ P(y) · w(y) dy = ∫ ρgy · w(y) dy
Rectangular plate submerged vertically
Results
Formula
Worked Examples
Example 1: Trapezoidal Dam Gate
Problem: A dam has a trapezoidal gate that is 6m wide at the water surface and 4m wide at the bottom, which is 5m below the surface. Find the hydrostatic force on the gate.
Solution:
Step 1: Express width as a function of depth:
Step 2: Set up the integral:
Step 3: Evaluate:
Step 4: Calculate:
Example 2: Circular Submarine Porthole
Problem: A circular viewing port on a submarine has radius 0.3m. Its center is 50m below the surface. Find the force on the port.
Solution:
For a circular surface, use the centroid approach:
Substituting values:
Note: At this depth, the pressure is about 5 atmospheres! The port must be incredibly strong.
Example 3: Force Comparison
Problem: Compare the force on a square gate (2m × 2m) when it is (a) horizontal at 3m depth, vs (b) vertical with its top at the surface.
Solution:
(a) Horizontal: Uniform pressure
(b) Vertical: Varying pressure, top at surface
The horizontal gate experiences 3× more force because every point is at the maximum depth of 3m, while the vertical gate's average depth is only 1m.
Engineering Applications
Dam Design
The dependence of hydrostatic force explains why dams are designed with a triangular profile — thicker at the base where pressure is greatest. Engineers must account for:
- Total force on the dam face (our formula)
- Center of pressure — where the resultant force acts (always below the centroid)
- Overturning moment — the tendency to tip the dam
- Safety factors for floods exceeding normal levels
Submarines and Pressure Vessels
At ocean depths, pressure becomes extreme. At 100m depth, pressure is about Pa ≈ 10 atmospheres. Submarine hulls must withstand these pressures, which is why they are typically cylindrical — a shape that distributes stress evenly.
At 100m (Recreational SCUBA limit)
At 1000m (Research submarines)
Aquarium and Tank Design
Large aquariums use thick acrylic panels that must withstand enormous forces. The Okinawa Churaumi Aquarium has a panel 8.2m tall — using our formula with width 22.5m:
That's about 750 tonnes of force pushing on the window!
Python Implementation
Basic Force Calculations
The following code demonstrates hydrostatic force calculations using both analytical formulas and numerical integration:
Engineering Applications
More advanced examples showing inverse design problems and real engineering scenarios:
Machine Learning Connection
While hydrostatic force may seem distant from machine learning, the underlying concepts appear in several areas:
1. Numerical Integration in ML
Many ML computations involve integrals that must be evaluated numerically. The Riemann sum approach we used for hydrostatic force appears in:
- Expected value calculations:
- Monte Carlo integration for approximating intractable integrals
- Gaussian processes which integrate over function spaces
2. Physics-Informed Neural Networks (PINNs)
PINNs learn to satisfy physical laws like pressure-depth relationships. The hydrostatic pressure equation can be used as a constraint in neural network training for fluid simulation.
3. Fluid Dynamics Simulations
Deep learning models are increasingly used to accelerate computational fluid dynamics (CFD). Understanding the fundamental physics — like hydrostatic equilibrium — helps in designing and validating these models.
The Common Thread
Whether calculating hydrostatic force or expected loss, the pattern is the same: sum up contributions over a continuous domain. For force, it's . For expected value, it's . Integration is the universal tool for aggregating continuous quantities.
Common Mistakes to Avoid
Mistake 1: Using constant pressure for vertical surfaces
Wrong: Using for a vertical surface (maximum pressure × area)
Correct: Integrate, or use the average pressure for rectangular surfaces starting at the surface.
Mistake 2: Forgetting that force depends on H²
For vertical rectangular surfaces starting at the water surface, . The quadratic dependence on is often overlooked.
Mistake 3: Confusing depth with distance
Depth is measured vertically from the surface. For inclined surfaces, you must use the vertical depth at each point, not the distance along the surface.
Mistake 4: Not accounting for surface orientation
Pressure acts perpendicular to any surface. For a vertical dam, the force is horizontal. For an inclined surface, the force has components in multiple directions.
Mistake 5: Using wrong limits of integration
If a surface extends from depth to , integrate from to , not from 0. The formula only applies when the surface starts at the water surface.
Test Your Understanding
Test Your Understanding
Question 1 of 8A rectangular dam holds back water 8m deep. If the water density is 1000 kg/m³ and g = 10 m/s², what is the hydrostatic pressure at the bottom of the dam?
Summary
Hydrostatic force demonstrates the power of integration to convert a continuously varying quantity (pressure) into a total force. The key formulas are:
Hydrostatic Pressure
Pressure increases linearly with depth
Force on a Horizontal Surface
Uniform pressure — no integration needed
Force on a Vertical Surface
For rectangles from surface to depth H:
Key Takeaways
- Pressure increases linearly with depth:
- Horizontal surfaces experience uniform pressure — simple
- Vertical surfaces require integration because pressure varies with depth
- The force on a vertical rectangle is proportional to , not
- For general shapes, either integrate or use the centroid shortcut:
- Engineering applications include dams, submarines, aquariums, and any structure holding fluid
Coming Next: In the next section, we'll explore Moments and Center of Mass — using integration to find the balance point of continuous distributions of mass.