## 177. Infinite Integrals.

The Integral Test of § 174 shows that, if $$\phi(x)$$ is a positive and decreasing function of $$x$$, then the series $$\sum \phi(n)$$ is convergent or divergent according as the integral function $$\Phi(x)$$ does or does not tend to a limit as $$x \to \infty$$. Let us suppose that it does tend to a limit, and that $\lim_{x \to \infty} \int_{1}^{x} \phi(t)\, dt = l.$ Then we shall say that the integral $\int_{1}^{\infty} \phi(t)\, dt$ is convergent, and has the value $$l$$; and we shall call the integral an infinite integral.

So far we have supposed $$\phi(t)$$ positive and decreasing. But it is natural to extend our definition to other cases. Nor is there any special point in supposing the lower limit to be unity. We are accordingly led to formulate the following definition:

If $$\phi(t)$$ is a function of $$t$$ continuous when $$t \geq a$$, and $\lim_{x \to \infty} \int_{a}^{x} \phi(t)\, dt = l,$ then we shall say that the infinite integral $\begin{equation*} \int_{a}^{\infty}\phi(t)\, dt \tag{1} \end{equation*}$ is convergent and has the value $$l$$.

The ordinary integral between limits $$a$$ and $$A$$, as defined in Ch. VII, we shall sometimes call in contrast a finite integral.

On the other hand, when $\int_{a}^{x}\phi(t)\, dt \to \infty,$ we shall say that the integral diverges to $$\infty$$, and we can give a similar definition of divergence to $$-\infty$$. Finally, when none of these alternatives occur, we shall say that the integral oscillates, finitely or infinitely, as $$x \to \infty$$.

These definitions suggest the following remarks.

(i) If we write $\int_{a}^{x}\phi(t)\, dt = \Phi(x),$ then the integral converges, diverges, or oscillates according as $$\Phi(x)$$ tends to a limit, tends to $$\infty$$ (or to $$-\infty$$), or oscillates, as $$x \to \infty$$. If $$\Phi(x)$$ tends to a limit, which we may denote by $$\Phi(\infty)$$, then the value of the integral is $$\Phi(\infty)$$. More generally, if $$\Phi(x)$$ is any integral function of $$\phi(x)$$, then the value of the integral is $$\Phi(\infty) – \Phi(a)$$.

(ii) In the special case in which $$\phi(t)$$ is always positive it is clear that $$\Phi(x)$$ is an increasing function of $$x$$. Hence the only alternatives are convergence and divergence to $$\infty$$.

(iii) The integral (1) of course depends on $$a$$, but is quite independent of $$t$$, and is in no way altered by the substitution of any other letter for $$t$$ (cf. § 157).

(iv) Of course the reader will not be puzzled by the use of the term infinite integral to denote something which has a definite value such as $$2$$ or $$\frac{1}{2}\pi$$. The distinction between an infinite integral and a finite integral is similar to that between an infinite series and a finite series: no one supposes that an infinite series is necessarily divergent.

(v) The integral $$\int_{a}^{x} \phi(t)\, dt$$ was defined in § 156 and § 157 as a simple limit, i.e. the limit of a certain finite sum. The infinite integral is therefore the limit of a limit, or what is known as a repeated limit. The notion of the infinite integral is in fact essentially more complex than that of the finite integral, of which it is a development.

(vi) The Integral Test of § 174 may now be stated in the form:

if $$\phi(x)$$ is positive and steadily decreases as $$x$$ increases, then the infinite series $$\sum\phi(n)$$ and the infinite integral $$\int_{1}^{\infty} \phi(x)\, dx$$ converge or diverge together.

(vii) The reader will find no difficulty in formulating and proving theorems for infinite integrals analogous to those stated in (1)–(6) of § 77. Thus the result analogous to is that

if $$\int_{a}^{\infty} \phi(x)\, dx$$ is convergent, and $$b > a$$, then $$\int_{b}^{\infty} \phi(x)\, dx$$ is convergent and $\int_{a}^{\infty} \phi(x)\, dx = \int_{a}^{b} \phi(x)\, dx + \int_{b}^{\infty}\phi(x)\, dx.$

## 178. The case in which $$\phi(x)$$ is positive.

It is natural to consider what are the general theorems, concerning the convergence or divergence of the infinite integral (1) of § 177, analogous to theorems A–D of § 167. That A is true of integrals as well as of series we have already seen in § 177, (ii). Corresponding to B we have the theorem that

the necessary and sufficient condition for the convergence of the integral (1) is that it should be possible to find a constant $$K$$ such that $\int_{a}^{x} \phi(t)\, dt < K$ for all values of $$x$$ greater than $$a$$.

Similarly, corresponding to C, we have the theorem:

if $$\int_{a}^{\infty} \phi(x)\, dx$$ is convergent, and $$\psi(x) \leq K\phi(x)$$ for all values of $$x$$ greater than $$a$$, then $$\int_{a}^{\infty} \psi(x)\, dx$$ is convergent and

