Let I=[a,b]⊂R be a closed bounded interval. A partition of I is a finite set of bounded intervals contained in I such that every x∈I lies in exactly one of the intervals. The intervals may be open, closed or half-open, and may be single points [x,x]={x}. For example, {[0,21),[21,1]} is a partition of [0,1] whereas {[0,21],[21,1]} is not, because 21 lies in both intervals. The lengths of the intervals in a partition of [a,b] sum to b−a.
Let I=[a,b] be a closed bounded interval and P and P′ be partitions of I. The partition P′ is a refinement of P if and only if every interval in P′ is contained in some interval in P.
Let I=[a,b] be a closed bounded interval and P and P′ be partitions of I. The common refinement of P and P′ is the partition formed from the non-empty intersections J∩J′ of intervals J∈P and J′∈P′. The common refinement is a refinement of both P and P′.
Let I=[a,b] be a closed bounded interval, f:I→R be bounded and P be a partition of I. The upper sum of f with respect to P is the sum over the non-empty intervals of P of the supremum of f on each interval weighted by the length of the interval. The lower sum of f with respect to P is the corresponding sum with the infimum in place of the supremum.
Upper and lower sums have the following properties:
L(f,P)≤U(f,P) for every partition P;
refining P cannot increase the upper sum or decrease the lower sum;
by passing to a common refinement, L(f,P)≤U(f,P′) for any two partitions P and P′.
Let I=[a,b] be a closed bounded interval and f:I→R be bounded. The upper integral of f on I is the infimum of the upper sums over all partitions of I, and the lower integral of f on I is the supremum of the lower sums over all partitions of I.
∫abf(x)dx:=PinfU(f,P),∫abf(x)dx:=PsupL(f,P)
Let I=[a,b] be a closed bounded interval and f:I→R be bounded. The function f is Riemann integrable on I if and only if its upper and lower integrals are equal. Equivalently, f is Riemann integrable on I if and only if for every ε>0 there exists a partition P with U(f,P)−L(f,P)≤ε. The set of Riemann integrable functions on [a,b] is written R[a,b].
Let I=[a,b] be a closed bounded interval and f∈R[a,b]. The Riemann integral of f over I is the common value of the upper and lower integrals.
∫abf(x)dx:=∫abf(x)dx=∫abf(x)dx
The function f is the integrand, the numbers a and b are the limits of integration and x is a dummy variable.
Let I=[a,b] be a closed bounded interval and P be a partition of I. A tagged partition is the partition P together with a point ξJ∈J for each non-empty J∈P.
Let I=[a,b] be a closed bounded interval, f:I→R be bounded and P be a tagged partition of I. The Riemann sum of f with respect to P is the sum of the values of f at the tags weighted by the lengths of the intervals.
J∈P,J=∅∑f(ξJ)∣J∣
Every Riemann sum lies between L(f,P) and U(f,P), so if f∈R[a,b] then the Riemann sums converge to ∫abf(x)dx as the length of the longest interval in P tends to 0.
Riemann integrable functions have the following properties:
if f:[a,b]→R is continuous, or bounded and monotonic, or bounded with finitely many discontinuities, then f∈R[a,b];
not every bounded function is Riemann integrable: the function on [0,1] equal to 1 at rational numbers and 0 at irrational numbers has lower integral 0 and upper integral 1.
Let f,g∈R[a,b],c∈R and a<d<b. The Riemann integral has the following properties:
The functions fg,∣f∣ and max{f,g} are also in R[a,b]. By convention ∫aaf(x)dx=0 and ∫baf(x)dx=−∫abf(x)dx, so that the additivity property holds for any ordering of a,b and d.
Let fn∈R[a,b] be a sequence of functions that converges uniformly to f on [a,b]. Then f∈R[a,b] and the integrals converge.
∫abfn(x)dx→∫abf(x)dx
A uniformly convergent series of integrable functions may therefore be integrated term by term. In particular a power series may be integrated term by term over any closed interval inside its interval of convergence.
Let f:[a,b]→R be continuous. The mean value theorem for integrals states that f equals its average value at some point of [a,b].
∃c∈[a,b]:f(c)=b−a1∫abf(x)dx
Let f∈R[a,b]. The integral function of f is the function F:[a,b]→R obtained by integrating f up to a variable upper limit.
F(x):=∫axf(t)dt
Let f∈R[a,b] with integral function F. The first fundamental theorem of calculus states that F is Lipschitz continuous on [a,b] and that F is differentiable at every x0∈[a,b] at which f is continuous, with derivative f(x0).
F′(x0)=f(x0)
Let f:[a,b]→R be a function. An antiderivative or primitive of f on [a,b] is a function F:[a,b]→R that is differentiable on [a,b] with F′=f. Antiderivatives have the following properties:
by the mean value theorem, any two antiderivatives of f on [a,b] differ by a constant;
by the first fundamental theorem of calculus, every continuous function on [a,b] has an antiderivative.
Let f:[a,b]→R be a function with an antiderivative F. The indefinite integral of f, written ∫f(x)dx=F(x)+C, is the family of all antiderivatives of f. The number C∈R is the constant of integration.
Let f∈R[a,b] and F be an antiderivative of f on [a,b]. The second fundamental theorem of calculus states that the integral of f is the net change in F.
∫abf(x)dx=F(b)−F(a)=:[F(x)]ab
Together the two fundamental theorems state that differentiation and integration are inverse operations, up to a constant. The following common antiderivatives are valid on any interval where the integrand is defined:
Let f,g∈C1[a,b].Integration by parts is the product rule in integral form.
∫abf(x)g′(x)dx=[f(x)g(x)]ab−∫abf′(x)g(x)dx
Let φ∈C1[α,β] have image φ([α,β])⊆[a,b] and f be continuous on [a,b].Integration by substitution is the chain rule in integral form.
∫αβf(φ(t))φ′(t)dt=∫φ(α)φ(β)f(x)dx
Let g:[a,∞)→R be a function and L∈R. The function g has the limitL as c→∞, written limc→∞g(c)=L, if and only if for every ε>0 there exists M such that ∣g(c)−L∣≤ε for all c>M.
Let f:[a,∞)→R be a function with f∈R[a,c] for every c>a. The improper integral of f over [a,∞) is the limit of the integrals over [a,c] as c→∞.
∫a∞f(x)dx:=c→∞lim∫acf(x)dx
The improper integral converges if and only if this limit exists, and diverges otherwise. The improper integral ∫−∞bf(x)dx is defined in the same way. The improper integral ∫−∞∞f(x)dx=∫−∞df(x)dx+∫d∞f(x)dx converges if and only if both integrals on the right converge for some, and hence every, d∈R.
Let f:(a,b]→R be a function with f∈R[c,b] for every c∈(a,b), which allows f to be unbounded near a. The improper integral of f over (a,b] is the limit of the integrals over [c,b] as c decreases to a.
∫abf(x)dx:=c→a,c>alim∫cbf(x)dx
The improper integral of a function unbounded near b is defined in the same way. For example,
Let ∫f(x)dx be an improper integral. The improper integral is absolutely convergent if and only if ∫∣f(x)∣dx converges. An absolutely convergent improper integral converges.
Let f and g be functions on the same range of integration. The comparison test for integrals states that if ∣f(x)∣≤g(x) on the range of integration and ∫g(x)dx converges then ∫f(x)dx is absolutely convergent.
The Gaussian integral is the improper integral of e−x2 over R.
∫−∞∞e−x2dx=π
A rectangle in Rn is a Cartesian product R=[a1,b1]×⋯×[an,bn] of n closed bounded intervals. The volume of R is the product of the lengths of its sides.
∣R∣:=i=1∏n(bi−ai)
Let R=[a1,b1]×⋯×[an,bn] be a rectangle. A grid partition of R is a set of rectangles of the form J1×⋯×Jn where Ji ranges over the intervals of a partition of [ai,bi] for each i.
Let R⊂Rn be a rectangle and f:R→R be bounded. The upper and lower sums of f with respect to a grid partition, the upper and lower integrals of f and the multiple integral of f over R, written ∫Rf(x)dx, are defined exactly as in the univariate case with lengths of intervals replaced by volumes of rectangles. The multiple integral has the following properties:
continuous functions on R are integrable;
the multiple integral is linear and monotonic;
the multiple integral is additive over rectangles that overlap only on their boundaries.
Let D⊆Rn. The indicator function of D is the function 1D:Rn→{0,1} that is 1 on D and 0 elsewhere.
Let D⊆Rn be a bounded set, R be a rectangle containing D and f:D→R be a function. The integral of f over D is the integral over R of f multiplied by the indicator function of D, whenever this integral exists.
∫Df(x)dx:=∫Rf(x)1D(x)dx
The volume of D is ∫D1dx.
Let R=[a,b]×[c,d] be a rectangle in R2 and f:R→R be continuous. The iterated integrals of f over R are the integrals obtained by integrating one variable at a time in either order. Fubini’s theorem states that the multiple integral of f equals both iterated integrals.
Fubini’s theorem extends to continuous functions on rectangles in Rn, which can be integrated one coordinate at a time in any order, and to integrable functions whose iterated integrals exist. On a non-rectangular region the limits of the inner integral depend on the outer variable. For example, if D={(x,y):a≤x≤b,g1(x)≤y≤g2(x)} for continuous g1≤g2 then ∫Df(x,y)d(x,y)=∫ab∫g1(x)g2(x)f(x,y)dydx.
Let U,V⊆Rn be open sets, φ:U→V be a bijection such that φ and φ−1 are both continuously differentiable and f:V→R be integrable. The change of variables theorem states that
∫Vf(y)dy=∫Uf(φ(x))detJφ(x)dx.
The factor detJφ(x), the absolute value of the determinant of the Jacobian matrix of φ, is the factor by which φ scales volume near x. In two dimensions this factor is