## Line Integral of a Scalar Field

A line integral (sometimes called a path integral) is an integral where the function to be integrated is evaluated along a curve. In the case of a closed curve it is also called a contour integral.

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