Skip to main content

Definite and Improper Integrals

Riemann sums and Darboux sums, criteria for integrability including Lebesgue’s, properties of the integral, the fundamental theorem of calculus, techniques of integration, arc length, area, volume and work, and the convergence of improper integrals.

The derivative describes how a quantity changes at an instant. The integral adds up instantaneous contributions to recover a total: the distance traveled from the velocity, the mass of a wire from its density, the area under a curve. This chapter defines the integral as a limit of Riemann sums and characterizes integrable functions. The fundamental theorem of calculus then links integration with differentiation. The chapter ends with geometric and physical applications and with improper integrals over unbounded intervals or of unbounded functions.

7.1 The Definite Integral

  • Distance from velocity. Let \(S(t)\) be position and \(v=S'\) the velocity. Partition \([a,b]\) as \(a=t_0<\dots<t_n=b\). By the mean value theorem \(S(b)-S(a)=\sum v(\eta_k)(t_k-t_{k-1})\) for some unknown \(\eta_k\in(t_{k-1},t_k)\). Replace \(\eta_k\) by an arbitrary \(\xi_k\in[t_{k-1},t_k]\), which means treating the motion on each short interval as uniform. If \(v\) is continuous, it is uniformly continuous on \([a,b]\), so \(|v(\xi_k)-v(\eta_k)|<\varepsilon\) once the partition is fine enough, and then \(\bigl|S(b)-S(a)-\sum v(\xi_k)(t_k-t_{k-1})\bigr|\le(b-a)\varepsilon\).
  • Mass from density. A wire with linear density \(\rho(l)\), \(0\le l\le L\), has mass \(m\approx\sum\rho(\xi_k)(l_k-l_{k-1})\).
  • Area under a curve. For \(f>0\), the region between \(y=f(x)\) and the \(x\)-axis over \([a,b]\) is approximated by rectangles of total area \(\sum f(\xi_k)(x_k-x_{k-1})\). Here area has not even been defined yet, and the limit of these sums is what defines it.

All three lead to the same kind of sum. For \(f:[a,b]\to\mathbb R\), a partition \(P:a=x_0<x_1<\dots<x_n=b\) and tags \(\xi=\{\xi_k\}\) with \(\xi_k\in[x_{k-1},x_k]\), the Riemann sum is

\[ S(f,P,\xi)=\sum_{k=1}^nf(\xi_k)\Delta x_k,\qquad\Delta x_k=x_k-x_{k-1}. \]

We want these sums to have a limit. Two difficulties must be overcome: the arbitrary choice of tags and the arbitrary choice of partitions.

7.1.1 Darboux Sums

For bounded \(f\) and a partition \(P\), the upper and lower Darboux sums are

\[ \overline S(f,P)=\sum_{k=1}^n\sup_{[x_{k-1},x_k]}f\cdot\Delta x_k,\qquad \underline S(f,P)=\sum_{k=1}^n\inf_{[x_{k-1},x_k]}f\cdot\Delta x_k. \]

They are the supremum and infimum of \(S(f,P,\xi)\) over all tags, so \(\underline S(f,P)\le S(f,P,\xi)\le\overline S(f,P)\), and any two Riemann sums for \(P\) differ by at most \(\overline S-\underline S\). This removes the arbitrariness of the tags. A partition \(\tilde P\) refines \(P\) if it contains all points of \(P\). Refining decreases upper sums and increases lower sums: \(\underline S(f,P)\le\underline S(f,\tilde P)\le\overline S(f,\tilde P)\le\overline S(f,P)\). Since any two partitions \(P,Q\) have the common refinement \(P\vee Q\), every lower sum is at most every upper sum.

Definition 7.1 (Darboux Integral) The upper and lower Darboux integrals of a bounded \(f\) on \([a,b]\) are

\[ \overline{\int_a^b}f\,dx=\inf_P\overline S(f,P),\qquad \underline{\int_a^b}f\,dx=\sup_P\underline S(f,P). \]

\(f\) is integrable, written \(f\in R[a,b]\), if they are equal; the common value is the definite integral \(\int_a^bf(x)\,dx\).

Theorem 7.1 (Criteria for Integrability) For bounded \(f:[a,b]\to\mathbb R\), the following are equivalent:

  1. \(f\) is Darboux integrable;
  2. there is \(A\) such that for every \(\varepsilon>0\) some partition \(P_\varepsilon\) satisfies \(|S(f,P_\varepsilon,\xi)-A|<\varepsilon\) for all tags \(\xi\); then \(A=\int_a^bf\,dx\);
  3. for every \(\varepsilon>0\) there is a partition \(P_\varepsilon\) with \(\overline S(f,P_\varepsilon)-\underline S(f,P_\varepsilon)<\varepsilon\);
  4. for every \(\varepsilon>0\) there is a partition \(P_\varepsilon\) such that any two Riemann sums for \(P_\varepsilon\) differ by less than \(\varepsilon\).

(1)⇒(3): choose partitions whose upper and lower sums are within \(\frac\varepsilon2\) of the integral and take their common refinement. (3)⇒(4): two Riemann sums for \(P\) both lie between \(\underline S\) and \(\overline S\). (4)⇒(3): choose tags where \(f\) is within \(\frac\varepsilon{4(b-a)}\) of its supremum on each subinterval, and others where it is within that of the infimum; the difference of the two Riemann sums is then within \(\frac\varepsilon2\) of \(\overline S-\underline S\). (3)⇒(2): the upper and lower integrals differ by less than every \(\varepsilon\), so they are equal to some \(A\), and every Riemann sum for \(P_\varepsilon\) lies within \(\varepsilon\) of \(A\). (2)⇒(1): choosing tags near the suprema shows \(\overline S(f,P_\varepsilon)<A+2\varepsilon\), so the upper integral is at most \(A\); similarly the lower integral is at least \(A\).

Geometrically, condition 3 says that the graph of \(f\) can be covered by finitely many rectangles of arbitrarily small total area.

The Dirichlet function is not integrable on any \([a,b]\): rational tags give Riemann sums \(b-a\), irrational tags give \(0\).

Theorem 7.2 (Monotone Functions Are Integrable) If \(f\) is monotone on \([a,b]\), then for every partition \(P\),

\[ \overline S(f,P)-\underline S(f,P)\le|f(b)-f(a)|\cdot\max_k\Delta x_k. \]

Hence \(f\in R[a,b]\), and \(|S(f,P,\xi)-\int_a^bf\,dx|<\varepsilon\) whenever \(\max\Delta x_k<\frac\varepsilon{|f(b)-f(a)|+1}\).

For nonincreasing \(f\), \(\overline S-\underline S=\sum(f(x_{k-1})-f(x_k))\Delta x_k\le\max\Delta x_k\sum(f(x_{k-1})-f(x_k))=\max\Delta x_k\,(f(a)-f(b))\). This argument goes back to Newton’s Principia.

For \(\mu>0\), \(x^\mu\) is increasing on \([0,b]\), so the Riemann sums for the uniform partitions with right endpoints as tags converge to the integral:

\[ \int_0^bx^\mu\,dx=\lim_{n\to\infty}\frac{b^{\mu+1}}{n^{\mu+1}}\sum_{k=1}^nk^\mu=\frac{b^{\mu+1}}{\mu+1}, \]

where the last limit follows from the Stolz–Cesàro theorem: \(\frac{n^\mu}{n^{\mu+1}-(n-1)^{\mu+1}}\to\frac1{\mu+1}\). Fermat instead used the geometric partition \(x_k=b\lambda^{n-k}\) with \(\lambda\to1^-\).

Theorem 7.3 (Continuous Functions Are Integrable) If \(f\) is bounded on \([a,b]\) and continuous on \((a,b)\), then \(f\in R[a,b]\); moreover, for every \(\varepsilon>0\) there is \(\delta>0\) such that \(\overline S(f,P)-\underline S(f,P)<\varepsilon\) for every partition with \(\max\Delta x_k<\delta\).

Let \(|f|\le M\) and choose \(\delta_1\) with \(4M\delta_1<\frac\varepsilon3\). On \([a+\delta_1,b-\delta_1]\), \(f\) is uniformly continuous, so there is \(\delta_2\) such that its oscillation on intervals of length \(<\delta_2\) is below \(\frac\varepsilon{3(b-a)}\). For a partition finer than \(\min\{\delta_1,\delta_2\}\), the subintervals meeting the two end pieces contribute at most \(2M\cdot2\delta_1\) each, and the rest contribute less than \(\frac\varepsilon3\).

Theorem 7.4 (Additivity over Intervals) If \(a<b<c\) and \(f\in R[a,b]\cap R[b,c]\), then \(f\in R[a,c]\) and \(\int_a^cf=\int_a^bf+\int_b^cf\).

Take partitions \(P\) of \([a,b]\) and \(Q\) of \([b,c]\) whose upper and lower sums are within \(\varepsilon\) of the respective integrals. Then \(P\cup Q\) is a partition of \([a,c]\) with \(\underline S(f,P\cup Q)=\underline S(f,P)+\underline S(f,Q)\) and similarly for upper sums, so both are within \(2\varepsilon\) of \(\int_a^bf+\int_b^cf\).

Consequently, bounded functions with finitely many discontinuities, and piecewise monotone functions, are integrable.

7.1.2 Riemann’s Definition and Lebesgue’s Criterion

Definition 7.2 (Riemann Integral) \(f:[a,b]\to\mathbb R\) is Riemann integrable if there is a number \(I\) such that for every \(\varepsilon>0\) there is \(\delta>0\) with

\[ \Bigl|\sum_{k=1}^nf(\xi_k)\Delta x_k-I\Bigr|<\varepsilon \]

for every partition with mesh \(\|P\|=\max_k\Delta x_k<\delta\) and every choice of tags. Then \(I=\int_a^bf(x)\,dx\).

This definition never compares values of \(f\), so it applies verbatim to complex- and vector-valued functions. It is impractical for proving integrability, since it involves all partitions and all tags. However, once \(f\) is known to be integrable, any sufficiently fine partition with any tags gives a good approximation of the integral.

Definition 7.3 (Set of Length Zero) \(A\subseteq\mathbb R\) has length zero (measure zero) if for every \(\varepsilon>0\) it can be covered by countably many intervals \(I_1,I_2,\dots\) such that the total length of any finitely many of them is less than \(\varepsilon\).

Theorem 7.5 (Riemann, Darboux, and Lebesgue) For \(f:[a,b]\to\mathbb R\), the following are equivalent:

  1. \(f\) is Riemann integrable;
  2. \(f\) is bounded and Darboux integrable;
  3. (Lebesgue’s criterion) \(f\) is bounded and its set of discontinuities has length zero.

(1)⇒(2): a Riemann integrable function is bounded (otherwise some Riemann sums are arbitrarily large for every partition), and condition 2 of Theorem 7.1 holds.

(2)⇒(1): let \(m\le f\le M\). Adding one point to a partition changes its upper or lower sum by at most \((M-m)\|P\|\). Fix \(P_0\) with \(k\) points and \(\overline S(f,P_0)-\underline S(f,P_0)<\varepsilon\). For any \(P\) with \(\|P\|<\frac\varepsilon{k(M-m+1)}\), the refinement \(P'=P\vee P_0\) has upper and lower sums within \(\varepsilon\) of \(A=\int f\), and \(P\) differs from \(P'\) by at most \(k\) points. So \(\overline S(f,P)<A+2\varepsilon\) and \(\underline S(f,P)>A-2\varepsilon\).

(3)⇒(2): cover the discontinuities by open intervals of total length \(<\varepsilon\). On the complement \(K\), a bounded closed set, \(f\) is continuous, hence uniformly continuous with some \(\delta\). In a uniform partition of mesh less than \(\delta\), the subintervals meeting \(K\) contribute at most \(\varepsilon(b-a)\) to \(\overline S-\underline S\), and the others lie in the cover and contribute at most \(2M\varepsilon\).

(2)⇒(3): let \(\omega_f(x)=\lim_{r\to0^+}\bigl(\sup-\inf\bigr)\) of \(f\) on \([x-r,x+r]\), the oscillation at \(x\); \(f\) is continuous at \(x\) iff \(\omega_f(x)=0\). The discontinuity set is \(\bigcup_nD_n\) with \(D_n=\{\omega_f>\frac1n\}\), so it suffices that each \(D_n\) has length zero. Choose \(P\) with \(\overline S-\underline S<\frac\varepsilon n\). Every subinterval whose interior meets \(D_n\) has oscillation \(>\frac1n\), so their total length is less than \(\varepsilon\), and they cover \(D_n\) except for at most finitely many partition points.

Lebesgue’s criterion is the most convenient test. Countable sets have length zero, which recovers integrability of monotone functions (whose discontinuities are countable). The Riemann function \(R\) (\(R(q/p)=1/p\), \(R=0\) on irrationals) is bounded and discontinuous exactly at the rationals, so it is integrable on every \([a,b]\). Since every lower sum is \(0\), \(\int_a^bR\,dx=0\).

7.2 Properties of the Integral

Theorem 7.6 (Linearity) If \(f,g\in R[a,b]\) and \(\lambda,\mu\in\mathbb R\), then \(\lambda f+\mu g\in R[a,b]\) and \(\int_a^b(\lambda f+\mu g)=\lambda\int_a^bf+\mu\int_a^bg\). Thus \(R[a,b]\) is a vector space and \(\int_a^b\) is a linear functional on it.

\(\lambda f+\mu g\) is bounded and its discontinuities lie among those of \(f\) and \(g\), so it is integrable by Lebesgue’s criterion. Riemann sums are linear: \(S(\lambda f+\mu g,P,\xi)=\lambda S(f,P,\xi)+\mu S(g,P,\xi)\). Pass to the limit.

By Lebesgue’s criterion, products, absolute values and compositions \(\varphi\circ f\) with continuous \(\varphi\) of integrable functions are integrable.

Theorem 7.7 (Monotonicity of the Integral) If \(f,g\in R[a,b]\) and \(f\le g\), then \(\int_a^bf\le\int_a^bg\). If moreover \(f\) and \(g\) are continuous at some \(x_0\) with \(f(x_0)<g(x_0)\), the inequality is strict. In particular \(\bigl|\int_a^bf\bigr|\le\int_a^b|f|\).

\(\overline S(f,P)\le\overline S(g,P)\) for every \(P\). For strictness, by continuity there are \(A<B\) and an interval \(U\ni x_0\) of positive length with \(f<A<B<g\) on \(U\). Since \(g-f\ge0\) everywhere and \(g-f>B-A\) on \(U\), additivity gives \(\int_a^b(g-f)\ge(B-A)|U|>0\). The last claim follows from \(-|f|\le f\le|f|\).

Theorem 7.8 (Mean Value Theorem for Integrals) If \(f\in C[a,b]\), \(g\in R[a,b]\) and \(g\ge0\), then for some \(\xi\in(a,b)\),

\[ \int_a^bf(x)g(x)\,dx=f(\xi)\int_a^bg(x)\,dx. \]

Let \(m=f(x_1)\) and \(M=f(x_2)\) be the minimum and maximum of \(f\). Then \(m\int g\le\int fg\le M\int g\). If \(\int g=0\), any \(\xi\) works. Otherwise \(c=\frac{\int fg}{\int g}\in[m,M]\). If \(m<c<M\), the intermediate value theorem gives \(\xi\) strictly between \(x_1\) and \(x_2\). If \(c=M\), then \(\int(M-f)g=0\) with \((M-f)g\ge0\), so \((M-f)g=0\) at every continuity point of \(g\); since \(\int g>0\), some continuity point \(\xi\in(a,b)\) has \(g(\xi)>0\), and then \(f(\xi)=M\). The case \(c=m\) is the same.

Theorem 7.9 (Cauchy–Schwarz Inequality for Integrals) For \(f,g\in R[a,b]\),

\[ \Bigl|\int_a^bfg\,dx\Bigr|\le\sqrt{\int_a^b|f|^2\,dx}\sqrt{\int_a^b|g|^2\,dx}, \]

with equality iff, outside a set of length zero, \(f=tg\) or \(g=tf\) for some constant \(t\).

For every \(t\), \(0\le\int(f-tg)^2=t^2\int g^2-2t\int fg+\int f^2\). If \(\int g^2>0\), take \(t=\frac{\int fg}{\int g^2}\). If \(\int g^2=0\), the quadratic is linear in \(t\) and nonnegative, so \(\int fg=0\).

Thus \(\langle f,g\rangle=\int_a^bfg\,dx\) behaves like an inner product on \(R[a,b]\).

7.3 The Fundamental Theorem of Calculus

The integral is given a direction by setting \(\int_a^af=0\) and \(\int_b^af=-\int_a^bf\). Think of \(f(x)\) as a force along the number line: moving from \(a\) to \(b\) the force does work \(\int_a^bf\), and moving back it does the opposite work. Riemann sums with a decreasing partition from \(b\) to \(a\) indeed approximate \(-\int_a^bf\).

Theorem 7.10 (Additivity for Oriented Integrals) If \(f\) is integrable on an interval \(I\), then \(\int_a^cf=\int_a^bf+\int_b^cf\) for all \(a,b,c\in I\), in any order.

The claim is equivalent to \(\int_a^bf+\int_b^cf+\int_c^af=0\), which is invariant under cyclic permutation. For \(a\le b\le c\) it is Theorem 7.4. If \(a\le c\le b\), then \(\int_a^b=\int_a^c+\int_c^b\), which rearranges to the claim. The other orders follow by cyclic symmetry.

Theorem 7.11 (Fundamental Theorem of Calculus I) Let \(f\) be integrable on every bounded closed subinterval of \(I\), fix \(a\in I\), and let \(F(x)=\int_a^xf(t)\,dt\).

  1. \(F\) is continuous on \(I\) (Lipschitz on bounded subintervals).
  2. If \(f\) is continuous at \(x_0\), then \(F\) is differentiable at \(x_0\) and \(F'(x_0)=f(x_0)\).
  3. If \(f\in C(I)\), then \(F\in C^1(I)\) and \(F'=f\).
  1. If \(|f|\le M\), then \(|F(v)-F(u)|=\bigl|\int_u^vf\bigr|\le M|v-u|\). (2) \(F(x)-F(x_0)-f(x_0)(x-x_0)=\int_{x_0}^x(f(t)-f(x_0))\,dt\), and if \(|f(t)-f(x_0)|<\varepsilon\) for \(|t-x_0|<\delta\), this is at most \(\varepsilon|x-x_0|\).

Corollary 7.1 (Continuous Functions Have Antiderivatives) Every continuous function on an interval has an antiderivative, namely \(x\mapsto\int_a^xf(t)\,dt\). If \(u,v\) are differentiable, then \(\frac{d}{dx}\int_{u(x)}^{v(x)}f(t)\,dt=f(v(x))v'(x)-f(u(x))u'(x)\).

Theorem 7.12 (Fundamental Theorem of Calculus II (Newton–Leibniz Formula)) If \(f\in R[a,b]\) and \(F\) is any antiderivative of \(f\) on \([a,b]\), then

\[ \int_a^bf(x)\,dx=F(b)-F(a)=F\big|_a^b. \]

Choose a partition with upper and lower sums within \(\varepsilon\) of \(\int_a^bf\). By the mean value theorem, \(F(x_k)-F(x_{k-1})=f(\xi_k)\Delta x_k\) for some tags \(\xi_k\), so \(F(b)-F(a)=S(f,P,\xi)\) is within \(\varepsilon\) of the integral.

The first theorem answers which functions have antiderivatives and how to produce one. Continuous functions always do, but so do some discontinuous ones, and not every function does. The second answers how to compute integrals: find an antiderivative. But not every integrable function has an antiderivative, and antiderivatives need not be elementary. Then numerical approximation is essential.

Let \(F(h)=\int_{a-h/2}^{a+h/2}f(x)\,dx\), and compare it with the midpoint rule \(F_M(h)=f(a)h\) and the trapezoidal rule \(F_T(h)=\frac{f(a+h/2)+f(a-h/2)}2h\). Taylor expansion in \(h\) gives

\[ F(h)=f(a)h+\frac{f''(a)}{24}h^3+O(h^5),\qquad F_T(h)=f(a)h+\frac{f''(a)}8h^3+O(h^5). \]

So for strictly convex \(f\) the midpoint rule underestimates and the trapezoidal rule overestimates. The combination \((1-\lambda)F_M+\lambda F_T\) has error \(\bigl(\frac\lambda8-\frac1{24}\bigr)f''(a)h^3+O(h^5)\), which is \(O(h^5)\) exactly for \(\lambda=\frac13\). This gives Simpson’s rule \(F_S=\frac{2F_M+F_T}3\), which is exact for cubic polynomials. For \([a,b]\) divided into \(2n\) parts of length \(h\) with \(f_k=f(a+kh)\),

\[ \int_a^bf\,dx\approx\frac h3\bigl(f_0+4f_1+2f_2+4f_3+\dots+2f_{2n-2}+4f_{2n-1}+f_{2n}\bigr). \]

For \(\int_0^1\frac{\sin x}x\,dx=0.9460830704\ldots\) with \(10\) subintervals, the midpoint, trapezoidal and Simpson rules give \(0.9462085788\), \(0.9458320719\) and \(0.9460830765\).

7.4 Techniques of Integration

By the Newton–Leibniz formula, every antiderivative in the previous chapter gives a definite integral. Two more antiderivatives are useful: with the hyperbolic functions \(\cosh x=\frac{e^x+e^{-x}}2\) and \(\sinh x=\frac{e^x-e^{-x}}2\),

\[ \int\frac{dx}{\sqrt{x^2+1}}=\sinh^{-1}x+C=\ln\bigl(x+\sqrt{x^2+1}\bigr)+C,\qquad \int\frac{dx}{\sqrt{x^2-1}}=\cosh^{-1}x+C=\ln\bigl(x+\sqrt{x^2-1}\bigr)+C\ (x>1). \]

Theorem 7.13 (Change of Variables) If \(f\) is integrable on \(I\) and \(\varphi\in C^1[a,b]\) with \(\varphi([a,b])\subseteq I\), then

\[ \int_a^bf(\varphi(t))\varphi'(t)\,dt=\int_{\varphi(a)}^{\varphi(b)}f(x)\,dx. \]

If \(\varphi\) is moreover one-to-one, then \(\int_{[a,b]}f(\varphi(t))|\varphi'(t)|\,dt=\int_{\varphi([a,b])}f(x)\,dx\) as unoriented integrals.

For continuous \(f\): \(G(u)=\int_a^uf(\varphi(t))\varphi'(t)\,dt-\int_{\varphi(a)}^{\varphi(u)}f(x)\,dx\) satisfies \(G(a)=0\) and \(G'(u)=f(\varphi(u))\varphi'(u)-f(\varphi(u))\varphi'(u)=0\), so \(G(b)=0\).

The formula says more than a computational trick. Regard \(\varphi:[a,b]\to I\) as a path from \(\varphi(a)\) to \(\varphi(b)\); it may wander outside the interval between its endpoints. The left side is the integral of \(f\) along the path, and the formula says that in one dimension it depends only on the endpoints. Physically, if \(f\) is a continuous force field with potential \(U=-F\), the work done along a motion \(x=\varphi(t)\) is \(U(\varphi(a))-U(\varphi(b))\): it depends only on the starting and ending positions.

  • \(\int_a^b\cos^3x\,dx=\int_a^b(1-\sin^2x)\,d\sin x=\bigl[\sin x-\frac{\sin^3x}3\bigr]_a^b\).
  • For \(-\frac\pi2<a<b<\frac\pi2\), \(\int_a^b\frac{dx}{\cos x}=\int_{\sin a}^{\sin b}\frac{dy}{1-y^2}=\frac12\ln\frac{1+\sin y}{1-\sin y}\Big|_{y=a}^{y=b}\).
  • \(I=\int_0^{\pi/2}\frac{x\,dx}{\sin x+\cos x}\) has no elementary antiderivative, but \(x=\frac\pi2-y\) gives \(I=\int_0^{\pi/2}\frac{(\pi/2-y)\,dy}{\cos y+\sin y}\), so \[ 2I=\frac\pi2\int_0^{\pi/2}\frac{dx}{\sin x+\cos x}=\frac\pi{2\sqrt2}\int_{-\pi/4}^{\pi/4}\frac{du}{\cos u},\qquad I=\frac\pi{2\sqrt2}\ln(\sqrt2+1). \]

The integral gives a clean foundation for the elementary functions. Define \(\ln x=\int_1^x\frac{dt}t\) for \(x>0\).

  1. The substitution \(t=ys\) gives \(\ln(xy)-\ln y=\int_y^{xy}\frac{dt}t=\int_1^x\frac{ds}s=\ln x\).
  2. By the fundamental theorem, \(\ln\) is \(C^\infty\) with \((\ln x)'=\frac1x>0\). Since \(\ln(2^n)=n\ln2\to\infty\) and \(\ln(2^{-n})\to-\infty\), it is an increasing bijection \((0,\infty)\to\mathbb R\).
  3. Its inverse \(\exp\) is \(C^\infty\), increasing, with \(\exp(x+y)=\exp x\exp y\) and \(\exp'=\exp\).
  4. Defining \(x^\alpha=\exp(\alpha\ln x)\) gives the usual power laws, and \(n\ln(1+\frac1n)=1+o(1)\) shows \((1+\frac1n)^n\to\exp(1)=e\), so \(\exp(x)=e^x\).

Theorem 7.14 (Integration by Parts) If \(f,g\in C^1[a,b]\), then \(\int_a^bfg'\,dx=fg\big|_a^b-\int_a^bf'g\,dx\).

Proposition 7.1 (Wallis Integrals) Let \(I_n=\int_0^{\pi/2}\cos^nx\,dx\). Then \(I_0=\frac\pi2\), \(I_1=1\), \(I_n=\frac{n-1}nI_{n-2}\), and

\[ I_{2m}=\frac{(2m-1)!!}{(2m)!!}\cdot\frac\pi2,\qquad I_{2m+1}=\frac{(2m)!!}{(2m+1)!!}. \]

Integrating by parts, \(I_n=\int_0^{\pi/2}\cos^{n-1}x\,d\sin x=(n-1)\int_0^{\pi/2}\sin^2x\cos^{n-2}x\,dx=(n-1)(I_{n-2}-I_n)\), since the boundary term vanishes.

Proposition 7.2 (Taylor’s Formula with Integral Remainder) If \(f\) is \(n+1\) times differentiable on \(I\) with \(f^{(n+1)}\) integrable, then for \(a,x\in I\),

\[ f(x)=\sum_{k=0}^n\frac{f^{(k)}(a)}{k!}(x-a)^k+\int_a^x\frac{f^{(n+1)}(t)}{n!}(x-t)^n\,dt. \]

For \(n=0\) this is the Newton–Leibniz formula. Integrating the remainder by parts, \(\int_a^x\frac{f^{(n+1)}(t)(x-t)^n}{n!}dt=-\int_a^xf^{(n+1)}(t)\,d\frac{(x-t)^{n+1}}{(n+1)!}=\frac{f^{(n+1)}(a)}{(n+1)!}(x-a)^{n+1}+\int_a^x\frac{f^{(n+2)}(t)(x-t)^{n+1}}{(n+1)!}dt\).

When \(f^{(n+1)}\) is continuous, the mean value theorem for integrals with the weight \((x-t)^n\ge0\) turns the integral remainder into the Lagrange remainder \(\frac{f^{(n+1)}(\xi)}{(n+1)!}(x-a)^{n+1}\).

7.5 Applications to Geometry and Physics

7.5.1 Arc Length

Definition 7.4 (Length of a Path) A continuous map \(x:[a,b]\to\mathbb R^n\) is a path. For a partition \(P\) of \([a,b]\), let \(L(x,P)=\sum_k\|x(t_k)-x(t_{k-1})\|\) be the length of the inscribed polygon. If \(L(x)=\sup_PL(x,P)\) is finite, the path is rectifiable with length \(L(x)\).

Refining a partition can only lengthen the polygon, by the triangle inequality. Not every path is rectifiable: a Koch-type snowflake curve, in which each segment is replaced by four segments of one-third its length, would have length \(L=\frac43L\).

Theorem 7.15 (Arc Length Formula) A \(C^1\) path \(x(t)=(x_1(t),\dots,x_n(t))\), \(a\le t\le b\), is rectifiable, and

\[ L(x)=\int_a^b\|x'(t)\|\,dt=\int_a^b\sqrt{x_1'(t)^2+\dots+x_n'(t)^2}\,dt. \]

By the mean value theorem in each coordinate, \(L(x,P)=\sum_k\sqrt{\sum_ix_i'(\xi_{i,k})^2}\,\Delta t_k\), with possibly different points \(\xi_{i,k}\) in \([t_{k-1},t_k]\) for different coordinates. The \(x_i'^2\) are uniformly continuous, and \(|\sqrt u-\sqrt v|\le\sqrt{|u-v|}\), so for fine partitions this differs by less than \(\varepsilon\) from the Riemann sum \(\sum\|x'(t_k)\|\Delta t_k\), which is within \(\varepsilon\) of \(\int_a^b\|x'\|\). Since \(L(x,Q)\le L(x,P\vee Q)\) and \(P\vee Q\) is also fine, \(\sup_QL(x,Q)=\int_a^b\|x'\|\).

A \(C^r\) curve is the image \(\gamma=x(I)\) of an injective \(C^r\) map \(x\) on an interval, a parametrization; it is regular if \(x'(t)\ne0\). The length does not depend on the choice of Cartesian coordinates, since \(\|Ax'\|=\|x'\|\) for orthogonal \(A\), nor on the parametrization, by the change of variables formula. The arc length parameter \(l(t)=\int_a^t\|x'(s)\|\,ds\) is increasing, and in it \(\bigl\|\frac{dx}{dl}\bigr\|=1\). Differentiating \(\bigl\langle\frac{dx}{dl},\frac{dx}{dl}\bigr\rangle=1\) shows \(\frac{d^2x}{dl^2}\perp\frac{dx}{dl}\). Viewed as a motion in which time is arc length, the speed is constantly \(1\) and the acceleration is perpendicular to the velocity.

On the circle \(x^2+y^2=R^2\), the arc from \((R,0)\) to \((x_0,y_0)\) with \(x_0>0\) has length \(l=\int_0^{y_0}\frac{R\,dy}{\sqrt{R^2-y^2}}=R\arcsin\frac{y_0}R\), where \(\arcsin u=\int_0^u\frac{dt}{\sqrt{1-t^2}}\). This defines \(\arcsin\) as an increasing \(C^\infty\) function; its inverse \(\sin\) satisfies \((\sin t)'=\sqrt{1-\sin^2t}\) and \((\sin t)''=-\sin t\). In the arc length parameter the circle is \((R\cos\frac lR,R\sin\frac lR)\). This gives an analytic definition of the trigonometric functions.

For a mass distributed along a curve with continuous linear density \(\rho\), the mass and center of mass are

\[ m=\int_\gamma\rho\,dl=\int_a^b\rho(x(t))\|x'(t)\|\,dt,\qquad \bar x=\frac1m\int_a^bx(t)\rho(x(t))\|x'(t)\|\,dt. \]

More generally \(\int_\gamma f\,dl=\int_a^bf(x(t))\|x'(t)\|\,dt\) is independent of the parametrization. For instance, a uniform semicircle of radius \(R\) has its center of mass at height \(\frac{2R}\pi\).

7.5.2 Curvature of Curves

Let \(x(l)\) be a \(C^2\) curve in the arc length parameter. The angle \(\theta\) between the unit tangents \(x'(l)\) and \(x'(l+\Delta l)\) satisfies \(2\sin\frac\theta2=\|x'(l+\Delta l)-x'(l)\|=\|x''(l)\|\Delta l+o(\Delta l)\). So the rate at which the direction turns is

\[ \kappa=\lim_{\Delta l\to0}\frac\theta{\Delta l}=\|x''(l)\|, \]

the curvature; \(x''(l)\) is the curvature vector. In a general parameter, decompose the acceleration \(x''(t)=a_T+a_N\) into the tangential acceleration \(a_T=\bigl\langle x'',\frac{x'}{\|x'\|}\bigr\rangle\frac{x'}{\|x'\|}\), which changes the speed, and the normal acceleration \(a_N\), which changes the direction (Huygens’ theorem of kinematics). Then

\[ \kappa=\frac{\|a_N\|}{\|x'\|^2}=\frac{\sqrt{\|x'\|^2\|x''\|^2-\langle x',x''\rangle^2}}{\|x'\|^3}. \]

A line has curvature \(0\) and, conversely, a curve with \(\kappa=0\) has \(x''(l)=0\) and is a line. A circle of radius \(R\) has curvature \(\frac1R\).

Theorem 7.16 (Plane Curves of Constant Curvature) A plane curve has constant nonzero curvature if and only if it is (an arc of) a circle.

Identify the plane with \(\mathbb C\) and write \(z'(l)=e^{i\phi(l)}\) in the arc length parameter. Then \(\kappa=|z''|=|\phi'|\). Since \(\phi'\) has the intermediate value property (Darboux) and \(|\phi'|=\kappa\ne0\), \(\phi'\) is constantly \(\kappa\) or \(-\kappa\). Say \(\phi=\kappa l+\phi_0\). Then \(z(l)=\frac1{i\kappa}e^{i(\kappa l+\phi_0)}+C_0\), so \(|z-C_0|=\frac1\kappa\).

7.5.3 Area

If \(f\le g\) on \([a,b]\), the region \(\{a\le x\le b,\ f(x)\le y\le g(x)\}\) has area \(\int_a^b(g-f)\,dx\). For example, \(y=x^2\) and \(y=\sqrt x\) enclose area \(\int_0^1(\sqrt x-x^2)\,dx=\frac13\).

For \(P=(u,v)\) on \(x^2-y^2=1\) with \(u,v>0\), the region bounded by \(OP\), the hyperbola and the \(x\)-axis has area

\[ \int_0^v\Bigl(\sqrt{1+y^2}-\frac{\sqrt{1+v^2}}vy\Bigr)dy=\frac{\sinh^{-1}v}2, \]

using \(y=\sinh t\). So the point at “hyperbolic angle” \(t\) (twice the sector area) is \((\cosh t,\sinh t)\), exactly as \((\cos t,\sin t)\) is the point on the unit circle whose sector has area \(\frac t2\).

By the Jordan curve theorem, a simple closed curve divides the plane into the curve, a bounded interior and an unbounded exterior. A parametrization runs in the positive direction if the interior stays on the left.

Theorem 7.17 (Area Enclosed by a Closed Curve) Let \(\gamma\) be a simple closed \(C^1\) plane curve with a positively oriented parametrization \((x(t),y(t))\), \(a\le t\le b\). Then the area of the region it encloses is

\[ -\oint_\gamma y\,dx=\oint_\gamma x\,dy=\frac12\oint_\gamma(x\,dy-y\,dx), \]

where \(\oint_\gamma y\,dx=\int_a^by(t)x'(t)\,dt\), and similarly for the others.

The value of \(\oint y\,dx\) is unchanged by orientation-preserving reparametrization and changes sign under reversal. For a region \(\{a\le x\le b,\ f\le y\le g\}\), traverse the boundary as the graph of \(f\) left to right, a vertical segment, the graph of \(g\) right to left, and a vertical segment. The vertical segments contribute nothing, and \(-\oint y\,dx=-\int_a^bf\,dx+\int_a^bg\,dx\) is the area. A general region is cut by vertical lines through the points where \(x'(t)=0\) (assumed finite in number) into such pieces; the contributions of the cuts cancel in pairs. Finally \(\oint(y\,dx+x\,dy)=\oint d(xy)=0\) on a closed curve.

In polar coordinates \(x=r\cos\theta\), \(y=r\sin\theta\), we get \(x\,dy-y\,dx=r^2d\theta\), so the area is \(\frac12\int r^2\,d\theta\): as the angle changes by \(\Delta\theta\), the radius sweeps a thin sector of area \(\frac12r^2\Delta\theta\). The value of \(\frac12\oint(x\,dy-y\,dx)\) is also invariant under rigid motions.

The loop of \(x^3+y^3=3xy\) in the first quadrant is \(r=\frac{3\cos\theta\sin\theta}{\cos^3\theta+\sin^3\theta}\), \(0\le\theta\le\frac\pi2\). Using the symmetry in \(y=x\) and \(t=1+\tan^3\theta\),

\[ A=2\cdot\frac12\int_0^{\pi/4}r^2\,d\theta=\int_0^{\pi/4}\frac{9\tan^2\theta}{(1+\tan^3\theta)^2}\frac{d\theta}{\cos^2\theta}=\int_1^2\frac{3\,dt}{t^2}=\frac32. \]

A central force field has the form \(F(x)=f(\|x\|)x\). Newton showed that motion in a central field is planar and obeys Kepler’s second law.

Planarity. Let \(n\) be orthogonal to \(x(t_0)\) and \(x'(t_0)\), and \(u(t)=\langle x(t),n\rangle\). Then \(u''=f(\|x\|)u\) with \(u(t_0)=u'(t_0)=0\), so \(u\equiv0\) by uniqueness for linear initial value problems.

Equal areas. In the plane of motion, the swept area satisfies \(A'(t)=\frac12(xy'-yx')\), so \(A''=\frac12(xy''-yx'')\). Thus \(A'\) is constant if and only if \(x''\) is parallel to \(x\), that is, the force is central.

7.5.4 Volume and Surface Area of Solids of Revolution

When the graph of a continuous \(y=f(x)\), \(a\le x\le b\), is rotated about the \(x\)-axis, it bounds a solid \(\Omega=\{\sqrt{y^2+z^2}\le|f(x)|,\ a\le x\le b\}\). Slicing by planes \(x=x_k\), each slab lies between two cylinders of radii \(\min|f|\) and \(\max|f|\) on \([x_{k-1},x_k]\). So the volume is squeezed between the lower and upper Darboux sums of \(\pi f^2\):

\[ V(\Omega)=\int_a^b\pi f(x)^2\,dx. \]

This adds up infinitesimal disks of volume \(\pi y^2dx\). Rotating \(y=\sqrt x\), \(0\le x\le a\), about the \(x\)-axis gives \(\pi\int_0^ax\,dx=\frac{\pi a^2}2\). Rotating it about the \(y\)-axis gives, by disks or by cylindrical shells \(2\pi x(\sqrt a-\sqrt x)\,dx\), the volume \(\frac{\pi a^{5/2}}5\). For a region in the upper half-plane bounded by a positively oriented curve, the volume of revolution is \(-\oint_\gamma\pi y^2\,dx\), by the same cancellation argument as for area.

Proposition 7.3 (Volume and Surface Area of the \(n\)-Ball) The ball \(x_1^2+\dots+x_n^2\le R^2\) has volume \(V_n(R)=C_nR^n\) and surface area \(A_n(R)=V_n'(R)=nC_nR^{n-1}\), where

\[ C_n=\frac{2^{n-\lfloor n/2\rfloor}\pi^{\lfloor n/2\rfloor}}{n!!}. \]

The slice at \(x_n=t\) is an \((n-1)\)-ball of radius \(\sqrt{R^2-t^2}\), so by induction \(V_n(R)=\int_{-R}^RV_{n-1}(\sqrt{R^2-t^2})\,dt=C_nR^n\) with

\[ C_n=C_{n-1}\int_{-1}^1(1-u^2)^{\frac{n-1}2}du=2C_{n-1}I_n=C_{n-1}\frac{(n-1)!!}{n!!}b_n, \]

where \(I_n\) is the Wallis integral and \(b_n=\pi\) for even \(n\), \(b_n=2\) for odd \(n\). Telescoping from \(C_1=2\) gives the formula. A thin shell has volume \(V_n(R+\Delta R)-V_n(R)=A_n(R)\Delta R+o(\Delta R)\).

This gives \(V_2=\pi R^2\), \(V_3=\frac43\pi R^3\), \(A_3=4\pi R^2\). Surprisingly, the volume of the unit ball peaks at \(n=5\) and then tends to \(0\), and the fraction of a cube occupied by its inscribed ball tends to \(0\) rapidly: in high dimensions almost all of the volume of a cube lies in its corners.

For a surface of revolution, the piece between \(x\) and \(x+\Delta x\) is approximately a frustum of lateral area \(2\pi y\Delta l+o(\Delta l)\). Hence the surface area is

\[ \int_\gamma2\pi y\,dl=\int_a^b2\pi|y(t)|\sqrt{x'(t)^2+y'(t)^2}\,dt, \]

which is \(\int_a^b2\pi|f|\sqrt{1+f'^2}\,dx\) for a graph and \(\int2\pi|r\sin\theta|\sqrt{r^2+r'^2}\,d\theta\) in polar form. For the sphere, \(\int_0^\pi2\pi R\sin\theta\cdot R\,d\theta=4\pi R^2\), in agreement with \(V_3'(R)\).

A unit sphere with surface density \(1\) attracts a point mass \(m\) at \((a,0,0)\), \(a>1\). By symmetry the force is along the \(x\)-axis. Rotating the semicircle \((\cos\theta,\sin\theta)\), the ring at angle \(\theta\) has mass \(2\pi\sin\theta\,d\theta\) and contributes

\[ F_x=-Gm\int_0^\pi\frac{(a-\cos\theta)\,2\pi\sin\theta\,d\theta}{(a^2+1-2a\cos\theta)^{3/2}}=-\frac{\pi Gm}{2a^2}\int_{(a-1)^2}^{(a+1)^2}\frac{t+a^2-1}{t^{3/2}}dt=-\frac{4\pi Gm}{a^2}, \]

with \(t=a^2+1-2a\cos\theta\). This is the attraction of a point mass \(4\pi\), the shell’s mass, at the center. Newton proved this to justify treating planets as points.

7.6 Improper Integrals

  • Area and circumference of a circle: \(A=4R^2\int_0^1\sqrt{1-t^2}\,dt=\pi R^2\), with \(\pi\) defined by this integral, and \(L=4R\int_0^1\frac{dt}{\sqrt{1-t^2}}\). Integrating \(\int_0^1\sqrt{1-t^2}\,dt\) by parts shows \(L=2\pi R\). However \(\frac1{\sqrt{1-t^2}}\) is unbounded on \([0,1)\), so the circumference integral is not a Riemann integral.
  • Escape velocity. Launching a mass \(m\) from the Earth’s surface to infinity requires \(\frac12mv_0^2-\frac12mv_\infty^2=\int_R^\infty\frac{GMm}{x^2}dx=\frac{GMm}R\), so \(v_0\ge\sqrt{2GM/R}\). Here the interval is unbounded.

The Riemann integral requires a bounded interval and a bounded integrand, so it must be extended.

Definition 7.5 (Improper Integral)  

  1. If \(f\) is integrable on \([a,A]\) for every \(A>a\) and \(\lim_{A\to+\infty}\int_a^Af\,dx\) exists, the improper integral \(\int_a^{+\infty}f\,dx\) converges and equals this limit. Similarly for \(\int_{-\infty}^af\). \(\int_{-\infty}^{+\infty}f\) converges if both \(\int_{-\infty}^af\) and \(\int_a^{+\infty}f\) converge, and then it is their sum.
  2. If \(f\) is unbounded on \([a,b]\) but integrable on \([a,c]\) for every \(c<b\), then \(b\) is a singular point. The integral \(\int_a^bf\,dx=\lim_{c\to b^-}\int_a^cf\,dx\) converges if the limit exists.
  3. In general, if \(I\) splits into finitely many intervals, each with at most one singular point or infinite end, located at an endpoint, then \(\int_If\) converges if each piece converges, and it is their sum. Otherwise it diverges.
  • \(\int_0^{+\infty}e^{-\lambda x}\,dx\) converges iff \(\lambda>0\), with value \(\frac1\lambda\).
  • \(\int_1^{+\infty}\frac{dx}{x^p}\) converges iff \(p>1\), with value \(\frac1{p-1}\). With \(x=e^t\), so do \(\int_2^\infty\frac{dx}{x(\ln x)^p}\) and \(\int_3^\infty\frac{dx}{x\ln x(\ln\ln x)^p}\): they converge iff \(p>1\).
  • \(\int_0^1\frac{dx}{x^p}\) with \(p>0\) converges iff \(p<1\), with value \(\frac1{1-p}\).

Linearity, the Newton–Leibniz formula, substitution and integration by parts extend to improper integrals by passing to the limit. In particular, a singular integral can be turned into one over an infinite interval: if \(a\) is the only singular point, then \(x=a+e^{-t}\) gives \(\int_a^bf\,dx=\int_{-\ln(b-a)}^{+\infty}e^{-t}f(a+e^{-t})\,dt\). So it suffices to study \(\int_a^{+\infty}\).

7.7 Convergence of Improper Integrals

Most improper integrals in practice have no elementary antiderivative, so convergence must be decided without computing \(\int_a^Af\).

Theorem 7.18 (Cauchy Criterion for Improper Integrals) \(\int_a^{+\infty}f\,dx\) converges if and only if for every \(\varepsilon>0\) there is \(N\) with \(\bigl|\int_{A_1}^{A_2}f\,dx\bigr|<\varepsilon\) for all \(A_2>A_1\ge N\).

This is the Cauchy criterion for the limit of \(F(A)=\int_a^Af\) as \(A\to+\infty\). For \(\int_{-\infty}^{+\infty}f\), convergence means \(\int_A^Bf\to I\) as \(A\to-\infty\) and \(B\to+\infty\) independently. The odd function \(\frac x{1+x^2}\) has \(\int_{-A}^A=0\) for all \(A\), but \(\int_N^{4N}\frac{x\,dx}{1+x^2}>\frac12\ln8\), so \(\int_{-\infty}^{+\infty}\frac{x\,dx}{1+x^2}\) diverges.

Definition 7.6 (Absolute and Conditional Convergence) \(\int_a^{+\infty}f\,dx\) converges absolutely if \(\int_a^{+\infty}|f|\,dx\) converges, and converges conditionally if it converges but not absolutely.

By the Cauchy criterion and \(\bigl|\int_{A_1}^{A_2}f\bigr|\le\int_{A_1}^{A_2}|f|\), absolute convergence implies convergence, with \(\bigl|\int_a^\infty f\bigr|\le\int_a^\infty|f|\).

Theorem 7.19 (Comparison Test) Let \(f,g\) be integrable on every \([a,N]\) and \(f(x)=O(g(x))\) as \(x\to+\infty\). If \(\int_a^{+\infty}g\) converges absolutely, so does \(\int_a^{+\infty}f\). Equivalently, if \(\int_a^{+\infty}f\) is not absolutely convergent, neither is \(\int_a^{+\infty}g\). In particular this applies when \(\limsup\bigl|\frac fg\bigr|<\infty\).

If \(|f|\le M|g|\) for \(x>N_0\), then \(\int_{A_1}^{A_2}|f|\le M\int_{A_1}^{A_2}|g|\); apply the Cauchy criterion.

Proposition 7.4 (The Gamma Function) \(\Gamma(\alpha)=\int_0^{+\infty}x^{\alpha-1}e^{-x}\,dx\) converges if and only if \(\alpha>0\), and \(\Gamma(\alpha+1)=\alpha\Gamma(\alpha)\), \(\Gamma(n+1)=n!\).

At infinity, \(x^{\alpha-1}e^{-x}=O(e^{-x/2})\) for every \(\alpha\). At \(0\), \(x^{\alpha-1}e^{-x}\) is of the same order as \(x^{\alpha-1}\), which is integrable near \(0\) iff \(\alpha>0\). Integrating by parts, \(\Gamma(\alpha+1)=-x^\alpha e^{-x}\big|_0^\infty+\alpha\int_0^\infty x^{\alpha-1}e^{-x}dx=\alpha\Gamma(\alpha)\), and \(\Gamma(1)=1\).

Proposition 7.5 (The Beta Function) \(B(\alpha,\beta)=\int_0^1x^{\alpha-1}(1-x)^{\beta-1}\,dx\) converges if and only if \(\alpha,\beta>0\), and for positive integers

\[ B(m,n)=\frac{(m-1)!(n-1)!}{(m+n-1)!}=\frac{\Gamma(m)\Gamma(n)}{\Gamma(m+n)}. \]

Near \(0\) the integrand is \(x^{\alpha-1}(1+o(1))\) and near \(1\) it is \((1-x)^{\beta-1}(1+o(1))\). Integration by parts gives \(B(\alpha,\beta)=\frac{\beta-1}\alpha B(\alpha+1,\beta-1)\) for \(\beta>1\), and \(B(\alpha,1)=\frac1\alpha\); iterate.

The identity \(B(\alpha,\beta)=\frac{\Gamma(\alpha)\Gamma(\beta)}{\Gamma(\alpha+\beta)}\) holds for all \(\alpha,\beta>0\); it is proved with double integrals.

Split at \(1\). Near \(0\), \(\frac{\sin x}{x^\alpha}=x^{1-\alpha}(1+o(1))\), so \(\int_0^1\) converges iff \(\alpha<2\). On \([1,\infty)\):

  • For \(\alpha>0\), integration by parts gives \(\int_A^B\frac{\sin x}{x^\alpha}dx=\Bigl[-\frac{\cos x}{x^\alpha}\Bigr]_A^B-\alpha\int_A^B\frac{\cos x}{x^{1+\alpha}}dx\), which is small for large \(A\), so the integral converges.
  • For \(\alpha>1\), \(\bigl|\frac{\sin x}{x^\alpha}\bigr|\le\frac1{x^\alpha}\) and convergence is absolute.
  • For \(0<\alpha\le1\), \(|\sin x|\ge\frac12\) on most of each period, and \(\int_{n\pi}^{2n\pi}\frac{|\sin x|}x\,dx>\frac13\sum_{k=1}^n\frac1{n+k}>\frac16\) does not tend to \(0\), so convergence is not absolute.
  • For \(\alpha\le0\), \(\int_{n\pi}^{(n+1)\pi}\frac{|\sin x|}{x^\alpha}dx\ge2\) for the sign-constant integrand, so the integral diverges.

In summary, \(\int_0^\infty\frac{\sin x}{x^\alpha}dx\) converges absolutely for \(1<\alpha<2\), conditionally for \(0<\alpha\le1\), and diverges otherwise.

Theorem 7.20 (Dirichlet and Abel Tests) Let \(g\) be monotone and \(F(x)=\int_a^xf(t)\,dt\). Then \(\int_a^{+\infty}f(x)g(x)\,dx\) converges if either

  1. (Dirichlet) \(F\) is bounded and \(\lim_{x\to+\infty}g(x)=0\); or
  2. (Abel) \(\lim_{x\to+\infty}F(x)\) exists and \(g\) is bounded.

We assume \(f\) continuous and \(g\in C^1\); the general case uses the second mean value theorem. (1) Let \(|F|\le M\). For \(B>A\),

\[ \Bigl|\int_A^Bfg\,dx\Bigr|=\Bigl|F(B)g(B)-F(A)g(A)-\int_A^BFg'\,dx\Bigr|\le M\bigl(|g(B)|+|g(A)|\bigr)+M\Bigl|\int_A^Bg'\,dx\Bigr|\le4M|g(A)|, \]

since \(g'\) has constant sign and \(g\) is monotone with limit \(0\). This tends to \(0\) as \(A\to\infty\); apply the Cauchy criterion. (2) \(g\) is monotone and bounded, so \(g\to\beta\). Apply (1) to \(g-\beta\) and add \(\beta\int_a^\infty f\).

7.8 Supplementary Notes

7.8.1 Key Results