Lably
Skip to content

Line integral

Definite integral of a scalar or vector field along a path

  • 9 min read
  • 4 chapters

Related on Lably

Through Mathematics, Integral and Function (mathematics)

The function to be integrated may be a scalar field or a vector field. The value of the line integral is the sum of values of the field at all points on the curve, weighted by some scalar function on the curve (commonly arc length or, for a vector field, the scalar product of the vector field with a differential vector in the curve). This weighting distinguishes the line integral from simpler integrals defined on intervals. Many simple formulae in physics, such as the definition of work as W=F⋅s, have natural continuous analogues in terms of line integrals, in this case W=∫LF(s)⋅ds, which computes the work done on an object moving through an electric or gravitational field F along a path L.

Vector calculus

In qualitative terms, a line integral in vector calculus can be thought of as a measure of the total effect of a given tensor field along a given curve. For example, the line integral over a scalar field (rank 0 tensor) can be interpreted as the area under the field carved out by a particular curve. This can be visualized as the surface created by z = f(x,y) and a curve C in the xy plane. The line integral of f would be the area of the "curtain" created—when the points of the surface that are directly over C are carved out.

Line integral of a scalar field

Definition

For some scalar field f:U→R where U⊆Rn, the line integral along a piecewise smooth curve C⊂U is defined as ∫Cfds=∫abf(r(t))|r′(t)|dt, where r:[a,b]→C is an arbitrary bijective parametrization of the curve C such that r(a) and r(b) give the endpoints of C and a < b. Here, and in the rest of the article, the absolute value bars denote the standard (Euclidean) norm of a vector.

The function f is called the integrand, the curve C is the domain of integration, and the symbol ds may be intuitively interpreted as an elementary arc length of the curve C (i.e., a differential length of C). Line integrals of scalar fields over a curve C do not depend on the chosen parametrization r of C.

Geometrically, when the scalar field f is defined over a plane (n = 2), its graph is a surface z = f(x, y) in space, and the line integral gives the (signed) cross-sectional area bounded by the curve C and the graph of f. See the animation to the right.

Derivation

For a line integral over a scalar field, the integral can be constructed from a Riemann sum using the above definitions of f, C and a parametrization r of C. This can be done by partitioning the interval [a, b] into n sub-intervals [ti−1, ti] of length Δt = (b − a)/n, then r(ti) denotes some point, call it a sample point, on the curve C. We can use the set of sample points {r(ti): 1 ≤ i ≤ n} to approximate the curve C as a polygonal path by introducing the straight line piece between each of the sample points r(ti−1) and r(ti). (The approximation of a curve to a polygonal path is called rectification of a curve, see here for more details.) We then label the distance of the line segment between adjacent sample points on the curve as Δsi. The product of f(r(ti)) and Δsi can be associated with the signed area of a rectangle with a height and width of f(r(ti)) and Δsi, respectively. Taking the limit of the sum of the terms as the length of the partitions approaches zero gives us I=limΔsi→0∑i=1nf(r(ti))Δsi.

By the mean value theorem, the distance between subsequent points on the curve, is Δsi=|r(ti+Δt)−r(ti)|≈|r′(ti)Δt|

Substituting this in the above Riemann sum yields I=limΔt→0∑i=1nf(r(ti))|r′(ti)|Δt which is the Riemann sum for the integral I=∫abf(r(t))|r′(t)|dt.

Line integral of a vector field

Definition

For a vector field F: U ⊆ Rn → Rn, the line integral along a piecewise smooth curve C ⊂ U, in the direction of r, is defined as ∫CF(r)⋅dr=∫abF(r(t))⋅r′(t)dt where · is the dot product, and r: [a, b] → C is a regular parametrization (i.e: ||r′(t)||≠0∀t∈[a,b]) of the curve C such that r(a) and r(b) give the endpoints of C.

A line integral of a scalar field is thus a line integral of a vector field, where the vectors are always tangential to the line of the integration.

Line integrals of vector fields are independent of the parametrization r in absolute value, but they do depend on its orientation. Specifically, a reversal in the orientation of the parametrization changes the sign of the line integral.

From the viewpoint of differential geometry, the line integral of a vector field along a curve is the integral of the corresponding 1-form under the musical isomorphism (which takes the vector field to the corresponding covector field), over the curve considered as an immersed 1-manifold.

Derivation

The line integral of a vector field can be derived in a manner very similar to the case of a scalar field, but this time with the inclusion of a dot product. Again using the above definitions of F, C and its parametrization r(t), we construct the integral from a Riemann sum. We partition the interval [a, b] (which is the range of the values of the parameter t) into n intervals of length Δt = (b − a)/n. Letting ti be the ith point on [a, b], then r(ti) gives us the position of the ith point on the curve. However, instead of calculating up the distances between subsequent points, we need to calculate their displacement vectors, Δri. As before, evaluating F at all the points on the curve and taking the dot product with each displacement vector gives us the infinitesimal contribution of each partition of F on C. Letting the size of the partitions go to zero gives us a sum I=limΔt→0∑i=1nF(r(ti))⋅Δri

By the mean value theorem, we see that the displacement vector between adjacent points on the curve is Δri=r(ti+Δt)−r(ti)≈r′(ti)Δt.

Substituting this in the above Riemann sum yields I=limΔt→0∑i=1nF(r(ti))⋅r′(ti)Δt,

which is the Riemann sum for the integral defined above.

Path independence

If a vector field F is the gradient of a scalar field G (i.e. if F is conservative), that is, F=∇G, then by the multivariable chain rule the derivative of the composition of G and r(t) is dG(r(t))dt=∇G(r)⋅r′(t)=F(r(t))⋅r′(t) which happens to be the integrand for the line integral of F on r(t). It follows, given a path C, that ∫CF(r)⋅dr=∫abF(r(t))⋅r′(t)dt=∫abdG(r(t))dtdt=G(r(b))−G(r(a)).

In other words, the integral of F over C depends solely on the values of G at the points r(b) and r(a), and is thus independent of the path between them. For this reason, a line integral of a conservative vector field is called path independent.

Applications

The line integral has many uses in physics. For example, the work done on a particle traveling on a curve C inside a force field represented as a vector field F is the line integral of F on C.

For another example, see Ampère's circuital law.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Calculus and analysis