This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Line integral" – news ·newspapers ·books ·scholar ·JSTOR(June 2023) (Learn how and when to remove this message) |
| Part of a series of articles about | ||||||
| Calculus | ||||||
|---|---|---|---|---|---|---|
| ||||||
| ||||||
Specialized | ||||||
Inmathematics, aline integral is anintegral where thefunction to be integrated is evaluated along acurve.[1] The termspath integral,curve integral, andcurvilinear integral are also used;contour integral is used as well, although that is typically reserved forline integrals in the complex plane.
The function to be integrated may be ascalar field or avector 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 (commonlyarc length or, for a vector field, thescalar product of the vector field with adifferential vector in the curve). This weighting distinguishes the line integral from simpler integrals defined onintervals. Many simple formulae in physics, such as the definition ofwork as, have natural continuous analogues in terms of line integrals, in this case, which computes thework done on an object moving through an electric or gravitational fieldF along a path.
In qualitative terms, a line integral in vector calculus can be thought of as a measure of the total effect of a giventensor 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 byz =f(x,y) and a curveC in thexy plane. The line integral off would be the area of the "curtain" created—when the points of the surface that are directly overC are carved out.

For somescalar field where, the line integral along apiecewise smoothcurve is defined aswhere is an arbitrarybijectiveparametrization of the curve such thatr(a) andr(b) give the endpoints of anda <b. Here, and in the rest of the article, the absolute value bars denote thestandard (Euclidean) norm of a vector.
The functionf is called the integrand, the curve is the domain of integration, and the symbolds may be intuitively interpreted as an elementaryarc length of the curve (i.e., a differential length of). Line integrals of scalar fields over a curve do not depend on the chosen parametrizationr of.[2]
Geometrically, when the scalar fieldf is defined over a plane(n = 2), its graph is a surfacez =f(x,y) in space, and the line integral gives the (signed)cross-sectional area bounded by the curve and the graph off. See the animation to the right.
For a line integral over a scalar field, the integral can be constructed from aRiemann sum using the above definitions off,C and a parametrizationr ofC. This can be done by partitioning theinterval[a,b] inton sub-intervals[ti−1,ti] of lengthΔt = (b −a)/n, thenr(ti) denotes some point, call it a sample point, on the curveC. We can use theset of sample points{r(ti): 1 ≤i ≤n} to approximate the curveC as apolygonal path by introducing the straight line piece between each of the sample pointsr(ti−1) andr(ti). (The approximation of a curve to a polygonal path is calledrectification of a curve, seehere for more details.) We then label the distance of the line segment between adjacent sample points on the curve asΔsi. The product off(r(ti)) andΔsi can be associated with the signed area of a rectangle with a height and width off(r(ti)) andΔsi, respectively. Taking thelimit of thesum of the terms as the length of the partitions approaches zero gives us
By themean value theorem, the distance between subsequent points on the curve, is
Substituting this in the above Riemann sum yieldswhich is the Riemann sum for the integral
For avector fieldF:U ⊆Rn →Rn, the line integral along apiecewise smoothcurveC ⊂U, in the direction ofr, is defined aswhere· is thedot product, andr: [a,b] →C is a regularparametrization (i.e:) of the curveC such thatr(a) andr(b) give the endpoints ofC.
A line integral of a scalar field is thus a line integral of a vector field, where the vectors are alwaystangential to the line of the integration.
Line integrals of vector fields are independent of the parametrizationr inabsolute value, but they do depend on itsorientation. Specifically, a reversal in the orientation of the parametrization changes the sign of the line integral.[2]
From the viewpoint ofdifferential geometry, the line integral of a vector field along a curve is the integral of the corresponding 1-form under themusical isomorphism (which takes the vector field to the correspondingcovector field), over the curve considered as animmersed 1-manifold.

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 ofF,C and its parametrizationr(t), we construct the integral from aRiemann sum. We partition theinterval[a,b] (which is the range of the values of theparametert) inton intervals of lengthΔt = (b −a)/n. Lettingti be theith point on[a,b], thenr(ti) gives us the position of theith point on the curve. However, instead of calculating up the distances between subsequent points, we need to calculate theirdisplacement vectors,Δri. As before, evaluatingF at all the points on the curve and taking the dot product with each displacement vector gives us theinfinitesimal contribution of each partition ofF onC. Letting the size of the partitions go to zero gives us a sum
By themean value theorem, we see that the displacement vector between adjacent points on the curve is
Substituting this in the above Riemann sum yields
which is the Riemann sum for the integral defined above.
If a vector fieldF is thegradient of ascalar fieldG (i.e. ifF isconservative), that is,then by themultivariable chain rule thederivative of thecomposition ofG andr(t) iswhich happens to be the integrand for the line integral ofF onr(t). It follows, given a pathC, that
In other words, the integral ofF overC depends solely on the values ofG at the pointsr(b) andr(a), and is thus independent of the path between them. For this reason, a line integral of a conservative vector field is calledpath independent.
The line integral has many uses in physics. For example, thework done on a particle traveling on a curveC inside a force field represented as a vector fieldF is the line integral ofF onC.[3]
For another example, seeAmpère's circuital law.
For avector field,F(x,y) = (P(x,y),Q(x,y)), theline integral across a curveC ⊂U, also called theflux integral, is defined in terms of apiecewise smoothparametrizationr: [a,b] →C,r(t) = (x(t),y(t)), as:
Here⋅ is the dot product, and is the clockwise perpendicular of the velocity vector.
The flow is computed in an oriented sense: the curveC has a specified forward direction fromr(a) tor(b), and the flow is counted as positive whenF(r(t)) is on the clockwise side of the forward velocity vectorr'(t).
Incomplex analysis, the line integral is defined in terms ofmultiplication andaddition of complex numbers. SupposeU is anopen subset of thecomplex planeC,f :U →C is a function, and is a curve of finite length, parametrized byγ: [a,b] →L, whereγ(t) =x(t) +iy(t). The line integralmay be defined by subdividing theinterval [a,b] intoa =t0 <t1 < ... <tn =b and considering the expression
The integral is then the limit of thisRiemann sum as the lengths of the subdivision intervals approach zero.
If the parametrizationγ iscontinuously differentiable, the line integral can be evaluated as an integral of a function of a real variable:
WhenL is a closed curve (initial and final points coincide), the line integral is often denoted sometimes referred to in engineering as acyclic integral.
To establish a complete analogy with the line integral of a vector field, one must go back to the definition of differentiability in multivariable calculus. The gradient is defined fromRiesz representation theorem, and inner products in complex analysis involve conjugacy (the gradient of a function at some would be, and the complex inner product would attribute twice a conjugate to in the vector field definition of a line integral).
The line integral with respect to the conjugate complex differential is defined[4] to be
The line integrals of complex functions can be evaluated using a number of techniques. The most direct is to split into real and imaginary parts, reducing the problem to evaluating two real-valued line integrals. TheCauchy integral theorem may be used to equate the line integral of ananalytic function to the same integral over a more convenient curve. It also implies that over a closed curve enclosing a region wheref(z) is analytic withoutsingularities, the value of the integral is simply zero, or in case the region includes singularities, theresidue theorem computes the integral in terms of the singularities. This also implies the path independence of complex line integral for analytic functions.
Consider the functionf(z) = 1/z, and let the contourL be the counterclockwiseunit circle about 0, parametrized byz(t) =eit witht in[0, 2π] using thecomplex exponential. Substituting, we find:
This is a typical result ofCauchy's integral formula and theresidue theorem.
Viewing complex numbers as 2-dimensionalvectors, the line integral of a complex-valued function has real and complex parts equal to the line integral and the flux integral of the vector field corresponding to theconjugate function Specifically, if parametrizesL, and corresponds to the vector field then:
ByCauchy's theorem, the left-hand integral is zero when is analytic (satisfying theCauchy–Riemann equations) for any smooth closed curve L. Correspondingly, byGreen's theorem, the right-hand integrals are zero when isirrotational (curl-free) andincompressible (divergence-free). In fact, the Cauchy-Riemann equations for are identical to the vanishing of curl and divergence forF.
ByGreen's theorem, the area of a region enclosed by a smooth, closed, positively oriented curve is given by the integral This fact is used, for example, in the proof of thearea theorem.
Thepath integral formulation ofquantum mechanics actually refers not to path integrals in this sense but tofunctional integrals, that is, integrals over a space of paths, of a functionof a possible path. However, path integrals in the sense of this article are important in quantum mechanics; for example, complex contour integration is often used in evaluatingprobability amplitudes in quantumscattering theory.