$\int_{a}^{\infty} \psi(x)\, dx \leq K\int_{a}^{\infty} \phi(x)\, dx.$ We leave it to the reader to formulate the corresponding test for divergence.

We may observe that d’Alembert’s test (§ 168), depending as it does on the notion of successive terms, has no analogue for integrals; and that the analogue of Cauchy’s test is not of much importance, and in any case could only be formulated when we have investigated in greater detail the theory of the function $$\phi(x) = r^{x}$$, as we shall do in Ch. IX. The most important special tests are obtained by comparison with the integral $\int_{a}^{\infty} \frac{dx}{x^{s}}\quad (a > 0),$ whose convergence or divergence we have investigated in § 175, and are as follows:

if $$\phi(x) < Kx^{-s}$$, where $$s > 1$$, when $$x \geq a$$, then $$\int_{a}^{\infty} \phi(x)\, dx$$ is convergent; and if $$\phi(x) > Kx^{-s}$$, where $$s \leq 1$$, when $$x \geq a$$, then the integral is divergent; and in particular, if $$\lim x^{s}\phi(x) = l$$, where $$l > 0$$, then the integral is convergent or divergent according as $$s > 1$$ or $$s \leq 1$$.

There is one fundamental property of a convergent infinite series in regard to which the analogy between infinite series and infinite integrals breaks down. If $$\sum \phi(n)$$ is convergent then $$\phi(n) \to 0$$; but it is not always true, even when $$\phi(x)$$ is always positive, that if $$\int_{a}^{\infty} \phi(x)\, dx$$ is convergent then $$\phi(x) \to 0$$.

Consider for example the function $$\phi(x)$$ whose graph is indicated by the thick line in the figure. Here the height of the peaks corresponding to the points $$x = 1$$, $$2$$, $$3$$, … is in each case unity, and the breadth of the peak corresponding to $$x = n$$ is $$2/(n + 1)^{2}$$. The area of the peak is $$1/(n + 1)^{2}$$, and it is evident that, for any value of $$\xi$$, $\int_{0}^{\xi} \phi(x)\, dx < \sum_{0}^{\infty} \frac{1}{(n + 1)^{2}},$ so that $$\int_{0}^{\infty} \phi(x)\, dx$$ is convergent; but it is not true that $$\phi(x) \to 0$$

Example LXXIII
1. The integral $\int_{a}^{\infty} \frac{\alpha x^{r} + \beta x^{r-1} + \dots + \lambda} {Ax^{s} + Bx^{s-1} + \dots + L}\, dx,$ where $$\alpha$$ and $$A$$ are positive and $$a$$ is greater than the greatest root of the denominator, is convergent if $$s > r + 1$$ and otherwise divergent.

2. Which of the integrals $$\int_{a}^{\infty} \frac{dx}{\sqrt{x}}$$, $$\int_{a}^{\infty} \frac{dx}{x^{4/3}}$$, $\int_{a}^{\infty} \frac{dx}{c^{2} + x^{2}},\quad \int_{a}^{\infty} \frac{x\, dx}{c^{2} + x^{2}},\quad \int_{a}^{\infty} \frac{x^{2}\, dx}{c^{2} + x^{2}},\quad \int_{a}^{\infty} \frac{x^{2}\, dx}{\alpha + 2\beta x^{2} + \gamma x^{4}}$ are convergent? In the first two integrals it is supposed that $$a > 0$$, and in the last that $$a$$ is greater than the greatest root (if any) of the denominator.

3. The integrals $\int_{a}^{\xi} \cos x\, dx,\quad \int_{a}^{\xi} \sin x\, dx,\quad \int_{a}^{\xi} \cos(\alpha x + \beta)\, dx$ oscillate finitely as $$\xi \to \infty$$.

4. The integrals $\int_{a}^{\xi} x\cos x\, dx,\quad \int_{a}^{\xi} x^{2}\sin x\, dx\quad \int_{a}^{\xi} x^{n} \cos(\alpha x + \beta)\, dx,$ where $$n$$ is any positive integer, oscillate infinitely as $$\xi \to \infty$$.

5. Integrals to $$-\infty$$.If $$\int_{\xi}^{a} \phi(x)\, dx$$ tends to a limit $$l$$ as $$\xi \to -\infty$$, then we say that $$\int_{-\infty}^{a} \phi(x)\, dx$$ is convergent and equal to $$l$$. Such integrals possess properties in every respect analogous to those of the integrals discussed in the preceding sections: the reader will find no difficulty in formulating them.

6. Integrals from $$-\infty$$ to $$+\infty$$. If the integrals $\int_{-\infty}^{a} \phi(x)\, dx,\quad \int_{a}^{\infty} \phi(x)\, dx$ are both convergent, and have the values $$k$$, $$l$$ respectively, then we say that $\int_{-\infty}^{\infty} \phi(x)\, dx$ is convergent and has the value $$k + l$$.

