In mathematics, an integral is the continuous analog of a sum, which is used to calculate areas, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental operations of calculus,[1] the other being differentiation. Integration was initially used to solve problems in mathematics and physics, such as finding the area under a curve, or determining displacement from velocity. Usage of integration expanded to a wide variety of scientific fields thereafter.
A definite integral computes the signed area of the region in the plane that is bounded by the graph of a given function between two points in the real line. Conventionally, areas above the horizontal axis of the plane are positive while areas below are negative. Integrals also refer to the concept of an antiderivative, a function whose derivative is the given function; in this case, they are also called indefinite integrals. The fundamental theorem of calculus relates definite integration to differentiation and provides a method to compute the definite integral of a function when its antiderivative is known; differentiation and integration are inverse operations.
Although methods of calculating areas and volumes dated from ancient Greek mathematics, the principles of integration were formulated independently by Isaac Newton and Gottfried Wilhelm Leibniz in the late 17th century, who thought of the area under a curve as an infinite sum of rectangles of infinitesimal width. Bernhard Riemann later gave a rigorous definition of integrals, which is based on a limiting procedure that approximates the area of a curvilinear region by breaking the region into infinitesimally thin vertical slabs. In the early 20th century, Henri Lebesgue generalized Riemann's formulation by introducing what is now referred to as the Lebesgue integral; it is more general than Riemann's in the sense that a wider class of functions are Lebesgue-integrable.
Integrals may be generalized depending on the type of the function as well as the domain over which the integration is performed. For example, a line integral is defined for functions of two or more variables, and the interval of integration is replaced by a curve connecting two points in space. In a surface integral, the curve is replaced by a piece of a surface in three-dimensional space.
See also: History of calculus.
The first documented systematic technique capable of determining integrals is the method of exhaustion of the ancient Greek astronomer Eudoxus and philosopher Democritus (ca. 370 BC), which sought to find areas and volumes by breaking them up into an infinite number of divisions for which the area or volume was known.[2] This method was further developed and employed by Archimedes in the 3rd century BC and used to calculate the area of a circle, the surface area and volume of a sphere, area of an ellipse, the area under a parabola, the volume of a segment of a paraboloid of revolution, the volume of a segment of a hyperboloid of revolution, and the area of a spiral.[3]
A similar method was independently developed in China around the 3rd century AD by Liu Hui, who used it to find the area of the circle. This method was later used in the 5th century by Chinese father-and-son mathematicians Zu Chongzhi and Zu Geng to find the volume of a sphere.[4]
In the Middle East, Hasan Ibn al-Haytham, Latinized as Alhazen ( AD) derived a formula for the sum of fourth powers.[5] Alhazen determined the equations to calculate the area enclosed by the curve represented by
y=xk
\intxkdx
k
The next significant advances in integral calculus did not begin to appear until the 17th century. At this time, the work of Cavalieri with his method of indivisibles, and work by Fermat, began to lay the foundations of modern calculus,[8] with Cavalieri computing the integrals of up to degree in Cavalieri's quadrature formula.[9] The case n = -1 required the invention of a function, the hyperbolic logarithm, achieved by quadrature of the hyperbola in 1647.
Further steps were made in the early 17th century by Barrow and Torricelli, who provided the first hints of a connection between integration and differentiation. Barrow provided the first proof of the fundamental theorem of calculus.[10] Wallis generalized Cavalieri's method, computing integrals of to a general power, including negative powers and fractional powers.[11]
The major advance in integration came in the 17th century with the independent discovery of the fundamental theorem of calculus by Leibniz and Newton.[12] The theorem demonstrates a connection between integration and differentiation. This connection, combined with the comparative ease of differentiation, can be exploited to calculate integrals. In particular, the fundamental theorem of calculus allows one to solve a much broader class of problems. Equal in importance is the comprehensive mathematical framework that both Leibniz and Newton developed. Given the name infinitesimal calculus, it allowed for precise analysis of functions with continuous domains. This framework eventually became modern calculus, whose notation for integrals is drawn directly from the work of Leibniz.
While Newton and Leibniz provided a systematic approach to integration, their work lacked a degree of rigour. Bishop Berkeley memorably attacked the vanishing increments used by Newton, calling them "ghosts of departed quantities".[13] Calculus acquired a firmer footing with the development of limits. Integration was first rigorously formalized, using limits, by Riemann.[14] Although all bounded piecewise continuous functions are Riemann-integrable on a bounded interval, subsequently more general functions were considered—particularly in the context of Fourier analysis—to which Riemann's definition does not apply, and Lebesgue formulated a different definition of integral, founded in measure theory (a subfield of real analysis). Other definitions of integral, extending Riemann's and Lebesgue's approaches, were proposed. These approaches based on the real number system are the ones most common today, but alternative approaches exist, such as a definition of integral as the standard part of an infinite Riemann sum, based on the hyperreal number system.
The notation for the indefinite integral was introduced by Gottfried Wilhelm Leibniz in 1675.[15] He adapted the integral symbol, ∫, from the letter ſ (long s), standing for summa (written as ſumma; Latin for "sum" or "total"). The modern notation for the definite integral, with limits above and below the integral sign, was first used by Joseph Fourier in Mémoires of the French Academy around 1819–1820, reprinted in his book of 1822.[16]
Isaac Newton used a small vertical bar above a variable to indicate integration, or placed the variable inside a box. The vertical bar was easily confused with or, which are used to indicate differentiation, and the box notation was difficult for printers to reproduce, so these notations were not widely adopted.[17]
The term was first printed in Latin by Jacob Bernoulli in 1690: "Ergo et horum Integralia aequantur".[18]
In general, the integral of a real-valued function with respect to a real variable on an interval is written as
b | |
\int | |
a |
f(x)dx.
When the limits are omitted, as in
\intf(x)dx,
the integral is called an indefinite integral, which represents a class of functions (the antiderivative) whose derivative is the integrand.[20] The fundamental theorem of calculus relates the evaluation of definite integrals to indefinite integrals. There are several extensions of the notation for integrals to encompass integration on unbounded domains and/or in multiple dimensions (see later sections of this article).
In advanced settings, it is not uncommon to leave out when only the simple Riemann integral is being used, or the exact type of integral is immaterial. For instance, one might write to express the linearity of the integral, a property shared by the Riemann integral and all generalizations thereof.[21]
Integrals appear in many practical situations. For instance, from the length, width and depth of a swimming pool which is rectangular with a flat bottom, one can determine the volume of water it can contain, the area of its surface, and the length of its edge. But if it is oval with a rounded bottom, integrals are required to find exact and rigorous values for these quantities. In each case, one may divide the sought quantity into infinitely many infinitesimal pieces, then sum the pieces to achieve an accurate approximation.
As another example, to find the area of the region bounded by the graph of the function between and, one can divide the interval into five pieces, then construct rectangles using the right end height of each piece (thus) and sum their areas to get the approximation
style\sqrt{ | 1 |
5 |
1 | |
\int | |
0 |
\sqrt{x}dx=
2 | |
3 |
,
There are many ways of formally defining an integral, not all of which are equivalent. The differences exist mostly to deal with differing special cases which may not be integrable under other definitions, but are also occasionally for pedagogical reasons. The most commonly used definitions are Riemann integrals and Lebesgue integrals.
See main article: Riemann integral. The Riemann integral is defined in terms of Riemann sums of functions with respect to tagged partitions of an interval.[22] A tagged partition of a closed interval on the real line is a finite sequence
a=x0\let1\lex1\let2\lex2\le … \lexn-1\letn\lexn=b.
This partitions the interval into sub-intervals indexed by, each of which is "tagged" with a specific point . A Riemann sum of a function with respect to such a tagged partition is defined as
n | |
\sum | |
i=1 |
f(ti)\Deltai;
thus each term of the sum is the area of a rectangle with height equal to the function value at the chosen point of the given sub-interval, and width the same as the width of sub-interval, . The mesh of such a tagged partition is the width of the largest sub-interval formed by the partition, . The Riemann integral of a function over the interval is equal to if:[23]
For all
\varepsilon>0
\delta>0
[a,b]
\delta
\left|S-
n | |
\sum | |
i=1 |
f(ti)\Deltai\right|<\varepsilon.
When the chosen tags are the maximum (respectively, minimum) value of the function in each interval, the Riemann sum becomes an upper (respectively, lower) Darboux sum, suggesting the close connection between the Riemann integral and the Darboux integral.
See main article: Lebesgue integration. It is often of interest, both in theory and applications, to be able to pass to the limit under the integral. For instance, a sequence of functions can frequently be constructed that approximate, in a suitable sense, the solution to a problem. Then the integral of the solution function should be the limit of the integrals of the approximations. However, many functions that can be obtained as limits are not Riemann-integrable, and so such limit theorems do not hold with the Riemann integral. Therefore, it is of great importance to have a definition of the integral that allows a wider class of functions to be integrated.[24]
Such an integral is the Lebesgue integral, that exploits the following fact to enlarge the class of integrable functions: if the values of a function are rearranged over the domain, the integral of a function should remain the same. Thus Henri Lebesgue introduced the integral bearing his name, explaining this integral thus in a letter to Paul Montel:[25]
As Folland puts it, "To compute the Riemann integral of, one partitions the domain into subintervals", while in the Lebesgue integral, "one is in effect partitioning the range of ".[26] The definition of the Lebesgue integral thus begins with a measure, μ. In the simplest case, the Lebesgue measure of an interval is its width,, so that the Lebesgue integral agrees with the (proper) Riemann integral when both exist.[27] In more complicated cases, the sets being measured can be highly fragmented, with no continuity and no resemblance to intervals.
Using the "partitioning the range of " philosophy, the integral of a non-negative function should be the sum over of the areas between a thin horizontal strip between and . This area is just . Let . The Lebesgue integral of is then defined by
\intf=
infty | |
\int | |
0 |
f*(t)dt
where the integral on the right is an ordinary improper Riemann integral (is a strictly decreasing positive function, and therefore has a well-defined improper Riemann integral).[28] For a suitable class of functions (the measurable functions) this defines the Lebesgue integral.
A general measurable function is Lebesgue-integrable if the sum of the absolute values of the areas of the regions between the graph of and the -axis is finite:[29]
\intE|f|d\mu<+infty.
In that case, the integral is, as in the Riemannian case, the difference between the area above the -axis and the area below the -axis:[30]
\intEfd\mu=\intEf+d\mu-\intEf-d\mu
where
\begin{alignat}{3} &f+(x)&&{}={}max\{f(x),0\}&&{}={}\begin{cases} f(x),&iff(x)>0,\\ 0,&otherwise, \end{cases}\\ &f-(x)&&{}={}max\{-f(x),0\}&&{}={}\begin{cases} -f(x),&iff(x)<0,\\ 0,&otherwise. \end{cases} \end{alignat}
Although the Riemann and Lebesgue integrals are the most widely used definitions of the integral, a number of others exist, including:
The collection of Riemann-integrable functions on a closed interval forms a vector space under the operations of pointwise addition and multiplication by a scalar, and the operation of integration
f\mapsto
b | |
\int | |
a |
f(x) dx
is a linear functional on this vector space. Thus, the collection of integrable functions is closed under taking linear combinations, and the integral of a linear combination is the linear combination of the integrals:[31]
b | |
\int | |
a |
(\alphaf+\betag)(x)dx=\alpha
b | |
\int | |
a |
f(x)dx+\beta
b | |
\int | |
a |
g(x)dx.
Similarly, the set of real-valued Lebesgue-integrable functions on a given measure space with measure is closed under taking linear combinations and hence form a vector space, and the Lebesgue integral
f\mapsto\intEfd\mu
is a linear functional on this vector space, so that:
\intE(\alphaf+\betag)d\mu=\alpha\intEfd\mu+\beta\intEgd\mu.
More generally, consider the vector space of all measurable functions on a measure space, taking values in a locally compact complete topological vector space over a locally compact topological field . Then one may define an abstract integration map assigning to each function an element of or the symbol,
f\mapsto\intEfd\mu,
that is compatible with linear combinations.[32] In this situation, the linearity holds for the subspace of functions whose integral is an element of (i.e. "finite"). The most important special cases arise when is,, or a finite extension of the field of p-adic numbers, and is a finite-dimensional vector space over, and when and is a complex Hilbert space.
Linearity, together with some natural continuity properties and normalization for a certain class of "simple" functions, may be used to give an alternative definition of the integral. This is the approach of Daniell for the case of real-valued functions on a set, generalized by Nicolas Bourbaki to functions with values in a locally compact topological vector space. See for an axiomatic characterization of the integral.
A number of general inequalities hold for Riemann-integrable functions defined on a closed and bounded interval and can be generalized to other notions of integral (Lebesgue and Daniell).
(fg)(x)= f(x) g(x), \; f^2 (x) = (f(x))^2, \; |f| (x) = |f(x)|. If is Riemann-integrable on then the same is true for, and Moreover, if and are both Riemann-integrable then is also Riemann-integrable, and This inequality, known as the Cauchy–Schwarz inequality, plays a prominent role in Hilbert space theory, where the left hand side is interpreted as the inner product of two square-integrable functions and on the interval .
\left(\int \left|f(x)\right|^p\,dx \right)^ \left(\int\left|g(x)\right|^q\,dx\right)^. For, Hölder's inequality becomes the Cauchy–Schwarz inequality.
\left(\int \left|f(x)\right|^p\,dx \right)^ +\left(\int \left|g(x)\right|^p\,dx \right)^. An analogue of this inequality for Lebesgue integral is used in construction of Lp spaces.
In this section, is a real-valued Riemann-integrable function. The integral
b | |
\int | |
a |
f(x)dx
over an interval is defined if . This means that the upper and lower sums of the function are evaluated on a partition whose values are increasing. Geometrically, this signifies that integration takes place "left to right", evaluating within intervals where an interval with a higher index lies to the right of one with a lower index. The values and, the end-points of the interval, are called the limits of integration of . Integrals can also be defined if :
b | |
\int | |
a |
f(x)dx=-
a | |
\int | |
b |
f(x)dx.
With, this implies:
a | |
\int | |
a |
f(x)dx=0.
The first convention is necessary in consideration of taking integrals over subintervals of ; the second says that an integral taken over a degenerate interval, or a point, should be zero. One reason for the first convention is that the integrability of on an interval implies that is integrable on any subinterval, but in particular integrals have the property that if is any element of, then:
b | |
\int | |
a |
f(x)dx=
c | |
\int | |
a |
f(x)dx+
b | |
\int | |
c |
f(x)dx.
With the first convention, the resulting relation
\begin{align}
c | |
\int | |
a |
f(x)dx&{}=
b | |
\int | |
a |
f(x)dx-
b | |
\int | |
c |
f(x)dx\\ &{}=
b | |
\int | |
a |
f(x)dx+
c | |
\int | |
b |
f(x)dx \end{align}
is then well-defined for any cyclic permutation of,, and .
See main article: Fundamental theorem of calculus. The fundamental theorem of calculus is the statement that differentiation and integration are inverse operations: if a continuous function is first integrated and then differentiated, the original function is retrieved.[35] An important consequence, sometimes called the second fundamental theorem of calculus, allows one to compute integrals by using an antiderivative of the function to be integrated.[36]
Let be a continuous real-valued function defined on a closed interval . Let be the function defined, for all in, by
F(x)=
x | |
\int | |
a |
f(t)dt.
Then, is continuous on, differentiable on the open interval, and
F'(x)=f(x)
for all in .
Let be a real-valued function defined on a closed interval [{{math|''a'', ''b''}}] that admits an antiderivative on . That is, and are functions such that for all in,
f(x)=F'(x).
If is integrable on then
b | |
\int | |
a |
f(x)dx=F(b)-F(a).
See main article: Improper integral. A "proper" Riemann integral assumes the integrand is defined and finite on a closed and bounded interval, bracketed by the limits of integration. An improper integral occurs when one or more of these conditions is not satisfied. In some cases such integrals may be defined by considering the limit of a sequence of proper Riemann integrals on progressively larger intervals.
If the interval is unbounded, for instance at its upper end, then the improper integral is the limit as that endpoint goes to infinity:[37]
infty | |
\int | |
a |
f(x)dx=\limb
b | |
\int | |
a |
f(x)dx.
If the integrand is only defined or finite on a half-open interval, for instance