130. Rational Functions.
After integrating polynomials it is natural to turn our attention next to rational functions. Let us suppose \(R(x)\) to be any rational function expressed in the standard form of § 117, viz. as the sum of a polynomial \(\Pi(x)\) and a number of terms of the form \(A/(x – \alpha)^{p}\).
We can at once write down the integrals of the polynomial and of all the other terms except those for which \(p = 1\), since \[\int \frac{A}{(x – \alpha)^{p}}\, dx = -\frac{A}{p – 1}\, \frac{1}{(x – \alpha)^{p-1}},\] whether \(\alpha\) be real or complex ( § 117).
The terms for which \(p = 1\) present rather more difficulty. It follows immediately from Theorem (6) of § 113 that \[\begin{equation*} \int F’\{f(x)\}\, f'(x)\, dx = F\{f(x)\}. \tag{3} \end{equation*}\] In particular, if we take \(f(x) = ax + b\), where \(a\) and \(b\) are real, and write \(\phi(x)\) for \(F(x)\) and \(\psi(x)\) for \(F'(x)\), so that \(\phi(x)\) is an integral of \(\psi(x)\), we obtain \[\begin{equation*} \int \psi(ax + b)\, dx = \frac{1}{a}\phi(ax + b). \tag{4} \end{equation*}\]
Thus, for example, \[\int \frac{dx}{ax + b} = \frac{1}{a} \log|ax + b|,\] and in particular, if \(\alpha\) is real, \[\int \frac{dx}{x – \alpha} = \log|x – \alpha|.\] We can therefore write down the integrals of all the terms in \(R(x)\) for which \(p = 1\) and \(\alpha\) is real. There remain the terms for which \(p = 1\) and \(\alpha\) is complex.
In order to deal with these we shall introduce a restrictive hypothesis, viz. that all the coefficients in \(R(x)\) are real. Then if \(\alpha = \gamma + \delta i\) is a root of \(Q(x) = 0\), of multiplicity \(m\), so is its conjugate \(\bar{\alpha} = \gamma – \delta i\); and if a partial fraction \(A_{p}/(x – \alpha)^{p}\) occurs in the expression of \(R(x)\), so does \(\bar{A}_{p}/(x – \bar{\alpha})^{p}\), where \(\bar{A}_{p}\) is conjugate to \(A_{p}\). This follows from the nature of the algebraical processes by means of which the partial fractions can be found, and which are explained at length in treatises on Algebra.1
Thus, if a term \((\lambda + \mu i)/(x – \gamma – \delta i)\) occurs in the expression of \(R(x)\) in partial fractions, so will a term \((\lambda – \mu i)/(x – \gamma + \delta i)\); and the sum of these two terms is \[\frac{2\{\lambda(x – \gamma) – \mu\delta\}}{(x – \gamma)^{2} + \delta^{2}}.\] This fraction is in reality the most general fraction of the form \[\frac{Ax + B}{ax^{2} + 2bx + c},\] where \(b^{2} < ac\). The reader will easily verify the equivalence of the two forms, the formulae which express \(\lambda\), \(\mu\), \(\gamma\), \(\delta\) in terms of \(A\), \(B\), \(a\), \(b\), \(c\) being \[\lambda = A/2a,\quad \mu = -D/(2a\sqrt{\Delta}),\quad \gamma = -b/a,\quad \delta = \sqrt{\Delta}/a,\] where \(\Delta = ac – b^{2}\), and \(D = aB – bA\).
If in (3) we suppose \(F\{f(x)\}\) to be \(\log |f(x)|\), we obtain \[\begin{equation*} \int \frac{f'(x)}{f(x)}\, dx = \log |f(x)|; \tag{5} \end{equation*}\] and if we further suppose that \(f(x) = (x – \lambda)^{2} + \mu^{2}\), we obtain \[\int \frac{2(x – \lambda)}{(x – \lambda)^{2} + \mu^{2}}\, dx = \log\{(x – \lambda)^{2} + \mu^{2}\}.\] And, in virtue of the equations (6) of § 128 and (4) above, we have \[\int \frac{-2\delta\mu}{(x – \lambda)^{2} + \mu^{2}}\, dx = -2\delta \arctan \left(\frac{x – \lambda}{\mu}\right).\]
These two formulae enable us to integrate the sum of the two terms which we have been considering in the expression of \(R(x)\); and we are thus enabled to write down the integral of any real rational function, if all the factors of its denominator can be determined. The integral of any such function is composed of
the sum of a polynomial, a number of rational functions of the type \[-\frac{A}{p – 1}\, \frac{1}{(x – \alpha)^{p-1}},\] a number of logarithmic functions, and a number of inverse tangents.
It only remains to add that if \(\alpha\) is complex then the rational function just written always occurs in conjunction with another in which \(A\) and \(\alpha\) are replaced by the complex numbers conjugate to them, and that the sum of the two functions is a real rational function.
131. Note on the practical integration of rational functions.
The analysis of § 130 gives us a general method by which we can find the integral of any real rational function \(R(x)\), provided we can solve the equation \(Q(x) = 0\). In simple cases (as in Ex. 5 above) the application of the method is fairly simple. In more complicated cases the labour involved is sometimes prohibitive, and other devices have to be used. It is not part of the purpose of this book to go into practical problems of integration in detail. The reader who desires fuller information may be referred to Goursat’s Cours d’Analyse, second ed., vol. i, pp. 246 et seq., Bertrand’s Calcul Intégral, and Dr Bromwich’s tract Elementary Integrals (Bowes and Bowes, 1911).
If the equation \(Q(x) = 0\) cannot be solved algebraically, then the method of partial fractions naturally fails and recourse must be had to other methods.2
$\leftarrow$ 129. Integration of polynomials | Main Page | 132-139. Integration of algebraical functions. Integration by rationalisation. Integration by parts $\rightarrow$ |