# Line integral

In mathematics, a **line integral** is an integral where the function to be integrated is evaluated along a curve. The terms **path integral**, **curve integral**, and **curvilinear integral** are also used; contour integral as well, although that is typically reserved for line integrals in the complex plane.

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 (for example, *W* = **F** · **s**) have natural continuous analogs in terms of line integrals (*W* = ∫_{C} **F** · d**s**). The line integral finds the work done on an object moving through an electric or gravitational field, for example.

## Contents

## Vector calculusEdit

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 *x*-*y* 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 fieldEdit

#### DefinitionEdit

For some scalar field , the line integral along a piecewise smooth curve is defined as

where is an arbitrary bijective parametrization of the curve such that and give the endpoints of and . Here, and in the rest of the article, the absolute value bars denote the standard (euclidean) norm of a vector.

The function is called the integrand, the curve is the domain of integration, and the symbol may be intuitively interpreted as an elementary arc length. Line integrals of scalar fields over a curve do not depend on the chosen parametrization of .

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

#### DerivationEdit

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 [*t*_{i-1}, *t*_{i}] of length Δ*t* = (*b* − *a*)/*n*, then **r**(*t*_{i}) denotes some point, call it a sample point, on the curve *C*. We can use the set of sample points {**r**(*t*_{i}) : 1 ≤ i ≤ n} to approximate the curve *C* by a polygonal path by introducing a straight line piece between each of the sample points **r**(*t*_{i-1}) and **r**(*t*_{i}). We then label the distance between each of the sample points on the curve as Δ*s*_{i}. The product of *f*(**r**(*t*_{i})) and Δ*s*_{i} can be associated with the signed area of a rectangle with a height and width of *f*(**r**(*t*_{i})) and Δ*s*_{i} respectively. Taking the limit of the sum of the terms as the length of the partitions approaches zero gives us

We note that, by the mean value theorem, the distance between subsequent points on the curve, is

Substituting this in the above Riemann sum yields

which is the Riemann sum for the integral

### Line integral of a vector fieldEdit

#### DefinitionEdit

For a vector field **F** : *U* ⊆ **R**^{n} → **R**^{n}, the line integral along a piecewise smooth curve *C* ⊂ *U*, in the direction of **r**, is defined as

where · is the dot product and **r**: [a, b] → *C* is a bijective parametrization 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.

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.

#### DerivationEdit

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 *t _{i}* be the

*i*th point on [

*a*,

*b*], then

**r**(

*t*

_{i}) gives us the position of the

*i*th point on the curve. However, instead of calculating up the distances between subsequent points, we need to calculate their displacement vectors, Δ

**r**

_{i}. 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

By the mean 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.

### Path independenceEdit

If a vector field **F** is the gradient of a scalar field *G* (i.e. if **F** is conservative), that is,

then the derivative of the composition of *G* and **r**(*t*) is

which happens to be the integrand for the line integral of **F** on **r**(*t*). It follows, given a path *C *, that

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*.

### ApplicationsEdit

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*.

## Flow across a curveEdit

For a vector field **F** : *U* ⊆ **R**^{2} → **R**^{2}, such as the line integral **across** a piecewise smooth curve *C* ⊂ *U*, is defined as

where · is the dot product and **r** : [*a*, *b*] → *C*, is a bijective parametrization of the curve *C* such that **r**(*a*) and **r**(*b*) give the endpoints of *C*.

## Complex line integralEdit

In complex analysis, the line integral is defined in terms of multiplication and addition of complex numbers. Suppose *U* is an open subset of the complex plane **C**, *f* : *U* → **C** is a function, and is a curve of finite length, parametrized by , where The line integral

may be defined by subdividing the interval [*a*, *b*] into *a* = *t*_{0} < *t*_{1} < ... < *t*_{n} = *b* and considering the expression

The integral is then the limit of this Riemann sum as the lengths of the subdivision intervals approach zero.

If the parametrization is continuously differentiable, the line integral can be evaluated as an integral of a function of a real variable:

When is a closed curve, that is, its initial and final points coincide, the notation

is often used for the line integral of *f* along .
A closed curve line integral is sometimes referred to as a cyclic integral in engineering applications.

The line integral with respect to the conjugate complex differential is defined^{[1]} to be

The line integrals of complex functions can be evaluated using a number of techniques: the integral may be split into real and imaginary parts reducing the problem to that of evaluating two real-valued line integrals, the Cauchy integral formula may be used in other circumstances. If the line integral is a closed curve in a region where the function is analytic and containing no singularities, then the value of the integral is simply zero; this is a consequence of the Cauchy integral theorem. The residue theorem allows contour integrals to be used in the complex plane to find integrals of real-valued functions of a real variable (see residue theorem for an example).

### ExampleEdit

Consider the function *f*(*z*)=1/*z*, and let the contour *L* be the unit circle about 0, parametrized by z(*t*)=*e*^{it} with *t* in [0, 2π] (which generates the circle counterclockwise). Substituting, we find

Here we have used the fact that any complex number *z* can be written as *re ^{it}* where

*r*is the modulus of

*z*. On the unit circle this is fixed to 1, so the only variable left is the angle, which is denoted by

*t*. This answer can be also verified by Cauchy's integral formula.

### Relation between the line integral of a vector field and the complex line integralEdit

Viewing complex numbers as 2-dimensional vectors, the line integral of a 2-dimensional vector field corresponds to the real part of the line integral of the conjugate of the corresponding complex function of a complex variable. More specifically, if is a parameterization of *L* and , then:

provided that both integrals on the right hand side exist, and that the parametrization of *L* has the same orientation as (just expand the Riemann sum for the lefthand integral and take the limit).

By Green'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 the area theorem.

Due to the Cauchy–Riemann equations the curl of the vector field corresponding to the conjugate of a holomorphic function is zero. This relates through Stokes' theorem both types of line integral being zero.

## Geometric Line integralEdit

A curve embedded in some vectorspace is a pure geometric object, hence it does not need a specific coordinate representation to exist. Let be a one form (for example force) or a linear function on that takes vectors from and mapps them into the reals. Then one can integrate F along a one dimensional object like that curve

Intuitively one feeds this linear function with all the infinitesimal tangent vectors that are attached at each point of . In coordinates the one form has the representation (Note that one summs over pairwise indices)

If one parametrizes the curve by some parameter , by pullback one arrives at the well known line integral form

Note that we made no use of any scalar product hence it is possible to define line integrals without the use of a metric. Of course with a scalar product in hand, the metric induces a map that identifies vectors with 1 forms and one would arrive at the usual definition of line integrals from vector calculus.

where is the vector such that

## Quantum mechanicsEdit

The path integral formulation of quantum mechanics actually refers not to path integrals in this sense but to functional integrals, that is, integrals over a space of paths, of a function *of* 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 evaluating probability amplitudes in quantum scattering theory.

## See alsoEdit

## ReferencesEdit

**^**Ahlfors, Lars (1966).*Complex Analysis*(2nd ed.). New York: McGraw-Hill. p. 103.

## External linksEdit

- Hazewinkel, Michiel, ed. (2001) [1994], "Integral over trajectories",
*Encyclopedia of Mathematics*, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4 - Khan Academy modules:
- Path integral at PlanetMath.org.
- Line integral of a vector field – Interactive