7. Prove that $\int_{-\infty}^{0} \frac{dx}{1 + x^{2}} = \int_{0}^{\infty} \frac{dx}{1 + x^{2}} = \tfrac{1}{2} \int_{-\infty}^{\infty} \frac{dx}{1 + x^{2}} = \tfrac{1}{2}\pi.$

8. Prove generally that $\int_{-\infty}^{\infty} \phi(x^{2})\, dx = 2\int_{0}^{\infty} \phi(x^{2})\, dx,$ provided that the integral $$\int_{0}^{\infty} \phi(x^{2})\, dx$$ is convergent.

9. Prove that if $$\int_{0}^{\infty} x\phi(x^{2})\, dx$$ is convergent then $$\int_{-\infty}^{\infty} x\phi(x^{2})\, dx = 0$$.

10. Analogue of Abel’s Theorem of § 173. If $$\phi(x)$$ is positive and steadily decreases, and $$\int_{a}^{\infty} \phi(x)\, dx$$ is convergent, then $$x\phi(x) \to 0$$. Prove this (a) by means of Abel’s Theorem and the Integral Test and (b) directly, by arguments analogous to those of § 173.

11. If $$a = x_{0} < x_{1} < x_{2} < \dots$$ and $$x_{n} \to \infty$$, and $$u_{n}= \int_{x_{n}}^{x_{n+1}} \phi(x)\, dx$$, then the convergence of $$\int_{a}^{\infty} \phi(x)\, dx$$ involves that of $$\sum u_{n}$$. If $$\phi(x)$$ is always positive the converse statement is also true. [That the converse is not true in general is shown by the example in which $$\phi(x) = \cos x$$, $$x_{n} = n\pi$$.]

## 179. Application to infinite integrals of the rules for substitution and integration by parts.

The rules for the transformation of a definite integral which were discussed in § 161 may be extended so as to apply to infinite integrals.

(1) Transformation by substitution. Suppose that $\begin{equation*} \int_{a}^{\infty} \phi(x)\, dx \tag{1} \end{equation*}$ is convergent. Further suppose that, for any value of $$\xi$$ greater than $$a$$, we have, as in § 161, $\begin{equation*} \int_{a}^{\xi} \phi(x)\, dx = \int_{b}^{\tau} \phi\{f(t)\}f'(t)\, dt, \tag{2} \end{equation*}$ where $$a = f(b)$$, $$\xi = f(\tau)$$. Finally suppose that the functional relation $$x = f(t)$$ is such that $$x \to \infty$$ as $$t \to \infty$$. Then, making $$\tau$$ and so $$\xi$$ tend to $$\infty$$ in (2), we see that the integral $\begin{equation*} \int_{b}^{\infty} \phi\{f(t)\}f'(t)\, dt \tag{3} \end{equation*}$ is convergent and equal to the integral .

On the other hand it may happen that $$\xi \to \infty$$ as $$\tau \to -\infty$$ or as $$\tau \to c$$. In the first case we obtain \begin{aligned} {2} \int_{a}^{\infty} \phi(x)\, dx &= &&\lim_{\tau\to-\infty} \int_{b}^{\tau} \phi\{f(t)\}f'(t)\, dt\\ &= -&&\lim_{\tau\to-\infty} \int_{\tau}^{b} \phi\{f(t)\}f'(t)\, dt = -\int_{-\infty}^{b} \phi\{f(t)\}f'(t)\, dt.\end{aligned} In the second case we obtain $\begin{equation*} \int_{a}^{\infty} \phi(x)\, dx = \lim_{\tau\to c} \int_{b}^{\tau} \phi\{f(t)\}f'(t)\, dt. \tag{4} \end{equation*}$ We shall return to this equation in § 181.

There are of course corresponding results for the integrals $\int_{-\infty}^{a} \phi(x)\, dx,\quad \int_{-\infty}^{\infty} \phi(x)\, dx,$ which it is not worth while to set out in detail: the reader will be able to formulate them for himself.

Example LXXIV
1. Show, by means of the substitution $$x = t^{\alpha}$$, that if $$s > 1$$ and $$\alpha >0$$ then $\int_{1}^{\infty} x^{-s}\, dx = \alpha\int_{1}^{\infty} t^{\alpha(1-s) – 1}\, dt;$ and verify the result by calculating the value of each integral directly.

2. If $$\int_{a}^{\infty} \phi(x)\, dx$$ is convergent then it is equal to one or other of $\alpha\int_{(a-\beta)/\alpha}^{\infty} \phi(\alpha t + \beta)\, dt,\quad -\alpha\int_{-\infty}^{(a-\beta)/\alpha} \phi(\alpha t + \beta)\, dt,$ according as $$\alpha$$ is positive or negative.

3. If $$\phi(x)$$ is a positive and steadily decreasing function of $$x$$, and $$\alpha$$ and $$\beta$$ are any positive numbers, then the convergence of the series $$\sum \phi(n)$$ implies and is implied by that of the series $$\sum \phi(\alpha n + \beta)$$.

