Line Integral — Definition, Formula & Examples
A line integral is the integral of a function evaluated along a curve, accumulating values of the function as you travel the path. It generalizes ordinary definite integrals from straight intervals to arbitrary curves in two or three dimensions.
Given a smooth curve parameterized by for , the line integral of a scalar field over is . For a vector field , the line integral is .
Key Formula
Where:
- = The curve along which you integrate
- = A vector field defined along the curve
- = Parameterization of the curve for t in [a, b]
- = Derivative of the parameterization (tangent vector)
How It Works
To evaluate a line integral, first parameterize the curve using a parameter . For a scalar line integral, compute (the speed), multiply by , and integrate over . For a vector line integral, take the dot product of the vector field with and integrate. The scalar version measures quantities like mass along a wire with varying density; the vector version measures work done by a force along a path.
Worked Example
Problem: Evaluate the line integral where and is the line segment from to .
Parameterize the curve: Let for . Then .
Substitute into the integrand: Along the curve, . The dot product with is .
Integrate: Evaluate the integral from 0 to 1.
Answer: The line integral equals .
Why It Matters
Line integrals are essential for computing work done by a force field in physics and for calculating circulation and flux in fluid dynamics. They appear directly in Green's Theorem, Stokes' Theorem, and the Divergence Theorem, which form the backbone of vector calculus used throughout engineering and physics courses.
Common Mistakes
Mistake: Forgetting to include in scalar line integrals or confusing with .
Correction: Remember that . For scalar integrals you must multiply by the speed factor; for vector integrals you use directly (no magnitude).
