Computing Line Integrals of Scalar Functions
You'll learn how to evaluate line integrals of scalar functions along curves by converting them into single-variable integrals using parametrization.
The Core Idea
A line integral of a scalar function measures the "accumulated effect" of a function along a curve—imagine summing up temperature values along a winding mountain path, weighted by distance traveled. Unlike ordinary integrals over intervals, line integrals follow curves in 2D or 3D space.
To compute a line integral of a scalar function f along a curve C, you need three ingredients:
- A parametrization of the curve:
r(t) = (x(t), y(t))orr(t) = (x(t), y(t), z(t))for some intervala ≤ t ≤ b - The scalar function
fevaluated along the curve - The arc length element
ds, which measures tiny distances along the curve
The Formula
The line integral of f along curve C is:
Here, ||r'(t)|| is the magnitude of the velocity vector (the arc length element), and f(r(t)) substitutes the parametric equations into f.
How It Works
Think of walking along a path: at each instant t, you multiply the function's value at that location by the speed you're moving (||r'(t)||), then sum over time. This converts a path integral into a familiar single-variable integral.
Example: To integrate f(x,y) = x + y along the line from (0,0) to (1,1), parametrize as r(t) = (t, t) for 0 ≤ t ≤ 1. Then r'(t) = (1,1), so ||r'(t)|| = √2, and the integral becomes ∫₀¹ (t + t)√2 dt = 2√2.
Key Takeaway: To compute a line integral of a scalar function, parametrize the curve, substitute into the function, multiply by the speed ||r'(t)||, and integrate over the parameter interval.