Listen to this text
 Listen to this text
CHAPTER XX.
DODGES, PITFALLS, AND TRIUMPHS.

Dodges. A great part of the labour of integrating things consists in licking them into some shape that can be integrated. The books–and by this is meant the serious books–on the Integral Calculus are full of plans and methods and dodges and artifices for this kind of work. The following are a few of them.

Integration by Parts. This name is given to a dodge, the formula for which is

${\displaystyle \int udx=ux-\int xdu+C}$.

It is useful in some cases that you can’t tackle directly, for it shows that if in any case ${\displaystyle \int xdu}$ can be found, then ${\displaystyle \int udx}$ can also be found. The formula can be deduced as follows. From p. 38, we have,

${\displaystyle d(ux)=udx+xdu}$,

which may be written

${\displaystyle u(dx)=d(ux)-xdu}$,

which by direct integration gives the above expression.

Examples.

(1) Find ${\displaystyle \int w\cdot \sin w\,dw}$.

Write ${\displaystyle u=w}$, and for ${\displaystyle \sin w\cdot dw}$ write ${\displaystyle dx}$. We shall then have du=dw, while ${\displaystyle \int \sin w\cdot dw=-\cos w=x}$.

Putting these into the formula, we get

{\displaystyle {\begin{aligned}\int w\cdot \sin w\,dw&=w(-\cos w)-\int -\cos w\,dw\\&=-w\cos w+\sin w+C.\end{aligned}}}

(2) Find ${\displaystyle \int x\epsilon ^{x}\,dx}$.

{\displaystyle {\begin{aligned}{\text{Write}}\;\quad \quad \quad u&=x,&\epsilon ^{x}\,dx&=dv;\\{\text{then }}\;\quad \quad \quad du&=dx,&v&=\epsilon ^{x},\end{aligned}}}

and

{\displaystyle {\begin{aligned}\int x\epsilon ^{x}\,dx=x\epsilon ^{x}-\int \epsilon ^{x}\,dx\quad {\text{(by the formula)}}\\=x\epsilon ^{x}-\epsilon ^{x}=\epsilon ^{x}(x-1)+C.\end{aligned}}}

(3) Try ${\displaystyle \int \cos ^{2}\theta \,d\theta }$.

{\displaystyle {\begin{aligned}u&=\cos \theta ,\cos \theta \,\quad \quad d\theta =dv.\\{\text{Hence }}\;\quad \quad \quad du&=-\sin \theta \,d\theta ,\quad v=\sin \theta ,\\\int \cos ^{2}\theta \,d\theta &=\cos \theta \sin \theta +\int \sin ^{2}\theta \,d\theta \\&={\frac {2\cos \theta \sin \theta }{2}}+\int (1-\cos ^{2}\theta )\,d\theta \\&={\frac {\sin 2\theta }{2}}+\int d\theta -\int \cos ^{2}\theta \,d\theta .\end{aligned}}}

{\displaystyle {\begin{aligned}{\text{Hence}}\;\quad \quad \quad 2\int \cos ^{2}\theta \,d\theta &={\frac {\sin 2\theta }{2}}+\theta \\and\quad \quad \quad \quad \int \cos ^{2}\theta \,d\theta &={\frac {\sin 2\theta }{4}}+{\frac {\theta }{2}}+C.\end{aligned}}}

(4) Find ${\displaystyle \int x^{2}\sin x\,dx}$.

{\displaystyle {\begin{aligned}{\text{Write }}\;x^{2}&=u,\quad \quad \sin x\,dx=dv;\\{\text{then }}\;du&=2x\,dx,\quad \quad v=-\cos x,\end{aligned}}}

${\displaystyle \int x^{2}\sin x\,dx=-x^{2}\cos x+2\int x\cos x\,dx}$.

Now find ${\displaystyle \int x\cos x\,dx}$, integrating by parts (as in Example 1 above):

${\displaystyle \int x\cos x\,dx=x\sin x+\cos x+C}$.

Hence

{\displaystyle {\begin{aligned}\int x^{2}\sin x\,dx&=-x^{2}\cos x+2x\sin x+2\cos x+C'\\&=2\left[x\sin x+\cos x\left(1-{\frac {x^{2}}{2}}\right)\right]+C'.\end{aligned}}}

(5) Find ${\displaystyle \int {\sqrt {1-x^{2}}}\,dx}$.

{\displaystyle {\begin{aligned}{\text{Write}}\;\quad \quad \quad u&={\sqrt {1-x^{2}}},\quad dx=dv;\\{\text{then }}\;\quad \quad \quad du&=-{\frac {x\,dx}{\sqrt {1-x^{2}}}}\quad {\text{(see Chap. IX., p. 67)}}\end{aligned}}}

