# Calculus Made Easy/Chapter 20

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
$\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 $\int xdu$ can be found, then $\int udx$ can also be found. The formula can be deduced as follows. From p. 38, we have,
$d(ux)=udx+xdu$,
which may be written
$u(dx)=d(ux)-xdu$,
which by direct integration gives the above expression.
​Examples.
(1) Find $\int w\cdot \sin w\,dw$.
Write $u=w$, and for $\sin w\cdot dw$ write $dx$. We shall then have du=dw, while $\int \sin w\cdot dw=-\cos w=x$.
Putting these into the formula, we get
${\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 $\int x\epsilon ^{x}\,dx$.
${\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
${\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 $\int \cos ^{2}\theta \,d\theta$.
${\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}}$
${\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 $\int x^{2}\sin x\,dx$.
${\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}}$
$\int x^{2}\sin x\,dx=-x^{2}\cos x+2\int x\cos x\,dx$.
Now find $\int x\cos x\,dx$, integrating by parts (as in Example 1 above):
$\int x\cos x\,dx=x\sin x+\cos x+C$.
Hence
${\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 $\int {\sqrt {1-x^{2}}}\,dx$.
${\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 $x=v$; so that
$\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
$\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 $\int {\dfrac {x^{2}\,dx}{\sqrt {1-x^{2}}}}$, and we have
$2\int {\sqrt {1-x^{2}}}\,dx=x{\sqrt {1-x^{2}}}+\int {\frac {dx}{\sqrt {1-x^{2}}}}$.
​Do you remember meeting ${\dfrac {dx}{\sqrt {1-x^{2}}}}$? it is got by differentiating $y=\arcsin x$ (see p. 171); hence its integral is $\arcsin x$, and so
$\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) $\int {\sqrt {3+x}}\,dx$. Let
$3+x=u,\quad dx=du$;
replace
$\int u^{\frac {1}{2}}\,du={\tfrac {2}{3}}u^{\frac {3}{2}}={\tfrac {2}{3}}(3+x)^{\frac {3}{2}}$.
(2) Let $\int {\dfrac {dx}{\epsilon ^{x}+\epsilon ^{-x}}}$; so that
$\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}}$.
${\dfrac {du}{1+u^{2}}}$ is the result of differentiating $\arctan x$.
Hence the integral is $\arctan \epsilon ^{x}$.
(3) $\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 $x+1=u,\quad dx=du$;
then the integral becomes $\int {\dfrac {du}{u^{2}+({\sqrt {2}})^{2}}}$; but ${\dfrac {du}{u^{2}+a^{2}}}$ is the result of differentiating $u={\dfrac {1}{a}}\arctan {\dfrac {u}{a}}$.
Hence one has finally ${\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 $\int {\dfrac {dx}{x^{2}+2x+3}}$; if we split ${\dfrac {1}{x^{2}+2x+3}}$ into partial fractions, this becomes (see p. 232):
${\dfrac {1}{2{\sqrt {-2}}}}\left[\int {\dfrac {dx}{x+1-{\sqrt {-2}}}}-\int {\dfrac {dx}{x+1+{\sqrt {-2}}}}\right]$ $={\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 ${\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 $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 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
${\dfrac {dy}{dx}}={\dfrac {1}{a^{2}-x^{2}}}$
could blossom out into
$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,
${\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 $\int {\sqrt {a^{2}-x^{2}}}\,dx$.
(2) Find $\int x\log _{\epsilon }x\,dx$.
(3) Find $\int x^{a}\log _{\epsilon }x\,dx$.
(4) Find $\int \epsilon ^{x}\cos \epsilon ^{x}\,dx$.
(5) Find $\int {\dfrac {1}{x}}\cos(\log _{\epsilon }x)\,dx$.
(6) Find $\int x^{2}\epsilon ^{x}\,dx$.
(7) Find $\int {\dfrac {(\log _{\epsilon }x)^{a}}{x}}\,dx$.
(8) Find $\int {\dfrac {dx}{x\log _{\epsilon }x}}$.
(9) Find $\int {\dfrac {5x+1}{x^{2}+x-2}}\,dx$.
(10) Find $\int {\dfrac {(x^{2}-3)\,dx}{x^{3}-7x+6}}$.
(11) Find $\int {\dfrac {b\,dx}{x^{2}-a^{2}}}$.
(12) Find $\int {\dfrac {4x\,dx}{x^{4}-1}}$.
(13) Find $\int {\dfrac {dx}{1-x^{4}}}$.
(14) Find $\int {\dfrac {dx}{x{\sqrt {a-bx^{2}}}}}$.
Layout 2