[It follows at once, on making the substitution $$x = \alpha t + \beta$$, that the integrals $\int_{a}^{\infty} \phi(x)\, dx,\quad \int_{(a-\beta)/\alpha}^{\infty} \phi(\alpha t + \beta)\, dt$ converge or diverge together. Now use the Integral Test.]

4. Show that $\int_{1}^{\infty} \frac{dx}{(1 + x)\sqrt{x}} = \tfrac{1}{2} \pi.$

[Put $$x = t^{2}$$.]

5. Show that $\int_{0}^{\infty} \frac{\sqrt{x}}{(1 + x)^{2}}\, dx = \tfrac{1}{2}\pi.$

[Put $$x = t^{2}$$ and integrate by parts.]

6. If $$\phi(x) \to h$$ as $$x \to \infty$$, and $$\phi(x) \to k$$ as $$x \to -\infty$$, then $\int_{-\infty}^{\infty} \{\phi(x – a) – \phi(x – b)\}\, dx = -(a – b)(h – k).$

[For \begin{aligned} {2} \int_{-\xi’}^{\xi} \{\phi(x – a) – \phi(x – b)\}\, dx &= \int_{-\xi’}^{\xi} \phi(x – a)\, dx &&- \int_{-\xi’}^{\xi} \phi(x – b)\, dx\\ &= \int_{-\xi’-a}^{\xi-a} \phi(t)\, dt &&- \int_{-\xi’-b}^{\xi-b} \phi(t)\, dt\\ &= \int_{-\xi’-a}^{-\xi’-b} \phi(t)\, dt &&- \int_{\xi-a}^{\xi-b} \phi(t)\, dt.\end{aligned} The first of these two integrals may be expressed in the form $(a – b) k + \int_{-\xi’-a}^{-\xi’-b} \rho\, dt,$ where $$\rho \to 0$$ as $$\xi’ \to \infty$$, and the modulus of the last integral is less than or equal to $$|a – b| \kappa$$, where $$\kappa$$ is the greatest value of $$\rho$$ throughout the interval $${[-\xi’ – a, -\xi’ – b]}$$. Hence $\int_{-\xi’-a}^{-\xi’-b} \phi(t)\, dt \to (a – b) k.$ The second integral may be discussed similarly.]

(2) Integration by parts. The formula for integration by parts (§ 161) is $\int_{a}^{\xi} f(x)\phi'(x)\, dx = f(\xi)\phi(\xi) – f(a)\phi(a) – \int_{a}^{\xi} f'(x)\phi(x)\, dx.$

Suppose now that $$\xi \to \infty$$. Then if any two of the three terms in the above equation which involve $$\xi$$ tend to limits, so does the third, and we obtain the result $\int_{a}^{\infty} f(x)\phi'(x)\, dx = \lim_{\xi\to\infty} f(\xi)\phi(\xi) – f(a)\phi(a) – \int_{a}^{\infty} f'(x)\phi(x)\, dx.$ There are of course similar results for integrals to $$-\infty$$, or from $$-\infty$$ to $$\infty$$.

Example LXXV
Show that $\int_{0}^{\infty} \frac{x}{(1 + x)^{3}}\, dx = \tfrac{1}{2} \int_{0}^{\infty} \frac{dx}{(1 + x)^{2}} = \tfrac{1}{2}.$

2. $$\int_{0}^{\infty} \frac{x^{2}}{(1 + x)^{4}}\, dx = \tfrac{2}{3} \int_{0}^{\infty} \frac{x}{(1 + x)^{3}}\, dx = \tfrac{1}{3}$$.

3. If $$m$$ and $$n$$ are positive integers, and $I_{m, n} = \int_{0}^{\infty} \frac{x^{m}\, dx}{(1 + x)^{m+n}},$ then $I_{m, n} = \{m/(m + n – 1)\} I_{m-1, n}.$ Hence prove that $$I_{m, n} = m!\, (n – 2)!/(m + n – 1)!$$.

4. Show similarly that if $I_{m, n} = \int_{0}^{\infty} \frac{x^{2m+1}\, dx}{(1 + x^{2})^{m+n}}$ then $I_{m, n} = \{m/(m + n – 1)\} I_{m-1, n},\quad 2I_{m, n} = m!\, (n – 2)!/(m + n – 1)!.$ Verify the result by applying the substitution $$x = t^{2}$$ to the result of Ex. 3.

## 180. Other types of infinite integrals.

It was assumed, in the definition of the ordinary or finite integral given in Ch. VII, that (1) the range of integration is finite and (2) the subject of integration is continuous.

