In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a line integral is an
integral
In mathematics, an integral is the continuous analog of a Summation, sum, which is used to calculate area, areas, volume, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental oper ...
where the
function to be integrated is evaluated along a
curve
In mathematics, a curve (also called a curved line in older texts) is an object similar to a line, but that does not have to be straight.
Intuitively, a curve may be thought of as the trace left by a moving point. This is the definition that ...
.
The terms ''path integral'', ''curve integral'', and ''curvilinear integral'' are also used; ''
contour integral'' is used as well, although that is typically reserved for
line integrals in the complex plane.
The function to be integrated may be a
scalar field
In mathematics and physics, a scalar field is a function associating a single number to each point in a region of space – possibly physical space. The scalar may either be a pure mathematical number ( dimensionless) or a scalar physical ...
or a
vector field
In vector calculus and physics, a vector field is an assignment of a vector to each point in a space, most commonly Euclidean space \mathbb^n. A vector field on a plane can be visualized as a collection of arrows with given magnitudes and dire ...
. 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
Arc length is the distance between two points along a section of a curve. Development of a formulation of arc length suitable for applications to mathematics and the sciences is a problem in vector calculus and in differential geometry. In the ...
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 have natural continuous analogues in terms of line integrals, in this case which computes the
work done on an object moving through an electric or gravitational field along a path
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 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
In mathematics and physics, a scalar field is a function associating a single number to each point in a region of space – possibly physical space. The scalar may either be a pure mathematical number ( dimensionless) or a scalar physical ...
where
, the line integral along a
piecewise smooth curve
In mathematics, a curve (also called a curved line in older texts) is an object similar to a line, but that does not have to be straight.
Intuitively, a curve may be thought of as the trace left by a moving point. This is the definition that ...
is defined as
where
is an arbitrary
bijective
In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ...
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
Arc length is the distance between two points along a section of a curve. Development of a formulation of arc length suitable for applications to mathematics and the sciences is a problem in vector calculus and in differential geometry. In the ...
of the curve
(i.e., a differential length of
). 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.
Derivation
For a line integral over a scalar field, the integral can be constructed from a
Riemann sum
In mathematics, a Riemann sum is a certain kind of approximation of an integral by a finite sum. It is named after nineteenth century German mathematician Bernhard Riemann. One very common application is in numerical integration, i.e., approxima ...
using the above definitions of , and a parametrization of . This can be done by partitioning the
interval into sub-intervals of length , then denotes some point, call it a sample point, on the curve . We can use the
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
of sample points to approximate the curve as a
polygonal path by introducing the straight line piece between each of the sample points and . (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 . The product of and can be associated with the signed area of a rectangle with a height and width of and , respectively. Taking the
limit of the
sum of the terms as the length of the partitions approaches zero gives us
By the
mean value theorem
In mathematics, the mean value theorem (or Lagrange's mean value theorem) states, roughly, that for a given planar arc (geometry), arc between two endpoints, there is at least one point at which the tangent to the arc is parallel to the secant lin ...
, 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 field
Definition
For a
vector field
In vector calculus and physics, a vector field is an assignment of a vector to each point in a space, most commonly Euclidean space \mathbb^n. A vector field on a plane can be visualized as a collection of arrows with given magnitudes and dire ...
, the line integral along a
piecewise smooth curve
In mathematics, a curve (also called a curved line in older texts) is an object similar to a line, but that does not have to be straight.
Intuitively, a curve may be thought of as the trace left by a moving point. This is the definition that ...
, in the direction of r, is defined as
where is the
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
, and is a regular
parametrization (i.e: