Definite integral

Definitions

For a fixed f:RR, the definite integral function is R2R. In general, it is defined for any f over a measurable space.

Simply see the definition of min-cover integrals defined elsewhere: those form superior notions of integration than what follows.

Integral as least Upper sum, greatest lower sum

Aka Reimann Integral.

Partitions of [a,b]

Any such partition P is specified by a set of points a=x0x1..xn=b;Δxi=xixi1.

Refinement

P is a refinement of P if PP. Common refinement of P1,P2:P1P2.

Upper, lower sums

Take bounded function \ f:[a,b]R;Mi=sup{f(x)|x[xi1,xi]};mi=inf{..}; visualize; upper, lower sums U(P,f)=i=1nMiΔxi;L(P,f)=i=1nmiΔxi; ab¯f(x)dx=infP{U(P,f)},ab_f(x)dx=supP{L(P,f)}\(:bothexistasboth\)L\(and\)U sums are bounded and real.

Integrability

If L=U, fR, that is: f is Reimann integrable.

Limitations

Not Reimann integrable: IQ(x) (Indicator function for rational numbers): U=1, while L=0 as every partition will contain a rational and an irrational number. However, this is box integrable: the corresponding box Integral is 0.

It is but a special case of superior notions such as the Stieltjes integral and the min-cover integral.

Min-cover integral of measurable functions

Aka Lebesgue integral, box integral. Take a real valued function f over measure space (X,S,m). Suppose f:XR is a measurable function from (X,S,m)(R,Sr,mr), where Sr is the sigma algebra of open sets in R, and mr is the common box measure on R.

For f(x)0x, for any ES, Ef(x)dm is the min-cover measure of portion of the space Ef in (X×R) bounded by E and f(x). This measure was described for the general case in the product measure portion of the algebra survey. There is the additional restriction that the each Bi=(BiX×BiR)(S×Sr) used to cover EiEf is such that for any (x,f(x))Ei, its measure along R, mr(BiR)mr(f(x)): that is, they can be visualized as vertical boxes - with R being the vertical axis.

This can be extended to any function f. Let f+=21(|f(x)|+f(x)) and f=21(|f(x)|f(x)) be the positive and negative parts of f, so that f=f+f. Then, Ef(x)dm=Ef+(x)dmEf(x)dm.

Importance

It is superior to Reimann integral. The indicator function over rationals IQ(x) is not reimann integrable, but it is box integrable as the measure m(Q)=0.

Min-cover integral wrt to non decreasing g

Aka Lebesgue-Stieltjes integral or Radon integral.

This is defined as the min-cover integral obtained using a measure mg which corresponds to g.

Upper and lower sums view

Aka Stieltjes integral. Take g:[a,b]R nondecreasing. Δgi=g(xi)g(xi1). f bounded. Define U(P,f,g)=i=1nMiΔgi, L(P, f, g), ab¯f(x)dg,_.

If L=U, fR(g): Stieltjes integrable.

For to exist, f and g must not share any points of discontinuity: See how g is used to deal with discontinuity in f.

Advantages

Suppose f is [xQ] in a certain interval X, fR(g) where g(x) = constant over X.

If f bounded on [a,b], has finite discontinuities, g conts at these points, then fR(g): take partition with δgi small in these pts, where |miMi| maybe big but bounded; thence show UL<ϵ.

Series as Stieltjes integral

Derive g from unit step functions: g(x)=n=1cnI(xsn), with cn0,cn convergent. Then abf(x)dg=cnf(sn) : From fd(g1+g2)=fd(g1)+fd(g2). ab1dg=cn.

Importance

For a fixed f,m, the integral can be viewed as a signed measure over X. This measure is significant as it captures and extends the notion of area/ volume etc.; and as described in another chapter, it happens to be closely related to the gradient of the function.

Basic properties

Integral sandwiched between L and U

If PP, L(P,f,g)L(P,f,g),U(P,f,g)U(P,f,g): see geometrically. So, ab¯f(x)dg_: take common refinement of of P1,P2:P, see L(P1,f,g)L(P,f,g)U(P,f,g)U(P2,f,g).

fR(g) ϵ:P:U(P,f,g)L(P,f,g)<ϵ. Pf: L_¯U. Pf: As _=¯, take L(P1),U(P2) close to these, take common refinement.

Closeness to any sum between L and U

So, if si,ti[xi1,xi],|f(si)f(ti)|Δgiϵ. Also, |f(ti)Δgiabfdg|<ϵ: both are bounded between L and U.

Continuity implies integrability

If f continuous on [a,b], fR(g) on [a,b].

Proof

As [a,b] compact, f uniformly cont; so ηd:|xt|d|f(x)f(t)|<η; take η:(g(b)g(a))ηϵ; take any partition P with Δxid; so U(P,f,g)L(P,f,g)=(Mimi)Δgiϵ.

Relationship with Uniform convergence

Take fn on [a,b], fnf uniformly.

If fnR,fR: ltnfndx=fdx as (fnϵn)dx_fdx¯fdx(fn+ϵn)dx.

So, if fng uniformly, fndx=gdx.

Continuity of semi-definite integral

If fR on [a,b]: F(x)=axf(t)dt is continuous: f is bounded; so F(y)F(x)M(yx)<ϵ as yx.

Connection to derivative

Differential of integral over f

If f is continuous at c: : F(x)=axf(t)dt is differentiable at c, F(c)=f(c).

Proof

Continuity of f states that tc<d|f(t)f(c)|<ϵ. So |F(t)F(c)tcf(c)|=|1tc||ctf(u)duf(c)(tc)|=|1tc||ct(f(u)f(c))du|ϵ.

Definite integral = difference in antiderivative

Anti-derivative

If fR, and if F differentiable on [a,b] with F=f, then F is called the antiderivative or the indefinite integral of f.

For any f, if there is an antiderivative F, {F(x)+k|kR} is also an antiderivative. (So, there are either 0 or antiderivatives.)

Fundamental theorem of calculus

abf(x)dx=F(b)F(a).

Proof

Pick a partition P=(xi) with UL<ϵ. Apply Mean Value Thm to get: F(xi)F(xi1)=f(ti)Δxi; add all such terms to get F(b)F(a)=f(ti)Δxi=abf(x)dx+ϵ by a property seen under Stieltjes Integral.

Inter-measure Derivative

Aka Radon-Nikodym derivative. The min-cover integral may be used to define a derivative which connects two measures on the same measurable space: this is described in the chapter on measures in the Algebra survey.

Integration: evaluating definite integrals

Methods relevant (eg: transformation to polar coordinates) only for evaluating definite integrals of functions over product spaces are described elsewhere.

Also see section on important integrals for examples of application of these techniques.

Integration by parts

As definite integral equals the difference in the anti-derivative, abf(x)H(x)dx+abF(x)h(x)dx= abf(x)h(x)dx=F(b)H(b)F(a)H(a).

Thus, \(\int_{[a, b]} u dv = uv]{[a, b]} - \int{[a, b]} v du\) is a useful rule when RHS is easier to integrate.

Sum, product, decomposition rules

Due to definite integral being equal to difference in the antiderivative: abf(x)+h(x)dg=abfdg+abhdg. abfdg=acfdg+cbfdg.

fd(g1+g2)=fd(g1)+fd(g2).

Transform the integral

Suppose you want to evaluate the definite integral I. Often, evaluating kI or I2 (as in the case of the Gaussian integral) is simpler. Thence one can deduce the value of I.

Change of variables

Function composition: integrability

If fR(g),f(x)[m,M], h continuous over [m, M], then j(x)=h(f(x))R(g).

\pf{Take ηP:U(P,f,g)L(P,f,g)=(Mimi)Δgi=δ(g(b)g(a))η. (Supposing MimiΔ.)

h uniformly continuous over [m,M], so (h(Mi)h(mi))ϵ for some ϵ.

Hence, \(\forall \eta’ \exists P: U(P, j, g) - L(P, j, g) = \sum (M_{i}^{} - m_{i}^{}) \gD g_{i} = \eps (g(b) - g(a)) \leq \frac{\eta \eps}{\del} = \eta’\).}

So, if f,gR(g):fg=41((f+g)2(fg)2),|f(x)|R(g). Also, f(x)dg|f(x)|dg.

Integration

Take strictly increasing onto h:[A,B][a,b]. Suppose that fR on [a,b].

Then g=fhR(h) on [A,B]. Then x[A,B]g(x)dh=t[h(A),h(B)]f(t)dh=x[A,B]f(h(x))h(x)dx.

\core{Take a partition P with upper and lower sums L,U. Use mean value theorem to rewrite in terms of x.}

Utility

Change of variables is in general a extremely useful algebraic trick - so is this particular instance. Suppose x=h(y). With this, one can write: [A,B]f(x)dx=y[h1(A),h1(B)]f(h(y))dxdydy, as the RHS may be easier to evaluate.

Reversing limits

By convention abf(x)dx=baf(x)dx.

Over product measure spaces

Consider f(x)0x. (The integral for the general case may thence be derived as earlier.)

Let (X,S,m) be the product measure space of {(Xi,Si,mi):i1,2}. Let ES=S1×S2: Note that this includes only rectangles in R2, but not circles etc.. E1={x1X1:x=(x1,x2)E}. Let E2(x1) be similarly defined.

Then, from the properties of the product measure: (Fubini) Ef(x)dm=E1g(x1)dm1, where g(x1)=x2E2f(x1,x2)d(m2).

Proof

Let R be associated with the usual measure space (R,Sr,mr). (Core intuition) The min cover measure of the space in (X×R) bounded by E and f is inf{Bi}(m×mr)(iBi), where Bi=(BiX1×BiX2×BiR)(S×Sr) cover E. Because we are dealing with the product measure, m1m2mr(Bi)=m1(BiX1)m2m1(BiX2×BiR).

Thus, integration over the product measure space reduces to integrating over one variable at a time; and the order in which these integrals are taken does not matter in this case. This case is aka multiple integration.

Bounds

If fh,fdghdg. If |f(x)|<M|abfdg|M(g(b)g(a)).

Use polar coordinates

Consider a,bf(x,y)dxdy, one can find an equivalent expression in polar coordinates using x=rsinθ,y=rcosθ and dxdy=dr(rdθ). This is sometimes simpler to solve.

As in the case of the Gaussian integral, the form a,bf(x,y)dxdy may be derived from considering I2.

Important integrals

Normal integral

Aka Gaussian integral. ex2dx=I=π: \

Proof

I2=y=y=x=x=ex2y2dxdy; thence transform to polar coordinates and solve.

Importance

The Gaussian integral itself is important due to this nice integrability and the nice properties observed in the Gaussian distribution (very suitable for modeling). Further, it is useful because realated integrals can be used to smooth functions for various purposes (eg: optimization).

In calculating similar integrals, one often uses similar techniques and results about exponential and gamma probability densities.