It is possible, however, to extend the notion of the ‘definite integral’ so as to apply to many cases in which these conditions are not satisfied. The ‘infinite’ integrals which we have discussed in the preceding sections, for example, differ from those of Ch. VII in that the range of integration is infinite. We shall now suppose that it is the second of the conditions (1), (2) that is not satisfied. It is natural to try to frame definitions applicable to some such cases at any rate. There is only one such case which we shall consider here. We shall suppose that $$\phi(x)$$ is continuous throughout the range of integration $${[a, A]}$$ except for a finite number of values of $$x$$, say $$x = \xi_{1}$$, $$\xi_{2}$$, …, and that $$\phi(x) \to \infty$$ or $$\phi(x) \to -\infty$$ as $$x$$ tends to any of these exceptional values from either side.

It is evident that we need only consider the case in which $${[a, A]}$$ contains one such point $$\xi$$. When there is more than one such point we can divide up $${[a, A]}$$ into a finite number of sub-intervals each of which contains only one; and, if the value of the integral over each of these sub-intervals has been defined, we can then define the integral over the whole interval as being the sum of the integrals over each sub-interval. Further, we can suppose that the one point $$\xi$$ in $${[a, A]}$$ comes at one or other of the limits $$a$$, $$A$$. For, if it comes between $$a$$ and $$A$$, we can then define $$\int_{a}^{A} \phi(x)\, dx$$ as $\int_{a}^{\xi} \phi(x)\, dx + \int_{\xi}^{A} \phi(x)\, dx,$ assuming each of these integrals to have been satisfactorily defined. We shall suppose, then, that $$\xi = a$$; it is evident that the definitions to which we are led will apply, with trifling changes, to the case in which $$\xi = A$$.

Let us then suppose $$\phi(x)$$ to be continuous throughout $${[a, A]}$$ except for $$x = a$$, while $$\phi(x) \to \infty$$ as $$x \to a$$ through values greater than $$a$$. A typical example of such a function is given by $\phi(x) = (x – a)^{-s},$ where $$s > 0$$; or, in particular, if $$a = 0$$, by $$\phi(x) = x^{-s}$$. Let us therefore consider how we can define $\begin{equation*} \int_{0}^{A} \frac{dx}{x^{s}}, \tag{1} \end{equation*}$ when $$s > 0$$.

The integral $$\int_{1/A}^{\infty} y^{s-2}\, dy$$ is convergent if $$s < 1$$ (§ 175) and means $$\lim\limits_{\eta\to\infty} \int_{1/A}^{\eta} y^{s-2}\, dy$$. But if we make the substitution $$y = 1/x$$, we obtain $\int_{1/A}^{\eta} y^{s-2}\, dy = \int_{1/\eta}^{A} x^{-s}\, dx.$ Thus $$\lim\limits_{\eta\to\infty} \int_{1/\eta}^{A} x^{-s}\, dx$$, or, what is the same thing, $\lim_{\epsilon\to +0} \int_{\epsilon}^{A} x^{-s}\, dx,$ exists provided that $$s < 1$$; and it is natural to define the value of the integral (1) as being equal to this limit. Similar considerations lead us to define $$\int_{a}^{A} (x – a)^{-s}\, dx$$ by the equation $\int_{a}^{A} (x – a)^{-s}\, dx = \lim_{\epsilon\to +0} \int_{a+\epsilon}^{A} (x – a)^{-s}\, dx.$

We are thus led to the following general definition:

if the integral $\int_{a+\epsilon}^{A} \phi(x)\, dx$ tends to a limit $$l$$ as $$\epsilon \to +0$$, we shall say that the integral $\int_{a}^{A} \phi(x)\, dx$ is convergent and has the value $$l$$.

Similarly, when $$\phi(x) \to \infty$$ as $$x$$ tends to the upper limit $$A$$, we define $$\int_{a}^{A} \phi(x)\, dx$$ as being $\lim_{\epsilon \to +0} \int_{a}^{A-\epsilon} \phi(x)\, dx:$ and then, as we explained above, we can extend our definitions to cover the case in which the interval $${[a, A]}$$ contains any finite number of infinities of $$\phi(x)$$.

An integral in which the subject of integration tends to $$\infty$$ or to $$-\infty$$ as $$x$$ tends to some value or values included in the range of integration will be called an infinite integral of the second kind: the first kind of infinite integrals being the class discussed in § 177 et seq. Nearly all the remarks (i)–(vii) made at the end of § 177 apply to infinite integrals of the second kind as well as to those of the first.

## 181.

We may now write the equation (4) of § 179 in the form $\begin{equation*} \int_{a}^{\infty} \phi(x)\, dx = \int_{b}^{c} \phi\{f(t)\}f'(t)\, dt. \tag{1} \end{equation*}$ The integral on the right-hand side is defined as the limit, as $$\tau \to c$$, of the corresponding integral over the range $${[b, \tau]}$$, i.e. as an infinite integral of the second kind. And when $$\phi\{f(t)\}f'(t)$$ has an infinity at $$t = c$$ the integral is essentially an infinite integral. Suppose for example, that $$\phi(x) = (1 + x)^{-m}$$, where $$1 < m <2$$, and $$a = 0$$, and that $$f(t) = t/(1 – t)$$. Then $$b = 0$$, $$c = 1$$, and becomes $\begin{equation*} \int_{0}^{\infty} \frac{dx}{(1 + x)^{m}} = \int_{0}^{1} (1 – t)^{m-2}\, dt; \tag{2} \end{equation*}$ and the integral on the right-hand side is an infinite integral of the second kind.