and ${\displaystyle x=v}$; so that

${\displaystyle \int {\sqrt {1-x^{2}}}\,dx=x{\sqrt {1-x^{2}}}+\int {\frac {x^{2}\,dx}{\sqrt {1-x^{2}}}}}$.

Here we may use a little dodge, for we can write

${\displaystyle \int {\sqrt {1-x^{2}}}\,dx=\int {\frac {(1-x^{2})\,dx}{\sqrt {1-x^{2}}}}=\int {\frac {dx}{\sqrt {1-x^{2}}}}-\int {\frac {x^{2}\,dx}{\sqrt {1-x^{2}}}}}$.

Adding these two last equations, we get rid of ${\displaystyle \int {\dfrac {x^{2}\,dx}{\sqrt {1-x^{2}}}}}$, and we have

${\displaystyle 2\int {\sqrt {1-x^{2}}}\,dx=x{\sqrt {1-x^{2}}}+\int {\frac {dx}{\sqrt {1-x^{2}}}}}$.

Do you remember meeting ${\displaystyle {\dfrac {dx}{\sqrt {1-x^{2}}}}}$? it is got by differentiating ${\displaystyle y=\arcsin x}$ (see p. 171); hence its integral is ${\displaystyle \arcsin x}$, and so

${\displaystyle \int {\sqrt {1-x^{2}}}\,dx={\frac {x{\sqrt {1-x^{2}}}}{2}}+{\tfrac {1}{2}}\arcsin x+C}$.

You can try now some exercises by yourself; you will find some at the end of this chapter.

Substitution. This is the same dodge as explained in Chap. IX., p. 67. Let us illustrate its application to integration by a few examples.

(1) ${\displaystyle \int {\sqrt {3+x}}\,dx}$.
Let

${\displaystyle 3+x=u,\quad dx=du}$;

replace

${\displaystyle \int u^{\frac {1}{2}}\,du={\tfrac {2}{3}}u^{\frac {3}{2}}={\tfrac {2}{3}}(3+x)^{\frac {3}{2}}}$.

(2) Let ${\displaystyle \int {\dfrac {dx}{\epsilon ^{x}+\epsilon ^{-x}}}}$;
so that

${\displaystyle \int {\frac {dx}{\epsilon ^{x}+\epsilon ^{-x}}}=\int {\frac {du}{\epsilon ^{x}(\epsilon ^{x}+\epsilon ^{-x})}}=\int {\frac {du}{u\left(u+{\dfrac {1}{u}}\right)}}=\int {\frac {du}{u^{2}+1}}}$.

${\displaystyle {\dfrac {du}{1+u^{2}}}}$ is the result of differentiating ${\displaystyle \arctan x}$.

Hence the integral is ${\displaystyle \arctan \epsilon ^{x}}$.

(3) ${\displaystyle \int {\dfrac {dx}{x^{2}+2x+3}}=\int {\dfrac {dx}{x^{2}+2x+1+2}}=\int {\dfrac {dx}{(x+1)^{2}+({\sqrt {2}})^{2}}}}$.

Let ${\displaystyle x+1=u,\quad dx=du}$;

then the integral becomes ${\displaystyle \int {\dfrac {du}{u^{2}+({\sqrt {2}})^{2}}}}$; but ${\displaystyle {\dfrac {du}{u^{2}+a^{2}}}}$ is the result of differentiating ${\displaystyle u={\dfrac {1}{a}}\arctan {\dfrac {u}{a}}}$.

Hence one has finally ${\displaystyle {\dfrac {1}{\sqrt {2}}}\arctan {\dfrac {x+1}{\sqrt {2}}}}$ for the value of the given integral.

Formulæ of Reduction are special forms applicable chiefly to binomial and trigonometrical expressions that have to be integrated, and have to be reduced into some form of which the integral is known.

Rationalization, and Factorization of Denominator are dodges applicable in special cases, but they do not admit of any short or general explanation. Much practice is needed to become familiar with these preparatory processes.

The following example shows how the process of splitting into partial fractions, which we learned in Chap. XIII., p. 122, here, can be made use of in integration.

Take again ${\displaystyle \int {\dfrac {dx}{x^{2}+2x+3}}}$; if we split ${\displaystyle {\dfrac {1}{x^{2}+2x+3}}}$ into partial fractions, this becomes (see p. 232):

${\displaystyle {\dfrac {1}{2{\sqrt {-2}}}}\left[\int {\dfrac {dx}{x+1-{\sqrt {-2}}}}-\int {\dfrac {dx}{x+1+{\sqrt {-2}}}}\right]}$
${\displaystyle ={\dfrac {1}{2{\sqrt {-2}}}}\log _{\epsilon }{\dfrac {x+1-{\sqrt {-2}}}{x+1+{\sqrt {-2}}}}}$.

