Work, Energy & Fields
via Integration
Learn how line integrals and surface integrals let us compute work done by variable forces, energy stored in fields, and flux through surfaces.
Why Do We Need Integration?
In introductory physics, work is often computed as \( W = Fd\cos\theta \). But this formula only works when the force is constant along a straight path. In reality, forces vary in magnitude and direction as an object moves through space.
What Is a Line Integral?
A line integral accumulates a quantity along a curve \( C \). For a vector field \( \vec{F} \), the line integral measures how much the field acts along the direction of travel:
Here \( \vec{r}(t) \) is a parametrization of the curve from \( t = a \) to \( t = b \), and \( d\vec{r} = \vec{r}\,\'(t)\,dt \) is the infinitesimal displacement vector along the path.
Visualizing \( \vec{F} \cdot d\vec{r} \)
What Is a Surface Integral?
A surface integral accumulates a quantity over a 2D surface \( S \). For a vector field \( \vec{F} \), it measures flux: how much of the field passes through the surface.
Here \( \hat{n} \) is the unit normal to the surface at each point, and \( dA \) is the infinitesimal area element. Only the component of \( \vec{F} \) perpendicular to the surface contributes to flux.
The Work-Energy Theorem via Integration
This is the integral generalization of \( W = Fd \). It holds for any path, any varying force, and in any number of dimensions.
Gauss's Law: Flux as a Surface Integral
The total electric flux through a closed surface equals the enclosed charge divided by \( \varepsilon_0 \). This is a surface integral of the electric field \( \vec{E} \) over the surface \( S \).
Line vs. Surface Integrals
| Line Integral | Surface Integral | |
|---|---|---|
| Domain | Curve \( C \) (1D) | Surface \( S \) (2D) |
| Element | \( d\vec{r} \) | \( d\vec{A} = \hat{n}\,dA \) |
| Measures | Work, circulation | Flux |
| Notation | \( \int_C \vec{F} \cdot d\vec{r} \) | \( \iint_S \vec{F} \cdot d\vec{A} \) |
| Physics Example | Work by gravity on a ramp | Electric flux through a sphere |
How to Evaluate a Line Integral
Example 1: Work by a Spring
A spring with constant \( k = 200 \) N/m is initially compressed to \( x = -0.3 \) m. Find the work done by the spring as it expands back to its equilibrium position (\( x = 0 \)).
Example 2: Line Integral in 2D
Find the work done by \( \vec{F} = \langle 2x, \, 3y \rangle \) along the straight line from \( (0, 0) \) to \( (1, 2) \).
Example 3: Electric Flux Through a Sphere
A point charge \( Q = 5 \, \mu\text{C} \) sits at the center of a sphere of radius \( R = 0.2 \) m. Find the electric flux through the sphere.
Example 4: Gravity on a Curved Ramp
A 2 kg block slides from height \( h = 5 \) m to \( h = 0 \) along a frictionless curved track. Find the work done by gravity.
Conservative vs. Non-Conservative Forces
Common Mistakes to Avoid
Summary: Integration in Physics
| Concept | Formula | Physical Meaning |
|---|---|---|
| Work (variable force) | \( \int_C \vec{F} \cdot d\vec{r} \) | Energy transferred along path |
| Work (1D spring) | \( \int_{x_1}^{x_2} F(x)\, dx \) | Area under force-displacement curve |
| Electric flux | \( \iint_S \vec{E} \cdot d\vec{A} \) | Field passing through surface |
| Gauss's Law | \( \oint_S \vec{E} \cdot d\vec{A} = \frac{Q_{\text{enc}}}{\varepsilon_0} \) | Flux equals enclosed charge |
| Conservative work | \( W = -\Delta U \) | Path-independent, uses potential |
Question 1 of 5
A force \( \vec{F} = \langle y, \, x \rangle \) acts on a particle. The work done moving the particle along a straight line from \( (0, 0) \) to \( (3, 3) \) is:
Question 2 of 5
The work done by a spring (constant \( k = 400 \) N/m) as it stretches from \( x = 0.1 \) m to \( x = 0.3 \) m is:
Question 3 of 5
For a conservative force, which statement is always true?
Question 4 of 5
By Gauss's Law, if the total charge enclosed by a Gaussian surface is doubled, the electric flux through the surface:
Question 5 of 5
A surface integral \( \iint_S \vec{F} \cdot d\vec{A} \) measures the flux of a field through a surface. What role does the dot product play here?