On the other hand it may happen that $$\phi\{f(t)\}f'(t)$$ is continuous for $$t = c$$. In this case $\int_{b}^{c} \phi\{f(t)\}f'(t)\, dt$ is a finite integral, and $\lim_{\tau \to c} \int_{b}^{\tau} \phi\{f(t)\}f'(t)\, dt = \int_{b}^{c} \phi\{f(t)\}f'(t)\, dt,$ in virtue of the corollary to Theorem (10) of § 160. In this case the substitution $$x = f(t)$$ transforms an infinite into a finite integral. This case arises if $$m \geq 2$$ in the example considered a moment ago.

Example LXXVI
1. If $$\phi(x)$$ is continuous except for $$x = a$$, while $$\phi(x) \to \infty$$ as $$x \to a$$, then the necessary and sufficient condition that $$\int_{a}^{A} \phi(x)\, dx$$ should be convergent is that we can find a constant $$K$$ such that $\int_{a+\epsilon}^{A} \phi(x)\, dx < K$ for all values of $$\epsilon$$, however small (cf. § 178).

It is clear that we can choose a number $$A’$$ between $$a$$ and $$A$$, such that $$\phi(x)$$ is positive throughout $${[a, A’]}$$. If $$\phi(x)$$ is positive throughout the whole interval $${[a, A]}$$ then we can of course identify $$A’$$ and $$A$$. Now $\int_{a-\epsilon}^{A} \phi(x)\, dx = \int_{a-\epsilon}^{A’} \phi(x)\, dx + \int_{A’}^{A} \phi(x)\, dx.$ The first integral on the right-hand side of the above equation increases as $$\epsilon$$ decreases, and therefore tends to a limit or to $$\infty$$; and the truth of the result stated becomes evident.

If the condition is not satisfied then $$\int_{a-\epsilon}^{A} \phi(x)\, dx \to \infty$$. We shall then say that the integral $$\int_{a}^{A} \phi(x)\, dx$$ diverges to $$\infty$$. It is clear that, if $$\phi(x) \to \infty$$ as $$x \to a + 0$$, then convergence and divergence to $$\infty$$ are the only alternatives for the integral. We may discuss similarly the case in which $$\phi(x) \to -\infty$$.

2. Prove that $\int_{a}^{A} (x – a)^{-s}\, dx = \frac{(A – a)^{1-s}}{1 – s}$ if $$s < 1$$, while the integral is divergent if $$s \geq 1$$.

3. If $$\phi(x) \to \infty$$ as $$x \to a + 0$$ and $$\phi(x) < K(x – a)^{-s}$$, where $$s < 1$$, then $$\int_{a}^{A} \phi(x)\, dx$$ is convergent; and if $$\phi(x) > K(x – a)^{-s}$$, where $$s \geq 1$$, then the integral is divergent. [This is merely a particular case of a general comparison theorem analogous to that stated in § 178.]

4. Are the integrals $\begin{gathered} \int_{a}^{A} \frac{dx}{\sqrt{(x – a)(A – x)}},\quad \int_{a}^{A} \frac{dx}{(A – x)\sqrt[3]{x – a}},\quad \int_{a}^{A} \frac{dx}{(A – x)\sqrt[3]{A – x}},\\ \int_{a}^{A} \frac{dx}{\sqrt{x^{2} – a^{2}}},\quad \int_{a}^{A} \frac{dx}{\sqrt[3]{A^{3} – x^{3}}},\quad \int_{a}^{A} \frac{dx}{x^{2} – a^{2}},\quad \int_{a}^{A} \frac{dx}{A^{3} – x^{3}}\end{gathered}$ convergent or divergent?

5. The integrals $\int_{-1}^{1}\frac{dx}{\sqrt[3]{x}},\quad \int_{a-1}^{a+1} \frac{dx}{\sqrt[3]{x – a}}$ are convergent, and the value of each is zero.

6. The integral $\int_{0}^{\pi} \frac{dx}{\sqrt{\sin x}}$ is convergent. [The subject of integration tends to $$\infty$$ as $$x$$ tends to either limit.]

7. The integral $\int_{0}^{\pi} \frac{dx}{(\sin x)^{s}}$ is convergent if and only if $$s < 1$$.

8. The integral $\int_{0}^{\frac{1}{2}\pi} \frac{x^{s}}{(\sin x)^{t}}\, dx$ is convergent if $$t < s + 1$$.

