Differentiating is the process by which when is given us (as a function of ), we can find .
Like every other mathematical operation, the process of differentiation may be reversed; thus, if differentiating gives us ; if one begins with one would say that reversing the process would yield . But here comes in a curious point. We should get if we had begun with any of the following: , or , or , or with any added constant. So it is clear that in working backwards from to , one must make provision for the possibility of there being an added constant, the value of which will be undetermined until ascertained in some other way. So, if differentiating yields , going backwards from will give us ; where stands for the yet undetermined possible constant.
Clearly, in dealing with powers of , the rule for working backwards will be: Increase the power by , then divide by that increased power, and add the undetermined constant.
So, in the case where working backwards, we get
If differentiating the equation gives us it is a matter of common sense that beginning with and reversing the process, will give us So, when we are dealing with a multiplying constant, we must simply put the constant as a multiplier of the result of the integration.
Thus, if , the reverse process gives us .
But this is incomplete. For we must remember that if we had started with where is any constant quantity whatever, we should equally have found
So, therefore, when we reverse the process we must always remember to add on this undetermined constant, even if we do not yet know what its value will be.
This process, the reverse of differentiating, is called integration; for it consists in finding the value of the whole quantity when you are given only an expression for or for . Hitherto we have as much as possible kept and together as a derivative: henceforth we shall more often have to separate them.
If we begin with a simple case, we may write this, if we like, as
Now this is a “differential equation” which informs us that an element of is equal to the corresponding element of multiplied by . Now, what we want is the integral; therefore, write down with the proper symbol the instructions to integrate both sides, thus:
[Note as to reading integrals: the above would be read thus:
“Integral dee-wy equals integral eks-squared dee-eks.”]
We haven’t yet integrated: we have only written down instructions to integrate—if we can. Let us try. Plenty of other fools can do it—why not we also? The left-hand side is simplicity itself. The sum of all the bits of is the same thing as itself. So we may at once put:
But when we come to the right-hand side of the equation we must remember that what we have got to sum up together is not all the ’s, but all such terms as ; and this will not be the same as , because is not a constant. For some of the ’s will be multiplied by big values of , and some will be multiplied by small values of , according to what happens to be. So we must bethink ourselves as to what we know about this process of integration being the reverse of differentiation. Now, our rule for this reversed process when dealing with is “increase the power by one, and divide by the same number as this increased power.” That is to say, will be changed1 to . Put this into the equation; but don’t forget to add the “constant of integration” at the end. So we get:
You have actually performed the integration. How easy!
Let us try another simple case.
Let where is any constant multiplier. Well, we found when differentiating that any constant factor in the value of reappeared unchanged in the value of . In the reversed process of integrating, it will therefore also reappear in the value of . So we may go to work as before, thus \begin{align} dy &= ax^{12} \cdot dx,\\ \int dy &= \int ax^{12} \cdot dx,\\ \int dy &= a \int x^{12}\, dx,\\ y &= a \times \frac{1}{13} x^{13} + C. \end{align}
So that is done. How easy!
We begin to realize now that integrating is a process of finding our way back, as compared with differentiating. If ever, during differentiating, we have found any particular expression—in this example —we can find our way back to the from which it was derived. The contrast between the two processes may be illustrated by the following remark due to a well-known teacher. If a stranger were set down in Trafalgar Square, and told to find his way to Euston Station, he might find the task hopeless. But if he had previously been personally conducted from Euston Station to Trafalgar Square, it would be comparatively easy to him to find his way back to Euston Station.
Integration of the Sum or Difference of Two Functions
Let \begin{align} \frac{dy}{dx} &= x^2 + x^3, \end{align} then \begin{align} dy &= x^2\, dx + x^3\, dx. \end{align}
There is no reason why we should not integrate each term separately: for, as may be seen before, we found that when we differentiated the sum of two separate functions, the derivative was simply the sum of the two separate differentiations. So, when we work backwards, integrating, the integration will be simply the sum of the two separate integrations.
Our instructions will then be: \begin{align} \int dy &= \int (x^2 + x^3)\, dx \\ &= \int x^2\, dx + \int x^3\, dx \\ y &= \frac{1}{3} x^3 + \frac{1}{4} x^4 + C. \end{align}
If either of the terms had been a negative quantity, the corresponding term in the integral would have also been negative. So that differences are as readily dealt with as sums.
How to Deal with Constant Terms
Suppose there is in the expression to be integrated a constant term—such as this:
This is laughably easy. For you have only to remember that when you differentiated the expression , the result was . Hence, when you work the other way and integrate, the constant reappears multiplied by . So we get \begin{align} dy &= x^n\, dx + b \cdot dx, \\ \int dy &= \int x^n\, dx + \int b\, dx, \\ y &= \frac{1}{n+1} x^{n+1} + bx + C. \end{align}
Here are a lot of examples on which to try your newly acquired powers.
Examples
Example 18.1. Given . Find .
Ans. .
Example 18.2. Find .
Solution. It is or or
Example 18.3. Given . Find .
Ans. .
Example 18.4. If , find .
Solution. \begin{align} dy &= (x^3 - x^2 + x)\, dx\quad\text{or} \\ dy &= x^3\, dx - x^2\, dx + x\, dx;\\ y &= \int x^3\, dx - \int x^2\, dx + \int x\, dx; \end{align}
and
Example 18.5. Integrate .
All these are easy enough. Let us try another case.
Let \begin{align} \dfrac{dy}{dx} &= ax^{-1}. \end{align}
Proceeding as before, we will write \begin{align} dy &= a x^{-1} \cdot dx,\\ \int dy &= a \int x^{-1}\, dx. \end{align}
Well, but what is the integral of ?
If you look back amongst the results of differentiating and and , etc., you will find we never got from any one of them as the value of . We got from ; we got from ; we got from (that is, from itself); but we did not get from , for two very good reasons. First, is simply , and is a constant, and the derivative of a constant is zero (not ). Secondly, even if we differentiate it by the Power Rule, its derivative would be , and that multiplication by zero gives it zero value!2 Therefore, when we now come to try to integrate , we see that it does not come in anywhere in the powers of that are given by the rule: It is an exceptional case.
Well; but try again. Look through all the various derivatives obtained from various functions of , and try to find amongst them . A sufficient search will show that we actually did get as the result of differentiating the function (see here).
Then, of course, since we know that differentiating gives us , we know that, by reversing the process, integrating will give us . But we must not forget the constant factor that was given, nor must we omit to add the undetermined constant of integration. This then gives us as the solution to the present problem, The above formula is not acceptable when is negative as logarithms of negative numbers are imaginary. Now the question is: What function when differentiated gives when ? When , we can take the logarithm of as . Let’s see what the derivative of is. To differentiate , let and then apply the Chain Rule: \begin{align} \frac{d(\ln(-x))}{dx}&=\frac{d(\ln u)}{du}\cdot\frac{du}{dx}\\ &=\frac{1}{u}\times (-1)\\ &=\frac{1}{-x}\times(-1)\\ &=\frac{1}{x} \end{align} Hence Since differentiating gives us for , integrating for will give us . Knowing this we can write \int \frac{1}{x}dx=\left\{\begin{align} &\ln x+C_1 &&\text{if }x>0\\ &\ln(-x)+C_2 &&\text{if }x<0 \end{align}\right. where and are two arbitrary constants that do not need to be equal. For any interval not containing , we can combine these two cases and write where is called the absolute value of and is defined as |x|=\left\{\begin{align} &x &&\text{if }x\geq 0\\ &-x &&\text{if }x<0 \end{align}\right. Therefore,
In summary \bbox[5px,border:1px solid black;background-color:#f2f2f2]{\displaystyle \int{x^n dx}=\left\{\begin{align} &\frac{1}{n+1}x^{n+1}+C &&(n\neq -1)\\[9pt] &\ln|x|+C && (n=-1) \end{align}\right.}
Note—Here note this very remarkable fact, that we could not have integrated in the above case if we had not happened to know the corresponding differentiation. If no one had found out that differentiating gave , we should have been utterly stuck by the problem how to integrate . Indeed it should be frankly admitted that this is one of the curious features of the integral calculus:—that you can’t integrate anything before the reverse process of differentiating something else has yielded that expression which you want to integrate. No one, even today, is able to find the general integral of the expression, because has never yet been found to result from differentiating anything else.
Another simple case:
Example 18.6. Find .
Solution. On looking at the function to be integrated, you remark that it is the product of two different functions of . You could, you think, integrate by itself, or by itself. Of course you could. But what to do with a product? None of the differentiations you have learned have yielded you for the derivative a product like this. Failing such, the simplest thing is to multiply up the two functions, and then integrate. This gives us And this is the same as And performing the integrations, we get
Some other Integrals
Now that we know that integration is the reverse of differentiation, we may at once look up the derivatives we already know, and see from what functions they were derived. This gives us the following integrals ready made: \begin{align} &\boldsymbol{y} && && \int \boldsymbol{y\, dx} && \\ \hline\\ &x^{-1}; &&\qquad && \int x^{-1}\, dx &&= \ln |x| + C. \\ % %\label{intex2} &\frac{1}{x+a}; && && \int \frac{1}{x+a}\, dx &&= \ln |x+a| + C. \\ % &e^x; && && \int e^x\, dx &&= e ^x + C. \\ % &e^{-x}; &&&& \int e^{-x}\, dx &&= -e^{-x} + C % \end{align} (for if ,). \begin{align} &\sin x; && && \int \sin x\, dx &&= -\cos x + C. \\ % &\cos x; && && \int \cos x\, dx &&= \sin x + C. \\ \end{align} Also we may deduce the following: \begin{align} &\ln x; &&&& \int\ln x\, dx &&= x(\ln x - 1) + C \end{align} (for if ,). \begin{align} &\log_{10} x; &&&& \int\log_{10} x\, dx &&= \frac{1}{\ln 10} x (\ln x - 1) + C. \end{align} (for and ) \\begin{align} &a^x; && && \int a^x\, dx &&= \dfrac{a^x}{\ln a} + C. \\ % % \label{cosax} &\cos ax; &&&& \int\cos ax\, dx &&= \frac{1}{a} \sin ax + C \end{align} (for if , ; hence to get one must differentiate ). \begin{align} &\sin ax; &&&& \int\sin ax\, dx &&= -\frac{1}{a} \cos ax + C. \end{align}
Try also ; a little dodge will simplify matters: hence
and \begin{align} \int\cos^2 \theta\, d\theta &= \frac{1}{2} \int (\cos 2\theta + 1)\, d\theta \\ &= \frac{1}{2} \int \cos 2 \theta\, d\theta + \frac{1}{2} \int d\theta. \\ &= \frac{\sin 2\theta}{4} + \frac{\theta}{2} + C. \end{align} (see also here).
See also the Table of Standard Forms. You should make such a table for yourself, putting in it only the general functions which you have successfully differentiated and integrated. See to it that it grows steadily!
Exercises
Exercise 18.1. Find when .
Answer
.
Solution
If , then (assuming ). Then
\begin{align} \int y d x & =\int 2 \sqrt{a} x^{\frac{1}{2}} d x \\ & =2 \sqrt{a} \int x^{\frac{1}{2}} d x \\ & =2 \sqrt{a} \frac{1}{1+\frac{1}{2}} x^{1+\frac{1}{2}}+C \\ & =\frac{4}{3} \sqrt{a} x^{\frac{3}{2}}+C \end{align}
If , then and
Exercise 18.2. Find .
Answer
.
Solution
\begin{align} \int \frac{3}{x^{4}} d x & =3 \int x^{-4} d x \\ & =3 x \frac{1}{-3} x^{-3}+C \\ & =-x^{-3}+C \\ & =-\frac{1}{x^{3}}+C \end{align}
Exercise 18.3. Find .
Answer
.
Solution
\begin{align} \int \frac{1}{a} x^{3} d x & =\frac{1}{a} \times \frac{1}{4} x^{4}+C \\ & =\frac{1}{4 a} x^{4}+C \end{align}
Exercise 18.4. Find .
Answer
.
Solution
\begin{align} \int\left(x^{2}+a\right) d x & =\int x^{2} d x+a \int d x \\ & =\frac{1}{3} x^{3}+a x+C \end{align}
Exercise 18.5. Integrate .
Answer
.
Solution
\begin{align} \int 5 x^{-\frac{7}{2}} d x & =5\left(-\frac{2}{5}\right) x^{-\frac{5}{2}}+C \\ & =-2 x^{-\frac{5}{2}}+C \end{align}
Exercise 18.6. Find .
Answer
.
Solution
\begin{align} \int\left(4 x^{3}+3 x^{2}+2 x+1\right) d x & =4 \int x^{3} d x+3 \int x^{2} d x+2 \int x d x+\int d x \\ & =4 \times \frac{1}{4} x^{4}+3 x \frac{1}{3} x^{3}+2 \times \frac{1}{2} x^{2}+x+C \\ & =x^{4}+x^{3}+x^{2}+x+C \end{align}
Exercise 18.7. If ; find .
Answer
.
Solution
Then
\begin{align} d y & =\left(\frac{a x}{2}+\frac{b x^{2}}{3}+\frac{c x^{3}}{4}\right) d x \\ \int d y & =\int\left(\frac{a x}{2}+\frac{b x^{2}}{3}+\frac{c x^{3}}{4}\right) d x \\ y & =\frac{a}{2} \int x d x+\frac{b}{3} \int x^{2} d x+\frac{c}{4} \int x^{3} d x \\ & =\frac{a}{2} \times \frac{1}{2} x^{2}+\frac{b}{3} \times \frac{1}{3} x^{3}+\frac{c}{4} \times \frac{1}{4} x^{4}+C \\ & =\frac{a}{4} x^{2}+\frac{b}{9} x^{3}+\frac{c}{16} x^{4}+C \end{align}
Exercise 18.8. Find .
Answer
.
Solution
By division we have Therefore,
\begin{align} & =\int x d x-a \int d x+\left(a^{2}+a\right) \int \frac{d x}{x+a} \\ & =\frac{x^{2}}{2}-a x+\left(a^{2}+a\right) \ln |x+a|+C \end{align}
Exercise 18.9. Find .
Answer
.
Solution
Since \begin{align} (x+3)^{3} & =x^{3}+3 \times 3 x^{2}+3 \times 3^{2} \times x+3^{3} \\ & =x^{3}+9 x^{2}+27 x+27 \end{align} we have \begin{align} \int(x+3)^{3} d x & =\int x^{3} d x+9 \int x^{2} d x+27 \int x d x+\int 27 d x \\ & =\frac{1}{4} x^{4}+3 x^{3}+\frac{27}{2} x^{2}+27 x+c \end{align}
Exercise 18.10. Find .
Answer
.
Solution
Therefore
\begin{align} \int(x+2)(x-a) d x & =\int x^{2} d x+(2-a) \int x d x-2 a \int d x \\ & =\frac{1}{3} x^{3}+\frac{2-a}{2} x^{2}-2 a x+C \end{align}
Exercise 18.11. Find .
Answer
Solution
\begin{align} \int(\sqrt{x}+\sqrt[3]{x}) 3 a^{2} d x & =3 a^{2} \int\left(x^{\frac{1}{2}}+x^{\frac{1}{3}}\right) d x \\ & =3 a^{2}\left[\int x^{\frac{1}{2}} d x+\int x^{\frac{1}{3}} d x\right] \\ & =3 a^{2}\left[\frac{2}{3} x^{\frac{3}{2}}+\frac{3}{4} x^{\frac{4}{3}}\right]+C \\ & =2 a^{2} x^{\frac{3}{2}}+\frac{9 a^{2}}{4} x^{\frac{4}{3}}+C \end{align}
Exercise 18.12. Find .
Answer
.
Solution
\begin{align} \int\left(\sin \theta-\frac{1}{2}\right) \frac{d \theta}{3} & =\frac{1}{3} \int\left(\sin \theta-\frac{1}{2}\right) d \theta \\ & =\frac{1}{3}\left[\int \sin \theta d \theta-\frac{1}{2} \int d \theta\right] \\ & =\frac{1}{3}\left[-\cos \theta-\frac{1}{2} \theta\right]+C \\ & =-\frac{1}{3} \cos \theta+\frac{1}{6} \theta+C \end{align}
Exercise 18.13. Find .
Answer
.
Solution
Therefore
\begin{align} \int \cos ^{2} a \theta d \theta & =\int \frac{1+\cos (2 a \theta)}{2} d \theta \\ & =\frac{1}{2} \int[1+\cos (2 a \theta)] d \theta\\ &=\frac{1}{2}\left\{\int d \theta+\int \cos (2 a \theta) d \theta\right\} \end{align}
In this chapter, we learned that
In this formula, if we replace by and by , We find .
Hence
\begin{align} \int \cos ^{2} a \theta d \theta&=\frac{1}{2} \theta+\frac{1}{2} \times \frac{1}{2 a} \sin (2 a \theta)+C\\ &=\frac{1}{2}\theta+\frac{1}{4a}\sin (2a\theta)+C. \end{align}
Exercise 18.14. Find .
Answer
.
Solution
Therefore
\begin{align} \int \sin ^{2} \theta d \theta & =\frac{1}{2} \int(1-\cos 2 \theta) d \theta \\ & =\frac{1}{2}\left[\int d \theta-\int \cos 2 \theta d \theta\right] \\ & =\frac{1}{2}\left[\theta-\frac{1}{2} \sin 2 \theta\right]+C \\ & =\frac{1}{2} \theta-\frac{1}{4} \sin 2 \theta+C \end{align}
Exercise 18.15. Find .
Answer
.
Solution
Hence
\begin{align} \int \sin ^{2} a \theta & =\frac{1}{2} \int(1-\cos (2 a \theta)) d \theta \\ & =\frac{1}{2}\left[\theta-\frac{1}{2 a} \sin (2 a \theta)\right]+C \\ & =\frac{1}{2} \theta-\frac{1}{4 a} \sin (2 a \theta)+C \end{align}
Exercise 18.16. Find .
Answer
.
Solution
\begin{align} e^{3 x} d x & =\frac{1}{3} e^{3 x}(3 d x) \\ & =\frac{1}{3} e^{3 x} d(3 x) \end{align}
Let , then
\begin{align} e^{3 x} d x & =\frac{1}{3} e^{t} d t \\ \int e^{3 x} d x & =\frac{1}{3} \int e^{t} d t \\ & =\frac{1}{3} e^{t}+C \\ & =\frac{1}{3} e^{3 x}+C \end{align}
Exercise 18.17. Find .
Answer
.
Solution
Exercise 18.18. Find .
Answer
.
Solution
\begin{align} \int \frac{d x}{1-x} & =-\int \frac{d x}{x-1} \\ & =-\ln |x-1|+C \end{align}
Since , then result can also be written as
Since , other ways of writing the result are