Notice that the same integral can be expressed sometimes in more than one way (which are equivalent to one another).

Pitfalls. A beginner is liable to overlook certain points that a practised hand would avoid; such as the use of factors that are equivalent to either zero or infinity, and the occurrence of indeterminate quantities such as ${\displaystyle {\tfrac {0}{0}}}$. There is no golden rule that will meet every possible case. Nothing but practice and intelligent care will avail. An example of a pitfall which had to be circumvented arose in Chap. XVIII., p. 199, when we came to the problem of integrating ${\displaystyle x^{-1}\,dx}$.

Triumphs. By triumphs must be understood the successes with which the calculus has been applied to the solution of problems otherwise intractable. Often in the consideration of physical relations one is able to build up an expression for the law governing the interaction of the parts or of the forces that govern them, such expression being naturally in the form of a differential equation, that is an equation containing differential coefficients with or without other algebraic quantities. And when such a differential equation has been found, one can get no further until it has been integrated. Generally it is much easier to state the appropriate differential equation than to solve it:–the real trouble begins then only when one wants to integrate, unless indeed the equation is seen to possess some standard form of which the integral is known, and then the triumph is easy. The equation which results from integrating a differential equation is called [1] its “solution”; and it is quite astonishing how in many cases the solution looks as if it had no relation to the differential equation of which it is the integrated form. The solution often seems as different from the original expression as a butterfly does from the caterpillar that it was. Who would have supposed that such an innocent thing as

${\displaystyle {\dfrac {dy}{dx}}={\dfrac {1}{a^{2}-x^{2}}}}$

could blossom out into

${\displaystyle y={\dfrac {1}{2a}}\log _{\epsilon }{\dfrac {a+x}{a-x}}+C?}$

yet the latter is the solution of the former.

As a last example, let us work out the above together.

By partial fractions,

{\displaystyle {\begin{aligned}{\frac {1}{a^{2}-x^{2}}}&={\frac {1}{2a(a+x)}}+{\frac {1}{2a(a-x)}},\\dy&={\frac {dx}{2a(a+x)}}+{\frac {dx}{2a(a-x)}},\\y&={\frac {1}{2a}}\left(\int {\frac {dx}{a+x}}+\int {\frac {dx}{a-x}}\right)\\&={\frac {1}{2a}}\left(\log _{\epsilon }(a+x)-\log _{\epsilon }(a-x)\right)\\&={\frac {1}{2a}}\log _{\epsilon }{\frac {a+x}{a-x}}+C.\end{aligned}}}

Not a very difficult metamorphosis!

There are whole treatises, such as Boole’s Differential Equations, devoted to the subject of thus finding the “solutions” for different original forms.

Exercises XIX (See p. 264 for Answers.)

(1) Find ${\displaystyle \int {\sqrt {a^{2}-x^{2}}}\,dx}$.

(2) Find ${\displaystyle \int x\log _{\epsilon }x\,dx}$.

(3) Find ${\displaystyle \int x^{a}\log _{\epsilon }x\,dx}$.

(4) Find ${\displaystyle \int \epsilon ^{x}\cos \epsilon ^{x}\,dx}$.

(5) Find ${\displaystyle \int {\dfrac {1}{x}}\cos(\log _{\epsilon }x)\,dx}$.

(6) Find ${\displaystyle \int x^{2}\epsilon ^{x}\,dx}$.

(7) Find ${\displaystyle \int {\dfrac {(\log _{\epsilon }x)^{a}}{x}}\,dx}$.

(8) Find ${\displaystyle \int {\dfrac {dx}{x\log _{\epsilon }x}}}$.

(9) Find ${\displaystyle \int {\dfrac {5x+1}{x^{2}+x-2}}\,dx}$.

(10) Find ${\displaystyle \int {\dfrac {(x^{2}-3)\,dx}{x^{3}-7x+6}}}$.

(11) Find ${\displaystyle \int {\dfrac {b\,dx}{x^{2}-a^{2}}}}$.

(12) Find ${\displaystyle \int {\dfrac {4x\,dx}{x^{4}-1}}}$.

(13) Find ${\displaystyle \int {\dfrac {dx}{1-x^{4}}}}$.

(14) Find ${\displaystyle \int {\dfrac {dx}{x{\sqrt {a-bx^{2}}}}}}$.

1. This means that the actual result of solving it is called its “solution.” But many mathematicians would say, with Professor Forsyth, “every differential equation is considered as solved when the value of the dependent variable is expressed as a function of the independent variable by means either of known functions, or of integrals, whether the integrations in the latter can or cannot be expressed in terms of functions already known.”