9. Show that $\int_{0}^{h} \frac{\sin x}{x^{p}}\, dx,$ where $$h > 0$$, is convergent if $$p < 2$$. Show also that, if $$0 < p < 2$$, the integrals $\int_{0}^{\pi} \frac{\sin x}{x^{p}} dx,\quad \int_{\pi}^{2\pi} \frac{\sin x}{x^{p}}\, dx,\quad \int_{2\pi}^{3\pi} \frac{\sin x}{x^{p}}\, dx,\ \dots$ alternate in sign and steadily decrease in absolute value. [Transform the integral whose limits are $$k\pi$$ and $$(k + 1)\pi$$ by the substitution $$x = k\pi + y$$.]

10. Show that $\int_{0}^{h} \frac{\sin x}{x^{p}}\, dx,$ where $$0 < p < 2$$, attains its greatest value when $$h = \pi$$.

11. The integral $\int_{0}^{\frac{1}{2} \pi}(\cos x)^{l}(\sin x)^{m}\, dx$ is convergent if and only if $$l > -1$$, $$m > -1$$.

12. Such an integral as $\int_{0}^{\infty} \frac{x^{s-1}\, dx}{1 + x},$ where $$s < 1$$, does not fall directly under any of our previous definitions. For the range of integration is infinite and the subject of integration tends to $$\infty$$ as $$x \to +0$$. It is natural to define this integral as being equal to the sum $\int_{0}^{1} \frac{x^{s-1}\, dx}{1 + x} + \int_{1}^{\infty} \frac{x^{s-1}\, dx}{1 + x},$ provided that these two integrals are both convergent.

The first integral is a convergent infinite integral of the second kind if $$0 < s < 1$$. The second is a convergent infinite integral of the first kind if $$s < 1$$. It should be noted that when $$s > 1$$ the first integral is an ordinary finite integral; but then the second is divergent. Thus the integral from $$0$$ to $$\infty$$ is convergent if and only if $$0 < s < 1$$.

13. Prove that $\int_{0}^{\infty} \frac{x^{s-1}}{1 + x^{t}}\, dx$ is convergent if and only if $$0 < s < t$$.

14. The integral $\int_{0}^{\infty} \frac{x^{s-1} – x^{t-1}}{1 – x}\, dx$ is convergent if and only if $$0 < s < 1$$, $$0 < t < 1$$. [It should be noticed that the subject of integration is undefined when $$x = 1$$; but $$(x^{s-1} – x^{t-1})/(1 – x) \to t – s$$ as $$x \to 1$$ from either side; so that the subject of integration becomes a continuous function of $$x$$ if we assign to it the value $$t – s$$ when $$x = 1$$.

It often happens that the subject of integration has a discontinuity which is due simply to a failure in its definition at a particular point in the range of integration, and can be removed by attaching a particular value to it at that point. In this case it is usual to suppose the definition of the subject of integration completed in this way. Thus the integrals $\int_{0}^{\frac{1}{2} \pi} \frac{\sin mx}{x}\, dx,\quad \int_{0}^{\frac{1}{2} \pi} \frac{\sin mx}{\sin x}\, dx$ are ordinary finite integrals, if the subjects of integration are regarded as having the value $$m$$ when $$x = 0$$.]

15. Substitution and integration by parts. The formulae for transformation by substitution and integration by parts may of course be extended to infinite integrals of the second as well as of the first kind. The reader should formulate the general theorems for himself, on the lines of § 179.

16. Prove by integration by parts that if $$s > 0$$, $$t > 1$$, then $\int_{0}^{1} x^{s-1}(1 – x)^{t-1}\, dx = \frac{t – 1}{s} \int_{0}^{1} x^{s} (1 – x)^{t-2}\, dx.$

17. If $$s > 0$$ then $\int_{0}^{1} \frac{x^{s-1}\, dx}{1 + x} = \int_{1}^{\infty} \frac{t^{-s}\, dt}{1 + t}.$

[Put $$x = 1/t$$.]

18. If $$0 < s < 1$$ then $\int_{0}^{1} \frac{x^{s-1} + x^{-s}}{1 + x}\, dx = \int_{0}^{\infty} \frac{t^{-s}\, dt}{1 + t} = \int_{0}^{\infty} \frac{t^{s-1}\, dt}{1 + t}.$

19. If $$a + b > 0$$ then $\int_{b}^{\infty} \frac{dx}{(x + a)\sqrt{x – b}} = \frac{\pi}{\sqrt{a + b}}.$

20. Show, by means of the substitution $$x = t/(1 – t)$$, that if $$l$$ and $$m$$ are both positive then $\int_{0}^{\infty} \frac{x^{l-1}}{(1 + x)^{l+m}}\, dx = \int_{0}^{1} t^{l-1} (1 – t)^{m-1}\, dt.$

21. Show, by means of the substitution $$x = pt/(p + 1 – t)$$, that if $$l$$, $$m$$, and $$p$$ are all positive then $\int_{0}^{1} x^{l-1} (1 – x)^{m-1}\, \frac{dx}{(x + p)^{l + m}} = \frac{1}{(1 + p)^{l} p^{m}} \int_{0}^{1} t^{l-1} (1 – t)^{m-1}\, dt.$

22. Prove that $\int_{a}^{b} \frac{dx}{\sqrt{(x – a)(b – x)}} = \pi\quad\text{and}\quad \int_{a}^{b} \frac{x\, dx}{\sqrt{(x – a)(b – x)}} = \tfrac{1}{2} \pi (a + b),$ (i) by means of the substitution $$x = a + (b – a)t^{2}$$, (ii) by means of the substitution $$(b – x)/(x – a) = t$$, and (iii) by means of the substitution $$x = a\cos^{2} t + b\sin^{2} t$$.

23. If $$s > -1$$ then $\int_{0}^{\frac{1}{2} \pi} (\sin\theta)^{s}\, d\theta = \int_{0}^{1} \frac{x^{s}\, dx}{\sqrt{1 – x^{2}}} = \tfrac{1}{2} \int_{0}^{1} \frac{x^{\frac{1}{2}(s-1)}\, dx}{\sqrt{1 – x}} = \tfrac{1}{2} \int_{0}^{1} (1 – x)^{\frac{1}{2}(s-1)} \frac{dx}{\sqrt{x}}.$

24. Establish the formulae \begin{aligned} &\int_{0}^{1} \frac{f(x)\, dx}{\sqrt{1 – x^{2}}} = \int_{0}^{\frac{1}{2}\pi} f(\sin\theta)\, d\theta,\\ &\int_{a}^{b} \frac{f(x)\, dx}{\sqrt{(x – a)(b – x)}} = 2\int_{0}^{\frac{1}{2}\pi} f(a\cos^{2}\theta + b\sin^{2}\theta)\, d\theta,\\ &\int_{-a}^{a} f\left\{\sqrt{\frac{a – x}{a + x}}\right\} dx = 4a\int_{0}^{\frac{1}{2}\pi} f(\tan\theta) \cos\theta \sin\theta\, d\theta.\end{aligned}

25. Prove that $\int_{0}^{1} \frac{dx}{(1 + x)(2 + x) \sqrt{x(1 – x)}} = \pi\left(\frac{1}{\sqrt{2}} – \frac{1}{\sqrt{6}}\right).$

[Put $$x = \sin^{2}\theta$$ and use Ex. LXIII. 8.]

## 182.

Some care has occasionally to be exercised in applying the rule for transformation by substitution. The following example affords a good illustration of this.

Let $J = \int_{1}^{7} (x^{2} – 6x + 13)\, dx.$ We find by direct integration that $$J = 48$$. Now let us apply the substitution $y = x^{2} – 6x + 13,$ which gives $$x = 3 \pm \sqrt{y – 4}$$. Since $$y = 8$$ when $$x = 1$$ and $$y = 20$$ when $$x = 7$$, we appear to be led to the result $J = \int_{8}^{20} y\frac{dx}{dy}\, dy = \pm\tfrac{1}{2}\int_{8}^{20} \frac{y\, dy}{\sqrt{y – 4}}.$ The indefinite integral is $\tfrac{1}{3}(y – 4)^{3/2} + 4(y – 4)^{1/2},$ and so we obtain the value $$\pm\frac{80}{3}$$, which is certainly wrong whichever sign we choose.

The explanation is to be found in a closer consideration of the relation between $$x$$ and $$y$$. The function $$x^{2} – 6x + 13$$ has a minimum for $$x = 3$$, when $$y = 4$$. As $$x$$ increases from $$1$$ to $$3$$, $$y$$ decreases from $$8$$ to $$4$$, and $$dx/dy$$ is negative, so that $\frac{dx}{dy} = -\frac{1}{2\sqrt{y – 4}}.$ As $$x$$ increases from $$3$$ to $$7$$, $$y$$ increases from $$4$$ to $$20$$, and the other sign must be chosen. Thus $J = \int_{1}^{7} y\, dx = \int_{8}^{4} \left\{-\frac{y}{2\sqrt{y – 4}}\right\} dy + \int_{4}^{20} \frac{y}{2\sqrt{y – 4}}\, dy,$ a formula which will be found to lead to the correct result.

Similarly, if we transform the integral $$\int_{0}^{\pi} dx = \pi$$ by the substitution $$x = \arcsin y$$, we must observe that $$dx/dy = 1/\sqrt{1 – y^{2}}$$ or $$dx/dy = -1/\sqrt{1 – y^{2}}$$ according as $$0 \leq x < \frac{1}{2}\pi$$ or $$\frac{1}{2}\pi < x \leq \pi$$.

Verify the results of transforming the integrals $\int_{0}^{1} (4x^{2} – x + \tfrac{1}{16})\, dx,\quad \int_{0}^{\pi} \cos^{2}x\, dx$ by the substitutions $$4x^{2} – x + \frac{1}{16} = y$$, $$x = \arcsin y$$ respectively.