Chapter 7 Integrals

INTEGRALS

Just as a mountaineer climbs a mountain - because it is there, so a good mathematics student studies new material because it is there. - JAMES B. BRISTOL

Introduction

Differential Calculus is centred on the concept of the derivative. The original motivation for the derivative was the problem of defining tangent lines to the graphs of functions and calculating the slope of such lines. Integral Calculus is motivated by the problem of defining and calculating the area of the region bounded by the graph of the functions.

If a function $f$ is differentiable in an interval $I$, i.e., its derivative $f$ ’ exists at each point of $I$, then a natural question arises that given $f^{\prime}$ at each point of I, can we determine the function? The functions that could possibly have given function as a derivative are called anti derivatives (or primitive) of the function. Further, the formula that gives image

G.W. Leibnitz (1646 - 1716) all these anti derivatives is called the indefinite integral of the function and such process of finding anti derivatives is called integration. Such type of problems arise in many practical situations. For instance, if we know the instantaneous velocity of an object at any instant, then there arises a natural question, i.e., can we determine the position of the object at any instant? There are several such practical and theoretical situations where the process of integration is involved. The development of integral calculus arises out of the efforts of solving the problems of the following types:

(a) the problem of finding a function whenever its derivative is given,

(b) the problem of finding the area bounded by the graph of a function under certain conditions.

These two problems lead to the two forms of the integrals, e.g., indefinite and definite integrals, which together constitute the Integral Calculus.

There is a connection, known as the Fundamental Theorem of Calculus, between indefinite integral and definite integral which makes the definite integral as a practical tool for science and engineering. The definite integral is also used to solve many interesting problems from various disciplines like economics, finance and probability.

In this Chapter, we shall confine ourselves to the study of indefinite and definite integrals and their elementary properties including some techniques of integration.

Integration as an Inverse Process of Differentiation

Integration is the inverse process of differentiation. Instead of differentiating a function, we are given the derivative of a function and asked to find its primitive, i.e., the original function. Such a process is called integration or anti differentiation. Let us consider the following examples:

We know that

$ \begin{gathered} \frac{d}{d x}(\sin x)=\cos x \\ \frac{d}{d x}(\frac{x^{3}}{3})=x^{2} \\ \frac{d}{d x}(e^{x})=e^{x} \end{gathered} $

and

We observe that in (1), the function $\cos x$ is the derived function of $\sin x$. We say that $\sin x$ is an anti derivative (or an integral) of $\cos x$. Similarly, in (2) and (3), $\frac{x^{3}}{3}$ and $e^{x}$ are the anti derivatives (or integrals) of $x^{2}$ and $e^{x}$, respectively. Again, we note that for any real number $C$, treated as constant function, its derivative is zero and hence, we can write (1), (2) and (3) as follows :

$ \frac{d}{d x}(\sin x+C)=\cos x, \frac{d}{d x}(\frac{x^{3}}{3}+C)=x^{2} \text{ and } \frac{d}{d x}(e^{x}+C)=e^{x} $

Thus, anti derivatives (or integrals) of the above cited functions are not unique. Actually, there exist infinitely many anti derivatives of each of these functions which can be obtained by choosing $C$ arbitrarily from the set of real numbers. For this reason $C$ is customarily referred to as arbitrary constant. In fact, $C$ is the parameter by varying which one gets different anti derivatives (or integrals) of the given function.

More generally, if there is a function $F$ such that $\frac{d}{d x} F(x)=f(x), \forall x \in I$ (interval), then for any arbitrary real number $C$, (also called constant of integration)

$ \frac{d}{d x}[F(x)+C]=f(x), x \in I $

Thus,

$ {F+C, C \in \mathbf{R}} \text{ denotes a family of anti derivatives of } f \text{. } $

Remark Functions with same derivatives differ by a constant. To show this, let $g$ and $h$ be two functions having the same derivatives on an interval I.

Consider the function $f=g-h$ defined by $f(x)=g(x)-h(x), \forall x \in I$

Then

$ \frac{d f}{d x}=f^{\prime}=g^{\prime}-h^{\prime} \text{ giving } f^{\prime}(x)=g^{\prime}(x)-h^{\prime}(x) \forall x \in I $

or

$ f^{\prime}(x)=0, \forall x \in I \text{ by hypothesis, } $

i.e., the rate of change of $f$ with respect to $x$ is zero on $I$ and hence $f$ is constant.

In view of the above remark, it is justified to infer that the family ${F+C, C \in \mathbf{R}}$ provides all possible anti derivatives of $f$.

We introduce a new symbol, namely, $\int f(x) d x$ which will represent the entire class of anti derivatives read as the indefinite integral of $f$ with respect to $x$.

Symbolically, we write $\int f(x) d x=F(x)+C$.

Notation Given that $\frac{d y}{d x}=f(x)$, we write $y=\int f(x) d x$.

For the sake of convenience, we mention below the following symbols/terms/phrases

Symbols/Terms/Phrases Meaning
$ \int f(x)ds $ Integral of f with rexpect to x
f(x) in $ \int f(x)dx $ Intergrand
x in $ \int f(x)dx $ Variable of integration
Intergrate Find the integral
An inter of f A function F such that F’(x)=f()x
Integration The process of finding the intergral
Constant of Intergration Any real number C, considered as constant function

Table 7.1

We already know the formulae for the derivatives of many important functions. From these formulae, we can write down immediately the corresponding formulae (referred to as standard formulae) for the integrals of these functions, as listed below which will be used to find integrals of other functions.

Derivatives

(i) $\frac{d}{d x}(\frac{x^{n+1}}{n+1})=x^{n}$;

Particularly, we note that

$ \frac{d}{d x}(x)=1 ; \quad \int d x=x+C $

(ii) $\frac{d}{d x}(\sin x)=\cos x$ ;

(iii) $\frac{d}{d x}(-\cos x)=\sin x$ ;

(iv) $\frac{d}{d x}(\tan x)=\sec ^{2} x$;

(v) $\frac{d}{d x}(-\cot x)=cosec^{2} x$;

(vi) $\frac{d}{d x}(\sec x)=\sec x \tan x$ ;

(vii) $\frac{d}{d x}(-cosec x)=cosec x \cot x$;

(viii) $\frac{d}{d x}(\sin ^{-1} x)=\frac{1}{\sqrt{1-x^{2}}}$;

(ix) $\frac{d}{d x}(-\cos ^{-1} x)=\frac{1}{\sqrt{1-x^{2}}}$;

(x) $\frac{d}{d x}(\tan ^{-1} x)=\frac{1}{1+x^{2}}$ ;

(xi) $\frac{d}{d x}(e^{x})=e^{x}$;

Integrals (Anti derivatives)

$ \int x^{n} d x=\frac{x^{n+1}}{n+1}+C, n \neq-1 $

$ \int \cos x d x=\sin x+C $

$\int \sin x d x=-\cos x+C$

$ \int \sec ^{2} x d x=\tan x+C $

$\int cosec^{2} x d x=-\cot x+C$

$\int \sec x \tan x d x=\sec x+C$

$\int cosec x \cot x d x=-cosec x+C$

$\int \frac{d x}{\sqrt{1-x^{2}}}=\sin ^{-1} x+C$

$\int \frac{d x}{\sqrt{1-x^{2}}}=-\cos ^{-1} x+C$

$\int \frac{d x}{1+x^{2}}=\tan ^{-1} x+C$

$\int e^{x} d x=e^{x}+C$

(xii) $\frac{d}{d x}(\log |x|)=\frac{1}{x}$;

$\int \frac{1}{x} d x=\log |x|+C$

(xiii) $\frac{d}{d x}(\frac{a^{x}}{\log a})=a^{x}$;

$\int a^{x} d x=\frac{a^{x}}{\log a}+C$

Note In practice, we normally do not mention the interval over which the various functions are defined. However, in any specific problem one has to keep it in mind.

7.2.1 Geometrical interpretation of indefinite integral

Let $f(x)=2 x$. Then $\int f(x) d x=x^2+\mathrm{C}$. For different values of $\mathrm{C}$, we get different integrals. But these integrals are very similar geometrically.

Thus, $y=x^2+\mathrm{C}$, where $\mathrm{C}$ is arbitrary constant, represents a family of integrals. By assigning different values to $\mathrm{C}$, we get different members of the family. These together constitute the indefinite integral. In this case, each integral represents a parabola with its axis along $y$-axis.

Clearly, for $\mathrm{C}=0$, we obtain $y=x^2$, a parabola with its vertex on the origin. The curve $y=x^2+1$ for $\mathrm{C}=1$ is obtained by shifting the parabola $y=x^2$ one unit along $y$-axis in positive direction. For $\mathrm{C}=-1, y=x^2-1$ is obtained by shifting the parabola $y=x^2$ one unit along $y$-axis in the negative direction. Thus, for each positive value of $\mathrm{C}$, each parabola of the family has its vertex on the positive side of the $y$-axis and for negative values of $\mathrm{C}$, each has its vertex along the negative side of the $y$-axis. Some of these have been shown in the Fig 7.1.

Let us consider the intersection of all these parabolas by a line $x=a$. In the Fig 7.1, we have taken $a>0$. The same is true when $a<0$. If the line $x=a$ intersects the parabolas $y=x^2, y=x^2+1, y=x^2+2, y=x^2-1, y=x^2-2$ at $P_0, P_1, P_2, P_{-1}, P_{-2}$ etc., respectively, then $\frac{d y}{d x}$ at these points equals $2 a$. This indicates that the tangents to the curves at these points are parallel. Thus, $\int 2 x d x=x^2+\mathrm{C}=\mathrm{F}_{\mathrm{C}}(x)$ (say), implies that

the tangents to all the curves $y=\mathrm{F}_{\mathrm{C}}(x), \mathrm{C} \in \mathbf{R}$, at the points of intersection of the curves by the line $x=a,(a \in \mathbf{R})$, are parallel.

Further, the following equation (statement) $\int f(x) d x=\mathrm{F}(x)+\mathrm{C}=y$ (say), represents a family of curves. The different values of $\mathrm{C}$ will correspond to different members of this family and these members can be obtained by shifting any one of the curves parallel to itself. This is the geometrical interpretation of indefinite integral.

Some properties of indefinite integral

In this sub section, we shall derive some properties of indefinite integrals.

(I) The process of differentiation and integration are inverses of each other in the sense of the following results :

$ \frac{d}{d x} \int f(x) d x=f(x) $

and

$ \int f^{\prime}(x) d x=f(x)+C \text{, where } C \text{ is any arbitrary constant. } $

Proof Let $F$ be any anti derivative of $f$, i.e.,

$ \frac{d}{d x} F(x)=f(x) $

Then

$ \int f(x) d x=F(x)+C $

Therefore

$ \begin{aligned} \frac{d}{d x} \int f(x) d x & =\frac{d}{d x}(F(x)+C) \\ & =\frac{d}{d x} F(x)=f(x) \end{aligned} $

Similarly, we note that

$ f^{\prime}(x)=\frac{d}{d x} f(x) $

and hence

$ \int f^{\prime}(x) d x=f(x)+C $

where $C$ is arbitrary constant called constant of integration.

(II) Two indefinite integrals with the same derivative lead to the same family of curves and so they are equivalent.

Proof Let $f$ and $g$ be two functions such that

$\frac{d}{d x} \int f(x) d x=\frac{d}{d x} \int g(x) d x$

or

$ \frac{d}{d x}[\int f(x) d x-\int g(x) d x]=0 $

Hence $\quad \int f(x) d x-\int g(x) d x=C$, where $C$ is any real number

or

$ \int f(x) d x=\int g(x) d x+C $

So the families of curves ${\int f(x) d x+C_1, C_1 \in R}$

and

$ {\int g(x) d x+C_2, C_2 \in R} \text{ are identical. } $

Hence, in this sense, $\int f(x) d x$ and $\int g(x) d x$ are equivalent.

Note The equivalence of the families ${\int f(x) d x+C_1, C_1 \in \mathbf{R}}$ and ${\int g(x) d x+\mathbf{C} _2, \mathbf{C} _2 \in \mathbf{R}}$ is customarily expressed by writing $\int f(x) d x=\int g(x) d x$, without mentioning the parameter.

(III)

$\int[f(x)+g(x)] d x=\int f(x) d x+\int g(x) d x$

Proof By Property (I), we have

$ \frac{d}{d x}[\int[f(x)+g(x)] d x]=f(x)+g(x) $

On the otherhand, we find that

$ \begin{aligned} \frac{d}{d x}[\int f(x) d x+\int g(x) d x] & =\frac{d}{d x} \int f(x) d x+\frac{d}{d x} \int g(x) d x \\ & =f(x)+g(x) \end{aligned} $

Thus, in view of Property (II), it follows by (1) and (2) that

$ \int(f(x)+g(x)) d x=\int f(x) d x+\int g(x) d x . $

(IV) For any real number $k, \int k f(x) d x=k \int f(x) d x$

Proof By the Property (I), $\frac{d}{d x} \int k f(x) d x=k f(x)$.

Also $\quad \frac{d}{d x}[k \int f(x) d x]=k \frac{d}{d x} \int f(x) d x=k f(x)$

Therefore, using the Property (II), we have $\int k f(x) d x=k \int f(x) d x$.

(V) Properties (III) and (IV) can be generalised to a finite number of functions $f_1, f_2, \ldots, f_n$ and the real numbers, $k_1, k_2, \ldots, k_n$ giving

$ \begin{aligned} & \int[k_1 f_1(x)+k_2 f_2(x)+\ldots+k_n f_n(x)] d x \\ & =k_1 \int f_1(x) d x+k_2 \int f_2(x) d x+\ldots+k_n \int f_n(x) d x . \end{aligned} $

To find an anti derivative of a given function, we search intuitively for a function whose derivative is the given function. The search for the requisite function for finding an anti derivative is known as integration by the method of inspection. We illustrate it through some examples.

Example 1 Write an anti derivative for each of the following functions using the method of inspection: (i) $\cos 2 x$ (ii) $3 x^{2}+4 x^{3}$ (iii) $\frac{1}{x}, x \neq 0$

Solution

(i) We look for a function whose derivative is $\cos 2 x$. Recall that

$ \begin{gathered} \frac{d}{d x} \sin 2 x=2 \cos 2 x \\ \text{ or } \quad \cos 2 x=\frac{1}{2} \frac{d}{d x}(\sin 2 x)=\frac{d}{d x}(\frac{1}{2} \sin 2 x) \end{gathered} $

Therefore, an anti derivative of $\cos 2 x$ is $\frac{1}{2} \sin 2 x$.

(ii) We look for a function whose derivative is $3 x^{2}+4 x^{3}$. Note that

$ \frac{d}{d x}(x^{3}+x^{4})=3 x^{2}+4 x^{3} $

Therefore, an anti derivative of $3 x^{2}+4 x^{3}$ is $x^{3}+x^{4}$. (iii) We know that

$ \frac{d}{d x}(\log x)=\frac{1}{x}, x>0 \text{ and } \frac{d}{d x}[\log (-x)]=\frac{1}{-x}(-1)=\frac{1}{x}, x<0 $

Combining above, we get $\frac{d}{d x}(\log |x|)=\frac{1}{x}, x \neq 0$

Therefore, $\int \frac{1}{x} d x=\log |x|$ is one of the anti derivatives of $\frac{1}{x}$.

Example 2 Find the following integrals: (i) $\int \frac{x^{3}-1}{x^{2}} d x$ (ii) $\int(x^{\frac{2}{3}}+1) d x$ (iii) $\int(x^{\frac{3}{2}}+2 e^{x}-\frac{1}{x}) d x$

Solution

(i) We have

$ \begin{aligned} \int \frac{x^{3}-1}{x^{2}} & d x=\int x d x-\int x^{-2} d x \quad(\text{ by Property } V) \\ = & (\frac{x^{1+1}}{1+1}+C_1)-(\frac{x^{-2+1}}{-2+1}+C_2) ; C_1, C_2 \text{ are constants of integration } \\ & =\frac{x^{2}}{2}+C_1-\frac{x^{-1}}{-1}-C_2=\frac{x^{2}}{2}+\frac{1}{x}+C_1-C_2 \\ & =\frac{x^{2}}{2}+\frac{1}{x}+C \text{, where } C=C_1-C_2 \text{ is another constant of integration. } \end{aligned} $

Note From now onwards, we shall write only one constant of integration in the final answer.

(ii) We have

$ \begin{aligned} \int(x^{\frac{2}{3}}+1) d x & =\int x^{\frac{2}{3}} d x+\int d x \\ & =\frac{x^{\frac{2}{3}+1}}{\frac{2}{3}+1}+x+C=\frac{3}{5} x^{\frac{5}{3}}+x+C \end{aligned} $ (iii) We have $\int(x^{\frac{3}{2}}+2 e^{x}-\frac{1}{x}) d x=\int x^{\frac{3}{2}} d x+\int 2 e^{x} d x-\int \frac{1}{x} d x$

$ \begin{aligned} & =\frac{x^{\frac{3}{2}+1}}{\frac{3}{2}+1}+2 e^{x}-\log |x|+C \\ & =\frac{2}{5} x^{\frac{5}{2}}+2 e^{x}-\log |x|+C \end{aligned} $

Example 3 Find the following integrals: (i) $\int(\sin x+\cos x) d x$ (ii) $\int cosec x(cosec x+\cot x) d x$ (iii) $\int \frac{1-\sin x}{\cos ^{2} x} d x$

Solution

(i) We have

$ \begin{aligned} \int(\sin x+\cos x) d x & =\int \sin x d x+\int \cos x d x \\ & =-\cos x+\sin x+C \end{aligned} $

(ii) We have

$ \begin{aligned} \int(cosec x(cosec x+\cot x) d x & =\int cosec^{2} x d x+\int cosec x \cot x d x \\ & =-\cot x-cosec x+C \end{aligned} $

(iii) We have

$ \begin{aligned} \int \frac{1-\sin x}{\cos ^{2} x} d x & =\int \frac{1}{\cos ^{2} x} d x-\int \frac{\sin x}{\cos ^{2} x} d x \\ & =\int \sec ^{2} x d x-\int \tan x \sec x d x \\ & =\tan x-\sec x+C \end{aligned} $

Example 4 Find the anti derivative $F$ of $f$ defined by $f(x)=4 x^{3}-6$, where $F(0)=3$

Solution One anti derivative of $f(x)$ is $x^{4}-6 x$ since

$ \frac{d}{d x}(x^{4}-6 x)=4 x^{3}-6 $

Therefore, the anti derivative $F$ is given by

$ F(x)=x^{4}-6 x+C \text{, where } C \text{ is constant. } $

Given that

$ \begin{aligned} F(0) & =3, \text{ which gives } \\ 3 & =0-6 \times 0+C \text{ or } C=3 \end{aligned} $

Hence, the required anti derivative is the unique function $F$ defined by

$ F(x)=x^{4}-6 x+3 $

Remarks

(i) We see that if $F$ is an anti derivative of $f$, then so is $F+C$, where $C$ is any constant. Thus, if we know one anti derivative $F$ of a function $f$, we can write down an infinite number of anti derivatives of $f$ by adding any constant to $F$ expressed by $F(x)+C, C \in \mathbf{R}$. In applications, it is often necessary to satisfy an additional condition which then determines a specific value of $C$ giving unique anti derivative of the given function.

(ii) Sometimes, $F$ is not expressible in terms of elementary functions viz., polynomial, logarithmic, exponential, trigonometric functions and their inverses etc. We are therefore blocked for finding $\int f(x) d x$. For example, it is not possible to find $\int e^{-x^{2}} d x$ by inspection since we can not find a function whose derivative is $e^{-x^{2}}$

(iii) When the variable of integration is denoted by a variable other than $x$, the integral formulae are modified accordingly. For instance

$ \int y^{4} d y=\frac{y^{4+1}}{4+1}+C=\frac{1}{5} y^{5}+C $

EXERCISE 7.1

Find an anti derivative (or integral) of the following functions by the method of inspection.

1. $\sin 2 x$

Solution

The anti derivative of $\sin 2 x$ is a function of $x$ whose derivative is $\sin 2 x$. It is known that,

$\frac{d}{d x}(\cos 2 x)=-2 \sin 2 x$

$\Rightarrow \sin 2 x=-\frac{1}{2} \frac{d}{d x}(\cos 2 x)$

$\therefore \sin 2 x=\frac{d}{d x}(-\frac{1}{2} \cos 2 x)$

Therefore, the anti derivative of $\sin 2 x$ is $-\frac{1}{2} \cos 2 x$

2. $\cos 3 x$

Solution

The anti derivative of $\cos 3 x$ is a function of $x$ whose derivative is $\cos 3 x$.

It is known that,

$\frac{d}{d x}(\sin 3 x)=3 \cos 3 x$

$\Rightarrow \cos 3 x=\frac{1}{3} \frac{d}{d x}(\sin 3 x)$

$\therefore \cos 3 x=\frac{d}{d x}(\frac{1}{3} \sin 3 x)$

Therefore, the anti derivative of $\cos 3 x$ is $\frac{1}{3} \sin 3 x$.

3. $e^{2 x}$

Solution

The anti derivative of $e^{2 x}$ is the function of $x$ whose derivative is $e^{2 x}$.

It is known that, $\frac{d}{d x}(e^{2 x})=2 e^{2 x}$

$\Rightarrow e^{2 x}=\frac{1}{2} \frac{d}{d x}(e^{2 x})$

$\therefore e^{2 x}=\frac{d}{d x}(\frac{1}{2} e^{2 x})$

Therefore, the anti derivative of $e^{2 x}$ is $\frac{1}{2} e^{2 x}$.

4. $(a x+b)^{2}$

Solution

The anti derivative of $(a x+b)^{2}$ is the function of $x$ whose derivative is $(a x+b)^{2}$.

It is known that,

$\frac{d}{d x}(a x+b)^{3}=3 a(a x+b)^{2}$

$\Rightarrow(a x+b)^{2}=\frac{1}{3 a} \frac{d}{d x}(a x+b)^{3}$

$\therefore(a x+b)^{2}=\frac{d}{d x}(\frac{1}{3 a}(a x+b)^{3})$

Therefore, the anti derivative of $(a x+b)^{2}$ is $\frac{1}{3 a}(a x+b)^{3}$.

5. $\sin 2 x-4 e^{3 x}$

Solution

The anti derivative of $(\sin 2 x-4 e^{3 x})$ is the function of $x$ whose derivative is $(\sin 2 x-4 e^{3 x})$.

It is known that, $\frac{d}{d x}(-\frac{1}{2} \cos 2 x-\frac{4}{3} e^{3 x})=\sin 2 x-4 e^{3 x}$

Therefore, the anti derivative of $(\sin 2 x-4 e^{3 x})$ is $(-\frac{1}{2} \cos 2 x-\frac{4}{3} e^{3 x})$.

Find the following integrals in Exercises 6 to 20:

6. $\int(4 e^{3 x}+1) d x$

Solution

$ \begin{aligned} & \int(4 e^{3 x}+1) d x \\ & =4 \int e^{3 x} d x+\int 1 d x \\ & =4(\frac{e^{3 x}}{3})+x+C \\ & =\frac{4}{3} e^{3 x}+x+C \end{aligned} $

7. $\int x^{2}(1-\frac{1}{x^{2}}) d x$

Solution

$\int x^{2}(1-\frac{1}{x^{2}}) d x$

$=\int(x^{2}-1) d x$

$=\int x^{2} d x-\int 1 d x$

$=\frac{x^{3}}{3}-x+C$

8. $\int(a x^{2}+b x+c) d x$

Solution

$\int(a x^{2}+b x+c) d x$

$=a \int x^{2} d x+b \int x d x+c \int 1 \cdot d x$

$=a(\frac{x^{3}}{3})+b(\frac{x^{2}}{2})+c x+C$

$=\frac{a x^{3}}{3}+\frac{b x^{2}}{2}+c x+C$

9. $\int(2 x^{2}+e^{x}) d x$

Solution

$\int(2 x^{2}+e^{x}) d x$

$=2 \int x^{2} d x+\int e^{x} d x$

$=2(\frac{x^{3}}{3})+e^{x}+C$

$=\frac{2}{3} x^{3}+e^{x}+C$

10. $\int(\sqrt{x}-\frac{1}{\sqrt{x}})^{2} d x$

Solution

$ \begin{aligned} & \int(\sqrt{x}-\frac{1}{\sqrt{x}})^{2} d x \\ & =\int(x+\frac{1}{x}-2) d x \\ & =\int x d x+\int \frac{1}{x} d x-2 \int 1 \cdot d x \\ & =\frac{x^{2}}{2}+\log |x|-2 x+C \end{aligned} $

11. $\int \frac{x^{3}+5 x^{2}-4}{x^{2}} d x$

Solution

$ \begin{aligned} & \int \frac{x^{3}+5 x^{2}-4}{x^{2}} d x \\ & =\int(x+5-4 x^{-2}) d x \\ & =\int x d x+5 \int 1 \cdot d x-4 \int x^{-2} d x \\ & =\frac{x^{2}}{2}+5 x-4(\frac{x^{-1}}{-1})+C \\ & =\frac{x^{2}}{2}+5 x+\frac{4}{x}+C \end{aligned} $

12. $\int \frac{x^{3}+3 x+4}{\sqrt{x}} d x$

Solution

$ \begin{aligned} & \int \frac{x^{3}+3 x+4}{\sqrt{x}} d x \\ & =\int(x^{\frac{5}{2}}+3 x^{\frac{1}{2}}+4 x^{-\frac{1}{2}}) d x \\ & =\frac{x^{\frac{7}{2}}}{\frac{7}{2}}+\frac{3(x^{\frac{3}{2}})}{\frac{3}{2}}+\frac{4(x^{\frac{1}{2}})}{\frac{1}{2}}+C \\ & =\frac{2}{7} x^{\frac{7}{2}}+2 x^{\frac{3}{2}}+8 x^{\frac{1}{2}}+C \\ & =\frac{2}{7} x^{\frac{7}{2}}+2 x^{\frac{3}{2}}+8 \sqrt{x}+C \end{aligned} $

13. $\int \frac{x^{3}-x^{2}+x-1}{x-1} d x$

Solution

$\int \frac{x^{3}-x^{2}+x-1}{x-1} d x$

On dividing, we obtain

$=\int(x^{2}+1) d x$

$=\int x^{2} d x+\int 1 d x$

$=\frac{x^{3}}{3}+x+C$

14. $\int(1-x) \sqrt{x} d x$

Solution

$\int(1-x) \sqrt{x} d x$

$=\int(\sqrt{x}-x^{\frac{3}{2}}) d x$

$=\int x^{\frac{1}{2}} d x-\int x^{\frac{3}{2}} d x$

$=\frac{x^{\frac{3}{2}}}{3}-\frac{x^{\frac{5}{2}}}{5}+C$

$=\frac{2}{3} x^{\frac{3}{2}}-\frac{2}{5} x^{\frac{5}{2}}+C$

15. $\int \sqrt{x}(3 x^{2}+2 x+3) d x$

Solution

$ \int \sqrt{x}(3 x^{2}+2 x+3) d x $

$=\int(3 x^{\frac{5}{2}}+2 x^{\frac{3}{2}}+3 x^{\frac{1}{2}}) d x$

$=3 \int x^{\frac{5}{2}} d x+2 \int x^{\frac{3}{2}} d x+3 \int x^{\frac{1}{2}} d x$

$=3(\frac{x^{\frac{7}{2}}}{\frac{7}{2}})+2(\frac{x^{\frac{5}{2}}}{\frac{5}{2}})+3 \frac{(x^{\frac{3}{2}})}{\frac{3}{2}}+C$

$=\frac{6}{7} x^{\frac{7}{2}}+\frac{4}{5} x^{\frac{5}{2}}+2 x^{\frac{3}{2}}+C$

17. $\int(2 x^{2}-3 \sin x+5 \sqrt{x}) d x$

Solution

$\int(2 x^{2}-3 \sin x+5 \sqrt{x}) d x$ $=2 \int x^{2} d x-3 \int \sin x d x+5 \int x^{\frac{1}{2}} d x$

$=\frac{2 x^{3}}{3}-3(-\cos x)+5(\frac{x^{\frac{3}{2}}}{\frac{3}{2}})+C$

$=\frac{2}{3} x^{3}+3 \cos x+\frac{10}{3} x^{\frac{3}{2}}+C$

19. $\int \frac{\sec ^{2} x}{cosec^{2} x} d x \quad$

Solution

$\int \frac{\sec ^{2} x}{cosec 2} d x$

$ \begin{aligned} & =\int \frac{\frac{1}{\cos ^{2} x}}{\frac{1}{\sin ^{2} x}} d x \\ & =\int \frac{\sin ^{2} x}{\cos ^{2} x} d x \\ & =\int \tan ^{2} x d x \\ & =\int(\sec ^{2} x-1) d x \\ & =\int \sec ^{2} x d x-\int 1 d x \\ & =\tan x-x+C \end{aligned} $

20. $\int \frac{2-3 \sin x}{\cos ^{2} x} d x$.

Solution

$\int \frac{2-3 \sin x}{\cos ^{2} x} d x$

$=\int(\frac{2}{\cos ^{2} x}-\frac{3 \sin x}{\cos ^{2} x}) d x$

$=\int 2 \sec ^{2} x d x-3 \int \tan x \sec x d x$

$=2 \tan x-3 \sec x+C$

16. $\int(2 x-3 \cos x+e^{x}) d x$

Solution

$\int(2 x-3 \cos x+e^{x}) d x$

$=2 \int x d x-3 \int \cos x d x+\int e^{x} d x$

$=\frac{2 x^{2}}{2}-3(\sin x)+e^{x}+C$

$=x^{2}-3 \sin x+e^{x}+C$

18. $\int \sec x(\sec x+\tan x) d x$

Solution

$\int \sec x(\sec x+\tan x) d x$

$=\int(\sec ^{2} x+\sec x \tan x) d x$

$=\int \sec ^{2} x d x+\int \sec x \tan x d x$

$=\tan x+\sec x+C$

Choose the correct answer in Exercises 21 and 22.

21. The anti derivative of $(\sqrt{x}+\frac{1}{\sqrt{x}})$ equals

(A) $\frac{1}{3} x^{\frac{1}{3}}+2 x^{\frac{1}{2}}+C$

(B) $\frac{2}{3} x^{\frac{2}{3}}+\frac{1}{2} x^{2}+C$

(C) $\frac{2}{3} x^{\frac{3}{2}}+2 x^{\frac{1}{2}}+C$

(D) $\frac{3}{2} x^{\frac{3}{2}}+\frac{1}{2} x^{\frac{1}{2}}+C$

Solution

$ (\sqrt{x}+\frac{1}{\sqrt{x}}) d x $

$=\int x^{\frac{1}{2}} d x+\int x^{-\frac{1}{2}} d x$

$=\frac{x^{\frac{3}{2}}}{3}+\frac{x^{\frac{1}{2}}}{1}+C$

2

$=\frac{2}{3} x^{\frac{3}{2}}+2 x^{\frac{1}{2}}+C$

Hence, the correct Answer is C.

22. If $\frac{d}{d x} f(x)=4 x^{3}-\frac{3}{x^{4}}$ such that $f(2)=0$. Then $f(x)$ is

(A) $x^{4}+\frac{1}{x^{3}}-\frac{129}{8}$

(B) $x^{3}+\frac{1}{x^{4}}+\frac{129}{8}$

(C) $x^{4}+\frac{1}{x^{3}}+\frac{129}{8}$

(D) $x^{3}+\frac{1}{x^{4}}-\frac{129}{8}$

Solution

It is given that,

$\frac{d}{d x} f(x)=4 x^{3}-\frac{3}{x^{4}}$

$\therefore$ Anti derivative of $4 x^{3}-\frac{3}{x^{4}}=f(x)$ $\therefore f(x)=\int 4 x^{3}-\frac{3}{x^{4}} d x$

$f(x)=4 \int x^{3} d x-3 \int(x^{-4}) d x$

$f(x)=4(\frac{x^{4}}{4})-3(\frac{x^{-3}}{-3})+C$

$\therefore(x)=x^{4}+\frac{1}{x^{3}}+C$

Also,

$f(2)=0$

$\therefore f(2)=(2)^{4}+\frac{1}{(2)^{3}}+C=0$

$\Rightarrow 16+\frac{1}{8}+C=0$

$\Rightarrow C=-(16+\frac{1}{8})$

$\Rightarrow C=\frac{-129}{8}$

$\therefore f(x)=x^{4}+\frac{1}{x^{3}}-\frac{129}{8}$

Hence, the correct Answer is A.

Methods of Integration

In previous section, we discussed integrals of those functions which were readily obtainable from derivatives of some functions. It was based on inspection, i.e., on the search of a function $F$ whose derivative is $f$ which led us to the integral of $f$. However, this method, which depends on inspection, is not very suitable for many functions. Hence, we need to develop additional techniques or methods for finding the integrals by reducing them into standard forms. Prominent among them are methods based on:

  1. Integration by Substitution

  2. Integration using Partial Fractions

  3. Integration by Parts

Integration by substitution

In this section, we consider the method of integration by substitution.

The given integral $\int f(x) d x$ can be transformed into another form by changing the independent variable $x$ to $t$ by substituting $x=g(t)$.

Consider

$ I=\int f(x) d x $

Put $x=g(t)$ so that $\frac{d x}{d t}=g^{\prime}(t)$.

We write

$ d x=g^{\prime}(t) d t $

Thus

$ I=\int f(x) d x=\int f(g(t)) g^{\prime}(t) d t $

This change of variable formula is one of the important tools available to us in the name of integration by substitution. It is often important to guess what will be the useful substitution. Usually, we make a substitution for a function whose derivative also occurs in the integrand as illustrated in the following examples.

Example 5 Integrate the following functions w.r.t. $x$ : (i) $\sin m x$ (ii) $2 x \sin (x^{2}+1)$ (iii) $\frac{\tan ^{4} \sqrt{x} \sec ^{2} \sqrt{x}}{\sqrt{x}}$ (iv) $\frac{\sin (\tan ^{-1} x)}{1+x^{2}}$

Solution

(i) We know that derivative of $m x$ is $m$. Thus, we make the substitution $m x=t$ so that $m d x=d t$.

Therefore, $\quad \int \sin m x d x=\frac{1}{m} \int \sin t d t=-\frac{1}{m} \cos t+C=-\frac{1}{m} \cos m x+C$

(ii) Derivative of $x^{2}+1$ is $2 x$. Thus, we use the substitution $x^{2}+1=t$ so that $2 x d x=d t$.

Therefore, $\int 2 x \sin (x^{2}+1) d x=\int \sin t d t=-\cos t+C=-\cos (x^{2}+1)+C$

(iii) Derivative of $\sqrt{x}$ is $\frac{1}{2} x^{-\frac{1}{2}}=\frac{1}{2 \sqrt{x}}$. Thus, we use the substitution

$\sqrt{x}=t$ so that $\frac{1}{2 \sqrt{x}} d x=d t$ giving $d x=2 t d t$.

Thus, $\quad \int \frac{\tan ^{4} \sqrt{x} \sec ^{2} \sqrt{x}}{\sqrt{x}} d x=\int \frac{2 t \tan ^{4} t \sec ^{2} t d t}{t}=2 \int \tan ^{4} t \sec ^{2} t d t$

Again, we make another substitution $\tan t=u$ so that $\quad \sec ^{2} t d t=d u$

Therefore,

$ \begin{aligned} 2 \int \tan ^{4} t \sec ^{2} t d t & =2 \int u^{4} d u=2 \frac{u^{5}}{5}+C \\ & =\frac{2}{5} \tan ^{5} t+C(\text{ since } u=\tan t) \\ & =\frac{2}{5} \tan ^{5} \sqrt{x}+C(\text{ since } t=\sqrt{x}) \end{aligned} $

Hence, $\quad \int \frac{\tan ^{4} \sqrt{x} \sec ^{2} \sqrt{x}}{\sqrt{x}} d x=\frac{2}{5} \tan ^{5} \sqrt{x}+C$

Alternatively, make the substitution $\tan \sqrt{x}=t$

(iv) Derivative of $\tan ^{-1} x=\frac{1}{1+x^{2}}$. Thus, we use the substitution

$ \tan ^{-1} x=t \text{ so that } \frac{d x}{1+x^{2}}=d t $

Therefore, $\int \frac{\sin (\tan ^{-1} x)}{1+x^{2}} d x=\int \sin t d t=-\cos t+C=-\cos (\tan ^{-1} x)+C$

Now, we discuss some important integrals involving trigonometric functions and their standard integrals using substitution technique. These will be used later without reference.

(i) $\int \tan x d x=\log |\sec x|+C$

We have

$ \int \tan x d x=\int \frac{\sin x}{\cos x} d x $

Put $\cos x=t$ so that $\sin x d x=-d t$

Then $\int \tan x d x=-\int \frac{d t}{t}=-\log |t|+C=-\log |\cos x|+C$

or $\quad \int \tan x d x=\log |\sec x|+C$

(ii) $\int \cot x d x=\log |\sin x|+C$

We have $\int \cot x d x=\int \frac{\cos x}{\sin x} d x$

Put $\sin x=t$ so that $\cos x d x=d t$

Then

$ \int \cot x d x=\int \frac{d t}{t}=\log |t|+C=\log |\sin x|+C $

(iii) $\int \sec x d x=\log |\sec x+\tan x|+C$

We have

$ \int \sec x d x=\int \frac{\sec x(\sec x+\tan x)}{\sec x+\tan x} d x $

Put sec $x+\tan x=t$ so that $\sec x(\tan x+\sec x) d x=d t$

Therefore, $\int \sec x d x=\int \frac{d t}{t}=\log |t|+C=\log |\sec x+\tan x|+C$

(iv) $\int cosec x d x=\log |cosec x-\cot x|+C$

We have

$ \int cosec x d x=\int \frac{cosec x(cosec x+\cot x)}{(cosec x+\cot x)} d x $

Put $cosec x+\cot x=t$ so that $-cosec x(cosec x+\cot x) d x=d t$

So

$ \begin{aligned} \int cosec x d x & =-\int \frac{d t}{t}=-\log |t|=-\log |cosec x+\cot x|+C \\ & =-\log |\frac{cosec^{2} x-\cot ^{2} x}{cosec x-\cot x}|+C \\ & =\log |cosec x-\cot x|+C \end{aligned} $

Example 6 Find the following integrals: (i) $\int \sin ^{3} x \cos ^{2} x d x$ (ii) $\int \frac{\sin x}{\sin (x+a)} d x$ (iii) $\int \frac{1}{1+\tan x} d x$

Solution

(i) We have

$ \begin{aligned} \int \sin ^{3} x \cos ^{2} x d x & =\int \sin ^{2} x \cos ^{2} x(\sin x) d x \\ & =\int(1-\cos ^{2} x) \cos ^{2} x(\sin x) d x \end{aligned} $

Put $t=\cos x$ so that $d t=-\sin x d x$

Therefore, $\int \sin ^{2} x \cos ^{2} x(\sin x) d x=-\int(1-t^{2}) t^{2} d t$

$ \begin{aligned} & =-\int(t^{2}-t^{4}) d t=-(\frac{t^{3}}{3}-\frac{t^{5}}{5})+C \\ & =-\frac{1}{3} \cos ^{3} x+\frac{1}{5} \cos ^{5} x+C \end{aligned} $

(ii) Put $x+a=t$. Then $d x=d t$. Therefore

$ \begin{aligned} \int \frac{\sin x}{\sin (x+a)} d x & =\int \frac{\sin (t-a)}{\sin t} d t \\ & =\int \frac{\sin t \cos a-\cos t \sin a}{\sin t} d t \\ & =\cos a \int d t-\sin a \int \cot t d t \\ & =(\cos a) t-(\sin a)[\log |\sin t|+C_1] \\ & =(\cos a)(x+a)-(\sin a)[\log |\sin (x+a)|+C_1] \\ & =x \cos a+a \cos a-(\sin a) \log |\sin (x+a)|-C_1 \sin a \end{aligned} $

Hence, $\int \frac{\sin x}{\sin (x+a)} d x=x \cos a-\sin a \log |\sin (x+a)|+C$,

where, $C=-C_1 \sin a+a \cos a$, is another arbitrary constant.

(iii) $\int \frac{d x}{1+\tan x}=\int \frac{\cos x d x}{\cos x+\sin x}$

$ \begin{aligned} & =\frac{1}{2} \int \frac{(\cos x+\sin x+\cos x-\sin x) d x}{\cos x+\sin x} \\ & =\frac{1}{2} \int d x+\frac{1}{2} \int \frac{\cos x-\sin x}{\cos x+\sin x} d x \\ & =\frac{x}{2}+\frac{C_1}{2}+\frac{1}{2} \int \frac{\cos x-\sin x}{\cos x+\sin x} d x \end{aligned} $

Now, consider $I=\int \frac{\cos x-\sin x}{\cos x+\sin x} d x$

Put $\cos x+\sin x=t$ so that $(\cos x-\sin x) d x=d t$

Therefore $\quad I=\int \frac{d t}{t}=\log |t|+C_2=\log |\cos x+\sin x|+C_2$

Putting it in (1), we get

$ \begin{aligned} \int \frac{d x}{1+\tan x} & =\frac{x}{2}+\frac{C_1}{2}+\frac{1}{2} \log |\cos x+\sin x|+\frac{C_2}{2} \\ & =\frac{x}{2}+\frac{1}{2} \log |\cos x+\sin x|+\frac{C_1}{2}+\frac{C_2}{2} \\ & =\frac{x}{2}+\frac{1}{2} \log |\cos x+\sin x|+C,(C=\frac{C_1}{2}+\frac{C_2}{2}) \end{aligned} $

EXERCISE 7.2

Integrate the functions in Exercises 1 to 37:

1. $\frac{2 x}{1+x^{2}}$

Solution

Let $1+x^{2}=t$

$\therefore 2 x d x=d t$

$\Rightarrow \int \frac{2 x}{1+x^{2}} d x=\int \frac{1}{t} d t$

$=\log |t|+C$

$=\log |1+x^{2}|+C$

$=\log (1+x^{2})+C$

2. $\frac{(\log x)^{2}}{x}$

Solution

Let $\log |x|=t$

$\therefore \frac{1}{x} d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{(\log |x|)^{2}}{x} d x & =\int t^{2} d t \\ & =\frac{t^{3}}{3}+C \\ & =\frac{(\log |x|)^{3}}{3}+C \end{aligned} $

3. $\frac{1}{x+x \log x}$

Solution

$\frac{1}{x+x \log x}=\frac{1}{x(1+\log x)}$

Let $1+\log x=t$

$\therefore \frac{1}{x} d x=d t$

$\Rightarrow \int \frac{1}{x(1+\log x)} d x=\int \frac{1}{t} d t$

$=\log |t|+C$

$=\log |1+\log x|+C$

4. $\sin x \sin (\cos x)$

Solution

$\sin x \cdot \sin (\cos x)$

Let $\cos x=t$

$\therefore-\sin x d x=d t$

$ \begin{aligned} \Rightarrow \int \sin x \cdot \sin (\cos x) d x & =-\int \sin t d t \\ & =-[-\cos t]+C \\ & =\cos t+C \\ & =\cos (\cos x)+C \end{aligned} $

5. $\sin (a x+b) \cos (a x+b)$

Solution

$\sin (a x+b) \cos (a x+b)=\frac{2 \sin (a x+b) \cos (a x+b)}{2}=\frac{\sin 2(a x+b)}{2}$

Let $2(a x+b)=t$

$\therefore 2 a d x=d t$ $\Rightarrow \int \frac{\sin 2(a x+b)}{2} d x=\frac{1}{2} \int \frac{\sin t d t}{2 a}$

$ \begin{aligned} & =\frac{1}{4 a}[-\cos t]+C \\ & =\frac{-1}{4 a} \cos 2(a x+b)+C \end{aligned} $

6. $\sqrt{a x+b}$

Solution

Let $a x+b=t$

$\Rightarrow a d x=d t$

$\therefore d x=\frac{1}{a} d t$

$\Rightarrow \int(a x+b)^{\frac{1}{2}} d x=\frac{1}{a} \int t^{\frac{1}{2}} d t$

$=\frac{1}{a}(\frac{t^{\frac{3}{2}}}{\frac{3}{2}})+C$

$=\frac{2}{3 a}(a x+b)^{\frac{3}{2}}+C$

7. $x \sqrt{x+2}$

Solution

Let $(x+2)=t$ $\therefore d x=d t$

$ \begin{aligned} \Rightarrow \int x \sqrt{x+2} d x & =\int(t-2) \sqrt{t} d t \\ & =\int(t^{\frac{3}{2}}-2 t^{\frac{1}{2}}) d t \\ & =\int t^{\frac{3}{2}} d t-2 \int t^{\frac{1}{2}} d t \\ & =\frac{t^{\frac{5}{2}}}{\frac{5}{2}}-2(\frac{t^{\frac{3}{2}}}{\frac{3}{2}})+C \\ & =\frac{2}{5} t^{\frac{5}{2}}-\frac{4}{3} t^{\frac{3}{2}}+C \\ & =\frac{2}{5}(x+2)^{\frac{5}{2}}-\frac{4}{3}(x+2)^{\frac{3}{2}}+C \end{aligned} $

8. $x \sqrt{1+2 x^{2}}$

Solution

Let $1+2 x^{2}=t$

$\therefore 4 x d x=d t$ $\Rightarrow \int x \sqrt{1+2 x^{2}} d x=\int \frac{\sqrt{t} d t}{4}$

$=\frac{1}{4} \int t^{\frac{1}{2}} d t$

$=\frac{1}{4}(\frac{t^{\frac{3}{2}}}{\frac{3}{2}})+C$

$=\frac{1}{6}(1+2 x^{2})^{\frac{3}{2}}+C$

9. $(4 x+2) \sqrt{x^{2}+x+1}$

Solution

Let $x^{2}+x+1=t$

$\therefore(2 x+1) d x=d t$

$\int(4 x+2) \sqrt{x^{2}+x+1} d x$

$=\int 2 \sqrt{t} d t$

$=2 \int \sqrt{t} d t$

$=2(\frac{t^{\frac{3}{2}}}{\frac{3}{2}})+C$

$=\frac{4}{3}(x^{2}+x+1)^{\frac{3}{2}}+C$

10. $\frac{1}{x-\sqrt{x}}$

Solution

$\frac{1}{x-\sqrt{x}}=\frac{1}{\sqrt{x}(\sqrt{x}-1)}$

Let $(\sqrt{x}-1)=t$

$\therefore \frac{1}{2 \sqrt{x}} d x=d t$

$\Rightarrow \int \frac{1}{\sqrt{x}(\sqrt{x}-1)} d x=\int \frac{2}{t} d t$

$=2 \log |t|+C$

$=2 \log |\sqrt{x}-1|+C$

11. $\frac{x}{\sqrt{x+4}}, x>0$

Solution

Let $x+4=t$

$\therefore d x=d t$

$ \begin{aligned} \int \frac{x}{\sqrt{x+4}} d x & =\int \frac{(t-4)}{\sqrt{t}} d t \\ & =\int(\sqrt{t}-\frac{4}{\sqrt{t}}) d t \\ & =\frac{t^{\frac{3}{2}}}{\frac{3}{2}}-4(\frac{t^{\frac{1}{2}}}{\frac{1}{2}})+C \\ & =\frac{2}{3}(t)^{\frac{3}{2}}-8(t)^{\frac{1}{2}}+C \\ & =\frac{2}{3} t \cdot t^{\frac{1}{2}}-8 t^{\frac{1}{2}}+C \\ & =\frac{2}{3} t^{\frac{1}{2}}(t-12)+C \\ & =\frac{2}{3}(x+4)^{\frac{1}{2}}(x+4-12)+C \\ & =\frac{2}{3} \sqrt{x+4}(x-8)+C \end{aligned} $

12. $(x^{3}-1)^{\frac{1}{3}} x^{5}$

Solution

Let $x^{3}-1=t$

$\therefore 3 x^{2} d x=d t$ $\Rightarrow \int(x^{3}-1)^{\frac{1}{3}} x^{5} d x=\int(x^{3}-1)^{\frac{1}{3}} x^{3} \cdot x^{2} d x$

$=\int t^{\frac{1}{3}}(t+1) \frac{d t}{3}$

$=\frac{1}{3} \int(t^{\frac{4}{3}}+t^{\frac{1}{3}}) d t$

$=\frac{1}{3}[\frac{t^{\frac{7}{3}}}{\frac{7}{3}}+\frac{t^{\frac{4}{3}}}{\frac{4}{3}}]+C$

$=\frac{1}{3}[\frac{3}{7} t^{\frac{7}{3}}+\frac{3}{4} t^{\frac{4}{3}}]+C$

$=\frac{1}{7}(x^{3}-1)^{\frac{7}{3}}+\frac{1}{4}(x^{3}-1)^{\frac{4}{3}}+C$

13. $\frac{x^{2}}{(2+3 x^{3})^{3}}$

Solution

Let $2+3 x^{3}=t$

$\therefore 9 x^{2} d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{x^{2}}{(2+3 x^{3})^{3}} d x & =\frac{1}{9} \int \frac{d t}{(t)^{3}} \\ & =\frac{1}{9}[\frac{t^{-2}}{-2}]+C \\ & =\frac{-1}{18}(\frac{1}{t^{2}})+C \\ & =\frac{-1}{18(2+3 x^{3})^{2}}+C \end{aligned} $

14. $\frac{1}{x(\log x)^{m}}, x>0, m \neq 1$

Solution

Let $\log x=t$

$\therefore \frac{1}{x} d x=d t$

$\Rightarrow \int \frac{1}{x(\log x)^{m}} d x=\int \frac{d t}{(t)^{m}}$

$=(\frac{t^{-m+1}}{1-m})+C$

$=\frac{(\log x)^{1-m}}{(1-m)}+C$

15. $\frac{x}{9-4 x^{2}}$

Solution

Let $9-4 x^{2}=t$

$\therefore-8 x d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{x}{9-4 x^{2}} d x & =\frac{-1}{8} \int_t^{1} d t \\ & =\frac{-1}{8} \log |t|+C \\ & =\frac{-1}{8} \log |9-4 x^{2}|+C \end{aligned} $

16. $e^{2 x+3}$

Solution

Let $2 x+3=t$

$\therefore 2 d x=d t$

$ \begin{aligned} \Rightarrow \int e^{2 x+3} d x & =\frac{1}{2} \int e^{t} d t \\ & =\frac{1}{2}(e^{t})+C \\ & =\frac{1}{2} e^{(2 x+3)}+C \end{aligned} $

17. $\frac{x}{e^{x^{2}}}$

Solution

Let $x^{2}=t$

$\therefore 2 x d x=d t$

$\Rightarrow \int \frac{x}{e^{x^{2}}} d x=\frac{1}{2} \int \frac{1}{e^{t}} d t$

$=\frac{1}{2} \int e^{-t} d t$

$=\frac{1}{2}(\frac{e^{-t}}{-1})+C$

$=-\frac{1}{2} e^{-x^{2}}+C$

$=\frac{-1}{2 e^{x^{2}}}+C$

18. $\frac{e^{\tan ^{-1} x}}{1+x^{2}}$

Solution

Let $\tan ^{-1} x=t$

$\therefore \frac{1}{1+x^{2}} d x=d t$ $\Rightarrow \int \frac{e^{\tan ^{-1} x}}{1+x^{2}} d x=\int e^{t} d t$

$=e^{t}+C$

$=e^{\tan ^{-1} x}+C$

19. $\frac{e^{2 x}-1}{e^{2 x}+1}$

Solution

$\frac{e^{2 x}-1}{e^{2 x}+1}$

Dividing numerator and denominator by $e^{x}$, we obtain

$ \frac{\frac{(e^{2 x}-1)}{e^{x}}}{(e^{2 x}+1)}=\frac{e^{x}-e^{-x}}{e^{x}+e^{-x}} $

Let $e^{x}+e^{-x}=t$

$\therefore(e^{x}-e^{-x}) d x=d t$

$\Rightarrow \int \frac{e^{2 x}-1}{e^{2 x}+1} d x=\int \frac{e^{x}-e^{-x}}{e^{x}+e^{-x}} d x$

$=\int \frac{d t}{t}$

$=\log |t|+C$

$=\log |e^{x}+e^{-x}|+C$

20. $\frac{e^{2 x}-e^{-2 x}}{e^{2 x}+e^{-2 x}}$

Solution

Let $e^{2 x}+e^{-2 x}=t$

$\therefore(2 e^{2 x}-2 e^{-2 x}) d x=d t$

$\Rightarrow 2(e^{2 x}-e^{-2 x}) d x=d t$

$\Rightarrow \int(\frac{e^{2 x}-e^{-2 x}}{e^{2 x}+e^{-2 x}}) d x=\int \frac{d t}{2 t}$

$=\frac{1}{2} \int_t^{1} d t$

$=\frac{1}{2} \log |t|+C$

$=\frac{1}{2} \log |e^{2 x}+e^{-2 x}|+C$

21. $\tan ^{2}(2 x-3)$

Solution

$\tan ^{2}(2 x-3)=\sec ^{2}(2 x-3)-1$

Let $2 x-3=t$

$\therefore 2 d x=d t$

$ \begin{aligned} \Rightarrow \int \tan ^{2}(2 x-3) d x & =\int[(\sec ^{2}(2 x-3))-1] d x \\ & =\frac{1}{2} \int(\sec ^{2} t) d t-\int 1 d x \\ & =\frac{1}{2} \int \sec ^{2} t d t-\int 1 d x \\ & =\frac{1}{2} \tan t-x+C \\ & =\frac{1}{2} \tan (2 x-3)-x+C \end{aligned} $

22. $\sec ^{2}(7-4 x)$

Solution

Let $7-4 x=t$

$\therefore-4 d x=d t$

$ \begin{aligned} \therefore \int \sec ^{2}(7-4 x) d x & =\frac{-1}{4} \int \sec ^{2} t d t \\ & =\frac{-1}{4}(\tan t)+C \\ & =\frac{-1}{4} \tan (7-4 x)+C \end{aligned} $

23. $\frac{\sin ^{-1} x}{\sqrt{1-x^{2}}}$

Solution

Let $\sin ^{-1} x=t$ $\therefore \frac{1}{\sqrt{1-x^{2}}} d x=d t$

$\Rightarrow \int \frac{\sin ^{-1} x}{\sqrt{1-x^{2}}} d x=\int t d t$

$=\frac{t^{2}}{2}+C$

$=\frac{(\sin ^{-1} x)^{2}}{2}+C$

24. $\frac{2 \cos x-3 \sin x}{6 \cos x+4 \sin x}$

Solution

$\frac{2 \cos x-3 \sin x}{6 \cos x+4 \sin x}=\frac{2 \cos x-3 \sin x}{2(3 \cos x+2 \sin x)}$

Let $3 \cos x+2 \sin x=t$

$\therefore(-3 \sin x+2 \cos x) d x=d t$

$ \begin{aligned} \int \frac{2 \cos x-3 \sin x}{6 \cos x+4 \sin x} d x & =\int \frac{d t}{2 t} \\ & =\frac{1}{2} \int \frac{1}{t} d t \\ & =\frac{1}{2} \log |t|+C \\ & =\frac{1}{2} \log |2 \sin x+3 \cos x|+C \end{aligned} $

25. $\frac{1}{\cos ^{2} x(1-\tan x)^{2}}$

Solution

$\frac{1}{\cos ^{2} x(1-\tan x)^{2}}=\frac{\sec ^{2} x}{(1-\tan x)^{2}}$

Let $(1-\tan x)=t$

$\therefore-\sec ^{2} x d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{\sec ^{2} x}{(1-\tan x)^{2}} d x & =\int \frac{-d t}{t^{2}} \\ & =-\int t^{-2} d t \\ & =+\frac{1}{t}+C \\ & =\frac{1}{(1-\tan x)}+C \end{aligned} $

26. $\frac{\cos \sqrt{x}}{\sqrt{x}}$

Solution

Let $\sqrt{x}=t$

$\therefore \frac{1}{2 \sqrt{x}} d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{\cos \sqrt{x}}{\sqrt{x}} d x & =2 \int \cos t d t \\ & =2 \sin t+C \\ & =2 \sin \sqrt{x}+C \end{aligned} $

27. $\sqrt{\sin 2 x} \cos 2 x$

Solution

Let $\sin 2 x=t$

$\therefore 2 \cos 2 x d x=d t$

$ \begin{aligned} \Rightarrow \int \sqrt{\sin 2 x} \cos 2 x d x & =\frac{1}{2} \int \sqrt{t} d t \\ & =\frac{1}{2}(\frac{t^{\frac{3}{2}}}{\frac{3}{2}})+C \\ & =\frac{1}{3} t^{\frac{3}{2}}+C \\ & =\frac{1}{3}(\sin 2 x)^{\frac{3}{2}}+C \end{aligned} $

28. $\frac{\cos x}{\sqrt{1+\sin x}}$

Solution

Let $1+\sin x=t$ $\therefore \cos x d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{\cos x}{\sqrt{1+\sin x}} d x & =\int \frac{d t}{\sqrt{t}} \\ & =\frac{t^{\frac{1}{2}}}{\frac{1}{2}}+C \\ & =2 \sqrt{t}+C \\ & =2 \sqrt{1+\sin x}+C \end{aligned} $

29. $\cot x \log \sin x$

Solution

Let $\log \sin x=t$

$\Rightarrow \frac{1}{\sin x} \cdot \cos x d x=d t$

$\therefore \cot x d x=d t$

$\Rightarrow \int \cot x \log \sin x d x=\int t d t$

$ \begin{aligned} & =\frac{t^{2}}{2}+C \\ & =\frac{1}{2}(\log \sin x)^{2}+C \end{aligned} $

30. $\frac{\sin x}{1+\cos x}$

Solution

Let $1+\cos x=t$ $\therefore-\sin x d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{\sin x}{1+\cos x} d x & =\int-\frac{d t}{t} \\ & =-\log |t|+C \\ & =-\log |1+\cos x|+C \end{aligned} $

31. $\frac{\sin x}{(1+\cos x)^{2}}$

Solution

Let $1+\cos x=t$

$\therefore-\sin x d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{\sin x}{(1+\cos x)^{2}} d x & =\int-\frac{d t}{t^{2}} \\ & =-\int t^{-2} d t \\ & =\frac{1}{t}+C \\ & =\frac{1}{1+\cos x}+\mathbf{C} \end{aligned} $

32. $\frac{1}{1+\cot x}$

Solution

$ \text{ Let } \begin{aligned} I & =\int \frac{1}{1+\cot x} d x \\ & =\int \frac{1}{1+\frac{\cos x}{\sin x}} d x \\ & =\int \frac{\sin x}{\sin x+\cos x} d x \\ & =\frac{1}{2} \int \frac{2 \sin x}{\sin x+\cos x} d x \\ & =\frac{1}{2} \int \frac{(\sin x+\cos x)+(\sin x-\cos x)}{(\sin x+\cos x)} d x \\ & =\frac{1}{2} \int 1 d x+\frac{1}{2} \int \frac{\sin x-\cos x}{\sin x+\cos x} d x \\ & =\frac{1}{2}(x)+\frac{1}{2} \int \frac{\sin x-\cos x}{\sin x+\cos x} d x \end{aligned} $

Let $\sin x+\cos x=t \Rightarrow(\cos x-\sin x) d x=d t$

$ \begin{aligned} \therefore I & =\frac{x}{2}+\frac{1}{2} \int \frac{-(d t)}{t} \\ & =\frac{x}{2}-\frac{1}{2} \log |t|+C \\ & =\frac{x}{2}-\frac{1}{2} \log |\sin x+\cos x|+C \end{aligned} $

33. $\frac{1}{1-\tan x}$

Solution

$ \text{ Let } \begin{aligned} I & =\int \frac{1}{1-\tan x} d x \\ & =\int \frac{1}{1-\frac{\sin x}{\cos x}} d x \\ & =\int \frac{\cos x}{\cos x-\sin x} d x \\ & =\frac{1}{2} \int \frac{2 \cos x}{\cos x-\sin x} d x \\ & =\frac{1}{2} \int \frac{(\cos x-\sin x)+(\cos x+\sin x)}{(\cos x-\sin x)} d x \\ & =\frac{1}{2} \int 1 d x+\frac{1}{2} \int \frac{\cos x+\sin x}{\cos x-\sin x} d x \\ & =\frac{x}{2}+\frac{1}{2} \int \frac{\cos x+\sin x}{\cos x-\sin x} d x \end{aligned} $

Put $\cos x-\sin x=t \Rightarrow(-\sin x-\cos x) d x=d t$

$ \begin{aligned} \therefore I & =\frac{x}{2}+\frac{1}{2} \int \frac{-(d t)}{t} \\ & =\frac{x}{2}-\frac{1}{2} \log |t|+C \\ & =\frac{x}{2}-\frac{1}{2} \log |\cos x-\sin x|+C \end{aligned} $

34. $\frac{\sqrt{\tan x}}{\sin x \cos x}$

Solution

$ \text{ Let } \begin{aligned} I & =\int \frac{\sqrt{\tan x}}{\sin x \cos x} d x \\ & =\int \frac{\sqrt{\tan x} \times \cos x}{\sin x \cos x \times \cos x} d x \\ & =\int \frac{\sqrt{\tan x}}{\tan x \cos ^{2} x} d x \\ & =\int \frac{\sec ^{2} x d x}{\sqrt{\tan x}} \end{aligned} $

Let $\tan x=t \Rightarrow \sec ^{2} x d x=d t$

$ \begin{aligned} \therefore I & =\int \frac{d t}{\sqrt{t}} \\ & =2 \sqrt{t}+C \\ & =2 \sqrt{\tan x}+C \end{aligned} $

35. $\frac{(1+\log x)^{2}}{x}$

Solution

$\frac{(x+1)(x+\log x)^{2}}{x}=(\frac{x+1}{x})(x+\log x)^{2}=(1+\frac{1}{x})(x+\log x)^{2}$

Let $(x+\log x)=t$

$\therefore(1+\frac{1}{x}) d x=d t$

$\Rightarrow \int(1+\frac{1}{x})(x+\log x)^{2} d x=\int t^{2} d t$

$ \begin{aligned} & =\frac{t^{3}}{3}+C \\ & =\frac{1}{3}(x+\log x)^{3}+C \end{aligned} $

36. $\frac{(x+1)(x+\log x)^{2}}{x}$

Solution

$\frac{(x+1)(x+\log x)^{2}}{x}=(\frac{x+1}{x})(x+\log x)^{2}=(1+\frac{1}{x})(x+\log x)^{2}$

Let $(x+\log x)=t$

$\therefore(1+\frac{1}{x}) d x=d t$

$\Rightarrow \int(1+\frac{1}{x})(x+\log x)^{2} d x=\int t^{2} d t$

$ \begin{aligned} & =\frac{t^{3}}{3}+C \\ & =\frac{1}{3}(x+\log x)^{3}+C \end{aligned} $

37. $\frac{x^{3} \sin (\tan ^{-1} x^{4})}{1+x^{8}}$

Solution

Let $x^{4}=t$

$\therefore 4 x^{3} d x=d t$ $\Rightarrow \int \frac{x^{3} \sin (\tan ^{-1} x^{4})}{1+x^{8}} d x=\frac{1}{4} \int \frac{\sin (\tan ^{-1} t)}{1+t^{2}} d t$

Let $\tan ^{-1} t=u$

$\therefore \frac{1}{1+t^{2}} d t=d u$

From (1), we obtain

$ \begin{aligned} & \begin{aligned} & \int \frac{x^{3} \sin (\tan ^{-1} x^{4}) d x}{1+x^{8}}=\frac{1}{4} \int \sin u d u \\ &=\frac{1}{4}(-\cos u)+C \\ &=\frac{-1}{4} \cos (\tan ^{-1} t)+C \\ &= \frac{-1}{4} \cos (\tan ^{-1} x^{4})+C \end{aligned} \end{aligned} $

Choose the correct answer in Exercises 38 and 39.

38. $\int \frac{10 x^{9}+10^{x} \log _{e} 10 d x}{x^{10}+10^{x}}$ equals

(A) $10^{x}-x^{10}+C$

(B) $10^{x}+x^{10}+C$

(C) $(10^{x}-x^{10})^{-1}+C$

(D) $\log (10^{x}+x^{10})+C$

Solution

Let $x^{10}+10^{x}=t$

$\therefore(10 x^{9}+10^{x} \log _{e} 10) d x=d t$ $\Rightarrow \int \frac{10 x^{9}+10^{x} \log _{e} 10}{x^{10}+10^{x}} d x=\int \frac{d t}{t}$

$=\log t+C$

$=\log (10^{x}+x^{10})+C$

Hence, the correct Answer is D.

39. $\int \frac{d x}{\sin ^{2} x \cos ^{2} x}$ equals

(A) $\tan x+\cot x+C$

(B) $\tan x-\cot x+C$

(C) $\tan x \cot x+C$

(D) $\tan x-\cot 2 x+C$

Solution

Let $I=\int \frac{d x}{\sin ^{2} x \cos ^{2} x}$

$=\int \frac{1}{\sin ^{2} x \cos ^{2} x} d x$

$=\int \frac{\sin ^{2} x+\cos ^{2} x}{\sin ^{2} x \cos ^{2} x} d x$

$=\int \frac{\sin ^{2} x}{\sin ^{2} x \cos ^{2} x} d x+\int \frac{\cos ^{2} x}{\sin ^{2} x \cos ^{2} x} d x$

$=\int \sec ^{2} x d x+\int cosec^{2} x d x$

$=\tan x-\cot x+C$

Hence, the correct Answer is B.

Integration using trigonometric identities

When the integrand involves some trigonometric functions, we use some known identities to find the integral as illustrated through the following example. Example 7 Find (i) $\int \cos ^{2} x d x$ (ii) $\int \sin 2 x \cos 3 x d x$ (iii) $\int \sin ^{3} x d x$

Solution

(i) Recall the identity $\cos 2 x=2 \cos ^{2} x-1$, which gives

$ \cos ^{2} x=\frac{1+\cos 2 x}{2} $

Therefore, $\quad \int \cos ^{2} x d x=\frac{1}{2} \int(1+\cos 2 x) d x=\frac{1}{2} \int d x+\frac{1}{2} \int \cos 2 x d x$

$ =\frac{x}{2}+\frac{1}{4} \sin 2 x+C $

(ii) Recall the identity $\sin x \cos y=\frac{1}{2}[\sin (x+y)+\sin (x-y)]$

Then $\int \sin 2 x \cos 3 x d x=\frac{1}{2}[\int \sin 5 x d x-\int \sin x d x]$

$ \begin{aligned} & =\frac{1}{2}[-\frac{1}{5} \cos 5 x+\cos x]+C \\ & =-\frac{1}{10} \cos 5 x+\frac{1}{2} \cos x+C \end{aligned} $

(iii) From the identity $\sin 3 x=3 \sin x-4 \sin ^{3} x$, we find that

$ \sin ^{3} x=\frac{3 \sin x-\sin 3 x}{4} $

Therefore, $\quad \int \sin ^{3} x d x=\frac{3}{4} \int \sin x d x-\frac{1}{4} \int \sin 3 x d x$

$ =-\frac{3}{4} \cos x+\frac{1}{12} \cos 3 x+C $

Alternatively, $\int \sin ^{3} x d x=\int \sin ^{2} x \sin x d x=\int(1-\cos ^{2} x) \sin x d x$

Put $\cos x=t$ so that $-\sin x d x=d t$

Therefore, $\quad \int \sin ^{3} x d x=-\int(1-t^{2}) d t=-\int d t+\int t^{2} d t=-t+\frac{t^{3}}{3}+C$

$ =-\cos x+\frac{1}{3} \cos ^{3} x+C $

Remark It can be shown using trigonometric identities that both answers are equivalent.

EXERCISE 7.3

Find the integrals of the functions in Exercises 1 to 22:

1. $\sin ^{2}(2 x+5)$

Solution

$ \begin{aligned} & \sin ^{2}(2 x+5)=\frac{1-\cos 2(2 x+5)}{2}=\frac{1-\cos (4 x+10)}{2} \\ & \Rightarrow \int \sin ^{2}(2 x+5) d x=\int \frac{1-\cos (4 x+10)}{2} d x \\ & =\frac{1}{2} \int 1 d x-\frac{1}{2} \int \cos (4 x+10) d x \\ & =\frac{1}{2} x-\frac{1}{2}(\frac{\sin (4 x+10)}{4})+C \\ & =\frac{1}{2} x-\frac{1}{8} \sin (4 x+10)+C \end{aligned} $

2. $\sin 3 x \cos 4 x$

Solution

It is known that, $\sin A \cos B=\frac{1}{2}{\sin (A+B)+\sin (A-B)}$

$\therefore \int \sin 3 x \cos 4 x d x=\frac{1}{2} \int{\sin (3 x+4 x)+\sin (3 x-4 x)} d x$

$ =\frac{1}{2} \int{\sin 7 x+\sin (-x)} d x $

$ \begin{aligned} & =\frac{1}{2} \int{\sin 7 x-\sin x} d x \\ & =\frac{1}{2} \int \sin 7 x d x-\frac{1}{2} \int \sin x d x \\ & =\frac{1}{2}(\frac{-\cos 7 x}{7})-\frac{1}{2}(-\cos x)+C \\ & =\frac{-\cos 7 x}{14}+\frac{\cos x}{2}+C \end{aligned} $

3. $\cos 2 x \cos 4 x \cos 6 x$

Solution

It is known that, $\cos A \cos B=\frac{1}{2}{\cos (A+B)+\cos (A-B)}$

$ \begin{aligned} \therefore \int \cos 2 x(\cos 4 x \cos 6 x) d x & =\int \cos 2 x[\frac{1}{2}{\cos (4 x+6 x)+\cos (4 x-6 x)}] d x \\ & =\frac{1}{2} \int{\cos 2 x \cos 10 x+\cos 2 x \cos (-2 x)} d x \\ & =\frac{1}{2} \int{\cos 2 x \cos 10 x+\cos ^{2} 2 x} d x \\ & =\frac{1}{2} \int[{\frac{1}{2} \cos (2 x+10 x)+\cos (2 x-10 x)}+(\frac{1+\cos 4 x}{2})] d x \\ & =\frac{1}{4} \int(\cos 12 x+\cos 8 x+1+\cos 4 x) d x \\ & =\frac{1}{4}[\frac{\sin 12 x}{12}+\frac{\sin 8 x}{8}+x+\frac{\sin 4 x}{4}]+C \end{aligned} $

4. $\sin ^{3}(2 x+1)$

Solution

$ \begin{aligned} & \text{ Let } I=\int \sin ^{3}(2 x+1) \\ & \Rightarrow \int \sin ^{3}(2 x+1) d x=\int \sin ^{2}(2 x+1) \cdot \sin (2 x+1) d x \\ & =\int(1-\cos ^{2}(2 x+1)) \sin (2 x+1) d x \end{aligned} $

Let $\cos (2 x+1)=t$

$\Rightarrow-2 \sin (2 x+1) d x=d t$

$\Rightarrow \sin (2 x+1) d x=\frac{-d t}{2}$

$ \begin{aligned} \Rightarrow I & =\frac{-1}{2} \int(1-t^{2}) d t \\ & =\frac{-1}{2}{t-\frac{t^{3}}{3}} \\ & =\frac{-1}{2}{\cos (2 x+1)-\frac{\cos ^{3}(2 x+1)}{3}} \\ & =\frac{-\cos (2 x+1)}{2}+\frac{\cos ^{3}(2 x+1)}{6}+C \end{aligned} $

5. $\sin ^{3} x \cos ^{3} x$

Solution

$ \text{ Let } \begin{aligned} I & =\int \sin ^{3} x \cos ^{3} x \cdot d x \\ & =\int \cos ^{3} x \cdot \sin ^{2} x \cdot \sin x \cdot d x \\ & =\int \cos ^{3} x(1-\cos ^{2} x) \sin x \cdot d x \end{aligned} $

Let $\cos x=t$

$ \begin{aligned} \Rightarrow & -\sin x \cdot d x=d t \\ \Rightarrow I & =-\int t^{3}(1-t^{2}) d t \\ & =-\int(t^{3}-t^{5}) d t \\ & =-{\frac{t^{4}}{4}-\frac{t^{6}}{6}}+C \\ & =-{\frac{\cos ^{4} x}{4}-\frac{\cos ^{6} x}{6}}+C \\ & =\frac{\cos ^{6} x}{6}-\frac{\cos ^{4} x}{4}+C \end{aligned} $

6. $\sin x \sin 2 x \sin 3 x$

Solution

It is known that, $\sin A \sin B=\frac{1}{2}{\cos (A-B)-\cos (A+B)}$

$\therefore \int \sin x \sin 2 x \sin 3 x d x=\int[\sin x \cdot \frac{1}{2}{\cos (2 x-3 x)-\cos (2 x+3 x)}] d x$

$=\frac{1}{2} \int(\sin x \cos (-x)-\sin x \cos 5 x) d x$

$=\frac{1}{2} \int(\sin x \cos x-\sin x \cos 5 x) d x$

$=\frac{1}{2} \int \frac{\sin 2 x}{2} d x-\frac{1}{2} \int \sin x \cos 5 x d x$

$=\frac{1}{4}[\frac{-\cos 2 x}{2}]-\frac{1}{2} \int{\frac{1}{2} \sin (x+5 x)+\sin (x-5 x)} d x$

$=\frac{-\cos 2 x}{8}-\frac{1}{4} \int(\sin 6 x+\sin (-4 x)) d x$

$=\frac{-\cos 2 x}{8}-\frac{1}{4}[\frac{-\cos 6 x}{3}+\frac{\cos 4 x}{4}]+C$

$=\frac{-\cos 2 x}{8}-\frac{1}{8}[\frac{-\cos 6 x}{3}+\frac{\cos 4 x}{2}]+C$

$=\frac{1}{8}[\frac{\cos 6 x}{3}-\frac{\cos 4 x}{2}-\cos 2 x]+C$

7. $\sin 4 x \sin 8 x$

Solution

It is known that, $\sin A \sin B=\frac{1}{2} \cos (A-B)-\cos (A+B)$ $\therefore \int \sin 4 x \sin 8 x d x=\int{\frac{1}{2} \cos (4 x-8 x)-\cos (4 x+8 x)} d x$

$ \begin{aligned} & =\frac{1}{2} \int(\cos (-4 x)-\cos 12 x) d x \\ & =\frac{1}{2} \int(\cos 4 x-\cos 12 x) d x \\ & =\frac{1}{2}[\frac{\sin 4 x}{4}-\frac{\sin 12 x}{12}] \end{aligned} $

8. $\frac{1-\cos x}{1+\cos x}$

Solution

$ \begin{aligned} & \frac{1-\cos x}{1+\cos x}=\frac{2 \sin ^{2} \frac{x}{2}}{2 \cos ^{2} x} \\ & {[2 \sin ^{2} \frac{x}{2}=1-\cos x \text{ and } 2 \cos ^{2} \frac{x}{2}=1+\cos x]} \\ & =\tan ^{2} \frac{x}{2} \\ & =(\sec ^{2} \frac{x}{2}-1) \\ & \therefore \int \frac{1-\cos x}{1+\cos x} d x=\int(\sec ^{2} \frac{x}{2}-1) d x \\ & =[\frac{\tan \frac{x}{2}}{1}-x]+C \\ & =2 \tan \frac{x}{2}-x+C \end{aligned} $

9. $\frac{\cos x}{1+\cos x}$

Solution

$ \begin{aligned} & \frac{\cos x}{1+\cos x}=\frac{\cos ^{2} \frac{x}{2}-\sin ^{2} \frac{x}{2}}{2 \cos ^{2} \frac{x}{2}} \quad[\cos x=\cos ^{2} \frac{x}{2}-\sin ^{2} \frac{x}{2} \text{ and } \cos x=2 \cos ^{2} \frac{x}{2}-1] \\ & =\frac{1}{2}[1-\tan ^{2} \frac{x}{2}] \\ & \begin{aligned} \therefore \int \frac{\cos x}{1+\cos x} d x & =\frac{1}{2} \int(1-\tan ^{2} \frac{x}{2}) d x \\ & =\frac{1}{2} \int(1-\sec ^{2} \frac{x}{2}+1) d x \\ & =\frac{1}{2} \int(2-\sec ^{2} \frac{x}{2}) d x \\ & =\frac{1}{2}[2 x-\frac{\tan ^{2}}{2}]+C \\ & =x-\tan \frac{x}{2}+C \end{aligned} \end{aligned} $

10. $\sin ^{4} x$

Solution

$ \begin{aligned} & \sin ^{4} x=\sin ^{2} x \sin ^{2} x \\ & =(\frac{1-\cos 2 x}{2})(\frac{1-\cos 2 x}{2}) \\ & =\frac{1}{4}(1-\cos 2 x)^{2} \\ & =\frac{1}{4}[1+\cos ^{2} 2 x-2 \cos 2 x] \\ & =\frac{1}{4}[1+(\frac{1+\cos 4 x}{2})-2 \cos 2 x] \\ & =\frac{1}{4}[1+\frac{1}{2}+\frac{1}{2} \cos 4 x-2 \cos 2 x] \\ & =\frac{1}{4}[\frac{3}{2}+\frac{1}{2} \cos 4 x-2 \cos 2 x] \\ & \therefore \int \sin ^{4} x d x=\frac{1}{4} \int[\frac{3}{2}+\frac{1}{2} \cos 4 x-2 \cos 2 x] d x \\ & =\frac{1}{4}[\frac{3}{2} x+\frac{1}{2}(\frac{\sin 4 x}{4})-\frac{2 \sin 2 x}{2}]+C \\ & =\frac{1}{8}[3 x+\frac{\sin 4 x}{4}-2 \sin 2 x]+C \\ & =\frac{3 x}{8}-\frac{1}{4} \sin 2 x+\frac{1}{32} \sin 4 x+C \end{aligned} $

11. $\cos ^{4} 2 x$

Solution

$ \begin{aligned} \cos ^{4} 2 x & =(\cos ^{2} 2 x)^{2} \\ & =(\frac{1+\cos 4 x}{2})^{2} \\ & =\frac{1}{4}[1+\cos ^{2} 4 x+2 \cos 4 x] \\ & =\frac{1}{4}[1+(\frac{1+\cos 8 x}{2})+2 \cos 4 x] \\ & =\frac{1}{4}[1+\frac{1}{2}+\frac{\cos 8 x}{2}+2 \cos 4 x] \\ & =\frac{1}{4}[\frac{3}{2}+\frac{\cos 8 x}{2}+2 \cos 4 x] \end{aligned} $

$ \begin{aligned} \therefore \int \cos ^{4} 2 x d x & =\int(\frac{3}{8}+\frac{\cos 8 x}{8}+\frac{\cos 4 x}{2}) d x \\ & =\frac{3}{8} x+\frac{\sin 8 x}{64}+\frac{\sin 4 x}{8}+C \end{aligned} $

12. $\frac{\sin ^{2} x}{1+\cos x}$

Solution

$ \begin{aligned} \frac{\sin ^{2} x}{1+\cos x} & =\frac{(2 \sin \frac{x}{2} \cos \frac{x}{2})^{2}}{2 \cos ^{2} \frac{x}{2}}[\sin x=2 \sin \frac{x}{2} \cos \frac{x}{2} ; \cos x=2 \cos ^{2} \frac{x}{2}-1] \\ & =\frac{4 \sin ^{2} \frac{x}{2} \cos ^{2} \frac{x}{2}}{2 \cos ^{2} \frac{x}{2}} \\ & =2 \sin ^{2} \frac{x}{2} \\ & =1-\cos ^{2} x \\ \therefore \int \frac{\sin ^{2} x}{1+\cos x} d x & =\int(1-\cos x) d x \\ & =x-\sin x+C \end{aligned} $

13. $\frac{\cos 2 x-\cos 2 \alpha}{\cos x-\cos \alpha}$

Solution

$ \begin{aligned} & \frac{\cos 2 x-\cos 2 \alpha}{\cos x-\cos \alpha}=\frac{-2 \sin \frac{2 x+2 \alpha}{2} \sin \frac{2 x-2 \alpha}{2}}{-2 \sin \frac{x+\alpha}{2} \sin \frac{x-\alpha}{2}} \quad[\cos C-\cos D=-2 \sin \frac{C+D}{2} \sin \frac{C-D}{2}] \\ &=\frac{\sin (x+\alpha) \sin (x-\alpha)}{\sin (\frac{x+\alpha}{2}) \sin (\frac{x-\alpha}{2})} \\ &=\frac{[2 \sin (\frac{x+\alpha}{2}) \cos (\frac{x+\alpha}{2})][2 \sin (\frac{x-\alpha}{2}) \cos (\frac{x-\alpha}{2})]}{\sin (\frac{x+\alpha}{2}) \sin (\frac{x-\alpha}{2})} \\ &=4 \cos (\frac{x+\alpha}{2}) \cos (\frac{x-\alpha}{2}) \\ &=2[\cos (\frac{x+\alpha}{2}+\frac{x-\alpha}{2})+\cos \frac{x+\alpha}{2}-\frac{x-\alpha}{2}] \\ &=2[\cos (x)+\cos \alpha] \\ &=2 \cos x+2 \cos \alpha \\ & \therefore \int \frac{\cos 2 x-\cos 2 \alpha}{\cos x-\cos \alpha} d x=\int 2 \cos x+2 \cos \alpha \\ &=2[\sin x+x \cos \alpha]+C \end{aligned} $

14. $\frac{\cos x-\sin x}{1+\sin 2 x}$

Solution

$ \begin{aligned} \frac{\cos x-\sin x}{1+\sin 2 x} & =\frac{\cos x-\sin x}{(\sin ^{2} x+\cos ^{2} x)+2 \sin x \cos x} \\ & =\frac{\cos x-\sin x}{.(\sin x+\cos x)^{2} x+\cos ^{2} x=1 ; \sin 2 x=2 \sin x \cos x]} \end{aligned} $

Let $\sin x+\cos x=t$

$\therefore(\cos x-\sin x) d x=d t$

$\Rightarrow \int \frac{\cos x-\sin x}{1+\sin 2 x} d x=\int \frac{\cos x-\sin x}{(\sin x+\cos x)^{2}} d x$

$ =\int \frac{d t}{t^{2}} $

$ \begin{aligned} & =\int t^{-2} d t \\ & =-t^{-1}+C \\ & =-\frac{1}{t}+C \\ & =\frac{-1}{\sin x+\cos x}+C \end{aligned} $

15. $\tan ^{3} 2 x \sec 2 x$

Solution

$ \begin{aligned} & \tan ^{3} 2 x \sec 2 x=\tan ^{2} 2 x \tan 2 x \sec 2 x \\ & =(\sec ^{2} 2 x-1) \tan 2 x \sec 2 x \\ & =\sec ^{2} 2 x \cdot \tan 2 x \sec 2 x-\tan 2 x \sec 2 x \\ & \therefore \int \tan ^{3} 2 x \sec 2 x d x=\int \sec ^{2} 2 x \tan 2 x \sec 2 x d x-\int \tan 2 x \sec 2 x d x \\ & =\int \sec ^{2} 2 x \tan 2 x \sec 2 x d x-\frac{\sec 2 x}{2}+C \end{aligned} $

Let $\sec 2 x=t$

$\therefore 2 \sec 2 x \tan 2 x d x=d t$

$ \begin{aligned} \therefore \int \tan ^{3} 2 x \sec 2 x d x & =\frac{1}{2} \int t^{2} d t-\frac{\sec 2 x}{2}+C \\ & =\frac{t^{3}}{6}-\frac{\sec 2 x}{2}+C \\ & =\frac{(\sec 2 x)^{3}}{6}-\frac{\sec 2 x}{2}+C \end{aligned} $

16. $\tan ^{4} x$

Solution

$\tan ^{4} x$

$=\tan ^{2} x \cdot \tan ^{2} x$

$=(\sec ^{2} x-1) \tan ^{2} x$

$=\sec ^{2} x \tan ^{2} x-\tan ^{2} x$

$=\sec ^{2} x \tan ^{2} x-(\sec ^{2} x-1)$

$=\sec ^{2} x \tan ^{2} x-\sec ^{2} x+1$

$\therefore \int \tan ^{4} x d x=\int \sec ^{2} x \tan ^{2} x d x-\int \sec ^{2} x d x+\int 1 \cdot d x$

$=\int \sec ^{2} x \tan ^{2} x d x-\tan x+x+C$

Consider $\int \sec ^{2} x \tan ^{2} x d x$

Let $\tan x=t \Rightarrow \sec ^{2} x d x=d t$

$\Rightarrow \int \sec ^{2} x \tan ^{2} x d x=\int t^{2} d t=\frac{t^{3}}{3}=\frac{\tan ^{3} x}{3}$

From equation (1), we obtain

$\int \tan ^{4} x d x=\frac{1}{3} \tan ^{3} x-\tan x+x+C$

17. $\frac{\sin ^{3} x+\cos ^{3} x}{\sin ^{2} x \cos ^{2} x}$

Solution

$ \begin{aligned} & \frac{\sin ^{3} x+\cos ^{3} x}{\sin ^{2} x \cos ^{2} x}=\frac{\sin ^{3} x}{\sin ^{2} x \cos ^{2} x}+\frac{\cos ^{3} x}{\sin ^{2} x \cos ^{2} x} \\ & =\frac{\sin x}{\cos ^{2} x}+\frac{\cos x}{\sin ^{2} x} \\ & =\tan x \sec x+\cot x cosec x \\ & \therefore \quad \int \frac{\sin ^{3} x+\cos ^{3} x}{\sin ^{2} x \cos ^{2} x} d x=\int(\tan x \sec x+\cot x cosec x) d x \\ & =\sec x-cosec x+C \end{aligned} $

18. $\frac{\cos 2 x+2 \sin ^{2} x}{\cos ^{2} x}$

Solution

$ \begin{aligned} & \frac{\cos 2 x+2 \sin ^{2} x}{\cos ^{2} x} \\ & =\frac{\cos 2 x+(1-\cos 2 x)}{\cos ^{2} x} \quad[\cos 2 x=1-2 \sin ^{2} x] \\ & =\frac{1}{\cos ^{2} x} \\ & =\sec ^{2} x \\ & \therefore \int \frac{\cos 2 x+2 \sin ^{2} x}{\cos ^{2} x} d x=\int \sec ^{2} x d x=\tan x+C \end{aligned} $

19. $\frac{1}{\sin x \cos ^{3} x}$

Solution

$ \begin{aligned} \frac{1}{\sin x \cos ^{3} x} & =\frac{\sin ^{2} x+\cos ^{2} x}{\sin x \cos ^{3} x} \\ & =\frac{\sin x}{\cos ^{3} x}+\frac{1}{\sin x \cos x} \\ & =\tan x \sec ^{2} x+\frac{1 \cos ^{2} x}{\frac{\sin x \cos x}{\cos ^{2} x}} \\ & =\tan x \sec ^{2} x+\frac{\sec ^{2} x}{\tan x} \end{aligned} $

$\therefore \int \frac{1}{\sin x \cos ^{3} x} d x=\int \tan x \sec ^{2} x d x+\int \frac{\sec ^{2} x}{\tan x} d x$

Let $\tan x=t \Rightarrow \sec ^{2} x d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{1}{\sin x \cos ^{3} x} d x & =\int t d t+\int_t^{1} d t \\ & =\frac{t^{2}}{2}+\log |t|+C \\ & =\frac{1}{2} \tan ^{2} x+\log |\tan x|+C \end{aligned} $

20. $\frac{\cos 2 x}{(\cos x+\sin x)^{2}} \quad$

Solution

$\begin{aligned} & \frac{\cos 2 \mathrm{x}}{(\cos \mathrm{x}+\sin \mathrm{x})^2}=\frac{\cos 2 \mathrm{x}}{\cos ^2 \mathrm{x}+\sin ^2 \mathrm{x}+2 \sin \mathrm{x} \cos \mathrm{x}}=\frac{\cos 2 \mathrm{x}}{1+\sin 2 \mathrm{x}} \\ & \therefore \int \frac{\cos 2 \mathrm{x}}{(\cos \mathrm{x}+\sin \mathrm{x})^2} \mathrm{dx}=\int \frac{\cos 2 \mathrm{x}}{(1+\sin 2 \mathrm{x})} \mathrm{dx} \end{aligned}$

Let $1+\sin 2 x=t \Rightarrow 2 \cos 2 x d x=d t$

$\begin{aligned} & \therefore \int \frac{\cos 2 x}{(\cos x+\sin x)^2} d x=\frac{1}{2} \int \frac{1}{t} d t \\ & =\frac{1}{2} \log |t|+C \\ & =\frac{1}{2} \log |1+\sin 2 x|+C \\ & =\frac{1}{2} \log \left|(\sin x+\cos x)^2\right|+C \\ & =\log |\sin x+\cos x|+C \\ \end{aligned}$

21. $\cdot \sin ^{-1}(\cos x)$

Solution

$\sin ^{-1}(\cos x)$

Let $\cos x=t$

Then, $\sin x=\sqrt{1-t^{2}}$ $\Rightarrow(-\sin x) d x=d t$

$d x=\frac{-d t}{\sin x}$

$d x=\frac{-d t}{\sqrt{1-t^{2}}}$

$\therefore \int \sin ^{-1}(\cos x) d x=\int \sin ^{-1} t(\frac{-d t}{\sqrt{1-t^{2}}})$

$=-\int \frac{\sin ^{-1} t}{\sqrt{1-t^{2}}} d t$

Let $\sin ^{-1} t=u$

$\Rightarrow \frac{1}{\sqrt{1-t^{2}}} d t=d u$

$\therefore \int \sin ^{-1}(\cos x) d x=\int 4 d u$

$$ \begin{align*} & =-\frac{u^{2}}{2}+C \\ & =\frac{-(\sin ^{1} t)^{2}}{2}+C \\ & =\frac{-[\sin ^{-1}(\cos x)]^{2}}{2}+C \tag{1} \end{align*} $$

It is known that,

$ \begin{aligned} & \sin ^{-1} x+\cos ^{-1} x=\frac{\pi}{2} \\ & \therefore \sin ^{-1}(\cos x)=\frac{\pi}{2}-\cos ^{-1}(\cos x)=(\frac{\pi}{2}-x) \end{aligned} $

Substituting in equation (1), we obtain

$ \begin{aligned} \int \sin ^{-1}(\cos x) d x & =\frac{-[\frac{\pi}{2}-x]^{2}}{2}+C \\ & =-\frac{1}{2}(\frac{\pi^{2}}{2}+x^{2}-\pi x)+C \\ & =-\frac{\pi^{2}}{8}-\frac{x^{2}}{2}+\frac{1}{2} \pi x+C \\ & =\frac{\pi x}{2}-\frac{x^{2}}{2}+(C-\frac{\pi^{2}}{8}) \\ & =\frac{\pi x}{2}-\frac{x^{2}}{2}+C_1 \end{aligned} $

22. $\frac{1}{\cos (x-a) \cos (x-b)}$

Solution

$ \begin{aligned} \frac{1}{\cos (x-a) \cos (x-b)} & =\frac{1}{\sin (a-b)}[\frac{\sin (a-b)}{\cos (x-a) \cos (x-b)}] \\ & =\frac{1}{\sin (a-b)}[\frac{\sin [(x-b)-(x-a)]}{\cos (x-a) \cos (x-b)}] \\ & =\frac{1}{\sin (a-b)} \frac{[\sin (x-b) \cos (x-a)-\cos (x-b) \sin (x-a)]}{\cos (x-a) \cos (x-b)} \\ & =\frac{1}{\sin (a-b)}[\tan (x-b)-\tan (x-a)] \\ \Rightarrow \int \frac{1}{\cos (x-a) \cos (x-b)} d x & =\frac{1}{\sin (a-b)} \int[\tan (x-b)-\tan (x-a)] d x \\ & =\frac{1}{\sin (a-b)}[-\log |\cos (x-b)|+\log |\cos (x-a)|] \\ & =\frac{1}{\sin (a-b)}[\log |\frac{\cos (x-a)}{\cos (x-b)}|]+C \end{aligned} $

Choose the correct answer in Exercises 23 and 24.

23. $\int \frac{\sin ^{2} x-\cos ^{2} x}{\sin ^{2} x \cos ^{2} x} d x$ is equal to

(A) $\tan x+\cot x+C$

(B) $\tan x+cosec x+C$

(C) $-\tan x+\cot x+C$

(D) $\tan x+\sec x+C$

Solution

$ \begin{aligned} \int \frac{\sin ^{2} x-\cos ^{2} x}{\sin ^{2} x \cos ^{2} x} d x & =\int(\frac{\sin ^{2} x}{\sin ^{2} x \cos ^{2} x}-\frac{\cos ^{2} x}{\sin ^{2} x \cos ^{2} x}) d x \\ & =\int(\sec ^{2} x-cosec^{2} x) d x \\ & =\tan x+\cot x+C \end{aligned} $

Hence, the correct Answer is A.

24. $\int \frac{e^{x}(1+x)}{\cos ^{2}(e^{x} x)} d x$ equals

(A) $-\cot (e x^{x})+C$

(B) $\tan (x e^{x})+C$

(C) $\tan (e^{x})+C$

(D) $\cot (e^{x})+C$

Solution

$\int \frac{e^{x}(1+x)}{\cos ^{2}(e^{x} x)} d x$

Let $e x^{x}=t$

$ \begin{aligned} & \Rightarrow(e^{x} \cdot x+e^{x} \cdot 1) d x=d t \\ & e^{x}(x+1) d x=d t \\ & \begin{aligned} \therefore \int \frac{e^{x}(1+x)}{\cos ^{2}(e^{x} x)} d x & =\int \frac{d t}{\cos ^{2} t} \\ & =\int \sec ^{2} t d t \\ & =\tan t+C \\ & =\tan (e^{x} \cdot x)+C \end{aligned} \end{aligned} $

Hence, the correct Answer is B.

Integrals of Some Particular Functions

In this section, we mention below some important formulae of integrals and apply them for integrating many other related standard integrals:

(1) $\int \frac{d x}{x^{2}-a^{2}}=\frac{1}{2 a} \log |\frac{x-a}{x+a}|+C$

(2) $\int \frac{d x}{a^{2}-x^{2}}=\frac{1}{2 a} \log |\frac{a+x}{a-x}|+C$

(3) $\int \frac{d x}{x^{2}+a^{2}}=\frac{1}{a} \tan ^{-1} \frac{x}{a}+C$

(4) $\int \frac{d x}{\sqrt{x^{2}-a^{2}}}=\log |x+\sqrt{x^{2}-a^{2}}|+C$

(5) $\int \frac{d x}{\sqrt{a^{2}-x^{2}}}=\sin ^{-1} \frac{x}{a}+C$

(6) $\int \frac{d x}{\sqrt{x^{2}+a^{2}}}=\log |x+\sqrt{x^{2}+a^{2}}|+C$

We now prove the above results:

(1) We have $\frac{1}{x^{2}-a^{2}}=\frac{1}{(x-a)(x+a)}$

$ =\frac{1}{2 a}[\frac{(x+a)-(x-a)}{(x-a)(x+a)}]=\frac{1}{2 a}[\frac{1}{x-a}-\frac{1}{x+a}] $

Therefore, $\int \frac{d x}{x^{2}-a^{2}}=\frac{1}{2 a}[\int \frac{d x}{x-a}-\int \frac{d x}{x+a}]$

$ \begin{aligned} & =\frac{1}{2 a}[\log |(x-a)|-\log |(x+a)|]+C \\ & =\frac{1}{2 a} \log |\frac{x-a}{x+a}|+C \end{aligned} $

(2) In view of (1) above, we have

$ \frac{1}{a^{2}-x^{2}}=\frac{1}{2 a}[\frac{(a+x)+(a-x)}{(a+x)(a-x)}]=\frac{1}{2 a}[\frac{1}{a-x}+\frac{1}{a+x}] $

Therefore, $\int \frac{d x}{a^{2}-x^{2}}=\frac{1}{2 a}[\int \frac{d x}{a-x}+\int \frac{d x}{a+x}]$

$ \begin{aligned} & =\frac{1}{2 a}[-\log |a-x|+\log |a+x|]+C \\ & =\frac{1}{2 a} \log |\frac{a+x}{a-x}|+C \end{aligned} $

Note The technique used in (1) will be explained in Section 7.5.

(3) Put $x=a \tan \theta$. Then $d x=a \sec ^{2} \theta d \theta$.

Therefore, $\quad \int \frac{d x}{x^{2}+a^{2}}=\int \frac{a \sec ^{2} \theta d \theta}{a^{2} \tan ^{2} \theta+a^{2}}$

$ =\frac{1}{a} \int d \theta=\frac{1}{a} \theta+C=\frac{1}{a} \tan ^{-1} \frac{x}{a}+C $

(4) Let $x=a \sec \theta$. Then $d x=a \sec \theta \tan \theta d \theta$.

Therefore,

$ \begin{aligned} \int \frac{d x}{\sqrt{x^{2}-a^{2}}} & =\int \frac{a \sec \theta \tan \theta d \theta}{\sqrt{a^{2} \sec ^{2} \theta-a^{2}}} \\ & =\int \sec \theta d \theta=\log |\sec \theta+\tan \theta|+C_1 \\ & =\log |\frac{x}{a}+\sqrt{\frac{x^{2}}{a^{2}}-1}|+C_1 \\ & =\log |x+\sqrt{x^{2}-a^{2}}|-\log |a|+C_1 \\ & =\log |x+\sqrt{x^{2}-a^{2}}|+C, \text{ where } C=C_1-\log |a| \end{aligned} $

(5) Let $x=a \sin \theta$. Then $d x=a \cos \theta d \theta$.

Therefore, $\bigcirc \quad \int \frac{d x}{\sqrt{a^{2}-x^{2}}}=\int \frac{a \cos \theta d \theta}{\sqrt{a^{2}-a^{2} \sin ^{2} \theta}}$

$ =\int d \theta=\theta+C=\sin ^{-1} \frac{x}{a}+C $

(6) Let $x=a \tan \theta$. Then $d x=a \sec ^{2} \theta d \theta$.

Therefore,

$ \begin{aligned} \int \frac{d x}{\sqrt{x^{2}+a^{2}}} & =\int \frac{a \sec ^{2} \theta d \theta}{\sqrt{a^{2} \tan ^{2} \theta+a^{2}}} \\ & =\int \sec \theta d \theta=\log |(\sec \theta+\tan \theta)|+C_1 \end{aligned} $

$ \begin{aligned} & =\log |\frac{x}{a}+\sqrt{\frac{x^{2}}{a^{2}}+1}|+C_1 \\ & =\log |x+\sqrt{x^{2}+a^{2}}|-\log |a|+C_1 \\ & =\log |x+\sqrt{x^{2}+a^{2}}|+C, \text{ where } C=C_1-\log |a| \end{aligned} $

Applying these standard formulae, we now obtain some more formulae which are useful from applications point of view and can be applied directly to evaluate other integrals.

(7) To find the integral $\int \frac{d x}{a x^{2}+b x+c}$, we write

$ a x^{2}+b x+c=a[x^{2}+\frac{b}{a} x+\frac{c}{a}]=a[(x+\frac{b}{2 a})^{2}+(\frac{c}{a}-\frac{b^{2}}{4 a^{2}})] $

Now, put $x+\frac{b}{2 a}=t$ so that $d x=d t$ and writing $\frac{c}{a}-\frac{b^{2}}{4 a^{2}}= \pm k^{2}$. We find the integral reduced to the form $\frac{1}{a} \int \frac{d t}{t^{2} \pm k^{2}}$ depending upon the sign of $(\frac{c}{a}-\frac{b^{2}}{4 a^{2}})$ and hence can be evaluated.

(8) To find the integral of the type $\int \frac{d x}{\sqrt{a x^{2}+b x+c}}$, proceeding as in (7), we obtain the integral using the standard formulae.

(9) To find the integral of the type $\int \frac{p x+q}{a x^{2}+b x+c} d x$, where $p, q, a, b, c$ are constants, we are to find real numbers A, B such that

$ p x+q=A \frac{d}{d x}(a x^{2}+b x+c)+B=A(2 a x+b)+B $

To determine $A$ and $B$, we equate from both sides the coefficients of $x$ and the constant terms. A and B are thus obtained and hence the integral is reduced to one of the known forms.

(10) For the evaluation of the integral of the type $\int \frac{(p x+q) d x}{\sqrt{a x^{2}+b x+c}}$, we proceed as in (9) and transform the integral into known standard forms.

Let us illustrate the above methods by some examples.

Example 8 Find the following integrals: (i) $\int \frac{d x}{x^{2}-16}$ (ii) $\int \frac{d x}{\sqrt{2 x-x^{2}}}$

Solution

(i) We have $\int \frac{d x}{x^{2}-16}=\int \frac{d x}{x^{2}-4^{2}}=\frac{1}{8} \log |\frac{x-4}{x+4}|+C \quad$ [by 7.4 (1)]

(ii) $\int \frac{d x}{\sqrt{2 x-x^{2}}}=\int \frac{d x}{\sqrt{1-(x-1)^{2}}}$

Put $x-1=t$. Then $d x=d t$.

Therefore, $\quad \int \frac{d x}{\sqrt{2 x-x^{2}}}=\int \frac{d t}{\sqrt{1-t^{2}}}=\sin ^{-1}(t)+C$

$ =\sin ^{-1}(x-1)+C $

Example 9 Find the following integrals: (i) $\int \frac{d x}{x^{2}-6 x+13}$ (ii) $\int \frac{d x}{3 x^{2}+13 x-10}$ (iii) $\int \frac{d x}{\sqrt{5 x^{2}-2 x}}$

Solution

(i) We have $x^{2}-6 x+13=x^{2}-6 x+3^{2}-3^{2}+13=(x-3)^{2}+4$

So, $\quad \int \frac{d x}{x^{2}-6 x+13}=\int \frac{1}{(x-3)^{2}+2^{2}} d x$

Let

$ x-3=t \text{. Then } d x=d t $

Therefore, $\quad \int \frac{d x}{x^{2}-6 x+13}=\int \frac{d t}{t^{2}+2^{2}}=\frac{1}{2} \tan ^{-1} \frac{t}{2}+C$

$ =\frac{1}{2} \tan ^{-1} \frac{x-3}{2}+C $ (ii) The given integral is of the form 7.4 (7). We write the denominator of the integrand,

$ \begin{aligned} 3 x^{2}+13 x-10 & =3(x^{2}+\frac{13 x}{3}-\frac{10}{3}) \\ & =3[(x+\frac{13}{6})^{2}-(\frac{17}{6})^{2}] \text{ (completing the square) } \end{aligned} $

Thus $\int \frac{d x}{3 x^{2}+13 x-10}=\frac{1}{3} \int \frac{d x}{(x+\frac{13}{6})^{2}-(\frac{17}{6})^{2}}$

Put $x+\frac{13}{6}=t$. Then $d x=d t$.

Therefore, $\int \frac{d x}{3 x^{2}+13 x-10}=\frac{1}{3} \int \frac{d t}{t^{2}-(\frac{17}{6})^{2}}$

$ \begin{aligned} & =\frac{1}{3 \times 2 \times \frac{17}{6}} \log |\frac{t-\frac{17}{6}}{t+\frac{17}{6}}|+C_1 \quad \text{ [by } 7.4 \text{ (i)}] \\ & =\frac{1}{17} \log |\frac{x+\frac{13}{6}-\frac{17}{6}}{x+\frac{13}{6}+\frac{17}{6}}|+C_1 \\ & =\frac{1}{17} \log |\frac{6 x-4}{6 x+30}|+C_1 \\ & =\frac{1}{17} \log |\frac{3 x-2}{x+5}|+C_1+\frac{1}{17} \log \frac{1}{3} \\ & =\frac{1}{17} \log |\frac{3 x-2}{x+5}|+C, \text{ where } C=C_1+\frac{1}{17} \log \frac{1}{3} \end{aligned} $ (iii) We have $\int \frac{d x}{\sqrt{5 x^{2}-2 x}}=\int \frac{d x}{\sqrt{5(x^{2}-\frac{2 x}{5})}}$

$ =\frac{1}{\sqrt{5}} \int \frac{d x}{\sqrt{(x-\frac{1}{5})^{2}-(\frac{1}{5})^{2}}} \text{ (completing the square) } $

Put $x-\frac{1}{5}=t$. Then $d x=d t$.

Therefore,

$ \begin{aligned} \int \frac{d x}{\sqrt{5 x^{2}-2 x}} & =\frac{1}{\sqrt{5}} \int \frac{d t}{\sqrt{t^{2}-(\frac{1}{5})^{2}}} \\ & =\frac{1}{\sqrt{5}} \log |t+\sqrt{t^{2}-(\frac{1}{5})^{2}}|+C \\ & =\frac{1}{\sqrt{5}} \log |x-\frac{1}{5}+\sqrt{x^{2}-\frac{2 x}{5}}|+C \end{aligned} $

Example 10 Find the following integrals: (i) $\int \frac{x+2}{2 x^{2}+6 x+5} d x$ (ii) $\int \frac{x+3}{\sqrt{5-4 x-x^{2}}} d x$

Solution

(i) Using the formula 7.4 (9), we express

$ x+2=A \frac{d}{d x}(2 x^{2}+6 x+5)+B=A(4 x+6)+B $

Equating the coefficients of $x$ and the constant terms from both sides, we get

$4 A=1$ and $6 A+B=2$ or $A=\frac{1}{4}$ and $B=\frac{1}{2}$.

Therefore, $\quad \int \frac{x+2}{2 x^{2}+6 x+5}=\frac{1}{4} \int \frac{4 x+6}{2 x^{2}+6 x+5} d x+\frac{1}{2} \int \frac{d x}{2 x^{2}+6 x+5}$

$ =\frac{1}{4} I_1+\frac{1}{2} I_2 \quad \text{ (say) } $

In $I_1$, put $2 x^{2}+6 x+5=t$, so that $(4 x+6) d x=d t$

Therefore,

$ \begin{aligned} I_1 & =\int \frac{d t}{t}=\log |t|+C_1 \\ & =\log |2 x^{2}+6 x+5|+C_1 \end{aligned} $

and

$ \begin{aligned} I_2 & =\int \frac{d x}{2 x^{2}+6 x+5}=\frac{1}{2} \int \frac{d x}{x^{2}+3 x+\frac{5}{2}} \\ & =\frac{1}{2} \int \frac{d x}{(x+\frac{3}{2})^{2}+(\frac{1}{2})^{2}} \end{aligned} $

Put $x+\frac{3}{2}=t$, so that $d x=d t$, we get

$ \begin{aligned} I_2 & =\frac{1}{2} \int \frac{d t}{t^{2}+(\frac{1}{2})^{2}}=\frac{1}{2 \times \frac{1}{2}} \tan ^{-1} 2 t+C_2 \\ & =\tan ^{-1} 2(x+\frac{3}{2})+C_2=\tan ^{-1}(2 x+3)+C_2 \end{aligned} $

Using (2) and (3) in (1), we get

$ \int \frac{x+2}{2 x^{2}+6 x+5} d x=\frac{1}{4} \log |2 x^{2}+6 x+5|+\frac{1}{2} \tan ^{-1}(2 x+3)+C $

where,

$ C=\frac{C_1}{4}+\frac{C_2}{2} $

(ii) This integral is of the form given in 7.4 (10). Let us express

$x+3=A \frac{d}{d x}(5-4 x-x^{2})+B=A(-4-2 x)+B$

Equating the coefficients of $x$ and the constant terms from both sides, we get

$-2 A=1$ and $-4 A+B=3$, i.e., $A=-\frac{1}{2}$ and $B=1$

Therefore, $\int \frac{x+3}{\sqrt{5-4 x-x^{2}}} d x=-\frac{1}{2} \int \frac{(-4-2 x) d x}{\sqrt{5-4 x-x^{2}}}+\int \frac{d x}{\sqrt{5-4 x-x^{2}}}$

$ =-\frac{1}{2} I_1+I_2 $

In $I_1$, put $5-4 x-x^{2}=t$, so that $(-4-2 x) d x=d t$.

Therefore,

$ \begin{aligned} I_1 & =\int \frac{(-4-2 x) d x}{\sqrt{5-4 x-x^{2}}}=\int \frac{d t}{\sqrt{t}}=2 \sqrt{t}+C_1 \\ & =2 \sqrt{5-4 x-x^{2}}+C_1 \end{aligned} $

Now consider

$ I_2=\int \frac{d x}{\sqrt{5-4 x-x^{2}}}=\int \frac{d x}{\sqrt{9-(x+2)^{2}}} $

Put $x+2=t$, so that $d x=d t$.

Therefore,

$ \begin{aligned} I_2 & =\int \frac{d t}{\sqrt{3^{2}-t^{2}}}=\sin ^{-1} \frac{t}{3}+C_2 \\ & =\sin ^{-1} \frac{x+2}{3}+C_2 \end{aligned} $

Substituting (2) and (3) in (1), we obtain

$ \int \frac{x+3}{\sqrt{5-4 x-x^{2}}}=-\sqrt{5-4 x-x^{2}}+\sin ^{-1} \frac{x+2}{3}+C \text{, where } C=C_2-\frac{C_1}{2} $

EXERCISE 7.4

Integrate the functions in Exercises 1 to 23.

1. $\frac{3 x^{2}}{x^{6}+1}$

Solution

Let $x^{3}=t$

$\therefore 3 x^{2} d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{3 x^{2}}{x^{6}+1} d x & =\int \frac{d t}{t^{2}+1} \\ & =\tan ^{1} t+C \\ & =\tan ^{-1}(x^{3})+C \end{aligned} $

2. $\frac{1}{\sqrt{1+4 x^{2}}}$

Solution

Let $2 x=t$

$\therefore 2 d x=d t$ $\Rightarrow \int \frac{1}{\sqrt{1+4 x^{2}}} d x=\frac{1}{2} \int \frac{d t}{\sqrt{1+t^{2}}}$

$ \begin{matrix} =\frac{1}{2}[\log |t+\sqrt{t^{2}+1}|]+C & {[\int \frac{1}{\sqrt{x^{2}+a^{2}}} d t=\log |x+\sqrt{x^{2}+a^{2}}|]} \\ =\frac{1}{2} \log |2 x+\sqrt{4 x^{2}+1}|+C & \end{matrix} $

3. $\frac{1}{\sqrt{(2-x)^{2}+1}}$

Solution

Let $2-x=t$

$\Rightarrow-d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{1}{\sqrt{(2-x)^{2}+1}} d x & =-\int \frac{1}{\sqrt{t^{2}+1}} d t \\ & =-\log |t+\sqrt{t^{2}+1}|+C \quad[\int \frac{1}{\sqrt{x^{2}+a^{2}}} d t=\log |x+\sqrt{x^{2}+a^{2}}|] \\ & =-\log |2-x+\sqrt{(2-x)^{2}+1}|+C \\ & =\log |\frac{1}{(2-x)+\sqrt{x^{2}-4 x+5}}|+C \end{aligned} $

4. $\frac{1}{\sqrt{9-25 x^{2}}}$

Solution

Let $5 x=t$ $\therefore 5 d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{1}{\sqrt{9-25 x^{2}}} d x & =\frac{1}{5} \int \frac{1}{9-t^{2}} d t \\ & =\frac{1}{5} \int \frac{1}{\sqrt{3^{2}-t^{2}}} d t \\ & =\frac{1}{5} \sin ^{-1}(\frac{t}{3})+C \\ & =\frac{1}{5} \sin ^{-1}(\frac{5 x}{3})+C \end{aligned} $

5. $\frac{3 x}{1+2 x^{4}}$

Solution

Let $\sqrt{2} x^{2}=t$

$\therefore 2 \sqrt{2} x d x=d t$

$\Rightarrow \int \frac{3 x}{1+2 x^{4}} d x=\frac{3}{2 \sqrt{2}} \int \frac{d t}{1+t^{2}}$

$ =\frac{3}{2 \sqrt{2}}[\tan ^{-1} t]+C $

$=\frac{3}{2 \sqrt{2}} \tan ^{-1}(\sqrt{2} x^{2})+C$

6. $\frac{x^{2}}{1-x^{6}}$

Solution

Let $x^{3}=t$ $\therefore 3 x^{2} d x=d t$

$$ \begin{aligned} \Rightarrow \int \frac{x^{2}}{1-x^{6}} d x & =\frac{1}{3} \int \frac{d t}{1-t^{2}} \\ & =\frac{1}{3}[\frac{1}{2} \log |\frac{1+t}{1-t}|]+C \\ & =\frac{1}{6} \log |\frac{1+x^{3}}{1-x^{3}}|+C \end{aligned} $$

7. $\frac{x-1}{\sqrt{x^{2}-1}}$

Solution

$$ \begin{equation*} \int \frac{x-1}{\sqrt{x^{2}-1}} d x=\int \frac{x}{\sqrt{x^{2}-1}} d x-\int \frac{1}{\sqrt{x^{2}-1}} d x \tag{1} \end{equation*} $$

For $\int \frac{x}{\sqrt{x^{2}-1}} d x$, let $x^{2}-1=t \Rightarrow 2 x d x=d t$

$\therefore \int \frac{x}{\sqrt{x^{2}-1}} d x=\frac{1}{2} \int \frac{d t}{\sqrt{t}}$

$=\frac{1}{2} \int t^{-\frac{1}{2}} d t$

$=\frac{1}{2}[2 t^{\frac{1}{2}}]$

$=\sqrt{t}$

$=\sqrt{x^{2}-1}$

From (1), we obtain

$ \begin{aligned} \int \frac{x-1}{\sqrt{x^{2}-1}} d x & =\int \frac{x}{\sqrt{x^{2}-1}} d x-\int \frac{1}{\sqrt{x^{2}-1}} d x \quad \quad[\int \frac{1}{\sqrt{x^{2}-a^{2}}} d t=\log |x+\sqrt{x^{2}-a^{2}}|] \\ & =\sqrt{x^{2}-1}-\log |x+\sqrt{x^{2}-1}|+C \end{aligned} $

8. $\frac{x^{2}}{\sqrt{x^{6}+a^{6}}}$

Solution

Let $x^{3}=t$

$\Rightarrow 3 x^{2} d x=d t$

$ \begin{aligned} \therefore \int \frac{x^{2}}{\sqrt{x^{6}+a^{6}}} d x & =\frac{1}{3} \int \frac{d t}{\sqrt{t^{2}+(a^{3})^{2}}} \\ & =\frac{1}{3} \log |t+\sqrt{t^{2}+a^{6}}|+C \\ & =\frac{1}{3} \log |x^{3}+\sqrt{x^{6}+a^{6}}|+C \end{aligned} $

9. $\frac{\sec ^{2} x}{\sqrt{\tan ^{2} x+4}}$

Solution

Let $\tan x=t$

$\therefore \sec ^{2} x d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{\sec ^{2} x}{\sqrt{\tan ^{2} x+4}} d x & =\int \frac{d t}{\sqrt{t^{2}+2^{2}}} \\ & =\log |t+\sqrt{t^{2}+4}|+C \\ & =\log |\tan x+\sqrt{\tan ^{2} x+4}|+C \end{aligned} $

10. $\frac{1}{\sqrt{x^{2}+2 x+2}}$

Solution

$ \int \frac{1}{\sqrt{x^{2}+2 x+2}} d x=\int \frac{1}{\sqrt{(x+1)^{2}+(1)^{2}}} d x $

Let $x+1=t$

$\therefore d x=d t$

$\Rightarrow \int \frac{1}{\sqrt{x^{2}+2 x+2}} d x=\int \frac{1}{\sqrt{t^{2}+1}} d t$

$ \begin{aligned} & =\log |t+\sqrt{t^{2}+1}|+C \\ & =\log |(x+1)+\sqrt{(x+1)^{2}+1}|+C \\ & =\log |(x+1)+\sqrt{x^{2}+2 x+2}|+C \end{aligned} $

11. $\frac{1}{9 x^{2}+6 x+5}$

Solution

$ \int \frac{1}{9 x^{2}+6 x+5} d x=\int \frac{1}{(3 x+1)^{2}+(2)^{2}} d x $

Let $(3 x+1)=t$

$\therefore 3 d x=d t$

$\Rightarrow \int \frac{1}{(3 x+1)^{2}+(2)^{2}} d x=\frac{1}{3} \int \frac{1}{t^{2}+2^{2}} d t$

$ \begin{aligned} & =\frac{1}{3}[\frac{1}{2} \tan ^{-1}(\frac{t}{2})]+C \\ & =\frac{1}{6} \tan ^{-1}(\frac{3 x+1}{2})+C \end{aligned} $

13. $\frac{1}{\sqrt{(x-1)(x-2)}}$

Solution

$(x-1)(x-2)$ can be written as $x^{2}-3 x+2$.

Therefore,

$x^{2}-3 x+2$

$=x^{2}-3 x+\frac{9}{4}-\frac{9}{4}+2$

$=(x-\frac{3}{2})^{2}-\frac{1}{4}$

$=(x-\frac{3}{2})^{2}-(\frac{1}{2})^{2}$

$\therefore \int \frac{1}{\sqrt{(x-1)(x-2)}} d x=\int \frac{1}{\sqrt{(x-\frac{3}{2})^{2}-(\frac{1}{2})^{2}}} d x$

Let $x-\frac{3}{2}=t$

$\therefore d x=d t$

$\Rightarrow \int \frac{1}{\sqrt{(x-\frac{3}{2})^{2}-(\frac{1}{2})^{2}}} d x=\int \frac{1}{\sqrt{t^{2}-(\frac{1}{2})^{2}}} d t$

$=\log |t+\sqrt{t^{2}-(\frac{1}{2})^{2}}|+C$

$=\log |(x-\frac{3}{2})+\sqrt{x^{2}-3 x+2}|+C$

16. $\frac{4 x+1}{\sqrt{2 x^{2}+x-3}}$

Solution

Let $4 x+1=A \frac{d}{d x}(2 x^{2}+x-3)+B$

$\Rightarrow 4 x+1=A(4 x+1)+B$

$\Rightarrow 4 x+1=4 A x+A+B$

Equating the coefficients of $x$ and constant term on both sides, we obtain $4 A=4 \Rightarrow A=1$

$A+B=1 \Rightarrow B=0$

Let $2 x^{2}+x-3=t$

$\therefore(4 x+1) d x=d t$

$ \begin{aligned} \Rightarrow \int \frac{4 x+1}{\sqrt{2 x^{2}+x-3}} d x & =\int \frac{1}{\sqrt{t}} d t \\ & =2 \sqrt{t}+C \\ & =2 \sqrt{2 x^{2}+x-3}+C \end{aligned} $

19. $\frac{6 x+7}{\sqrt{(x-5)(x-4)}}$

Solution

$\frac{6 x+7}{\sqrt{(x-5)(x-4)}}=\frac{6 x+7}{\sqrt{x^{2}-9 x+20}}$

Let $6 x+7=A \frac{d}{d x}(x^{2}-9 x+20)+B$

$\Rightarrow 6 x+7=A(2 x-9)+B$

Equating the coefficients of $x$ and constant term, we obtain

$2 A=6 \Rightarrow A=3$

$-9 A+B=7 \Rightarrow B=34$

$\therefore 6 x+7=3(2 x-9)+34$

$ \begin{aligned} \int \frac{6 x+7}{\sqrt{x^{2}-9 x+20}} & =\int \frac{3(2 x-9)+34}{\sqrt{x^{2}-9 x+20}} d x \\ & =3 \int \frac{2 x-9}{\sqrt{x^{2}-9 x+20}} d x+34 \int \frac{1}{\sqrt{x^{2}-9 x+20}} d x \end{aligned} $

Let $I_1=\int \frac{2 x-9}{\sqrt{x^{2}-9 x+20}} d x$ and $I_2=\int \frac{1}{\sqrt{x^{2}-9 x+20}} d x$

$\therefore \int \frac{6 x+7}{\sqrt{x^{2}-9 x+20}}=3 I_1+34 I_2$

Then,

$I_1=\int \frac{2 x-9}{\sqrt{x^{2}-9 x+20}} d x$

Let $x^{2}-9 x+20=t$

$\Rightarrow(2 x-9) d x=d t$

$\Rightarrow I_1=\frac{d t}{\sqrt{t}}$

$I_1=2 \sqrt{t}$

$I_1=2 \sqrt{x^{2}-9 x+20}$

and $I_2=\int \frac{1}{\sqrt{x^{2}-9 x+20}} d x$ $x^{2}-9 x+20$ can be written as $x^{2}-9 x+20+\frac{81}{4}-\frac{81}{4}$.

Therefore,

$x^{2}-9 x+20+\frac{81}{4}-\frac{81}{4}$

$=(x-\frac{9}{2})^{2}-\frac{1}{4}$

$=(x-\frac{9}{2})^{2}-(\frac{1}{2})^{2}$

$\Rightarrow I_2=\int \frac{1}{\sqrt{(x-\frac{9}{2})^{2}-(\frac{1}{2})^{2}}} d x$

$I_2=\log |(x-\frac{9}{2})+\sqrt{x^{2}-9 x+20}|$

Substituting equations (2) and (3) in (1), we obtain

$ \begin{aligned} \int \frac{6 x+7}{\sqrt{x^{2}-9 x+20}} d x & =3[2 \sqrt{x^{2}-9 x+20}]+34 \log [(x-\frac{9}{2})+\sqrt{x^{2}-9 x+20}]+C \\ & =6 \sqrt{x^{2}-9 x+20}+34 \log [(x-\frac{9}{2})+\sqrt{x^{2}-9 x+20}]+C \end{aligned} $

22. $\frac{x+3}{x^{2}-2 x-5}$

Solution

Let $(x+3)=A \frac{d}{d x}(x^{2}-2 x-5)+B$

$(x+3)=A(2 x-2)+B$

Equating the coefficients of $x$ and constant term on both sides, we obtain

$ \begin{aligned} & 2 A=1 \Rightarrow A=\frac{1}{2} \\ & -2 A+B=3 \Rightarrow B=4 \\ & \therefore(x+3)=\frac{1}{2}(2 x-2)+4 \\ & \Rightarrow \int \frac{x+3}{x^{2}-2 x-5} d x=\int \frac{\frac{1}{2}(2 x-2)+4}{x^{2}-2 x-5} d x \\ & \quad=\frac{1}{2} \int \frac{2 x-2}{x^{2}-2 x-5} d x+4 \int \frac{1}{x^{2}-2 x-5} d x \end{aligned} $

Let $I_1=\int \frac{2 x-2}{x^{2}-2 x-5} d x$ and $I_2=\int \frac{1}{x^{2}-2 x-5} d x$

$\therefore \int \frac{x+3}{(x^{2}-2 x-5)} d x=\frac{1}{2} I_1+4 I_2$

Then, $I_1=\int \frac{2 x-2}{x^{2}-2 x-5} d x$

Let $x^{2}-2 x-5=t$

$\Rightarrow(2 x-2) d x=d t$

$\Rightarrow I_1=\int \frac{d t}{t}=\log |t|=\log |x^{2}-2 x-5|$

$I_2=\int \frac{1}{x^{2}-2 x-5} d x$

$=\int \frac{1}{(x^{2}-2 x+1)-6} d x$

$=\int \frac{1}{(x-1)^{2}+(\sqrt{6})^{2}} d x$

$=\frac{1}{2 \sqrt{6}} \log (\frac{x-1-\sqrt{6}}{x-1+\sqrt{6}})$

Substituting (2) and (3) in (1), we obtain

$ \begin{aligned} \int \frac{x+3}{x^{2}-2 x-5} d x & =\frac{1}{2} \log |x^{2}-2 x-5|+\frac{4}{2 \sqrt{6}} \log |\frac{x-1-\sqrt{6}}{x-1+\sqrt{6}}|+C \\ & =\frac{1}{2} \log |x^{2}-2 x-5|+\frac{2}{\sqrt{6}} \log |\frac{x-1-\sqrt{6}}{x-1+\sqrt{6}}|+C \end{aligned} $

23. $\frac{5 x+3}{\sqrt{x^{2}+4 x+10}}$.

Solution

Let $5 x+3=A \frac{d}{d x}(x^{2}+4 x+10)+B$

$\Rightarrow 5 x+3=A(2 x+4)+B$

Equating the coefficients of $x$ and constant term, we obtain

$ \begin{aligned} & 2 A=5 \Rightarrow A=\frac{5}{2} \\ & 4 A+B=3 \Rightarrow B=-7 \\ & \therefore 5 x+3=\frac{5}{2}(2 x+4)-7 \\ & \Rightarrow \int \frac{5 x+3}{\sqrt{x^{2}+4 x+10}} d x=\int \frac{\frac{5}{2}(2 x+4)-7}{\sqrt{x^{2}+4 x+10}} d x \\ & \quad=\frac{5}{2} \int \frac{2 x+4}{\sqrt{x^{2}+4 x+10}} d x-7 \int \frac{1}{\sqrt{x^{2}+4 x+10}} d x \end{aligned} $

Let $I_1=\int \frac{2 x+4}{\sqrt{x^{2}+4 x+10}} d x$ and $I_2=\int \frac{1}{\sqrt{x^{2}+4 x+10}} d x$

$\therefore \int \frac{5 x+3}{\sqrt{x^{2}+4 x+10}} d x=\frac{5}{2} I_1-7 I_2$

Then, $I_1=\int \frac{2 x+4}{\sqrt{x^{2}+4 x+10}} d x$

Let $x^{2}+4 x+10=t$

$\therefore(2 x+4) d x=d t$

$\Rightarrow I_1=\int \frac{d t}{t}=2 \sqrt{t}=2 \sqrt{x^{2}+4 x+10}$

$I_2=\int \frac{1}{\sqrt{x^{2}+4 x+10}} d x$

$=\int \frac{1}{\sqrt{(x^{2}+4 x+4)+6}} d x$

$=\int \frac{1}{(x+2)^{2}+(\sqrt{6})^{2}} d x$

$=\log |(x+2) \sqrt{x^{2}+4 x+10}|$

Using equations (2) and (3) in (1), we obtain

$ \begin{aligned} \int \frac{5 x+3}{\sqrt{x^{2}+4 x+10}} d x & =\frac{5}{2}[2 \sqrt{x^{2}+4 x+10}]-7 \log |(x+2)+\sqrt{x^{2}+4 x+10}|+C \\ & =5 \sqrt{x^{2}+4 x+10}-7 \log (x+2)+\sqrt{x^{2}+4 x+10} \mid+C \end{aligned} $

14. $\frac{1}{\sqrt{8+3 x-x^{2}}}$

Solution

$8+3 x-x^{2}$ can be written as $8-(x^{2}-3 x+\frac{9}{4}-\frac{9}{4})$.

Therefore,

$8-(x^{2}-3 x+\frac{9}{4}-\frac{9}{4})$

$=\frac{41}{4}-(x-\frac{3}{2})^{2}$

$\Rightarrow \int \frac{1}{\sqrt{8+3 x-x^{2}}} d x=\int \frac{1}{\sqrt{\frac{41}{4}-(x-\frac{3}{2})^{2}}} d x$

Let $x-\frac{3}{2}=t$

$\therefore d x=d t$

$\Rightarrow \int \frac{1}{\sqrt{\frac{41}{4}-(x-\frac{3}{2})^{2}}} d x=\int \frac{1}{\sqrt{(\frac{\sqrt{41}}{2})^{2}-t^{2}}} d t$

$=\sin ^{-1}(\frac{t}{\frac{\sqrt{41}}{2}})+C$

$=\sin ^{-1}(\frac{x-\frac{3}{2}}{\frac{\sqrt{41}}{2}})+C$

$=\sin ^{-1}(\frac{2 x-3}{\sqrt{41}})+C$

17. $\frac{x+2}{\sqrt{x^{2}-1}}$

Solution

Let $x+2=A \frac{d}{d x}(x^{2}-1)+B$

$\Rightarrow x+2=A(2 x)+B$

Equating the coefficients of $x$ and constant term on both sides, we obtain

$2 A=1 \Rightarrow A=\frac{1}{2}$

$B=2$

From (1), we obtain $(x+2)=\frac{1}{2}(2 x)+2$

Then, $\int \frac{x+2}{\sqrt{x^{2}-1}} d x=\int \frac{\frac{1}{2}(2 x)+2}{\sqrt{x^{2}-1}} d x$

$$ \begin{equation*} =\frac{1}{2} \int \frac{2 x}{\sqrt{x^{2}-1}} d x+\int \frac{2}{\sqrt{x^{2}-1}} d x \tag{2} \end{equation*} $$

In $\frac{1}{2} \int \frac{2 x}{\sqrt{x^{2}-1}} d x$, let $x^{2}-1=t \Rightarrow 2 x d x=d t$

$ \begin{aligned} \frac{1}{2} \int \frac{2 x}{\sqrt{x^{2}-1}} d x & =\frac{1}{2} \int \frac{d t}{\sqrt{t}} \\ & =\frac{1}{2}[2 \sqrt{t}] \\ & =\sqrt{t} \\ & =\sqrt{x^{2}-1} \end{aligned} $

Then, $\int \frac{2}{\sqrt{x^{2}-1}} d x=2 \int \frac{1}{\sqrt{x^{2}-1}} d x=2 \log |x+\sqrt{x^{2}-1}|$

From equation (2), we obtain

$ \int \frac{x+2}{\sqrt{x^{2}-1}} d x=\sqrt{x^{2}-1}+2 \log |x+\sqrt{x^{2}-1}|+C $

20. $\frac{x+2}{\sqrt{4 x-x^{2}}}$

Solution

Let $x+2=A \frac{d}{d x}(4 x-x^{2})+B$

$\Rightarrow x+2=A(4-2 x)+B$

Equating the coefficients of $x$ and constant term on both sides, we obtain $-2 A=1 \Rightarrow A=-\frac{1}{2}$

$4 A+B=2 \Rightarrow B=4$

$\Rightarrow(x+2)=-\frac{1}{2}(4-2 x)+4$

$\therefore \int \frac{x+2}{\sqrt{4 x-x^{2}}} d x=\int \frac{-\frac{1}{2}(4-2 x)+4}{\sqrt{4 x-x^{2}}} d x$ $=-\frac{1}{2} \int \frac{4-2 x}{\sqrt{4 x-x^{2}}} d x+4 \int \frac{1}{\sqrt{4 x-x^{2}}} d x$

Let $I_1=\int \frac{4-2 x}{\sqrt{4 x-x^{2}}} d x$ and $I_2 \int \frac{1}{\sqrt{4 x-x^{2}}} d x$

$\therefore \int \frac{x+2}{\sqrt{4 x-x^{2}}} d x=-\frac{1}{2} I_1+4 I_2$

Then, $I_1=\int \frac{4-2 x}{\sqrt{4 x-x^{2}}} d x$

Let $4 x-x^{2}=1$

$\Rightarrow(4-2 x) d x=d t$

$\Rightarrow l_1=\int _{\sqrt{t}}^{d t}=2 \sqrt{t}=2 \sqrt{4 x-x^{2}}$

$I_2=\int \frac{1}{\sqrt{4 x-x^{2}}} d x$

$\Rightarrow 4 x-x^{2}=-(-4 x+x^{2})$

$=(-4 x+x^{2}+4-4)$

$=4-(x-2)^{2}$

$=(2)^{2}-(x-2)^{2}$

$\therefore I_2=\int \frac{1}{\sqrt{(2)^{2}-(x-2)^{2}}} d x=\sin ^{-1}(\frac{x-2}{2})$

Using equations (2) and (3) in (1), we obtain

$ \begin{aligned} \int \frac{x+2}{\sqrt{4 x-x^{2}}} d x & =-\frac{1}{2}(2 \sqrt{4 x-x^{2}})+4 \sin ^{-1}(\frac{x-2}{2})+C \\ & =-\sqrt{4 x-x^{2}}+4 \sin ^{-1}(\frac{x-2}{2})+C \end{aligned} $

Choose the correct answer in Exercises 24 and 25.

24. $\int \frac{d x}{x^{2}+2 x+2}$ equals

(A) $x \tan ^{-1}(x+1)+C$

(B) $\tan ^{-1}(x+1)+C$

(C) $(x+1) \tan ^{-1} x+C$

(D) $\tan ^{-1} x+C$

Solution

$ \begin{aligned} \int \frac{d x}{x^{2}+2 x+2} & =\int \frac{d x}{(x^{2}+2 x+1)+1} \\ & =\int \frac{1}{(x+1)^{2}+(1)^{2}} d x \\ & =[\tan ^{-1}(x+1)]+C \end{aligned} $

Hence, the correct Answer is B.

25. $\int \frac{d x}{\sqrt{9 x-4 x^{2}}}$ equals

(A) $\frac{1}{9} \sin ^{-1}(\frac{9 x-8}{8})+C$

(B) $\frac{1}{2} \sin ^{-1}(\frac{8 x-9}{9})+C$

(C) $\frac{1}{3} \sin ^{-1}(\frac{9 x-8}{8})+C$

(D) $\frac{1}{2} \sin ^{-1}(\frac{9 x-8}{9})+C$

Solution

$\int \frac{d x}{\sqrt{9 x-4 x^{2}}}$

$=\int \frac{1}{\sqrt{-4(x^{2}-\frac{9}{4} x)}} d x$

$=\int \frac{1}{-4(x^{2}-\frac{9}{4} x+\frac{81}{64}-\frac{81}{64})} d x$

$=\int \frac{1}{\sqrt{-4[(x-\frac{9}{8})^{2}-(\frac{9}{8})^{2}]}} d x$

$=\frac{1}{2} \int \frac{1}{\sqrt{(\frac{9}{8})^{2}-(x-\frac{9}{8})^{2}}} d x$

$=\frac{1}{2}[\sin ^{-1}(\frac{x-\frac{9}{8}}{\frac{9}{8}})]+C$

$(\int \frac{d y}{\sqrt{a^{2}-y^{2}}}=\sin ^{-1} \frac{y}{a}+C)$

$=\frac{1}{2} \sin ^{-1}(\frac{8 x-9}{9})+C$

Hence, the correct Answer is B.

Integration by Partial Fractions

Recall that a rational function is defined as the ratio of two polynomials in the form $\frac{P(x)}{Q(x)}$, where $P(x)$ and $Q(x)$ are polynomials in $x$ and $Q(x) \neq 0$. If the degree of $P(x)$ is less than the degree of $Q(x)$, then the rational function is called proper, otherwise, it is called improper. The improper rational functions can be reduced to the proper rational functions by long division process. Thus, if $\frac{P(x)}{Q(x)}$ is improper, then $\frac{P(x)}{Q(x)}=T(x)+\frac{P_1(x)}{Q(x)}$, where $T(x)$ is a polynomial in $x$ and $\frac{P_1(x)}{Q(x)}$ is a proper rational function. As we know how to integrate polynomials, the integration of any rational function is reduced to the integration of a proper rational function. The rational functions which we shall consider here for integration purposes will be those whose denominators can be factorised into linear and quadratic factors. Assume that we want to evaluate $\int \frac{P(x)}{Q(x)} d x$, where $\frac{P(x)}{Q(x)}$ is proper rational function. It is always possible to write the integrand as a sum of simpler rational functions by a method called partial fraction decomposition. After this, the integration can be carried out easily using the already known methods. The following Table 7.2 indicates the types of simpler partial fractions that are to be associated with various kind of rational functions.

Table 7.2

image

  1. $\frac{p x+q}{(x-a)(x-b)}, a \neq b$ $\hspace{10mm}$ $\frac{A}{x-a}+\frac{B}{x-b}$

  2. $\frac{p x+q}{(x-a)^{2}}$ $\hspace{10mm}$ $\quad\quad\quad\quad \frac{A}{x-a}+\frac{B}{(x-a)^{2}}$

  3. $\frac{p x^{2}+q x+r}{(x-a)(x-b)(x-c)}$ $\hspace{10mm}$ $\quad \frac{A}{x-a}+\frac{B}{x-b}+\frac{C}{x-c}$

  4. $\frac{p x^{2}+q x+r}{(x-a)^{2}(x-b)}$ $\hspace{10mm}$ $\quad\quad \frac{A}{x-a}+\frac{B}{(x-a)^{2}}+\frac{C}{x-b}$

  5. $\frac{p x^{2}+q x+r}{(x-a)(x^{2}+b x+c)}$ $\hspace{10mm}$ $\quad \frac{A}{x-a}+\frac{B x+C}{x^{2}+b x+c}$,

where $x^{2}+b x+c$ cannot be factorised further

In the above table, A, B and C are real numbers to be determined suitably.

Example 11 Find $\int \frac{d x}{(x+1)(x+2)}$

Solution The integrand is a proper rational function. Therefore, by using the form of partial fraction [Table 7.2 (i)], we write

$ \frac{1}{(x+1)(x+2)}=\frac{A}{x+1}+\frac{B}{x+2} $

where, real numbers $A$ and $B$ are to be determined suitably. This gives

$ 1=A(x+2)+B(x+1) . $

Equating the coefficients of $x$ and the constant term, we get

and

$ \begin{matrix} A+B=0 \\ 2 A+B=1 \end{matrix} $

Solving these equations, we get $A=1$ and $B=-1$.

Thus, the integrand is given by

$ \begin{aligned} \frac{1}{(x+1)(x+2)} & =\frac{1}{x+1}+\frac{-1}{x+2} \\ \int \frac{d x}{(x+1)(x+2)} & =\int \frac{d x}{x+1}-\int \frac{d x}{x+2} \\ & =\log |x+1|-\log |x+2|+C \\ & =\log |\frac{x+1}{x+2}|+C \end{aligned} $

Therefore,

Remark The equation (1) above is an identity, i.e. a statement true for all (permissible) values of $x$. Some authors use the symbol ’ $\equiv$ ’ to indicate that the statement is an identity and use the symbol ’ $=$ ’ to indicate that the statement is an equation, i.e., to indicate that the statement is true only for certain values of $x$.

Example 12 Find $\int \frac{x^{2}+1}{x^{2}-5 x+6} d x$

Solution Here the integrand $\frac{x^{2}+1}{x^{2}-5 x+6}$ is not proper rational function, so we divide $x^{2}+1$ by $x^{2}-5 x+6$ and find that

Let

$ \begin{aligned} \frac{x^{2}+1}{x^{2}-5 x+6} & =1+\frac{5 x-5}{x^{2}-5 x+6}=1+\frac{5 x-5}{(x-2)(x-3)} \\ \frac{5 x-5}{(x-2)(x-3)} & =\frac{A}{x-2}+\frac{B}{x-3} \end{aligned} $

So that

$ 5 x-5=A(x-3)+B(x-2) $

Equating the coefficients of $x$ and constant terms on both sides, we get $A+B=5$ and $3 A+2 B=5$. Solving these equations, we get $A=-5$ and $B=10$

Thus,

$ \frac{x^{2}+1}{x^{2}-5 x+6}=1-\frac{5}{x-2}+\frac{10}{x-3} $

Therefore,

$ \begin{aligned} \int \frac{x^{2}+1}{x^{2}-5 x+6} d x & =\int d x-5 \int \frac{1}{x-2} d x+10 \int \frac{d x}{x-3} \\ & =x-5 \log |x-2|+10 \log |x-3|+C \end{aligned} $

Example 13 Find $\int \frac{3 x-2}{(x+1)^{2}(x+3)} d x$

Solution The integrand is of the type as given in Table 7.2 (4). We write

$ \frac{3 x-2}{(x+1)^{2}(x+3)}=\frac{A}{x+1}+\frac{B}{(x+1)^{2}}+\frac{C}{x+3} $

So that

$ \begin{aligned} 3 x-2 & =A(x+1)(x+3)+B(x+3)+C(x+1)^{2} \\ & =A(x^{2}+4 x+3)+B(x+3)+C(x^{2}+2 x+1) \end{aligned} $

Comparing coefficient of $x^{2}, x$ and constant term on both sides, we get $A+C=0,4 A+B+2 C=3$ and $3 A+3 B+C=-2$. Solving these equations, we get $A=\frac{11}{4}, B=\frac{-5}{2}$ and $C=\frac{-11}{4}$. Thus the integrand is given by

$ \frac{3 x-2}{(x+1)^{2}(x+3)}=\frac{11}{4(x+1)}-\frac{5}{2(x+1)^{2}}-\frac{11}{4(x+3)} $

Therefore, $\quad \int \frac{3 x-2}{(x+1)^{2}(x+3)}=\frac{11}{4} \int \frac{d x}{x+1}-\frac{5}{2} \int \frac{d x}{(x+1)^{2}}-\frac{11}{4} \int \frac{d x}{x+3}$

$ \begin{aligned} & =\frac{11}{4} \log |x+1|+\frac{5}{2(x+1)}-\frac{11}{4} \log |x+3|+C \\ & =\frac{11}{4} \log |\frac{x+1}{x+3}|+\frac{5}{2(x+1)}+C \end{aligned} $

Example 14 Find $\int \frac{x^{2}}{(x^{2}+1)(x^{2}+4)} d x$

Solution Consider $\frac{x^{2}}{(x^{2}+1)(x^{2}+4)}$ and put $x^{2}=y$.

Then

$ \frac{x^{2}}{(x^{2}+1)(x^{2}+4)}=\frac{y}{(y+1)(y+4)} $

Write

$ \frac{y}{(y+1)(y+4)}=\frac{A}{y+1}+\frac{B}{y+4} $

So that

$ y=A(y+4)+B(y+1) $

Comparing coefficients of $y$ and constant terms on both sides, we get $A+B=1$ and $4 A+B=0$, which give

$ A=-\frac{1}{3} \quad \text{ and } \quad B=\frac{4}{3} $

Thus,

$ \frac{x^{2}}{(x^{2}+1)(x^{2}+4)}=-\frac{1}{3(x^{2}+1)}+\frac{4}{3(x^{2}+4)} $

Therefore,

$ \begin{aligned} \int \frac{x^{2} d x}{(x^{2}+1)(x^{2}+4)} & =-\frac{1}{3} \int \frac{d x}{x^{2}+1}+\frac{4}{3} \int \frac{d x}{x^{2}+4} \\ & =-\frac{1}{3} \tan ^{-1} x+\frac{4}{3} \times \frac{1}{2} \tan ^{-1} \frac{x}{2}+C \\ & =-\frac{1}{3} \tan ^{-1} x+\frac{2}{3} \tan ^{-1} \frac{x}{2}+C \end{aligned} $

In the above example, the substitution was made only for the partial fraction part and not for the integration part. Now, we consider an example, where the integration involves a combination of the substitution method and the partial fraction method.

Example 15 Find $\int \frac{(3 \sin \phi-2) \cos \phi}{5-\cos ^{2} \phi-4 \sin \phi} d \phi$

Solution Let $y=\sin \phi$

Then

$ d y=\cos \phi d \phi $

Therefore, $\int \frac{(3 \sin \phi-2) \cos \phi}{5-\cos ^{2} \phi-4 \sin \phi} d \phi=\int \frac{(3 y-2) d y}{5-(1-y^{2})-4 y}$

$ \begin{aligned} & =\int \frac{3 y-2}{y^{2}-4 y+4} d y \\ & =\int \frac{3 y-2}{(y-2)^{2}}=I \text{ (say) } \end{aligned} $

Now, we write

$ \frac{3 y-2}{(y-2)^{2}}=\frac{A}{y-2}+\frac{B}{(y-2)^{2}} $

Therefore,

$ 3 y-2=A(y-2)+B $

Comparing the coefficients of $y$ and constant term, we get $A=3$ and $B-2 A=-2$, which gives $A=3$ and $B=4$.

Therefore, the required integral is given by

$ \begin{aligned} I & =\int[\frac{3}{y-2}+\frac{4}{(y-2)^{2}}] d y=3 \int \frac{d y}{y-2}+4 \int \frac{d y}{(y-2)^{2}} \\ & =3 \log |y-2|+4(-\frac{1}{y-2})+C \\ & =3 \log |\sin \phi-2|+\frac{4}{2-\sin \phi}+C \\ & =3 \log (2-\sin \phi)+\frac{4}{2-\sin \phi}+C \text{ since, } 2-\sin \phi \text{ is always positive } \end{aligned} $

Example 16 Find $\int \frac{x^{2}+x+1 d x}{(x+2)(x^{2}+1)}$

Solution The integrand is a proper rational function. Decompose the rational function into partial fraction [Table 2.2(5)]. Write

$ \frac{x^{2}+x+1}{(x^{2}+1)(x+2)}=\frac{A}{x+2}+\frac{B x+C}{(x^{2}+1)} $

Therefore,

$ x^{2}+x+1=A(x^{2}+1)+(B x+C)(x+2) $

Equating the coefficients of $x^{2}, x$ and of constant term of both sides, we get $A+B=1,2 B+C=1$ and $A+2 C=1$. Solving these equations, we get $A=\frac{3}{5}, B=\frac{2}{5}$ and $C=\frac{1}{5}$

Thus, the integrand is given by

$ \frac{x^{2}+x+1}{(x^{2}+1)(x+2)}=\frac{3}{5(x+2)}+\frac{\frac{2}{5} x+\frac{1}{5}}{x^{2}+1}=\frac{3}{5(x+2)}+\frac{1}{5}(\frac{2 x+1}{x^{2}+1}) $

Therefore, $\int \frac{x^{2}+x+1}{(x^{2}+1)(x+2)} d x=\frac{3}{5} \int \frac{d x}{x+2}+\frac{1}{5} \int \frac{2 x}{x^{2}+1} d x+\frac{1}{5} \int \frac{1}{x^{2}+1} d x$

$ =\frac{3}{5} \log |x+2|+\frac{1}{5} \log |x^{2}+1|+\frac{1}{5} \tan ^{-1} x+C $

EXERCISE 7.5

Integrate the rational functions in Exercises 1 to 21.

1. $\frac{x}{(x+1)(x+2)}$

Solution

Let $\frac{x}{(x+1)(x+2)}=\frac{A}{(x+1)}+\frac{B}{(x+2)}$

$\Rightarrow x=A(x+2)+B(x+1)$

Equating the coefficients of $x$ and constant term, we obtain

$A+B=1$

$2 A+B=0$

On solving, we obtain

$A=-1$ and $B=2$

$\therefore \frac{x}{(x+1)(x+2)}=\frac{-1}{(x+1)}+\frac{2}{(x+2)}$

$\Rightarrow \int \frac{x}{(x+1)(x+2)} d x=\int \frac{-1}{(x+1)}+\frac{2}{(x+2)} d x$

$=-\log |x+1|+2 \log |x+2|+C$

$=\log (x+2)^{2}-\log |x+1|+C$

$=\log \frac{(x+2)^{2}}{(x+1)}+C$

2. $\frac{1}{x^{2}-9}$

Solution

Let $\frac{1}{(x+3)(x-3)}=\frac{A}{(x+3)}+\frac{B}{(x-3)}$

$1=A(x-3)+B(x+3)$

Equating the coefficients of $x$ and constant term, we obtain

$A+B=0$

$-3 A+3 B=1$

On solving, we obtain

$A=-\frac{1}{6}$ and $B=\frac{1}{6}$

$\therefore \frac{1}{(x+3)(x-3)}=\frac{-1}{6(x+3)}+\frac{1}{6(x-3)}$

$\Rightarrow \int \frac{1}{(x^{2}-9)} d x=\int(\frac{-1}{6(x+3)}+\frac{1}{6(x-3)}) d x$

$ =-\frac{1}{6} \log |x+3|+\frac{1}{6} \log |x-3|+C $

$ =\frac{1}{6} \log |\frac{(x-3)}{(x+3)}|+C $

3. $\frac{3 x-1}{(x-1)(x-2)(x-3)}$

Solution

Let $\frac{3 x-1}{(x-1)(x-2)(x-3)}=\frac{A}{(x-1)}+\frac{B}{(x-2)}+\frac{C}{(x-3)}$

$3 x-1=A(x-2)(x-3)+B(x-1)(x-3)+C(x-1)(x-2)$

Substituting $x=1,2$, and 3 respectively in equation (1), we obtain

$A=1, B=-5$, and $C=4$

$\therefore \frac{3 x-1}{(x-1)(x-2)(x-3)}=\frac{1}{(x-1)}-\frac{5}{(x-2)}+\frac{4}{(x-3)}$

$\Rightarrow \int \frac{3 x-1}{(x-1)(x-2)(x-3)} d x=\int{\frac{1}{(x-1)}-\frac{5}{(x-2)}+\frac{4}{(x-3)}} d x$

$=\log |x-1|-5 \log |x-2|+4 \log |x-3|+C$

4. $\frac{x}{(x-1)(x-2)(x-3)}$

Solution

Let $\frac{x}{(x-1)(x-2)(x-3)}=\frac{A}{(x-1)}+\frac{B}{(x-2)}+\frac{C}{(x-3)}$

$x=A(x-2)(x-3)+B(x-1)(x-3)+C(x-1)(x-2)$

Substituting $x=1,2$, and 3 respectively in equation (1), we obtain

$A=\frac{1}{2}, B=-2$, and $C=\frac{3}{2}$

$\therefore \frac{x}{(x-1)(x-2)(x-3)}=\frac{1}{2(x-1)}-\frac{2}{(x-2)}+\frac{3}{2(x-3)}$

$\Rightarrow \int \frac{x}{(x-1)(x-2)(x-3)} d x=\int{\frac{1}{2(x-1)}-\frac{2}{(x-2)}+\frac{3}{2(x-3)}} d x$

$ =\frac{1}{2} \log |x-1|-2 \log |x-2|+\frac{3}{2} \log |x-3|+C $

5. $\frac{2 x}{x^{2}+3 x+2}$

Solution

Let $\frac{2 x}{x^{2}+3 x+2}=\frac{A}{(x+1)}+\frac{B}{(x+2)}$

$2 x=A(x+2)+B(x+1)$

Substituting $x=-1$ and -2 in equation (1), we obtain

$A=-2$ and $B=4$ $\therefore \frac{2 x}{(x+1)(x+2)}=\frac{-2}{(x+1)}+\frac{4}{(x+2)}$

$\Rightarrow \int \frac{2 x}{(x+1)(x+2)} d x=\int{\frac{4}{(x+2)}-\frac{2}{(x+1)}} d x$

$ =4 \log |x+2|-2 \log |x+1|+C $

6. $\frac{1-x^{2}}{x(1-2 x)}$

Solution

It can be seen that the given integrand is not a proper fraction.

Therefore, on dividing $(1-x^{2})$ by $x(1-2 x)$, we obtain

$\frac{1-x^{2}}{x(1-2 x)}=\frac{1}{2}+\frac{1}{2}(\frac{2-x}{x(1-2 x)})$

Let $\frac{2-x}{x(1-2 x)}=\frac{A}{x}+\frac{B}{(1-2 x)}$

$\Rightarrow(2-x)=A(1-2 x)+B x$

Substituting $x=0$ and $\frac{1}{2}$ in equation (1), we obtain

$A=2$ and $B=3$

$\therefore \frac{2-x}{x(1-2 x)}=\frac{2}{x}+\frac{3}{1-2 x}$

Substituting in equation (1), we obtain

$ \begin{aligned} & \frac{1-x^{2}}{x(1-2 x)}=\frac{1}{2}+\frac{1}{2}{\frac{2}{x}+\frac{3}{(1-2 x)}} \\ & \Rightarrow \int \frac{1-x^{2}}{x(1-2 x)} d x=\int{\frac{1}{2}+\frac{1}{2}(\frac{2}{x}+\frac{3}{1-2 x})} d x \\ & =\frac{x}{2}+\log |x|+\frac{3}{2(-2)} \log |1-2 x|+C \\ & =\frac{x}{2}+\log |x|-\frac{3}{4} \log |1-2 x|+C \end{aligned} $

7. $\frac{x}{(x^{2}+1)(x-1)}$

Solution

Let $\frac{x}{(x^{2}+1)(x-1)}=\frac{A x+B}{(x^{2}+1)}+\frac{C}{(x-1)}$

$x=(A x+B)(x-1)+C(x^{2}+1)$

$x=A x^{2}-A x+B x-B+C x^{2}+C$

Equating the coefficients of $x^{2}, x$, and constant term, we obtain

$A+C=0$

$-A+B=1$

$-B+C=0$

On solving these equations, we obtain

$A=-\frac{1}{2}, B=\frac{1}{2}$, and $C=\frac{1}{2}$

From equation (1), we obtain

$ \begin{aligned} & \therefore \frac{x}{(x^{2}+1)(x-1)}=\frac{(-\frac{1}{2} x+\frac{1}{2})}{x^{2}+1}+\frac{\frac{1}{2}}{(x-1)} \\ & \Rightarrow \int \frac{x}{(x^{2}+1)(x-1)}=-\frac{1}{2} \int \frac{x}{x^{2}+1} d x+\frac{1}{2} \int \frac{1}{x^{2}+1} d x+\frac{1}{2} \int \frac{1}{x-1} d x \\ & \quad=-\frac{1}{4} \int \frac{2 x}{x^{2}+1} d x+\frac{1}{2} \tan ^{-1} x+\frac{1}{2} \log |x-1|+C \end{aligned} $

Consider $\int \frac{2 x}{x^{2}+1} d x$, let $(x^{2}+1)=t \Rightarrow 2 x d x=d t$

$\Rightarrow \int \frac{2 x}{x^{2}+1} d x=\int \frac{d t}{t}=\log |t|=\log |x^{2}+1|$

$ \begin{aligned} \therefore \int \frac{x}{(x^{2}+1)(x-1)} & =-\frac{1}{4} \log |x^{2}+1|+\frac{1}{2} \tan ^{-1} x+\frac{1}{2} \log |x-1|+C \\ & =\frac{1}{2} \log |x-1|-\frac{1}{4} \log |x^{2}+1|+\frac{1}{2} \tan ^{-1} x+C \end{aligned} $

8. $\frac{x}{(x-1)^{2}(x+2)}$

Solution

Let $\frac{x}{(x-1)^{2}(x+2)}=\frac{A}{(x-1)}+\frac{B}{(x-1)^{2}}+\frac{C}{(x+2)}$

$x=A(x-1)(x+2)+B(x+2)+C(x-1)^{2}$

Substituting $x=1$, we obtain

$B=\frac{1}{3}$

Equating the coefficients of $x^{2}$ and constant term, we obtain

$A+C=0$

$-2 A+2 B+C=0$

On solving, we obtain

$ \begin{aligned} & A=\frac{2}{9} \text{ and } C=\frac{-2}{9} \\ & \begin{aligned} & \therefore \frac{x}{(x-1)^{2}(x+2)}=\frac{2}{9(x-1)}+\frac{1}{3(x-1)^{2}}-\frac{2}{9(x+2)} \\ & \Rightarrow \int \frac{x}{(x-1)^{2}(x+2)} d x=\frac{2}{9} \int \frac{1}{(x-1)} d x+\frac{1}{3} \int \frac{1}{(x-1)^{2}} d x-\frac{2}{9} \int \frac{1}{(x+2)} d x \\ &=\frac{2}{9} \log |x-1|+\frac{1}{3}(\frac{-1}{x-1})-\frac{2}{9} \log |x+2|+C \\ &=\frac{2}{9} \log |\frac{x-1}{x+2}|-\frac{1}{3(x-1)}+C \end{aligned} \end{aligned} $

9. $\frac{3 x+5}{x^{3}-x^{2}-x+1}$

Solution

$\frac{3 x+5}{x^{3}-x^{2}-x+1}=\frac{3 x+5}{(x-1)^{2}(x+1)}$

Let $\frac{3 x+5}{(x-1)^{2}(x+1)}=\frac{A}{(x-1)}+\frac{B}{(x-1)^{2}}+\frac{C}{(x+1)}$

$3 x+5=A(x-1)(x+1)+B(x+1)+C(x-1)^{2}$

$3 x+5=A(x^{2}-1)+B(x+1)+C(x^{2}+1-2 x)$

Substituting $x=1$ in equation (1), we obtain

$B=4$

Equating the coefficients of $x^{2}$ and $x$, we obtain

$A+C=0$

$B-2 C=3$

On solving, we obtain

$A=-\frac{1}{2}$ and $C=\frac{1}{2}$ $\therefore \frac{3 x+5}{(x-1)^{2}(x+1)}=\frac{-1}{2(x-1)}+\frac{4}{(x-1)^{2}}+\frac{1}{2(x+1)}$

$\Rightarrow \int \frac{3 x+5}{(x-1)^{2}(x+1)} d x=-\frac{1}{2} \int \frac{1}{x-1} d x+4 \int \frac{1}{(x-1)^{2}} d x+\frac{1}{2} \int \frac{1}{(x+1)} d x$

$=-\frac{1}{2} \log |x-1|+4(\frac{-1}{x-1})+\frac{1}{2} \log |x+1|+C$

$=\frac{1}{2} \log |\frac{x+1}{x-1}|-\frac{4}{(x-1)}+C$

10. $\frac{2 x-3}{(x^{2}-1)(2 x+3)}$

Solution

$\frac{2 x-3}{(x^{2}-1)(2 x+3)}=\frac{2 x-3}{(x+1)(x-1)(2 x+3)}$

Let $\frac{2 x-3}{(x+1)(x-1)(2 x+3)}=\frac{A}{(x+1)}+\frac{B}{(x-1)}+\frac{C}{(2 x+3)}$

$\Rightarrow(2 x-3)=A(x-1)(2 x+3)+B(x+1)(2 x+3)+C(x+1)(x-1)$

$\Rightarrow(2 x-3)=A(2 x^{2}+x-3)+B(2 x^{2}+5 x+3)+C(x^{2}-1)$

$\Rightarrow(2 x-3)=(2 A+2 B+C) x^{2}+(A+5 B) x+(-3 A+3 B-C)$

Equating the coefficients of $x^{2}$ and $x$, we obtain

$B=-\frac{1}{10}, A=\frac{5}{2}$, and $C=-\frac{24}{5}$ $\therefore \frac{2 x-3}{(x+1)(x-1)(2 x+3)}=\frac{5}{2(x+1)}-\frac{1}{10(x-1)}-\frac{24}{5(2 x+3)}$

$\Rightarrow \int \frac{2 x-3}{(x^{2}-1)(2 x+3)} d x=\frac{5}{2} \int \frac{1}{(x+1)} d x-\frac{1}{10} \int \frac{1}{x-1} d x-\frac{24}{5} \int \frac{1}{(2 x+3)} d x$

$=\frac{5}{2} \log |x+1|-\frac{1}{10} \log |x-1|-\frac{24}{5 \times 2} \log |2 x+3|$

$=\frac{5}{2} \log |x+1|-\frac{1}{10} \log |x-1|-\frac{12}{5} \log |2 x+3|+C$

11. $\frac{5 x}{(x+1)(x^{2}-4)}$

Solution

$\frac{5 x}{(x+1)(x^{2}-4)}=\frac{5 x}{(x+1)(x+2)(x-2)}$

Let $\frac{5 x}{(x+1)(x+2)(x-2)}=\frac{A}{(x+1)}+\frac{B}{(x+2)}+\frac{C}{(x-2)}$

$5 x=A(x+2)(x-2)+B(x+1)(x-2)+C(x+1)(x+2)$

Substituting $x=-1,-2$, and 2 respectively in equation (1), we obtain

$ \begin{aligned} & A=\frac{5}{3}, B=-\frac{5}{2}, \text{ and } C=\frac{5}{6} \\ & \begin{aligned} \therefore \frac{5 x}{(x+1)(x+2)(x-2)} & =\frac{5}{3(x+1)}-\frac{5}{2(x+2)}+\frac{5}{6(x-2)} \\ \Rightarrow \int \frac{5 x}{(x+1)(x^{2}-4)} d x & =\frac{5}{3} \int \frac{1}{(x+1)} d x-\frac{5}{2} \int \frac{1}{(x+2)} d x+\frac{5}{6} \int \frac{1}{(x-2)} d x \\ & =\frac{5}{3} \log |x+1|-\frac{5}{2} \log |x+2|+\frac{5}{6} \log |x-2|+C \end{aligned} \end{aligned} $

12. $\frac{x^{3}+x+1}{x^{2}-1}$

Solution

It can be seen that the given integrand is not a proper fraction.

Therefore, on dividing $(x^{3}+x+1)$ by $x^{2}-1$, we obtain

$\frac{x^{3}+x+1}{x^{2}-1}=x+\frac{2 x+1}{x^{2}-1}$

Let $\frac{2 x+1}{x^{2}-1}=\frac{A}{(x+1)}+\frac{B}{(x-1)}$

$2 x+1=A(x-1)+B(x+1)$

Substituting $x=1$ and -1 in equation (1), we obtain

$ A=\frac{1}{2} \text{ and } B=\frac{3}{2} $

$\therefore \frac{x^{3}+x+1}{x^{2}-1}=x+\frac{1}{2(x+1)}+\frac{3}{2(x-1)}$

$\Rightarrow \int \frac{x^{3}+x+1}{x^{2}-1} d x=\int x d x+\frac{1}{2} \int \frac{1}{(x+1)} d x+\frac{3}{2} \int \frac{1}{(x-1)} d x$

$ =\frac{x^{2}}{2}+\frac{1}{2} \log |x+1|+\frac{3}{2} \log |x-1|+C $

13. $\frac{2}{(1-x)(1+x^{2})}$

Solution

Let $\frac{2}{(1-x)(1+x^{2})}=\frac{A}{(1-x)}+\frac{B x+C}{(1+x^{2})}$

$2=A(1+x^{2})+(B x+C)(1-x)$

$2=A+A x^{2}+B x-B x^{2}+C-C x$

Equating the coefficient of $x^{2}, x$, and constant term, we obtain

$A-B=0$

$B-C=0$

$A+C=2$

On solving these equations, we obtain

$A=1, B=1$, and $C=1$

$\therefore \frac{2}{(1-x)(1+x^{2})}=\frac{1}{1-x}+\frac{x+1}{1+x^{2}}$

$\Rightarrow \int \frac{2}{(1-x)(1+x^{2})} d x=\int \frac{1}{1-x} d x+\int \frac{x}{1+x^{2}} d x+\int \frac{1}{1+x^{2}} d x$

$=-\int \frac{1}{x-1} d x+\frac{1}{2} \int \frac{2 x}{1+x^{2}} d x+\int \frac{1}{1+x^{2}} d x$

$=-\log |x-1|+\frac{1}{2} \log |1+x^{2}|+\tan ^{-1} x+C$

14. $\frac{3 x-1}{(x+2)^{2}}$

Solution

Let $\frac{3 x-1}{(x+2)^{2}}=\frac{A}{(x+2)}+\frac{B}{(x+2)^{2}}$

$\Rightarrow 3 x-1=A(x+2)+B$

Equating the coefficient of $x$ and constant term, we obtain $A=3$

$2 A+B=-1 \Rightarrow B=-7$ $\therefore \frac{3 x-1}{(x+2)^{2}}=\frac{3}{(x+2)}-\frac{7}{(x+2)^{2}}$

$\Rightarrow \int \frac{3 x-1}{(x+2)^{2}} d x=3 \int \frac{1}{(x+2)} d x-7 \int \frac{x}{(x+2)^{2}} d x$

$=3 \log |x+2|-7(\frac{-1}{(x+2)})+C$

$=3 \log |x+2|+\frac{7}{(x+2)}+C$

15. $\frac{1}{x^{4}-1}$

Solution

$\frac{1}{(x^{4}-1)}=\frac{1}{(x^{2}-1)(x^{2}+1)}=\frac{1}{(x+1)(x-1)(1+x^{2})}$

Let $\frac{1}{(x+1)(x-1)(1+x^{2})}=\frac{A}{(x+1)}+\frac{B}{(x-1)}+\frac{C x+D}{(x^{2}+1)}$

$1=A(x-1)(x^{2}+1)+B(x+1)(x^{2}+1)+(C x+D)(x^{2}-1)$

$1=A(x^{3}+x-x^{2}-1)+B(x^{3}+x+x^{2}+1)+C x^{3}+D x^{2}-C x-D$

$1=(A+B+C) x^{3}+(-A+B+D) x^{2}+(A+B-C) x+(-A+B-D)$

Equating the coefficient of $x^{3}, x^{2}, x$, and constant term, we obtain

$A+B+C=0$

$-A+B+D=0$

$A+B-C=0$

$-A+B-D=1$

On solving these equations, we obtain

$A=-\frac{1}{4}, B=\frac{1}{4}, C=0$, and $D=-\frac{1}{2}$ $\therefore \frac{1}{x^{4}-1}=\frac{-1}{4(x+1)}+\frac{1}{4(x-1)}-\frac{1}{2(x^{2}+1)}$

$\Rightarrow \int \frac{1}{x^{4}-1} d x=-\frac{1}{4} \log |x-1|+\frac{1}{4} \log |x-1|-\frac{1}{2} \tan ^{-1} x+C$

$ =\frac{1}{4} \log |\frac{x-1}{x+1}|-\frac{1}{2} \tan ^{-1} x+C $

16. $\frac{1}{x(x^{n}+1)}$ [Hint: multiply numerator and denominator by $x^{n-1}$ and put $x^{n}=t$ ]

Solution

$\frac{1}{x(x^{n}+1)}$

Multiplying numerator and denominator by $x^{n-1}$, we obtain

$\frac{1}{x(x^{n}+1)}=\frac{x^{n-1}}{x^{n-1} x(x^{n}+1)}=\frac{x^{n-1}}{x^{n}(x^{n}+1)}$

Let $x^{n}=t \Rightarrow x^{n-1} d x=d t$

$\therefore \int \frac{1}{x(x^{n}+1)} d x=\int \frac{x^{n-1}}{x^{n}(x^{n}+1)} d x=\frac{1}{n} \int \frac{1}{t(t+1)} d t$

Let $\frac{1}{t(t+1)}=\frac{A}{t}+\frac{B}{(t+1)}$

$1=A(1+t)+B t$

Substituting $t=0,-1$ in equation (1), we obtain

$A=1$ and $B=-1$

$\therefore \frac{1}{t(t+1)}=\frac{1}{t}-\frac{1}{(1+t)}$ $\Rightarrow \int \frac{1}{x(x^{n}+1)} d x=\frac{1}{n} \int{\frac{1}{t}-\frac{1}{(t+1)}} d x$

$=\frac{1}{n}[\log |t|-\log |t+1|]+C$

$=-\frac{1}{n}[\log |x^{n}|-\log |x^{n}+1|]+C$

$=\frac{1}{n} \log |\frac{x^{n}}{x^{n}+1}|+C$

17. $\frac{\cos x}{(1-\sin x)(2-\sin x)} \quad$ [Hint : Put .\sin x=t]$

Solution

$\frac{\cos x}{(1-\sin x)(2-\sin x)}$

Let $\sin x=t \Rightarrow \cos x d x=d t$

$\therefore \int \frac{\cos x}{(1-\sin x)(2-\sin x)} d x=\int \frac{d t}{(1-t)(2-t)}$

Let $\frac{1}{(1-t)(2-t)}=\frac{A}{(1-t)}+\frac{B}{(2-t)}$

$1=A(2-t)+B(1-t)$

Substituting $t=2$ and then $t=1$ in equation (1), we obtain

$A=1$ and $B=-1$

$\therefore \frac{1}{(1-t)(2-t)}=\frac{1}{(1-t)}-\frac{1}{(2-t)}$

$ \begin{aligned} \Rightarrow \int \frac{\cos x}{(1-\sin x)(2-\sin x)} d x & =\int{\frac{1}{1-t}-\frac{1}{(2-t)}} d t \\ & =-\log |1-t|+\log |2-t|+C \\ & =\log |\frac{2-t}{1-t}|+C \\ & =\log |\frac{2-\sin x}{1-\sin x}|+C \end{aligned} $

18. $\frac{(x^{2}+1)(x^{2}+2)}{(x^{2}+3)(x^{2}+4)} \quad$

Solution

$\frac{(x^{2}+1)(x^{2}+2)}{(x^{2}+3)(x^{2}+4)}=1-\frac{(4 x^{2}+10)}{(x^{2}+3)(x^{2}+4)}$

Let $\frac{4 x^{2}+10}{(x^{2}+3)(x^{2}+4)}=\frac{A x+B}{(x^{2}+3)}+\frac{C x+D}{(x^{2}+4)}$

$4 x^{2}+10=(A x+B)(x^{2}+4)+(C x+D)(x^{2}+3)$

$4 x^{2}+10=A x^{3}+4 A x+B x^{2}+4 B+C x^{3}+3 C x+D x^{2}+3 D$

$4 x^{2}+10=(A+C) x^{3}+(B+D) x^{2}+(4 A+3 C) x+(4 B+3 D)$

Equating the coefficients of $x^{3}, x^{2}, x$, and constant term, we obtain

$A+C=0$

$B+D=4$

$4 A+3 C=0$

$4 B+3 D=10$

On solving these equations, we obtain

$A=0, B=-2, C=0$, and $D=6$

$\therefore \frac{4 x^{2}+10}{(x^{2}+3)(x^{2}+4)}=\frac{-2}{(x^{2}+3)}+\frac{6}{(x^{2}+4)}$ $\frac{(x^{2}+1)(x^{2}+2)}{(x^{2}+3)(x^{2}+4)}=1-(\frac{-2}{(x^{2}+3)}+\frac{6}{(x^{2}+4)})$

$\Rightarrow \int \frac{(x^{2}+1)(x^{2}+2)}{(x^{2}+3)(x^{2}+4)} d x=\int{1+\frac{2}{(x^{2}+3)}-\frac{6}{(x^{2}+4)}} d x$

$={1+\frac{2}{x^{2}+(\sqrt{3})^{2}}-\frac{6}{x^{2}+2^{2}}}$

$=x+2(\frac{1}{\sqrt{3}} \tan ^{-1} \frac{x}{\sqrt{3}})-6(\frac{1}{2} \tan ^{-1} \frac{x}{2})+C$

$=x+\frac{2}{\sqrt{3}} \tan ^{-1} \frac{x}{\sqrt{3}}-3 \tan ^{-1} \frac{x}{2}+C$

19. $\frac{2 x}{(x^{2}+1)(x^{2}+3)} \quad$

Solution

$\frac{2 x}{(x^{2}+1)(x^{2}+3)}$

Let $x^{2}=t \Rightarrow 2 x d x=d t$

$\therefore \int \frac{2 x}{(x^{2}+1)(x^{2}+3)} d x=\int \frac{d t}{(t+1)(t+3)}$

Let $\frac{1}{(t+1)(t+3)}=\frac{A}{(t+1)}+\frac{B}{(t+3)}$

$1=A(t+3)+B(t+1)$

Substituting $t=-3$ and $t=-1$ in equation (1), we obtain $A=\frac{1}{2}$ and $B=-\frac{1}{2}$

$\therefore \frac{1}{(t+1)(t+3)}=\frac{1}{2(t+1)}-\frac{1}{2(t+3)}$

$\Rightarrow \int \frac{2 x}{(x^{2}+1)(x^{2}+3)} d x=\int{\frac{1}{2(t+1)}-\frac{1}{2(t+3)}} d t$

$=\frac{1}{2} \log |(t+1)|-\frac{1}{2} \log |t+3|+C$

$=\frac{1}{2} \log |\frac{t+1}{t+3}|+C$

$=\frac{1}{2} \log |\frac{x^{2}+1}{x^{2}+3}|+C$

20. $\frac{1}{x(x^{4}-1)}$

Solution

$\frac{1}{x(x^{4}-1)}$

Multiplying numerator and denominator by $x^{3}$, we obtain

$ \begin{aligned} & \frac{1}{x(x^{4}-1)}=\frac{x^{3}}{x^{4}(x^{4}-1)} \\ & \therefore \int \frac{1}{x(x^{4}-1)} d x=\int \frac{x^{3}}{x^{4}(x^{4}-1)} d x \end{aligned} $

Let $x^{4}=t \Rightarrow 4 x^{3} d x=d t$

$\therefore \int \frac{1}{x(x^{4}-1)} d x=\frac{1}{4} \int \frac{d t}{t(t-1)}$

Let $\frac{1}{t(t-1)}=\frac{A}{t}+\frac{B}{(t-1)}$

$1=A(t-1)+B t$

Substituting $t=0$ and 1 in (1), we obtain

$A=-1$ and $B=1$

$\Rightarrow \frac{1}{t(t+1)}=\frac{-1}{t}+\frac{1}{t-1}$

$\Rightarrow \int \frac{1}{x(x^{4}-1)} d x=\frac{1}{4} \int{\frac{-1}{t}+\frac{1}{t-1}} d t$

$=\frac{1}{4}[-\log |t|+\log |t-1|]+C$

$=\frac{1}{4} \log |\frac{t-1}{t}|+C$

$=\frac{1}{4} \log |\frac{x^{4}-1}{x^{4}}|+C$

21. $\frac{1}{(e^{x}-1)}[.$ Hint : Put $.e^{x}=t]$

Solution

$\frac{1}{(e^{x}-1)}$

Let $e^{x}=t \Rightarrow e^{x} d x=d t$

$\Rightarrow \int \frac{1}{e^{x}-1} d x=\int \frac{1}{t-1} \times \frac{d t}{t}=\int \frac{1}{t(t-1)} d t$

Let $\frac{1}{t(t-1)}=\frac{A}{t}+\frac{B}{t-1}$

$1=A(t-1)+B t$

Substituting $t=1$ and $t=0$ in equation (1), we obtain

$A=-1$ and $B=1$

$\therefore \frac{1}{t(t-1)}=\frac{-1}{t}+\frac{1}{t-1}$

$\Rightarrow \int \frac{1}{t(t-1)} d t=\log |\frac{t-1}{t}|+C$

$ =\log |\frac{e^{x}-1}{e^{x}}|+C $

Choose the correct answer in each of the Exercises 22 and 23.

22. $\int \frac{x d x}{(x-1)(x-2)}$ equals (A) $\log |\frac{(x-1)^{2}}{x-2}|+C$ (B) $\log |\frac{(x-2)^{2}}{x-1}|+C$ (C) $\log |(\frac{x-1}{x-2})^{2}|+C$ (D) $\log |(x-1)(x-2)|+C$

Solution

Let $\frac{x}{(x-1)(x-2)}=\frac{A}{(x-1)}+\frac{B}{(x-2)}$

$x=A(x-2)+B(x-1)$

Substituting $x=1$ and 2 in (1), we obtain

$A=-1$ and $B=2$ $\therefore \frac{x}{(x-1)(x-2)}=-\frac{1}{(x-1)}+\frac{2}{(x-2)}$

$\Rightarrow \int \frac{x}{(x-1)(x-2)} d x=\int{\frac{-1}{(x-1)}+\frac{2}{(x-2)}} d x$

$ =-\log |x-1|+2 \log |x-2|+C $

$ =\log |\frac{(x-2)^{2}}{x-1}|+C $

Hence, the correct Answer is B.

23. $\int \frac{d x}{x(x^{2}+1)}$ equals (A) $\log |x|-\frac{1}{2} \log (x^{2}+1)+C$ (B) $\log |x|+\frac{1}{2} \log (x^{2}+1)+C$ (C) $-\log |x|+\frac{1}{2} \log (x^{2}+1)+C$ (D) $\frac{1}{2} \log |x|+\log (x^{2}+1)+C$

Solution

Let $\frac{1}{x(x^{2}+1)}=\frac{A}{x}+\frac{B x+C}{x^{2}+1}$

$1=A(x^{2}+1)+(B x+C) x$

Equating the coefficients of $x^{2}, x$, and constant term, we obtain

$A+B=0$

$C=0$

$A=1$

On solving these equations, we obtain

$A=1, B=-1$, and $C=0$ $\therefore \frac{1}{x(x^{2}+1)}=\frac{1}{x}+\frac{-x}{x^{2}+1}$

$\Rightarrow \int \frac{1}{x(x^{2}+1)} d x=\int{\frac{1}{x}-\frac{x}{x^{2}+1}} d x$

$ =\log |x|-\frac{1}{2} \log |x^{2}+1|+C $

Hence, the correct Answer is A.

Integration by Parts

In this section, we describe one more method of integration, that is found quite useful in integrating products of functions.

If $u$ and $v$ are any two differentiable functions of a single variable $x$ (say). Then, by the product rule of differentiation, we have

Integrating both sides, we get

$ \frac{d}{d x}(u v)=u \frac{d v}{d x}+v \frac{d u}{d x} $

$ u v=\int u \frac{d v}{d x} d x+\int v \frac{d u}{d x} d x $

or

$ \int u \frac{d v}{d x} d x=u v-\int v \frac{d u}{d x} d x $

Let

$ \begin{aligned} u & =f(x) \text{ and } \frac{d v}{d x}=g(x) . \text{ Then } \\ \frac{d u}{d x} & =f^{\prime}(x) \text{ and } v=\int g(x) d x \end{aligned} $

Therefore, expression (1) can be rewritten as

$ \begin{aligned} & \int f(x) g(x) d x=f(x) \int g(x) d x-\int[\int g(x) d x] f^{\prime}(x) d x \\ & \text{ i.e., } \\ & \int f(x) g(x) d x=f(x) \int g(x) d x-\int[f^{\prime}(x) \int g(x) d x] d x \end{aligned} $

If we take $f$ as the first function and $g$ as the second function, then this formula may be stated as follows:

“The integral of the product of two functions $=($ first function $) \times($ integral of the second function) - Integral of [(differential coefficient of the first function) $\times$ (integral of the second function)]”

Example 17 Find $\int x \cos x d x$

Solution Put $f(x)=x$ (first function) and $g(x)=\cos x$ (second function).

Then, integration by parts gives

$ \begin{aligned} \int x \cos x d x & =x \int \cos x d x-\int[\frac{d}{d x}(x) \int \cos x d x] d x \\ & =x \sin x-\int \sin x d x=x \sin x+\cos x+C \end{aligned} $

Suppose, we take

$ f(x)=\cos x \text{ and } g(x)=x . \text{ Then } $

$ \begin{aligned} \int x \cos x d x & =\cos x \int x d x-\int[\frac{d}{d x}(\cos x) \int x d x] d x \\ & =(\cos x) \frac{x^{2}}{2}+\int \sin x \frac{x^{2}}{2} d x \end{aligned} $

Thus, it shows that the integral $\int x \cos x d x$ is reduced to the comparatively more complicated integral having more power of $x$. Therefore, the proper choice of the first function and the second function is significant.

Remarks

(i) It is worth mentioning that integration by parts is not applicable to product of functions in all cases. For instance, the method does not work for $\int \sqrt{x} \sin x d x$. The reason is that there does not exist any function whose derivative is $\sqrt{x} \sin x$.

(ii) Observe that while finding the integral of the second function, we did not add any constant of integration. If we write the integral of the second function $\cos x$ as $\sin x+k$, where $k$ is any constant, then

$ \begin{aligned} \int x \cos x d x & =x(\sin x+k)-\int(\sin x+k) d x \\ & =x(\sin x+k)-\int(\sin x d x-\int k d x. \\ & =x(\sin x+k)-\cos x-k x+C=x \sin x+\cos x+C \end{aligned} $

This shows that adding a constant to the integral of the second function is superfluous so far as the final result is concerned while applying the method of integration by parts.

(iii) Usually, if any function is a power of $x$ or a polynomial in $x$, then we take it as the first function. However, in cases where other function is inverse trigonometric function or logarithmic function, then we take them as first function.

Example 18 Find $\int \log x d x$**

Solution To start with, we are unable to guess a function whose derivative is $\log x$. We take $\log x$ as the first function and the constant function 1 as the second function. Then, the integral of the second function is $x$.

Hence,

$ \begin{aligned} \int(\log x .1) d x & =\log x \int 1 d x-\int[\frac{d}{d x}(\log x) \int 1 d x] d x \\ & =(\log x) \cdot x-\int \frac{1}{x} x d x=x \log x-x+C . \end{aligned} $

Example 19 Find $\int x e^{x} d x$

Solution Take first function as $x$ and second function as $e^{x}$. The integral of the second function is $e^{x}$.

Therefore,

$ \int x e^{x} d x=x e^{x}-\int 1 \cdot e^{x} d x=x e^{x}-e^{x}+C . $

Example 20 Find $\int \frac{x \sin ^{-1} x}{\sqrt{1-x^{2}}} d x$

Solution Let first function be $\sin ^{-1} x$ and second function be $\frac{x}{\sqrt{1-x^{2}}}$.

First we find the integral of the second function, i.e., $\int \frac{x d x}{\sqrt{1-x^{2}}}$.

Put $t=1-x^{2}$. Then $d t=-2 x d x$

Therefore,

$ \begin{aligned} \int \frac{x d x}{\sqrt{1-x^{2}}} & =-\frac{1}{2} \int \frac{d t}{\sqrt{t}}=-\sqrt{t}=-\sqrt{1-x^{2}} \\ \int \frac{x \sin ^{-1} x}{\sqrt{1-x^{2}}} d x & =(\sin ^{-1} x)(-\sqrt{1-x^{2}})-\int \frac{1}{\sqrt{1-x^{2}}}(-\sqrt{1-x^{2}}) d x \\ & =-\sqrt{1-x^{2}} \sin ^{-1} x+x+C=x-\sqrt{1-x^{2}} \sin ^{-1} x+C \end{aligned} $

Alternatively, this integral can also be worked out by making substitution $\sin ^{-1} x=\theta$ and then integrating by parts.

Example 21 Find $\int e^{x} \sin x d x$

Solution Take $e^{x}$ as the first function and $\sin x$ as second function. Then, integrating by parts, we have

$ \begin{aligned} I=\int e^{x} \sin x d x & =e^{x}(-\cos x)+\int e^{x} \cos x d x \\ & =-e^{x} \cos x+I_1 \text{ (say) } \end{aligned} $

Taking $e^{x}$ and $\cos x$ as the first and second functions, respectively, in $I_1$, we get

$ I_1=e^{x} \sin x-\int e^{x} \sin x d x $

Substituting the value of $I_1$ in (1), we get

$ \begin{aligned} & I=-e^{x} \cos x+e^{x} \sin x-I \text{ or } 2 I=e^{x}(\sin x-\cos x) \\ & I=\int e^{x} \sin x d x=\frac{e^{x}}{2}(\sin x-\cos x)+C \end{aligned} $

Hence,

Alternatively, above integral can also be determined by taking $\sin x$ as the first function and $e^{x}$ the second function.

7.6.1 Integral of the type $\int e^{x}[f(x)+f^{\prime}(x)] d x$

We have

$ \begin{aligned} I & =\int e^{x}[f(x)+f^{\prime}(x)] d x=\int e^{x} f(x) d x+\int e^{x} f^{\prime}(x) d x \\ & =I_1+\int e^{x} f^{\prime}(x) d x, \text{ where } I_1=\int e^{x} f(x) d x \end{aligned} $

Taking $f(x)$ and $e^{x}$ as the first function and second function, respectively, in $I_1$ and integrating it by parts, we have $I_1=f(x) e^{x}-\int f^{\prime}(x) e^{x} d x+C$

Substituting $I_1$ in (1), we get

$ I=e^{x} f(x)-\int f^{\prime}(x) e^{x} d x+\int e^{x} f^{\prime}(x) d x+C=e^{x} f(x)+C $

Thus,

$ \int e^{x}[f(x)+f^{\prime}(x)] d x=e^{x} f(x)+\mathbf{C} $

Example 22 Find (i) $\int e^{x}(\tan ^{-1} x+\frac{1}{1+x^{2}}) d x$ (ii) $\int \frac{(x^{2}+1) e^{x}}{(x+1)^{2}} d x$

Solution

(i) We have $I=\int e^{x}(\tan ^{-1} x+\frac{1}{1+x^{2}}) d x$

Consider $f(x)=\tan ^{-1} x$, then $f^{\prime}(x)=\frac{1}{1+x^{2}}$

Thus, the given integrand is of the form $e^{x}[f(x)+f^{\prime}(x)]$.

Therefore, $I=\int e^{x}(\tan ^{-1} x+\frac{1}{1+x^{2}}) d x=e^{x} \tan ^{-1} x+C$

(ii) We have $I=\int \frac{(x^{2}+1) e^{x}}{(x+1)^{2}} d x=\int e^{x}[\frac{.x^{2}-1+1+1)}{(x+1)^{2}}] d x$

$ =\int e^{x}[\frac{x^{2}-1}{(x+1)^{2}}+\frac{2}{(x+1)^{2}}] d x=\int e^{x}[\frac{x-1}{x+1}+\frac{2}{(x+1)^{2}}] d x $

Consider $f(x)=\frac{x-1}{x+1}$, then $f^{\prime}(x)=\frac{2}{(x+1)^{2}}$

Thus, the given integrand is of the form $e^{x}[f(x)+f^{\prime}(x)]$.

Therefore, $\quad \int \frac{x^{2}+1}{(x+1)^{2}} e^{x} d x=\frac{x-1}{x+1} e^{x}+C$

EXERCISE 7.6

Integrate the functions in Exercises 1 to 22.

1. $x \sin x$

Solution

Let $I=\int x \sin x d x$

Taking $x$ as first function and $\sin x$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =x \int \sin x d x-\int{(\frac{d}{d x} x) \int \sin x d x} d x \\ & =x(-\cos x)-\int 1 \cdot(-\cos x) d x \\ & =-x \cos x+\sin x+C \end{aligned} $

2. $x \sin 3 x$

Solution

Let $I=\int x \sin 3 x d x$

Taking $x$ as first function and $\sin 3 x$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =x \int \sin 3 x d x-\int{(\frac{d}{d x} x) \int \sin 3 x d x} \\ & =x(\frac{-\cos 3 x}{3})-\int 1 \cdot(\frac{-\cos 3 x}{3}) d x \\ & =\frac{-x \cos 3 x}{3}+\frac{1}{3} \int \cos 3 x d x \\ & =\frac{-x \cos 3 x}{3}+\frac{1}{9} \sin 3 x+C \end{aligned} $

3. $x^{2} e^{x}$

Solution

$x^{2} e^{x}$

Answer

Let $I=\int x^{2} e^{x} d x$

Taking $x^{2}$ as first function and $e^{x}$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =x^{2} \int e^{x} d x-\int{(\frac{d}{d x} x^{2}) \int e^{x} d x} d x \\ & =x^{2} e^{x}-\int 2 x \cdot e^{x} d x \\ & =x^{2} e^{x}-2 \int x \cdot e^{x} d x \end{aligned} $

Again integrating by parts, we obtain

$ \begin{aligned} & =x^{2} e^{x}-2[x \cdot \int e^{x} d x-\int{(\frac{d}{d x} x) \cdot \int e^{x} d x} d x] \\ & =x^{2} e^{x}-2[x e^{x}-\int e^{x} d x] \\ & =x^{2} e^{x}-2[x e^{x}-e^{x}] \\ & =x^{2} e^{x}-2 x e^{x}+2 e^{x}+C \\ & =e^{x}(x^{2}-2 x+2)+C \end{aligned} $

4. $x \log x$

Solution

Let $I=\int x \log x d x$

Taking $\log x$ as first function and $x$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =\log x \int x d x-\int{(\frac{d}{d x} \log x) \int x d x} d x \\ & =\log x \cdot \frac{x^{2}}{2}-\int \frac{1}{x} \cdot \frac{x^{2}}{2} d x \\ & =\frac{x^{2} \log x}{2}-\int \frac{x}{2} d x \\ & =\frac{x^{2} \log x}{2}-\frac{x^{2}}{4}+C \end{aligned} $

5. $x \log 2 x$

Solution

Let $I=\int x \log 2 x d x$

Taking $\log 2 x$ as first function and $x$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =\log 2 x \int x d x-\int{(\frac{d}{d x} 2 \log x) \int x d x} d x \\ & =\log 2 x \cdot \frac{x^{2}}{2}-\int \frac{2}{2 x} \cdot \frac{x^{2}}{2} d x \\ & =\frac{x^{2} \log 2 x}{2}-\int \frac{x}{2} d x \\ & =\frac{x^{2} \log 2 x}{2}-\frac{x^{2}}{4}+C \end{aligned} $

6. $x^{2} \log x$

Solution

Let $I=\int x^{2} \log x d x$

Taking $\log x$ as first function and $x^{2}$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =\log x \int x^{2} d x-\int{(\frac{d}{d x} \log x) \int x^{2} d x} d x \\ & =\log x(\frac{x^{3}}{3})-\int \frac{1}{x} \cdot \frac{x^{3}}{3} d x \\ & =\frac{x^{3} \log x}{3}-\int \frac{x^{2}}{3} d x \\ & =\frac{x^{3} \log x}{3}-\frac{x^{3}}{9}+C \end{aligned} $

7. $x \sin ^{-1} x$

Solution

Let $I=\int x \sin ^{-1} x d x$

Taking $\sin ^{-1} x$ as first function and $x$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =\sin ^{-1} x \int x d x-\int{(\frac{d}{d x} \sin ^{-1} x) \int x d x} d x \\ & =\sin ^{-1} x(\frac{x^{2}}{2})-\int \frac{1}{\sqrt{1-x^{2}}} \cdot \frac{x^{2}}{2} d x \\ & =\frac{x^{2} \sin ^{-1} x}{2}+\frac{1}{2} \int \frac{-x^{2}}{\sqrt{1-x^{2}}} d x \\ & =\frac{x^{2} \sin ^{-1} x}{2}+\frac{1}{2} \int{\frac{1-x^{2}}{\sqrt{1-x^{2}}}-\frac{1}{\sqrt{1-x^{2}}}} d x \\ & =\frac{x^{2} \sin ^{-1} x}{2}+\frac{1}{2} \int{\sqrt{1-x^{2}}-\frac{1}{\sqrt{1-x^{2}}}} d x \\ & =\frac{x^{2} \sin ^{-1} x}{2}+\frac{1}{2}{\int \sqrt{1-x^{2}} d x-\int \frac{1}{\sqrt{1-x^{2}}} d x} \\ & =\frac{x^{2} \sin ^{-1} x}{2}+\frac{1}{2}{\frac{x}{2} \sqrt{1-x^{2}}+\frac{1}{2} \sin ^{-1} x-\sin ^{-1} x}+C \\ & =\frac{x^{2} \sin ^{-1} x}{2}+\frac{x}{4} \sqrt{1-x^{2}}+\frac{1}{4} \sin ^{-1} x-\frac{1}{2} \sin ^{-1} x+C \\ & =\frac{1}{4}(2 x^{2}-1) \sin ^{-1} x+\frac{x}{4} \sqrt{1-x^{2}}+C \end{aligned} $

8. $x \tan ^{-1} x$

Solution

Let $I=\int x \tan ^{-1} x d x$

Taking $\tan ^{-1} x$ as first function and $x$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =\tan ^{-1} x \int x d x-\int{(\frac{d}{d x} \tan ^{-1} x) \int x d x} d x \\ & =\tan ^{-1} x(\frac{x^{2}}{2})-\int \frac{1}{1+x^{2}} \cdot \frac{x^{2}}{2} d x \\ & =\frac{x^{2} \tan ^{-1} x}{2}-\frac{1}{2} \int \frac{x^{2}}{1+x^{2}} d x \\ & =\frac{x^{2} \tan ^{-1} x}{2}-\frac{1}{2} \int(\frac{x^{2}+1}{1+x^{2}}-\frac{1}{1+x^{2}}) d x \\ & =\frac{x^{2} \tan ^{-1} x}{2}-\frac{1}{2} \int(1-\frac{1}{1+x^{2}}) d x \\ & =\frac{x^{2} \tan ^{-1} x}{2}-\frac{1}{2}(x-\tan ^{-1} x)+C \\ & =\frac{x^{2}}{2} \tan ^{-1} x-\frac{x}{2}+\frac{1}{2} \tan ^{-1} x+C \end{aligned} $

9. $x \cos ^{-1} x$

Solution

Let $I=\int x \cos ^{-1} x d x$

Taking $\cos ^{-1} x$ as first function and $x$ as second function and integrating by parts, we obtain

$$ \begin{align*} I & =\cos ^{-1} x \int x d x-\int{(\frac{d}{d x} \cos ^{-1} x) \int x d x} d x \\ & =\cos ^{-1} x \frac{x^{2}}{2}-\int \frac{-1}{\sqrt{1-x^{2}}} \cdot \frac{x^{2}}{2} d x \\ & =\frac{x^{2} \cos ^{-1} x}{2}-\frac{1}{2} \int \frac{1-x^{2}-1}{\sqrt{1-x^{2}}} d x \\ & =\frac{x^{2} \cos ^{-1} x}{2}-\frac{1}{2} \int{\sqrt{1-x^{2}}+(\frac{-1}{\sqrt{1-x^{2}}})} d x \\ & =\frac{x^{2} \cos ^{-1} x}{2}-\frac{1}{2} \int \sqrt{1-x^{2}} d x-\frac{1}{2} \int(\frac{-1}{\sqrt{1-x^{2}}}) d x \\ & =\frac{x^{2} \cos ^{-1} x}{2}-\frac{1}{2} I_1-\frac{1}{2} \cos ^{-1} x \tag{1} \end{align*} $$

where, $I_1=\int \sqrt{1-x^{2}} d x$

$\Rightarrow I_1=x \sqrt{1-x^{2}}-\int \frac{d}{d x} \sqrt{1-x^{2}} \int x d x$

$\Rightarrow I_1=x \sqrt{1-x^{2}}-\int \frac{-2 x}{2 \sqrt{1-x^{2}}} \cdot x d x$

$\Rightarrow I_1=x \sqrt{1-x^{2}}-\int \frac{-x^{2}}{\sqrt{1-x^{2}}} d x$

$\Rightarrow I_1=x \sqrt{1-x^{2}}-\int \frac{1-x^{2}-1}{\sqrt{1-x^{2}}} d x$

$\Rightarrow I_1=x \sqrt{1-x^{2}}-{\int \sqrt{1-x^{2}} d x+\int \frac{-d x}{\sqrt{1-x^{2}}}}$

$\Rightarrow I_1=x \sqrt{1-x^{2}}-{I_1+\cos ^{-1} x}$

$\Rightarrow 2 I_1=x \sqrt{1-x^{2}}-\cos ^{-1} x$

$\therefore I_1=\frac{x}{2} \sqrt{1-x^{2}}-\frac{1}{2} \cos ^{-1} x$

Substituting in (1), we obtain

$ \begin{aligned} I & =\frac{x \cos ^{-1} x}{2}-\frac{1}{2}(\frac{x}{2} \sqrt{1-x^{2}}-\frac{1}{2} \cos ^{-1} x)-\frac{1}{2} \cos ^{-1} x \\ & =\frac{(2 x^{2}-1)}{4} \cos ^{-1} x-\frac{x}{4} \sqrt{1-x^{2}}+C \end{aligned} $

10. $(\sin ^{-1} x)^{2}$

Solution

Let $I=\int(\sin ^{-1} x)^{2} \cdot 1 d x$

Taking $(\sin ^{-1} x)^{2}$ as first function and 1 as second function and integrating by parts, we obtain

$ \begin{aligned} I & =(\sin ^{-1} x) \int 1 d x-\int{\frac{d}{d x}(\sin ^{-1} x)^{2} \cdot \int 1 \cdot d x} d x \\ & =(\sin ^{-1} x)^{2} \cdot x-\int \frac{2 \sin ^{-1} x}{\sqrt{1-x^{2}}} \cdot x d x \\ & =x(\sin ^{-1} x)^{2}+\int \sin ^{-1} x \cdot(\frac{-2 x}{\sqrt{1-x^{2}}}) d x \\ & =x(\sin ^{-1} x)^{2}+[\sin ^{-1} x \int \frac{-2 x}{\sqrt{1-x^{2}}} d x-\int{(\frac{d}{d x} \sin ^{-1} x) \int \frac{-2 x}{\sqrt{1-x^{2}}} d x} d x] \\ & =x(\sin ^{-1} x)^{2}+[\sin ^{-1} x \cdot 2 \sqrt{1-x^{2}}-\int \frac{1}{\sqrt{1-x^{2}}} \cdot 2 \sqrt{1-x^{2}} d x] \\ & =x(\sin ^{-1} x)^{2}+2 \sqrt{1-x^{2}} \sin ^{-1} x-\int 2 d x \\ & =x(\sin ^{-1} x)^{2}+2 \sqrt{1-x^{2}} \sin ^{-1} x-2 x+C \end{aligned} $

11. $\frac{x \cos ^{-1} x}{\sqrt{1-x^{2}}}$

Solution

Let $I=\int \frac{x \cos ^{-1} x}{\sqrt{1-x^{2}}} d x$ $I=\frac{-1}{2} \int \frac{-2 x}{\sqrt{1-x^{2}}} \cdot \cos ^{-1} x d x$

Taking $\cos ^{-1} x$ as first function and $(\frac{-2 x}{\sqrt{1-x^{2}}})$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =\frac{-1}{2}[\cos ^{-1} x \int \frac{-2 x}{\sqrt{1-x^{2}}} d x-\int{(\frac{d}{d x} \cos ^{-1} x) \int \frac{-2 x}{\sqrt{1-x^{2}}} d x} d x] \\ & =\frac{-1}{2}[\cos ^{-1} x \cdot 2 \sqrt{1-x^{2}}-\int \frac{-1}{\sqrt{1-x^{2}}} \cdot 2 \sqrt{1-x^{2}} d x] \\ & =\frac{-1}{2}[2 \sqrt{1-x^{2}} \cos ^{-1} x+\int 2 d x] \\ & =\frac{-1}{2}[2 \sqrt{1-x^{2}} \cos ^{-1} x+2 x]+C \\ & =-[\sqrt{1-x^{2}} \cos ^{-1} x+x]+C \end{aligned} $

12. $x \sec ^{2} x$

Solution

Let $I=\int x \sec ^{2} x d x$

Taking $x$ as first function and $\sec ^{2} x$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =x \int \sec ^{2} x d x-\int{{\frac{d}{d x} x} \int \sec ^{2} x d x} d x \\ & =x \tan x-\int 1 \cdot \tan x d x \\ & =x \tan x+\log |\cos x|+C \end{aligned} $

13. $\tan ^{-1} x$

Solution

Let $I=\int 1 \cdot \tan ^{-1} x d x$

Taking $\tan ^{-1} x$ as first function and 1 as second function and integrating by parts, we obtain

$ \begin{aligned} I & =\tan ^{-1} x \int 1 d x-\int{(\frac{d}{d x} \tan ^{-1} x) \int 1 \cdot d x} d x \\ & =\tan ^{-1} x \cdot x-\int \frac{1}{1+x^{2}} \cdot x d x \\ & =x \tan ^{-1} x-\frac{1}{2} \int \frac{2 x}{1+x^{2}} d x \\ & =x \tan ^{-1} x-\frac{1}{2} \log |1+x^{2}|+C \\ & =x \tan ^{-1} x-\frac{1}{2} \log (1+x^{2})+C \end{aligned} $

14. $x(\log x)^{2}$

Solution

$I=\int x(\log x)^{2} d x$

Taking $(\log x)^{2}$ as first function and 1 as second function and integrating by parts, we obtain

$ \begin{aligned} I & =(\log x)^{2} \int x d x-\int[{(\frac{d}{d x} \log x)^{2}} \int x d x] d x \\ & =\frac{x^{2}}{2}(\log x)^{2}-[\int 2 \log x \cdot \frac{1}{x} \cdot \frac{x^{2}}{2} d x] \\ & =\frac{x^{2}}{2}(\log x)^{2}-\int x \log x d x \end{aligned} $

Again integrating by parts, we obtain

$ \begin{aligned} I & =\frac{x^{2}}{2}(\log x)^{2}-[\log x \int x d x-\int{(\frac{d}{d x} \log x) \int x d x} d x] \\ & =\frac{x^{2}}{2}(\log x)^{2}-[\frac{x^{2}}{2}-\log x-\int \frac{1}{x} \cdot \frac{x^{2}}{2} d x] \\ & =\frac{x^{2}}{2}(\log x)^{2}-\frac{x^{2}}{2} \log x+\frac{1}{2} \int x d x \\ & =\frac{x^{2}}{2}(\log x)^{2}-\frac{x^{2}}{2} \log x+\frac{x^{2}}{4}+C \end{aligned} $

15. $(x^{2}+1) \log x$

Solution

Let $I=\int(x^{2}+1) \log x d x=\int x^{2} \log x d x+\int \log x d x$

Let $I=I_1+I_2 \ldots$ (1)

Where, $I_1=\int x^{2} \log x d x$ and $I_2=\int \log x d x$

$I_1=\int x^{2} \log x d x$

Taking $\log x$ as first function and $x^{2}$ as second function and integrating by parts, we obtain

$$ \begin{align*} I_1 & =\log x-\int x^{2} d x-\int{(\frac{d}{d x} \log x) \int x^{2} d x} d x \\ & =\log x \cdot \frac{x^{3}}{3}-\int \frac{1}{x} \cdot \frac{x^{3}}{3} d x \\ & =\frac{x^{3}}{3} \log x-\frac{1}{3}(\int x^{2} d x) \\ & =\frac{x^{3}}{3} \log x-\frac{x^{3}}{9}+C_1 \tag{2}\\ I_2 & =\int \log x d x \end{align*} $$

Taking $\log x$ as first function and 1 as second function and integrating by parts, we obtain

$$ \begin{align*} I_2 & =\log x \int 1 \cdot d x-\int{(\frac{d}{d x} \log x) \int 1 \cdot d x} \\ & =\log x \cdot x-\int \frac{1}{x} \cdot x d x \\ & =x \log x-\int 1 d x \\ & =x \log x-x+C_2 \tag{3} \end{align*} $$

Using equations (2) and (3) in (1), we obtain

$ \begin{aligned} I & =\frac{x^{3}}{3} \log x-\frac{x^{3}}{9}+C_1+x \log x-x+C_2 \\ & =\frac{x^{3}}{3} \log x-\frac{x^{3}}{9}+x \log x-x+(C_1+C_2) \\ & =(\frac{x^{3}}{3}+x) \log x-\frac{x^{3}}{9}-x+C \end{aligned} $

16. $e^{x}(\sin x+\cos x)$

Solution

Let $I=\int e^{x}(\sin x+\cos x) d x$

Let $f(x)=\sin x$

$\square^{\prime}(x)=\cos x$

$\square^{I=\int e^{x}}{f(x)+f^{\prime}(x)} d x$

It is known that, $\int e^{x}{f(x)+f^{\prime}(x)} d x=e^{x} f(x)+C$

$\therefore I=e^{x} \sin x+C$

17. $\frac{x e^{x}}{(1+x)^{2}}$

Solution

Let $I=\int \frac{x e^{x}}{(1+x)^{2}} d x=\int e^{x}{\frac{x}{(1+x)^{2}}} d x$

$=\int e^{x}{\frac{1+x-1}{(1+x)^{2}}} d x$

$=\int e^{x}{\frac{1}{1+x}-\frac{1}{(1+x)^{2}}} d x$

Let $f(x)=\frac{1}{1+x} \square f^{\prime}(x)=\frac{-1}{(1+x)^{2}}$

$\Rightarrow \int \frac{x e^{x}}{(1+x)^{2}} d x=\int e^{x}{f(x)+f^{\prime}(x)} d x$

It is known that, $\int e^{x}{f(x)+f^{\prime}(x)} d x=e^{x} f(x)+C$

$\therefore \int \frac{x e^{x}}{(1+x)^{2}} d x=\frac{e^{x}}{1+x}+C$

18. $e^{x}(\frac{1+\sin x}{1+\cos x})$

Solution

$e^{x}(\frac{1+\sin x}{1+\cos x})$

$=e^{x}(\frac{\sin ^{2} \frac{x}{2}+\cos ^{2} \frac{x}{2}+2 \sin \frac{x}{2} \cos \frac{x}{2}}{2 \cos ^{2} \frac{x}{2}})$

$=\frac{e^{x}(\sin \frac{x}{2}+\cos \frac{x}{2})^{2}}{2 \cos ^{2} \frac{x}{2}}$

$=\frac{1}{2} e^{x} \cdot(\frac{\sin \frac{x}{2}+\cos \frac{x}{2}}{\cos \frac{x}{2}})^{2}$

$=\frac{1}{2} e^{x}[\tan \frac{x}{2}+1]^{2}$

$=\frac{1}{2} e^{2}(1+\tan \frac{x}{2})^{2}$

$=\frac{1}{2} e^{x}[1+\tan ^{2} \frac{x}{2}+2 \tan \frac{x}{2}]$

$=\frac{1}{2} e^{x}[\sec ^{2} \frac{x}{2}+2 \tan \frac{x}{2}]$

$\frac{e^{x}(1+\sin x) d x}{(1+\cos x)}=e^{x}[\frac{1}{2} \sec ^{2} \frac{x}{2}+\tan \frac{x}{2}]$

Let $\tan \frac{x}{2}=f(x) \quad f^{\prime}(x)=\frac{1}{2} \sec ^{2} \frac{x}{2}$

It is known that, $\int e^{x}{f(x)+f^{\prime}(x)} d x=e^{x} f(x)+C$

From equation (1), we obtain

$\int \frac{e^{x}(1+\sin x)}{(1+\cos x)} d x=e^{x} \tan \frac{x}{2}+C$

19. $e^{x}(\frac{1}{x}-\frac{1}{x^{2}}) \quad$

Solution

Let $I=\int e^{x}[\frac{1}{x}-\frac{1}{x^{2}}] d x$

Also, let $\frac{1}{x}=f(x) \quad f^{\prime}(x)=\frac{-1}{x^{2}}$

It is known that, $\int e^{x}{f(x)+f^{\prime}(x)} d x=e^{x} f(x)+C$

$\therefore I=\frac{e^{x}}{x}+C$

20. $\frac{(x-3) e^{x}}{(x-1)^{3}} \quad$

Solution

$ \begin{aligned} & \begin{aligned} \int e^{x}{\frac{x-3}{(x-1)^{3}}} d x & =\int e^{x}{\frac{x-1-2}{(x-1)^{3}}} d x \\ & =\int e^{x}{\frac{1}{(x-1)^{2}}-\frac{2}{(x-1)^{3}}} d x \end{aligned} \\ & \text{ Let } f(x)=\frac{1}{(x-1)^{2}} \quad f^{\prime}(x)=\frac{-2}{(x-1)^{3}} \end{aligned} $

It is known that, $\int e^{x}{f(x)+f^{\prime}(x)} d x=e^{x} f(x)+C$

$\therefore \int e^{x}{\frac{(x-3)}{(x-1)^{2}}} d x=\frac{e^{x}}{(x-1)^{2}}+C$

21. $e^{2 x} \sin x$

Solution

Let $I=\int e^{2 x} \sin x d x$

Integrating by parts, we obtain

$I=\sin x \int e^{2 x} d x-\int{(\frac{d}{d x} \sin x) \int e^{2 x} d x} d x$

$\Rightarrow I=\sin x \cdot \frac{e^{2 x}}{2}-\int \cos x \cdot \frac{e^{2 x}}{2} d x$

$\Rightarrow I=\frac{e^{2 x} \sin x}{2}-\frac{1}{2} \int e^{2 x} \cos x d x$

Again integrating by parts, we obtain

$ \begin{aligned} & I=\frac{e^{2 x} \cdot \sin x}{2}-\frac{1}{2}[\cos x \int e^{2 x} d x-\int{(\frac{d}{d x} \cos x) \int e^{2 x} d x} d x] \\ & \Rightarrow I=\frac{e^{2 x} \sin x}{2}-\frac{1}{2}[\cos x \cdot \frac{e^{2 x}}{2}-\int(-\sin x) \frac{e^{2 x}}{2} d x] \\ & \Rightarrow I=\frac{e^{2 x} \cdot \sin x}{2}-\frac{1}{2}[\frac{e^{2 x} \cos x}{2}+\frac{1}{2} \int e^{2 x} \sin x d x] \\ & \Rightarrow I=\frac{e^{2 x} \sin x}{2}-\frac{e^{2 x} \cos x}{4}-\frac{1}{4} I \\ & \Rightarrow I+\frac{1}{4} I=\frac{e^{2 x} \cdot \sin x}{2}-\frac{e^{2 x} \cos x}{4} \\ & \Rightarrow \frac{5}{4} I=\frac{e^{2 x} \sin x}{2}-\frac{e^{2 x} \cos x}{4} \\ & \Rightarrow I=\frac{4}{5}[\frac{e^{2 x} \sin x}{2}-\frac{e^{2 x} \cos x}{4}]+C \\ & \Rightarrow I=\frac{e^{2 x}}{5}[2 \sin x-\cos x]+C \end{aligned} $

22. $\sin ^{-1}(\frac{2 x}{1+x^{2}})$

Solution

Let $x=\tan \theta \quad \square d x=\sec ^{2} \theta d \theta$ $\therefore \sin ^{-1}(\frac{2 x}{1+x^{2}})=\sin ^{-1}(\frac{2 \tan \theta}{1+\tan ^{2} \theta})=\sin ^{-1}(\sin 2 \theta)=2 \theta$

$\int \sin^{-1} (\frac{2x}{1+x^2})dx=\int 2 \theta \cdot \sec^2 \theta d \theta=2 \int \theta \cdot \sec^2 \theta d \theta$

Integrating by parts, we obtain

$ \begin{aligned} & 2[\theta \cdot \int \sec ^{2} \theta d \theta-\int{(\frac{d}{d \theta} \theta) \int \sec ^{2} \theta d \theta} d \theta] \\ & =2[\theta \cdot \tan \theta-\int \tan \theta d \theta] \\ & =2[\theta \tan \theta+\log |\cos \theta|]+C \\ & =2[x \tan ^{-1} x+\log |\frac{1}{\sqrt{1+x^{2}}}|]+C \\ & =2 x \tan ^{-1} x+2 \log (1+x^{2})^{-\frac{1}{2}}+C \\ & =2 x \tan ^{-1} x+2[-\frac{1}{2} \log (1+x^{2})]+C \\ & =2 x \tan ^{-1} x-\log (1+x^{2})+C \end{aligned} $

Choose the correct answer in Exercises 23 and 24.

23. $\int x^{2} e^{x^{3}} d x$ equals

(A) $\frac{1}{3} e^{x^{3}}+C$

(B) $\frac{1}{3} e^{x^{2}}+C$

(C) $\frac{1}{2} e^{x^{3}}+C$

(D) $\frac{1}{2} e^{x^{2}}+C$

Solution

Let $I=\int x^{2} e^{x^{3}} d x$

Also, let $x^{3}=t \square 3 x^{2} d x=d t$

$ \begin{aligned} \Rightarrow I & =\frac{1}{3} \int e^{t} d t \\ & =\frac{1}{3}(e^{t})+C \\ & =\frac{1}{3} e^{x^{3}}+C \end{aligned} $

Hence, the correct Answer is A.

24. $\int e^{x} \sec x(1+\tan x) d x$ equals

(A) $e^{x} \cos x+C$

(B) $e^{x} \sec x+C$

(C) $e^{x} \sin x+C$

(D) $e^{x} \tan x+C$

Solution

$\int e^{x} \sec x(1+\tan x) d x$

Let $I=\int e^{x} \sec x(1+\tan x) d x=\int e^{x}(\sec x+\sec x \tan x) d x$

Also, let $\sec x=f(x) \square^{\sec x \tan x=f^{\prime}(x)}$

It is known that, $\int e^{x}{f(x)+f^{\prime}(x)} d x=e^{x} f(x)+C$

$\therefore I=e^{x} \sec x+C$

Hence, the correct Answer is B.

Integrals of some more types

Here, we discuss some special types of standard integrals based on the technique of integration by parts :

(i) $\int \sqrt{x^{2}-a^{2}} d x$

(ii) $\int \sqrt{x^{2}+a^{2}} d x$

(iii) $\int \sqrt{a^{2}-x^{2}} d x$

(i) Let $I=\int \sqrt{x^{2}-a^{2}} d x$

Taking constant function 1 as the second function and integrating by parts, we have

$ \begin{aligned} I & =x \sqrt{x^{2}-a^{2}}-\int \frac{1}{2} \frac{2 x}{\sqrt{x^{2}-a^{2}}} x d x \\ & =x \sqrt{x^{2}-a^{2}}-\int \frac{x^{2}}{\sqrt{x^{2}-a^{2}}} d x=x \sqrt{x^{2}-a^{2}}-\int \frac{x^{2}-a^{2}+a^{2}}{\sqrt{x^{2}-a^{2}}} d x \end{aligned} $

$ \begin{aligned} & =x \sqrt{x^{2}-a^{2}}-\int \sqrt{x^{2}-a^{2}} d x-a^{2} \int \frac{d x}{\sqrt{x^{2}-a^{2}}} \\ & =x \sqrt{x^{2}-a^{2}}-I-a^{2} \int \frac{d x}{\sqrt{x^{2}-a^{2}}} \end{aligned} $

or

$ 2 I=x \sqrt{x^{2}-a^{2}}-a^{2} \int \frac{d x}{\sqrt{x^{2}-a^{2}}} $

or

$ I=\int \sqrt{x^{2}-a^{2}} d x=\frac{x}{2} \sqrt{x^{2}-a^{2}}-\frac{a^{2}}{2} \log |x+\sqrt{x^{2}-a^{2}}|+C $

Similarly, integrating other two integrals by parts, taking constant function 1 as the second function, we get

(ii) $\int \sqrt{x^{2}+a^{2}} d x=\frac{1}{2} x \sqrt{x^{2}+a^{2}}+\frac{a^{2}}{2} \log |x+\sqrt{x^{2}+a^{2}}|+C$

(iii) $\int \sqrt{a^{2}-x^{2}} d x=\frac{1}{2} x \sqrt{a^{2}-x^{2}}+\frac{a^{2}}{2} \sin ^{-1} \frac{x}{a}+C$

Alternatively, integrals (i), (ii) and (iii) can also be found by making trigonometric substitution $x=a \sec \theta$ in (i), $x=a \tan \theta$ in (ii) and $x=a \sin \theta$ in (iii) respectively.

Example 23 Find $\int \sqrt{x^{2}+2 x+5} d x$

Solution Note that

$ \int \sqrt{x^{2}+2 x+5} d x=\int \sqrt{(x+1)^{2}+4} d x $

Put $x+1=y$, so that $d x=d y$. Then

$ \begin{aligned} \int \sqrt{x^{2}+2 x+5} d x & =\int \sqrt{y^{2}+2^{2}} d y \\ & =\frac{1}{2} y \sqrt{y^{2}+4}+\frac{4}{2} \log |y+\sqrt{y^{2}+4}|+C \quad \text{ [using 7.6.2 (ii)] } \\ & =\frac{1}{2}(x+1) \sqrt{x^{2}+2 x+5}+2 \log |x+1+\sqrt{x^{2}+2 x+5}|+C \end{aligned} $

Example 24 Find $\int \sqrt{3-2 x-x^{2}} d x$

Solution Note that $\int \sqrt{3-2 x-x^{2}} d x=\int \sqrt{4-(x+1)^{2}} d x$

Put $x+1=y$ so that $d x=d y$.

Thus

$ \begin{aligned} \int \sqrt{3-2 x-x^{2}} d x & =\int \sqrt{4-y^{2}} d y \\ & =\frac{1}{2} y \sqrt{4-y^{2}}+\frac{4}{2} \sin ^{-1} \frac{y}{2}+C \quad \quad \text{ [using 7 } \\ & =\frac{1}{2}(x+1) \sqrt{3-2 x-x^{2}}+2 \sin ^{-1}(\frac{x+1}{2})+C \end{aligned} $

EXERCISE 7.7

Integrate the functions in Exercises 1 to 9.

1. $\sqrt{4-x^{2}}$

Solution

Let $I=\int \sqrt{4-x^{2}} d x=\int \sqrt{(2)^{2}-(x)^{2}} d x$

It is known that, $\int \sqrt{a^{2}-x^{2}} d x=\frac{x}{2} \sqrt{a^{2}-x^{2}} \frac{a^{2}}{2} \sin ^{-1} \frac{x}{a}+C$

$ \begin{aligned} \therefore I & =\frac{x}{2} \sqrt{4-x^{2}}+\frac{4}{2} \sin ^{-1} \frac{x}{2}+C \\ & =\frac{x}{2} \sqrt{4-x^{2}}+2 \sin ^{-1} \frac{x}{2}+C \end{aligned} $

2. $\sqrt{1-4 x^{2}}$

Solution

Let $I=\int \sqrt{1-4 x^{2}} d x=\int \sqrt{(1)^{2}-(2 x)^{2}} d x$

Let $2 x=t \Rightarrow 2 d x=d t$

$\therefore I=\frac{1}{2} \int \sqrt{(1)^{2}-(t)^{2}} d t$

It is known that, $\int \sqrt{a^{2}-x^{2}} d x=\frac{x}{2} \sqrt{a^{2}-x^{2}}+\frac{a^{2}}{2} \sin ^{-1} \frac{x}{a}+C$

$ \begin{aligned} \Rightarrow I & =\frac{1}{2}[\frac{t}{2} \sqrt{1-t^{2}}+\frac{1}{2} \sin ^{-1} t]+C \\ & =\frac{t}{4} \sqrt{1-t^{2}}+\frac{1}{4} \sin ^{-1} t+C \\ & =\frac{2 x}{4} \sqrt{1-4 x^{2}}+\frac{1}{4} \sin ^{-1} 2 x+C \\ & =\frac{x}{2} \sqrt{1-4 x^{2}}+\frac{1}{4} \sin ^{-1} 2 x+C \end{aligned} $

3. $\sqrt{x^{2}+4 x+6}$

Solution

Let $I=\int \sqrt{x^{2}+4 x+6} d x$

$ \begin{aligned} & =\int \sqrt{x^{2}+4 x+4+2} d x \\ & =\int \sqrt{(x^{2}+4 x+4)+2} d x \\ & =\int \sqrt{(x+2)^{2}+(\sqrt{2})^{2}} d x \end{aligned} $

It is known that, $\int \sqrt{x^{2}+a^{2}} d x=\frac{x}{2} \sqrt{x^{2}+a^{2}}+\frac{a^{2}}{2} \log |x+\sqrt{x^{2}+a^{2}}|+C$

$ \begin{aligned} \therefore I & =\frac{(x+2)}{2} \sqrt{x^{2}+4 x+6}+\frac{2}{2} \log |(x+2)+\sqrt{x^{2}+4 x+6}|+C \\ & =\frac{(x+2)}{2} \sqrt{x^{2}+4 x+6}+\log |(x+2)+\sqrt{x^{2}+4 x+6}|+C \end{aligned} $

4. $\sqrt{x^{2}+4 x+1}$

Solution

Let $I=\int \sqrt{x^{2}+4 x+1} d x$

$ \begin{aligned} & =\int \sqrt{(x^{2}+4 x+4)-3} d x \\ & =\int \sqrt{(x+2)^{2}-(\sqrt{3})^{2}} d x \end{aligned} $

It is known that, $\int \sqrt{x^{2}-a^{2}} d x=\frac{x}{2} \sqrt{x^{2}-a^{2}}-\frac{a^{2}}{2} \log |x+\sqrt{x^{2}-a^{2}}|+C$

$\therefore I=\frac{(x+2)}{2} \sqrt{x^{2}+4 x+1}-\frac{3}{2} \log |(x+2)+\sqrt{x^{2}+4 x+1}|+C$

5. $\sqrt{1-4 x-x^{2}}$

Solution

Let $I=\int \sqrt{1-4 x-x^{2}} d x$

$ \begin{aligned} & =\int \sqrt{1-(x^{2}+4 x+4-4)} d x \\ & =\int \sqrt{1+4-(x+2)^{2}} d x \\ & =\int \sqrt{(\sqrt{5})^{2}-(x+2)^{2}} d x \end{aligned} $

It is known that, $\int \sqrt{a^{2}-x^{2}} d x=\frac{x}{2} \sqrt{a^{2}-x^{2}}+\frac{a^{2}}{2} \sin ^{-1} \frac{x}{a}+C$

$\therefore I=\frac{(x+2)}{2} \sqrt{1-4 x-x^{2}}+\frac{5}{2} \sin ^{-1}(\frac{x+2}{\sqrt{5}})+C$

6. $\sqrt{x^{2}+4 x-5}$

Solution

Let $I=\int \sqrt{x^{2}+4 x-5} d x$

$ \begin{aligned} & =\int \sqrt{(x^{2}+4 x+4)-9} d x \\ & =\int \sqrt{(x+2)^{2}-(3)^{2}} d x \end{aligned} $

It is known that, $\int \sqrt{x^{2}-a^{2}} d x=\frac{x}{2} \sqrt{x^{2}-a^{2}}-\frac{a^{2}}{2} \log |x+\sqrt{x^{2}-a^{2}}|+C$

$\therefore I=\frac{(x+2)}{2} \sqrt{x^{2}+4 x-5}-\frac{9}{2} \log |(x+2)+\sqrt{x^{2}+4 x-5}|+C$

7. $\sqrt{1+3 x-x^{2}}$

Solution

Let $I=\int \sqrt{1+3 x-x^{2}} d x$

$ \begin{aligned} & =\int \sqrt{1-(x^{2}-3 x+\frac{9}{4}-\frac{9}{4})} d x \\ & =\int \sqrt{(1+\frac{9}{4})-(x-\frac{3}{2})^{2}} d x \\ & =\int \sqrt{(\frac{\sqrt{13}}{2})^{2}-(x-\frac{3}{2})^{2}} d x \end{aligned} $

It is known that, $\int \sqrt{a^{2}-x^{2}} d x=\frac{x}{2} \sqrt{a^{2}-x^{2}}+\frac{a^{2}}{2} \sin ^{-1} \frac{x}{a}+C$

$ \begin{aligned} \therefore I & =\frac{x-\frac{3}{2}}{2} \sqrt{1+3 x-x^{2}}+\frac{13}{4 \times 2} \sin ^{-1}(\frac{x-\frac{3}{2}}{\frac{\sqrt{13}}{2}})+C \\ & =\frac{2 x-3}{4} \sqrt{1+3 x-x^{2}}+\frac{13}{8} \sin ^{-1}(\frac{2 x-3}{\sqrt{13}})+C \end{aligned} $

8. $\sqrt{x^{2}+3 x}$

Solution

Let $I=\int \sqrt{x^{2}+3 x} d x$

$ \begin{aligned} & =\int \sqrt{x^{2}+3 x+\frac{9}{4}-\frac{9}{4}} d x \\ & =\int \sqrt{(x+\frac{3}{2})^{2}-(\frac{3}{2})^{2}} d x \end{aligned} $

It is known that, $\int \sqrt{x^{2}-a^{2}} d x=\frac{x}{2} \sqrt{x^{2}-a^{2}}-\frac{a^{2}}{2} \log |x+\sqrt{x^{2}-a^{2}}|+C$

$ \begin{aligned} \therefore I & =\frac{(x+\frac{3}{2})}{2} \sqrt{x^{2}+3 x}-\frac{9}{2} \log |(x+\frac{3}{2})+\sqrt{x^{2}+3 x}|+C \\ & =\frac{(2 x+3)}{4} \sqrt{x^{2}+3 x}-\frac{9}{8} \log |(x+\frac{3}{2})+\sqrt{x^{2}+3 x}|+C \end{aligned} $

9. $\sqrt{1+\frac{x^{2}}{9}}$

Solution

Let $I=\int \sqrt{1+\frac{x^{2}}{9}} d x=\frac{1}{3} \int \sqrt{9+x^{2}} d x=\frac{1}{3} \int \sqrt{(3)^{2}+x^{2}} d x$

It is known that, $\int \sqrt{x^{2}+a^{2}} d x=\frac{x}{2} \sqrt{x^{2}+a^{2}}+\frac{a^{2}}{2} \log |x+\sqrt{x^{2}+a^{2}}|+C$

$ \begin{aligned} \therefore I & =\frac{1}{3}[\frac{x}{2} \sqrt{x^{2}+9}+\frac{9}{2} \log |x+\sqrt{x^{2}+9}|]+C \\ & =\frac{x}{6} \sqrt{x^{2}+9}+\frac{3}{2} \log |x+\sqrt{x^{2}+9}|+C \end{aligned} $

Choose the correct answer in Exercises 10 to 11.

10. $\int \sqrt{1+x^{2}} d x$ is equal to

$\quad\quad$(A) $\frac{x}{2} \sqrt{1+x^{2}}+\frac{1}{2} \log |(x+\sqrt{1+x^{2}})|+C$

$\quad\quad$(B) $\frac{2}{3}(1+x^{2})^{\frac{3}{2}}+C$

$\quad\quad$(C) $\frac{2}{3} x(1+x^{2})^{\frac{3}{2}}+C$

$\quad\quad$(D) $\frac{x^{2}}{2} \sqrt{1+x^{2}}+\frac{1}{2} x^{2} \log |x+\sqrt{1+x^{2}}|+C$

Solution

It is known that, $\int \sqrt{a^{2}+x^{2}} d x=\frac{x}{2} \sqrt{a^{2}+x^{2}}+\frac{a^{2}}{2} \log |x+\sqrt{x^{2}+a^{2}}|+C$

$ \therefore \int \sqrt{1+x^{2}} d x=\frac{x}{2} \sqrt{1+x^{2}}+\frac{1}{2} \log |x+\sqrt{1+x^{2}}|+C $

Hence, the correct Answer is A.

11. $\int \sqrt{x^{2}-8 x+7} d x$ is equal to

$\quad\quad$(A) $\frac{1}{2}(x-4) \sqrt{x^{2}-8 x+7}+9 \log |x-4+\sqrt{x^{2}-8 x+7}|+C$

$\quad\quad$(B) $\frac{1}{2}(x+4) \sqrt{x^{2}-8 x+7}+9 \log |x+4+\sqrt{x^{2}-8 x+7}|+C$

$\quad\quad$(C) $\frac{1}{2}(x-4) \sqrt{x^{2}-8 x+7}-3 \sqrt{2} \log |x-4+\sqrt{x^{2}-8 x+7}|+C$

$\quad\quad$(D) $\frac{1}{2}(x-4) \sqrt{x^{2}-8 x+7}-\frac{9}{2} \log |x-4+\sqrt{x^{2}-8 x+7}|+C$

Solution

Let $I=\int \sqrt{x^{2}-8 x+7} d x$

$ \begin{aligned} & =\int \sqrt{(x^{2}-8 x+16)-9} d x \\ & =\int \sqrt{(x-4)^{2}-(3)^{2}} d x \end{aligned} $

It is known that, $\int \sqrt{x^{2}-a^{2}} d x=\frac{x}{2} \sqrt{x^{2}-a^{2}}-\frac{a^{2}}{2} \log |x+\sqrt{x^{2}-a^{2}}|+C$

$ \therefore I=\frac{(x-4)}{2} \sqrt{x^{2}-8 x+7}-\frac{9}{2} \log |(x-4)+\sqrt{x^{2}-8 x+7}|+C $

Hence, the correct Answer is D.

Definite Integral

In the previous sections, we have studied about the indefinite integrals and discussed few methods of finding them including integrals of some special functions. In this section, we shall study what is called definite integral of a function. The definite integral

has a unique value. A definite integral is denoted by $\int_a^{b} f(x) d x$, where $a$ is called the lower limit of the integral and $b$ is called the upper limit of the integral. The definite integral is introduced either as the limit of a sum or if it has an anti derivative $F$ in the interval $[a, b]$, then its value is the difference between the values of $F$ at the end points, i.e., $F(b)-F(a)$.

Fundamental Theorem of Calculus

Area function

We have defined $\int_a^{b} f(x) d x$ as the area of the region bounded by the curve $y=f(x)$, the ordinates $x=a$ and $x=b$ and $x$-axis. Let $x$ be a given point in $[a, b]$. Then $\int_a^{x} f(x) d x$ represents the area of the light shaded region in Fig 7.1 [Here it is assumed that $f(x)>0$ for $x \in[a, b]$, the assertion made below is equally true for other functions as well]. The area of this shaded region depends upon

image the value of $x$.

In other words, the area of this shaded region is a function of $x$. We denote this function of $x$ by $A(x)$. We call the function $A(x)$ as Area function and is given by

$ A(x)=\int_a^{x} f(x) d x $

Based on this definition, the two basic fundamental theorems have been given. However, we only state them as their proofs are beyond the scope of this text book.

First fundamental theorem of integral calculus

Theorem 1 Let $f$ be a continuous function on the closed interval $[a, b]$ and let $A(x)$ be the area function. Then $A^{\prime}(x)=f(x)$, for all $x \in[a, b]$.

Second fundamental theorem of integral calculus

We state below an important theorem which enables us to evaluate definite integrals by making use of anti derivative.

Theorem 2 Let $f$ be continuous function defined on the closed interval $[a, b]$ and $F$ be an anti derivative of $f$. Then $\int_a^{b} f(x) d x=[\mathbf{F}(\boldsymbol{{}x})]_a^{b}=\mathbf{F}(\boldsymbol{{}b})-\mathbf{F}(\boldsymbol{{}a})$.

Remarks

(i) In words, the Theorem 2 tells us that $\int_a^{b} f(x) d x=$ (value of the anti derivative $F$ of $f$ at the upper limit $b-$ value of the same anti derivative at the lower limit $a$ ).

(ii) This theorem is very useful, because it gives us a method of calculating the definite integral more easily, without calculating the limit of a sum.

(iii) The crucial operation in evaluating a definite integral is that of finding a function whose derivative is equal to the integrand. This strengthens the relationship between differentiation and integration.

(iv) In $\int_a^{b} f(x) d x$, the function $f$ needs to be well defined and continuous in $[a, b]$. For instance, the consideration of definite integral $\int _{-2}^{3} x(x^{2}-1)^{\frac{1}{2}} d x$ is erroneous since the function $f$ expressed by $f(x)=x(x^{2}-1)^{\frac{1}{2}}$ is not defined in a portion $-1<x<1$ of the closed interval $[-2,3]$.

Steps for calculating $\int_a^{b} f(x) d x$.

(i) Find the indefinite integral $\int f(x) d x$. Let this be $F(x)$. There is no need to keep integration constant $C$ because if we consider $F(x)+C$ instead of $F(x)$, we get $\int_a^{b} f(x) d x=[F(x)+C]_a^{b}=[F(b)+C]-[F(a)+C]=F(b)-F(a)$.

Thus, the arbitrary constant disappears in evaluating the value of the definite integral.

(ii) Evaluate $F(b)-F(a)=[F(x)]_a^{b}$, which is the value of $\int_a^{b} f(x) d x$. We now consider some examples

Example 25 Evaluate the following integrals: (i) $\int_2^{3} x^{2} d x$ (ii) $\int_4^{9} \frac{\sqrt{x}}{(30-x^{\frac{3}{2}})^{2}} d x$ (iii) $\int_1^{2} \frac{x d x}{(x+1)(x+2)}$ (iv) $\int_0^{\frac{\pi}{4}} \sin ^{3} 2 t \cos 2 t d t$

Solution

(i) Let $I=\int_2^{3} x^{2} d x$. Since $\int x^{2} d x=\frac{x^{3}}{3}=F(x)$,

Therefore, by the second fundamental theorem, we get

$ I=F(3)-F(2)=\frac{27}{3}-\frac{8}{3}=\frac{19}{3} $

(ii) Let $I=\int_4^{9} \frac{\sqrt{x}}{(30-x^{\frac{3}{2}})^{2}} d x$. We first find the anti derivative of the integrand.

Put $30-x^{\frac{3}{2}}=t$. Then $-\frac{3}{2} \sqrt{x} d x=d t$ or $\sqrt{x} d x=-\frac{2}{3} d t$

Thus, $\int \frac{\sqrt{x}}{(30-x^{\frac{3}{2}})^{2}} d x=-\frac{2}{3} \int \frac{d t}{t^{2}}=\frac{2}{3}[\frac{1}{t}]=\frac{2}{3}[\frac{1}{(30-x^{\frac{3}{2}})}]=F(x)$

Therefore, by the second fundamental theorem of calculus, we have

$ \begin{aligned} I & =F(9)-F(4)=\frac{2}{3}[\frac{1}{(30-x^{\frac{3}{2}})}]_4^{9} \\ & =\frac{2}{3}[\frac{1}{(30-27)}-\frac{1}{30-8}]=\frac{2}{3}[\frac{1}{3}-\frac{1}{22}]=\frac{19}{99} \end{aligned} $

(iii) Let $I=\int_1^{2} \frac{x d x}{(x+1)(x+2)}$

Using partial fraction, we get $\frac{x}{(x+1)(x+2)}=\frac{-1}{x+1}+\frac{2}{x+2}$

So

$ \int \frac{x d x}{(x+1)(x+2)}=-\log |x+1|+2 \log |x+2|=F(x) $

Therefore, by the second fundamental theorem of calculus, we have

$ \begin{aligned} I & =F(2)-F(1)=[-\log 3+2 \log 4]-[-\log 2+2 \log 3] \\ & =-3 \log 3+\log 2+2 \log 4=\log (\frac{32}{27}) \end{aligned} $

(iv) Let $I=\int_0^{\frac{\pi}{4}} \sin ^{3} 2 t \cos 2 t d t$. Consider $\int \sin ^{3} 2 t \cos 2 t d t$

Put $\sin 2 t=u$ so that $2 \cos 2 t d t=d u$ or $\cos 2 t d t=\frac{1}{2} d u$

So

$ \begin{aligned} \int \sin ^{3} 2 t \cos 2 t d t & =\frac{1}{2} \int u^{3} d u \\ & =\frac{1}{8}[u^{4}]=\frac{1}{8} \sin ^{4} 2 t=F(t) \text{ say } \end{aligned} $

Therefore, by the second fundamental theorem of integral calculus

$ I=F(\frac{\pi}{4})-F(0)=\frac{1}{8}[\sin ^{4} \frac{\pi}{2}-\sin ^{4} 0]=\frac{1}{8} $

EXERCISE 7.8

Evaluate the definite integrals in Exercises 1 to 20.

1. $\int _{-1}^{1}(x+1) d x$

Solution

Let $I=\int _{-1}^{1}(x+1) d x$

$\int(x+1) d x=\frac{x^{2}}{2}+x=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(1)-F(-1) \\ & =(\frac{1}{2}+1)-(\frac{1}{2}-1) \\ & =\frac{1}{2}+1-\frac{1}{2}+1 \\ & =2 \end{aligned} $

2. $\int_2^{3} \frac{1}{x} d x$

Solution

Let $I=\int_2^{3} \frac{1}{x} d x$

$\int_x^{1} d x=\log |x|=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(3)-F(2) \\ & =\log |3|-\log |2|=\log \frac{3}{2} \end{aligned} $

3. $\int_1^{2}(4 x^{3}-5 x^{2}+6 x+9) d x$

Solution

Let $I=\int_1^{2}(4 x^{3}-5 x^{2}+6 x+9) d x$

$\int(4 x^{3}-5 x^{2}+6 x+9) d x=4(\frac{x^{4}}{4})-5(\frac{x^{3}}{3})+6(\frac{x^{2}}{2})+9(x)$

$=x^{4}-\frac{5 x^{3}}{3}+3 x^{2}+9 x=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(2)-F(1) \\ I & ={2^{4}-\frac{5 \cdot(2)^{3}}{3}+3(2)^{2}+9(2)}-{(1)^{4}-\frac{5(1)^{3}}{3}+3(1)^{2}+9(1)} \\ & =(16-\frac{40}{3}+12+18)-(1-\frac{5}{3}+3+9) \\ & =16-\frac{40}{3}+12+18-1+\frac{5}{3}-3-9 \\ & =33-\frac{35}{3} \\ & =\frac{99-35}{3} \\ & =\frac{64}{3} \end{aligned} $

4. $\int_0^{\frac{\pi}{4}} \sin 2 x d x$

Solution

Let $I=\int_0^{\pi} \sin 2 x d x$

$\int \sin 2 x d x=(\frac{-\cos 2 x}{2})=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(\frac{\pi}{4})-F(0) \\ & =-\frac{1}{2}[\cos 2(\frac{\pi}{4})-\cos 0] \\ & =-\frac{1}{2}[\cos (\frac{-}{2})-\cos 0] \\ & =-\frac{1}{2}[0-1] \\ & =\frac{1}{2} \end{aligned} $

5. $\int_0^{\frac{\pi}{2}} \cos 2 x d x$

Solution

Let $I=\int_0^{\frac{\pi}{2}} \cos 2 x d x$

$\int \cos 2 x d x=(\frac{\sin 2 x}{2})=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(\frac{\pi}{2})-F(0) \\ & =\frac{1}{2}[\sin 2(\frac{\pi}{2})-\sin 0] \\ & =\frac{1}{2}[\sin \pi-\sin 0] \\ & =\frac{1}{2}[0-0]=0 \end{aligned} $

6. $\int_4^{5} e^{x} d x$

Solution

Let $I=\int_4^{5} e^{x} d x$

$\int e^{x} d x=e^{x}=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(5)-F(4) \\ & =e^{5}-e^{4} \\ & =e^{4}(e-1) \end{aligned} $

7. $\int_0^{\frac{\pi}{4}} \tan x d x$

Solution

Let $I=\int_0^{\frac{\pi}{4}} \tan x d x$

$\int \tan x d x=-\log |\cos x|=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(\frac{\pi}{4})-F(0) \\ & =-\log |\cos \frac{\pi}{4}|+\log |\cos 0| \\ & =-\log |\frac{1}{\sqrt{2}}|+\log |1| \\ & =-\log (2)^{-\frac{1}{2}} \\ & =\frac{1}{2} \log 2 \end{aligned} $

8. $\int _{\frac{\pi}{6}}^{\frac{\pi}{4}} cosec x d x$

Solution

Let $I=\int _{\frac{\pi}{6}}^{\frac{\pi}{4}} cosec x d x$

$\int cosec x d x=\log |cosec x-\cot x|=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(\frac{\pi}{4})-F(\frac{\pi}{6}) \\ & =\log |cosec \frac{\pi}{4}-\cot \frac{\pi}{4}|-\log |cosec \frac{\pi}{6}-\cot \frac{\pi}{6}| \\ & =\log |\sqrt{2}-1|-\log |2-\sqrt{3}| \\ & =\log (\frac{\sqrt{2}-1}{2-\sqrt{3}}) \end{aligned} $

9. $\int_0^{1} \frac{d x}{\sqrt{1-x^{2}}}$

Solution

Let $I=\int_0^{1} \frac{d x}{\sqrt{1-x^{2}}}$

$\int \frac{d x}{\sqrt{1-x^{2}}}=\sin ^{-1} x=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(1)-F(0) \\ & =\sin ^{-1}(1)-\sin ^{-1}(0) \\ & =\frac{\pi}{2}-0 \\ & =\frac{\pi}{2} \end{aligned} $

10. $\int_0^{1} \frac{d x}{1+x^{2}}$

Solution

Let $I=\int_0^{1} \frac{d x}{1+x^{2}}$

$\int \frac{d x}{1+x^{2}}=\tan ^{-1} x=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(1)-F(0) \\ & =\tan ^{-1}(1)-\tan ^{-1}(0) \\ & =\frac{\pi}{4} \end{aligned} $

11. $\int_2^{3} \frac{d x}{x^{2}-1}$

Solution

Let $I=\int_2^{3} \frac{d x}{x^{2}-1}$

$\int \frac{d x}{x^{2}-1}=\frac{1}{2} \log |\frac{x-1}{x+1}|=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(3)-F(2) \\ & =\frac{1}{2}[\log |\frac{3-1}{3+1}|-\log |\frac{2-1}{2+1}|] \\ & =\frac{1}{2}[\log |\frac{2}{4}|-\log |\frac{1}{3}|] \\ & =\frac{1}{2}[\log \frac{1}{2}-\log \frac{1}{3}] \\ & =\frac{1}{2}[\log \frac{3}{2}] \end{aligned} $

12. $\int_0^{\frac{\pi}{2}} \cos ^{2} x d x$

Solution

Let $I=\int_0^{\frac{\pi}{2}} \cos ^{2} x d x$

$\int \cos ^{2} x d x=\int(\frac{1+\cos 2 x}{2}) d x=\frac{x}{2}+\frac{\sin 2 x}{4}=\frac{1}{2}(x+\frac{\sin 2 x}{2})=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =[F(\frac{\pi}{2})-F(0)] \\ & =\frac{1}{2}[(\frac{\pi}{2}-\frac{\sin \pi}{2})-(0+\frac{\sin 0}{2})] \\ & =\frac{1}{2}[\frac{\pi}{2}+0-0-0] \\ & =\frac{\pi}{4} \end{aligned} $

13. $\int_2^{3} \frac{x d x}{x^{2}+1}$

Solution

Let $I=\int_2^{3} \frac{x}{x^{2}+1} d x$

$\int \frac{x}{x^{2}+1} d x=\frac{1}{2} \int \frac{2 x}{x^{2}+1} d x=\frac{1}{2} \log (1+x^{2})=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(3)-F(2) \\ & =\frac{1}{2}[\log (1+(3)^{2})-\log (1+(2)^{2})] \\ & =\frac{1}{2}[\log (10)-\log (5)] \\ & =\frac{1}{2} \log (\frac{10}{5})=\frac{1}{2} \log 2 \end{aligned} $

14. $\int_0^{1} \frac{2 x+3}{5 x^{2}+1} d x$

Solution

Let $I=\int_0^{1} \frac{2 x+3}{5 x^{2}+1} d x$

$\int \frac{2 x+3}{5 x^{2}+1} d x=\frac{1}{5} \int \frac{5(2 x+3)}{5 x^{2}+1} d x$

$=\frac{1}{5} \int \frac{10 x+15}{5 x^{2}+1} d x$

$=\frac{1}{5} \int \frac{10 x}{5 x^{2}+1} d x+3 \int \frac{1}{5 x^{2}+1} d x$

$=\frac{1}{5} \int \frac{10 x}{5 x^{2}+1} d x+3 \int \frac{1}{5(x^{2}+\frac{1}{5})} d x$

$=\frac{1}{5} \log (5 x^{2}+1)+\frac{3}{5} \cdot \frac{1}{\frac{1}{\sqrt{5}}} \tan ^{-1} \frac{x}{\frac{1}{\sqrt{5}}}$

$=\frac{1}{5} \log (5 x^{2}+1)+\frac{3}{\sqrt{5}} \tan ^{-1}(\sqrt{5} x)$

$=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(1)-F(0) \\ & ={\frac{1}{5} \log (5+1)+\frac{3}{\sqrt{5}} \tan ^{-1}(\sqrt{5})}-{\frac{1}{5} \log (1)+\frac{3}{\sqrt{5}} \tan ^{-1}(0)} \\ & =\frac{1}{5} \log 6+\frac{3}{\sqrt{5}} \tan ^{-1} \sqrt{5} \end{aligned} $

15. $\int_0^{1} x e^{x^{2}} d x$

Solution

Let $I=\int_0^{1} x e^{x^{2}} d x$

Put $x^{2}=t \Rightarrow 2 x d x=d t$

As $x \to 0, t \to 0$ and as $x \to 1, t \to 1$,

$\therefore I=\frac{1}{2} \int_0^{1} e^{t} d t$

$\frac{1}{2} \int e^{t} d t=\frac{1}{2} e^{t}=F(t)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(1)-F(0) \\ & =\frac{1}{2} e-\frac{1}{2} e^{0} \\ & =\frac{1}{2}(e-1) \end{aligned} $

16. $\int_1^{2} \frac{5 x^{2}}{x^{2}+4 x+3}$

Solution

Let $I=\int_1^{2} \frac{5 x^{2}}{x^{2}+4 x+3} d x$

Dividing $5 x^{2}$ by $x^{2}+4 x+3$, we obtain

$I=\int_1^{2}{5-\frac{20 x+15}{x^{2}+4 x+3}} d x$

$=\int_1^{2} 5 d x-\int_1^{2} \frac{20 x+15}{x^{2}+4 x+3} d x$

$=[5 x]_1^{2}-\int_1^{2} \frac{20 x+15}{x^{2}+4 x+3} d x$

$I=5-I_1$, where $I=\int_1^{2} \frac{20 x+15}{x^{2}+4 x+3} d x$

Consider $I_1=\int_1^{2} \frac{20 x+15}{x^{2}+4 x+8} d x$

Let $20 x+15=A \frac{d}{d x}(x^{2}+4 x+3)+B$

$ =2 A x+(4 A+B) $

Equating the coefficients of $x$ and constant term, we obtain

$A=10$ and $B=-25$

$\Rightarrow I_1=10 \int_1^{2} \frac{2 x+4}{x^{2}+4 x+3} d x-25 \int_1^{2} \frac{d x}{x^{2}+4 x+3}$

Let $x^{2}+4 x+3=t$

$\Rightarrow(2 x+4) d x=d t$

$\Rightarrow I_1=10 \int \frac{d t}{t}-25 \int \frac{d x}{(x+2)^{2}-1^{2}}$

$=10 \log t-25[\frac{1}{2} \log (\frac{x+2-1}{x+2+1})]$

$=[10 \log (x^{2}+4 x+3)]_1^{2}-25[\frac{1}{2} \log (\frac{x+1}{x+3})]_1^{2}$

$=[10 \log 15-10 \log 8]-25[\frac{1}{2} \log \frac{3}{5}-\frac{1}{2} \log \frac{2}{4}]$

$=[10 \log (5 \times 3)-10 \log (4 \times 2)]-\frac{25}{2}[\log 3-\log 5-\log 2+\log 4]$

$=[10 \log 5+10 \log 3-10 \log 4-10 \log 2]-\frac{25}{2}[\log 3-\log 5-\log 2+\log 4]$

$=[10+\frac{25}{2}] \log 5+[-10-\frac{25}{2}] \log 4+[10-\frac{25}{2}] \log 3+[-10+\frac{25}{2}] \log 2$

$=\frac{45}{2} \log 5-\frac{45}{2} \log 4-\frac{5}{2} \log 3+\frac{5}{2} \log 2$

$=\frac{45}{2} \log \frac{5}{4}-\frac{5}{2} \log \frac{3}{2}$

Substituting the value of $I_1$ in (1), we obtain

$ \begin{aligned} I & =5-[\frac{45}{2} \log \frac{5}{4}-\frac{5}{2} \log \frac{3}{2}] \\ & =5-\frac{5}{2}[9 \log \frac{5}{4}-\log \frac{3}{2}] \end{aligned} $

17. $\int_0^{\frac{\pi}{4}}(2 \sec ^{2} x+x^{3}+2) d x$

Solution

Let $I=\int_0^{\frac{\pi}{4}}(2 \sec ^{2} x+x^{3}+2) d x$

$\int(2 \sec ^{2} x+x^{3}+2) d x=2 \tan x+\frac{x^{4}}{4}+2 x=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(\frac{\pi}{4})-F(0) \\ & ={(2 \tan \frac{\pi}{4}+\frac{1}{4}(\frac{\pi}{4})^{4}+2(\frac{\pi}{4}))-(2 \tan 0+0+0)} \\ & =2 \tan \frac{\pi}{4}+\frac{\pi^{4}}{4^{5}}+\frac{\pi}{2} \\ & =2+\frac{\pi}{2}+\frac{\pi^{4}}{1024} \end{aligned} $

18. $\int_0^{\pi}(\sin ^{2} \frac{x}{2}-\cos ^{2} \frac{x}{2}) d x$

Solution

Let $I=\int_0^{\pi}(\sin ^{2} \frac{x}{2}-\cos ^{2} \frac{x}{2}) d x$

$ \begin{aligned} & =-\int_0^{\pi}(\cos ^{2} \frac{x}{2}-\sin ^{2} \frac{x}{2}) d x \\ & =-\int_0^{\pi} \cos x d x \end{aligned} $

$\int \cos x d x=\sin x=F(x)$

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(\pi)-F(0) \\ & =\sin \pi-\sin 0 \\ & =0 \end{aligned} $

19. $\int_0^{2} \frac{6 x+3}{x^{2}+4} d x$

Solution

Let $I=\int_0^{2} \frac{6 x+3}{x^{2}+4} d x$

$ \begin{aligned} \int \frac{6 x+3}{x^{2}+4} d x & =3 \int \frac{2 x+1}{x^{2}+4} d x \\ & =3 \int \frac{2 x}{x^{2}+4} d x+3 \int \frac{1}{x^{2}+4} d x \\ & =3 \log (x^{2}+4)+\frac{3}{2} \tan ^{-1} \frac{x}{2}=F(x) \end{aligned} $

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(2)-F(0) \\ & ={3 \log (2^{2}+4)+\frac{3}{2} \tan ^{-1}(\frac{2}{2})}-{3 \log (0+4)+\frac{3}{2} \tan ^{-1}(\frac{0}{2})} \\ & =3 \log 8+\frac{3}{2} \tan ^{-1} 1-3 \log 4-\frac{3}{2} \tan ^{-1} 0 \\ & =3 \log 8+\frac{3}{2}(\frac{\pi}{4})-3 \log 4-0 \\ & =3 \log (\frac{8}{4})+\frac{3 \pi}{8} \\ & =3 \log 2+\frac{3 \pi}{8} \end{aligned} $

20. $\int_0^{1}(x e^{x}+\sin \frac{\pi x}{4}) d x$

Solution

Let $I=\int_0^{1}(x e^{x}+\sin \frac{\pi x}{4}) d x$

$ \begin{aligned} \int(x e^{x}+\sin \frac{\pi x}{4}) d x & =x \int e^{x} d x-\int{(\frac{d}{d x} x) \int e^{x} d x} d x+{\frac{-\cos \frac{\pi x}{4}}{\frac{\pi}{4}}} \\ & =x e^{x}-\int e^{x} d x-\frac{4 \pi}{\pi} \cos \frac{x}{4} \\ & =x e^{x}-e^{x}-\frac{4 \pi}{\pi} \cos \frac{x}{4} \\ & =F(x) \end{aligned} $

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} I & =F(1)-F(0) \\ & =(1 . e^{1}-e^{1}-\frac{4}{\pi} \cos \frac{\pi}{4})-(0 . e^{0}-e^{0}-\frac{4}{\pi} \cos 0) \\ & =e-e-\frac{4}{\pi}(\frac{1}{\sqrt{2}})+1+\frac{4}{\pi} \\ & =1+\frac{4}{\pi}-\frac{2 \sqrt{2}}{\pi} \end{aligned} $

Choose the correct answer in Exercises 21 and 22.

21. $\int_1^{\sqrt{3}} \frac{d x}{1+x^{2}}$ equals (A) $\frac{\pi}{3}$ (B) $\frac{2 \pi}{3}$ (C) $\frac{\pi}{6}$ (D) $\frac{\pi}{12}$

Solution

$ \int \frac{d x}{1+x^{2}}=\tan ^{-1} x=F(x) $

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} & \int_1^{\sqrt{3}} \frac{d x}{1+x^{2}}=F(\sqrt{3})-F(1) \\ & =\tan ^{-1} \sqrt{3}-\tan ^{-1} 1 \\ & =\frac{\pi}{3}-\frac{\pi}{4} \\ & =\frac{\pi}{12} \end{aligned} $

Hence, the correct Answer is D.

22. $\int_0^{\frac{2}{3}} \frac{d x}{4+9 x^{2}}$ equals (A) $\frac{\pi}{6}$ (B) $\frac{\pi}{12}$ (C) $\frac{\pi}{24}$ (D) $\frac{\pi}{4}$

Solution

$ \int \frac{d x}{4+9 x^{2}}=\int \frac{d x}{(2)^{2}+(3 x)^{2}} $

Put $3 x=t \Rightarrow 3 d x=d t$

$\therefore \int \frac{d x}{(2)^{2}+(3 x)^{2}}=\frac{1}{3} \int \frac{d t}{(2)^{2}+t^{2}}$

$ \begin{aligned} & =\frac{1}{3}[\frac{1}{2} \tan ^{-1} \frac{t}{2}] \\ & =\frac{1}{6} \tan ^{-1}(\frac{3 x}{2}) \\ & =F(x) \end{aligned} $

By second fundamental theorem of calculus, we obtain

$ \begin{aligned} \int_0^{\frac{2}{3}} \frac{d x}{4+9 x^{2}} & =F(\frac{2}{3})-F(0) \\ & =\frac{1}{6} \tan ^{-1}(\frac{3}{2} \cdot \frac{2}{3})-\frac{1}{6} \tan ^{-1} 0 \\ & =\frac{1}{6} \tan ^{-1} 1-0 \\ & =\frac{1}{6} \times \frac{\pi}{4} \\ & =\frac{\pi}{24} \end{aligned} $

Hence, the correct Answer is C.

Evaluation of Definite Integrals by Substitution

In the previous sections, we have discussed several methods for finding the indefinite integral. One of the important methods for finding the indefinite integral is the method of substitution.

To evaluate $\int_a^{b} f(x) d x$, by substitution, the steps could be as follows:

  1. Consider the integral without limits and substitute, $y=f(x)$ or $x=g(y)$ to reduce the given integral to a known form.

  2. Integrate the new integrand with respect to the new variable without mentioning the constant of integration.

  3. Resubstitute for the new variable and write the answer in terms of the original variable.

  4. Find the values of answers obtained in (3) at the given limits of integral and find the difference of the values at the upper and lower limits.

Note In order to quicken this method, we can proceed as follows: After performing steps 1 , and 2 , there is no need of step 3 . Here, the integral will be kept in the new variable itself, and the limits of the integral will accordingly be changed, so that we can perform the last step.

Let us illustrate this by examples.

Example 26 Evaluate $\int _{-1}^{1} 5 x^{4} \sqrt{x^{5}+1} d x$.

Solution Put $t=x^{5}+1$, then $d t=5 x^{4} d x$.

Therefore,

$ \int 5 x^{4} \sqrt{x^{5}+1} d x=\int \sqrt{t} d t=\frac{2}{3} t^{\frac{3}{2}}=\frac{2}{3}(x^{5}+1)^{\frac{3}{2}} $

Hence,

$ \begin{aligned} \int _{-1}^{1} 5 x^{4} \sqrt{x^{5}+1} d x & =\frac{2}{3}[(x^{5}+1)^{\frac{3}{2}}] _{-1}^{1} \\ & =\frac{2}{3}[(1^{5}+1)^{\frac{3}{2}}-((-1)^{5}+1)^{\frac{3}{2}}] \\ & =\frac{2}{3}[2^{\frac{3}{2}}-0^{\frac{3}{2}}]=\frac{2}{3}(2 \sqrt{2})=\frac{4 \sqrt{2}}{3} \end{aligned} $

Alternatively, first we transform the integral and then evaluate the transformed integral with new limits.

Let

$ \begin{aligned} & t=x^{5}+1 . \text{ Then } d t=5 x^{4} d x . \\ & x=-1, t=0 \text{ and when } x=1, t=2 \end{aligned} $

Note that, when

Thus, as $x$ varies from -1 to $1, t$ varies from 0 to 2

Therefore

$ \begin{aligned} \int _{-1}^{1} 5 x^{4} \sqrt{x^{5}+1} d x & =\int_0^{2} \sqrt{t} d t \\ & =\frac{2}{3}[t^{\frac{3}{2}}]_0^{2}=\frac{2}{3}[2^{\frac{3}{2}}-0^{\frac{3}{2}}]=\frac{2}{3}(2 \sqrt{2)}=\frac{4 \sqrt{2}}{3}. \end{aligned} $

Example 27 Evaluate $\int_0^{1} \frac{\tan ^{-1} x}{1+x^{2}} d x$

Solution Let $t=\tan ^{-1} x$, then $d t=\frac{1}{1+x^{2}} d x$. The new limits are, when $x=0, t=0$ and when $x=1, t=\frac{\pi}{4}$. Thus, as $x$ varies from 0 to $1, t$ varies from 0 to $\frac{\pi}{4}$.

Therefore

$ \int_0^{1} \frac{\tan ^{-1} x}{1+x^{2}} d x=\int_0^{\frac{\pi}{4}} t d t[\frac{t^{2}}{2}]_0^{\frac{\pi}{4}}=\frac{1}{2}[\frac{\pi^{2}}{16}-0]=\frac{\pi^{2}}{32} $

EXERCISE 7.9

Evaluate the integrals in Exercises 1 to 8 using substitution.

1. $\int_0^{1} \frac{x}{x^{2}+1} d x$

Solution

$\int_0^{1} \frac{x}{x^{2}+1} d x$

Let $x^{2}+1=t \Rightarrow 2 x d x=d t$

When $x=0, t=1$ and when $x=1, t=2$

$\therefore \int_0^{t} \frac{x}{x^{2}+1} d x=\frac{1}{2} \int^{2} \frac{d t}{t}$

$=\frac{1}{2}[\log |t|]_1^{2}$

$=\frac{1}{2}[\log 2-\log 1]$

$=\frac{1}{2} \log 2$

2. $\int_0^{\frac{\pi}{2}} \sqrt{\sin \phi} \cos ^{5} \phi d \phi$

Solution

Let $I=\int_0^{\frac{\pi}{2}} \sqrt{\sin \phi} \cos ^{5} \phi d \phi=\int_0^{\frac{\pi}{2}} \sqrt{\sin \phi} \cos ^{4} \phi \cos \phi d \phi$

Also, let $\sin \phi=t \Rightarrow \cos \phi d \phi=d t$

When $\phi=0, t=0$ and when $\phi=\frac{\pi}{2}, t=1$

$\therefore I=\int_0^{1} \sqrt{t}(1-t^{2})^{2} d t$

$=\int_0^{t} t^{\frac{1}{2}}(1+t^{4}-2 t^{2}) d t$

$=\int_0^{[}[t^{\frac{1}{2}}+t^{\frac{9}{2}}-2 t^{\frac{5}{2}}] d t$

$=[\frac{t^{\frac{3}{2}}}{\frac{3}{2}}+\frac{t^{\frac{11}{2}}}{\frac{11}{2}}-\frac{2 t^{\frac{7}{2}}}{\frac{7}{2}}]_0^{1}$

$=\frac{2}{3}+\frac{2}{11}-\frac{4}{7}$

$=\frac{154+42-132}{231}$

$=\frac{64}{231}$

3. $\int_0^{1} \sin ^{-1}(\frac{2 x}{1+x^{2}}) d x$

Solution

Let $I=\int_0^{1} \sin ^{-1}(\frac{2 x}{1+x^{2}}) d x$

Also, let $x=\tan \theta \square d x=\sec ^{2} \theta d \theta$

When $x=0, \theta=0$ and when $x=1, \theta=\frac{\pi}{4}$

$ \begin{aligned} I & =\int_0^{\pi} \sin ^{-1}(\frac{2 \tan \theta}{1+\tan ^{2} \theta}) \sec ^{2} \theta d \theta \\ & =\int_0^{\frac{\pi}{4}} \sin ^{-1}(\sin 2 \theta) \sec ^{2} \theta d \theta \\ & =\int_0^{\frac{\pi}{4}} 2 \theta \cdot \sec ^{2} \theta d \theta \\ & =2 \int_0^{\pi} \theta \cdot \sec ^{2} \theta d \theta \end{aligned} $

Taking $\theta$ as first function and $\sec ^{2} \theta$ as second function and integrating by parts, we obtain

$ \begin{aligned} I & =2[\theta \int \sec ^{2} \theta d \theta-\int{(\frac{d}{d x} \theta) \int \sec ^{2} \theta d \theta} d \theta]_0^{\frac{\pi}{4}} \\ & =2[\theta \tan \theta-\int \tan \theta d \theta]_0^{\frac{\pi}{4}} \\ & =2[\theta \tan \theta+\log |\cos \theta|]_0^{\frac{\pi}{4}} \\ & =2[\frac{\pi}{4} \tan \frac{\pi}{4}+\log |\cos \frac{\pi}{4}|-\log |\cos 0|] \\ & =2[\frac{\pi}{4}+\log (\frac{1}{\sqrt{2}})-\log 1] \\ & =2[\frac{\pi}{4}-\frac{1}{2} \log 2] \\ & =\frac{\pi}{2}-\log 2 \end{aligned} $

4. $\int_0^{2} x \sqrt{x+2}$ (Put $.x+2=t^{2})$

Solution

$\int_0^{2} x \sqrt{x+2} d x$

Let $x+2=t^{2} \square d x=2 t d t$

When $x=0, t=\sqrt{2}$ and when $x=2, t=2$ $\therefore \int_0^{2} x \sqrt{x+2} d x=\int _{\sqrt{2}}^{2}(t^{2}-2) \sqrt{t^{2}} 2 t d t$

$.=2 \int _{\sqrt{2}}^{2}(t^{2}-2))^{2} d t$

$=2 \int _{\sqrt{2}}^{2}(t^{4}-2 t^{2}) d t$

$=2[\frac{t^{5}}{5}-\frac{2 t^{3}}{3}] _{\sqrt{2}}^{2}$

$=2[\frac{32}{5}-\frac{16}{3}-\frac{4 \sqrt{2}}{5}+\frac{4 \sqrt{2}}{3}]$

$=2[\frac{96-80-12 \sqrt{2}+20 \sqrt{2}}{15}]$

$=2[\frac{16+8 \sqrt{2}}{15}]$

$=\frac{16(2+\sqrt{2})}{15}$

$=\frac{16 \sqrt{2}(\sqrt{2}+1)}{15}$

5. $\int_0^{\frac{\pi}{2}} \frac{\sin x}{1+\cos ^{2} x} d x$

Solution

$\int_0^{\frac{\pi}{2}} \frac{\sin x}{1+\cos ^{2} x} d x$

Let $\cos x=t \square-\sin x d x=d t$

When $x=0, t=1$ and when $x=\frac{\pi}{2}, t=0$ $\Rightarrow \int_0^{\frac{\pi}{2}} \frac{\sin x}{1+\cos ^{2} x} d x=-\int_0^{0} \frac{d t}{1+t^{2}}$

$=-[\tan ^{-1} t]_1^{0}$

$=-[\tan ^{-1} 0-\tan ^{-1} 1]$

$=-[-\frac{\pi}{4}]$

$=\frac{\pi}{4}$

6. $\int_0^{2} \frac{d x}{x+4-x^{2}}$

Solution

$\int_0^{2} \frac{d x}{x+4-x^{2}}=\int_0^{2} \frac{d x}{-(x^{2}-x-4)}$

$=\int_0^{2} \frac{d x}{-(x^{2}-x+\frac{1}{4}-\frac{1}{4}-4)}$

$=\int_0^{2} \frac{d x}{-[(x-\frac{1}{2})^{2}-\frac{17}{4}]}$

$=\int_0^{2} \frac{d x}{(\frac{\sqrt{17}}{2})^{2}-(x-\frac{1}{2})^{2}}$

Let $\quad x-\frac{1}{2}=t \quad \square d x=d t$

When $x=0, t=-\frac{1}{2}$ and when $x=2, t=\frac{3}{2}$

$\therefore \int_0^{2} \frac{d x}{(\frac{\sqrt{17}}{2})^{2}-(x-\frac{1}{2})^{2}}=\int _{-\frac{1}{2}}^{\frac{3}{2}} \frac{d t}{(\frac{\sqrt{17}}{2})^{2}-t^{2}}$

$=[\frac{1}{2(\frac{\sqrt{17}}{2})} \log \frac{\frac{\sqrt{17}}{2}+t}{\frac{\sqrt{17}}{2}-t}] _{-\frac{1}{2}}^{\frac{3}{2}}$

$=\frac{1}{\sqrt{17}}[\log \frac{\frac{\sqrt{17}}{2}+\frac{3}{2}}{\frac{\sqrt{17}}{2}-\frac{3}{2}}-\frac{\log \frac{\sqrt{17}}{2}-\frac{1}{2}}{\log \frac{\sqrt{17}}{2}+\frac{1}{2}}]$

$=\frac{1}{\sqrt{17}}[\log \frac{\sqrt{17}+3}{\sqrt{17}-3}-\log \frac{\sqrt{17}-1}{\sqrt{17}+1}]$

$=\frac{1}{\sqrt{17}} \log \frac{\sqrt{17}+3}{\sqrt{17}-3} \times \frac{\sqrt{17}+1}{\sqrt{17}-1}$

$=\frac{1}{\sqrt{17}} \log [\frac{17+3+4 \sqrt{17}}{17+3-4 \sqrt{17}}]$

$=\frac{1}{\sqrt{17}} \log [\frac{20+4 \sqrt{17}}{20-4 \sqrt{17}}]$

$=\frac{1}{\sqrt{17}} \log (\frac{5+\sqrt{17}}{5-\sqrt{17}})$

$=\frac{1}{\sqrt{17}} \log [\frac{(5+\sqrt{17})(5+\sqrt{17})}{25-17}]$

$=\frac{1}{\sqrt{17}} \log [\frac{25+17+10 \sqrt{17}}{8}]$

$=\frac{1}{\sqrt{17}} \log (\frac{42+10 \sqrt{17}}{8})$

$=\frac{1}{\sqrt{17}} \log (\frac{21+5 \sqrt{17}}{4})$

7. $\int _{-1}^{1} \frac{d x}{x^{2}+2 x+5}$

Solution

$\int _{-1}^{1} \frac{d x}{x^{2}+2 x+5}=\int _{-1}^{1} \frac{d x}{(x^{2}+2 x+1)+4}=\int _{-1}^{1} \frac{d x}{(x+1)^{2}+(2)^{2}}$

Let $x+1=t \square d x=d t$

When $x=-1, t=0$ and when $x=1, t=2$

$\therefore \int _{-1}^{1} \frac{d x}{(x+1)^{2}+(2)^{2}}=\int_0^{2} \frac{d t}{t^{2}+2^{2}}$

$=[\frac{1}{2} \tan ^{-1} \frac{t}{2}]_0^{2}$

$=\frac{1}{2} \tan ^{-1} 1-\frac{1}{2} \tan ^{-1} 0$

$=\frac{1}{2}(\frac{\pi}{4})=\frac{\pi}{8}$

8. $\int_1^{2}(\frac{1}{x}-\frac{1}{2 x^{2}}) e^{2 x} d x$

Solution

$\int(\frac{1}{x}-\frac{1}{2 x^{2}}) e^{2 x} d x$

Let $2 x=t \square 2 d x=d t$

When $x=1, t=2$ and when $x=2, t=4$

$ \begin{aligned} \therefore \int^{2}(\frac{1}{x}-\frac{1}{2 x^{2}}) e^{2 x} d x & =\frac{1}{2} \int_2^{4}(\frac{2}{t}-\frac{2}{t^{2}}) e^{t} d t \\ & =\int_2^{4}(\frac{1}{t}-\frac{1}{t^{2}}) e^{t} d t \end{aligned} $

Let $\frac{1}{t}=f(t)$

Then, $f^{\prime}(t)=-\frac{1}{t^{2}}$

$ \begin{aligned} \Rightarrow \int_2^{4}(\frac{1}{t}-\frac{1}{t^{2}}) e^{t} d t & =\int_2^{4} e^{t}[f(t)+f^{\prime}(t)] d t \\ & =[e^{t} f(t)]_2^{4} \\ & =[e^{t} \cdot \frac{2}{t}]_2^{4} \\ & =[\frac{e^{t}}{t}]_2^{4} \\ & =\frac{e^{4}}{4}-\frac{e^{2}}{2} \\ & =\frac{e^{2}(e^{2}-2)}{4} \end{aligned} $

Choose the correct answer in Exercises 9 and 10.

9. The value of the integral $\int _{\frac{1}{3}}^{1} \frac{(x-x^{3})^{\frac{1}{3}}}{x^{4}} d x$ is

$\quad\quad$(A) 6

$\quad\quad$(B) 0

$\quad\quad$(C) 3

$\quad\quad$(D) 4

Solution

Let $I=\int _{\frac{1}{3}}^{1} \frac{(x-x^{3})^{\frac{1}{3}}}{x^{4}} d x$

Also, let $x=\sin \theta \Rightarrow d x=\cos \theta d \theta$

When $x=\frac{1}{3}, \theta=\sin ^{-1}(\frac{1}{3})$ and when $x=1, \theta=\frac{\pi}{2}$

$\Rightarrow I=\int _{\sin ^{-1}(\frac{1}{3})}^{\frac{\pi}{2}} \frac{(\sin \theta-\sin ^{3} \theta)^{\frac{1}{3}}}{\sin ^{4} \theta} \cos \theta d \theta$

$ =\int _{\sin ^{-1}(\frac{1}{3})}^{\frac{\pi}{2}} \frac{(\sin \theta)^{\frac{1}{3}}(1-\sin ^{2} \theta)^{\frac{1}{3}}}{\sin ^{4} \theta} \cos \theta d \theta $

$=\int _{\sin ^{-1}(\frac{1}{3})}^{\frac{\pi}{2}} \frac{(\sin \theta)^{\frac{1}{3}}(\cos \theta)^{\frac{2}{3}}}{\sin ^{4} \theta} \cos \theta d \theta$

$=\int _{\sin ^{-1}(\frac{1}{3})}^{\frac{\pi}{2}} \frac{(\sin \theta)^{\frac{1}{3}}(\cos \theta)^{\frac{2}{3}}}{\sin ^{2} \theta \sin ^{2} \theta} \cos \theta d \theta$

$=\int _{\sin ^{-1}(\frac{1}{3}.}^{\frac{\pi}{2}} \frac{(\cos \theta)^{\frac{5}{3}}}{(\sin \theta)^{\frac{5}{3}}} cosec^{2} \theta d \theta$

$=\int _{\sin ^{-1}(\frac{1}{3})}^{\frac{\pi}{2}}(\cot \theta)^{\frac{5}{3}} cosec^{2} \theta d \theta$

Let $\cot \theta=t \square-cosec 2 \theta d \theta=d t$

$ \begin{aligned} \therefore I & =-\int _{2 \sqrt{2}}^{0}(t)^{\frac{5}{3}} d t \\ & =-[\frac{3}{8}(t)^{\frac{8}{3}}] _{2 \sqrt{2}}^{0} \\ & =-\frac{3}{8}[(t)^{\frac{8}{3}}] _{2 \sqrt{2}}^{0} \\ & =-\frac{3}{8}[-(2 \sqrt{2})^{\frac{8}{3}}] \\ & =\frac{3}{8}[(\sqrt{8})^{\frac{8}{3}}] \\ & =\frac{3}{8}[(8)^{\frac{4}{3}}] \\ & =\frac{3}{8}[16] \\ & =3 \times 2 \\ & =6 \end{aligned} $

$ \text{ When } \theta=\sin ^{-1}(\frac{1}{3}), t=2 \sqrt{2} \text{ and when } \theta=\frac{\pi}{2}, t=0 $

Hence, the correct Answer is A.

10. If $f(x)=\int_0^{x} t \sin t d t$, then $f^{\prime}(x)$ is

$\quad\quad$(A) $\cos x+x \sin x$

$\quad\quad$(B) $x \sin x$

$\quad\quad$(C) $x \cos x$

$\quad\quad$(D) $\sin x+x \cos x$

Solution

$f(x)=\int_0^{x} t \sin t d t$

Integrating by parts, we obtain

$ \begin{aligned} f(x) & =t \int_0^{x} \sin t d t-\int_0^{x}{(\frac{d}{d t} t) \int \sin t d t} d t \\ & =[t(-\cos t)]_0^{x}-\int_0^{x}(-\cos t) d t \\ & =[-t \cos t+\sin t]_0^{x} \\ & =-x \cos x+\sin x \\ \Rightarrow f^{\prime}(x) & =-[{x(-\sin x)}+\cos x]+\cos x \\ & =x \sin x-\cos x+\cos x \\ & x \sin x \end{aligned} $

Hence, the correct Answer is B.

Some Properties of Definite Integrals

We list below some important properties of definite integrals. These will be useful in evaluating the definite integrals more easily.

$ \begin{aligned} \mathbf{P} _ {0}: & \int _ a^{b} f(x) dx=\int _ a^{b} f(t) d t \\ \mathbf{P} _ {1}: & \int _ a^{b} f(x) d x=-\int _ b^{a} f(x) d x . \text{ In particular, } \int_a^{a} f(x) d x=0 \\ \mathbf{P} _ {2}: & \int _a^{b} f(x) d x=\int _ a^{c} f(x) d x+\int _c^{b} f(x) d x \end{aligned} $

$ \begin{aligned} & \mathbf{P} _ {3}: \quad \int_ a^{b} f(x) d x=\int_ a^{b} f(a+b-x) d x \\ & \mathbf{P} _ {4}: \quad \int_ 0^{a} f(x) d x=\int_ 0^{a} f(a-x) d x \end{aligned} $

(Note that $P_4$ is a particular case of $P_3$ )

$\mathbf{P} _ {5}: \quad \int_ 0^{2 a} f(x) d x=\int_ 0^{a} f(x) d x+\int_ 0^{a} f(2 a-x) d x$

$\mathbf{P} _ {6}: \quad \int_ 0^{2 a} f(x) d x=2 \int_ 0^{a} f(x) d x$, if $f(2 a-x)=f(x)$ and

0 if $f(2 a-x)=-f(x)$

$\mathbf{P} _ {7}: \quad$ (i) $\quad \int_ {-a}^{a} f(x) d x=2 \int_ 0^{a} f(x) d x$, if $f$ is an even function, i.e., if $f(-x)=f(x)$.

(ii) $\int _{-a}^{a} f(x) d x=0$, if $f$ is an odd function, i.e., if $f(-x)=-f(x)$.

We give the proofs of these properties one by one.

Proof of $\mathbf{P} _ {\mathbf{0}}$ It follows directly by making the substitution $x=t$.

Proof of $\mathbf{P} _ {\mathbf{1}}$ Let $F$ be anti derivative of $f$. Then, by the second fundamental theorem of calculus, we have $\int_ a^{b} f(x) d x=F(b)-F(a)=-[F(a)-F(b)]=-\int_ b^{a} f(x) d x$ Here, we observe that, if $a=b$, then $\int_ a^{a} f(x) d x=0$.

Proof of $\mathbf{P} _2$ Let $F$ be anti derivative of $f$. Then

and

$ \begin{aligned} & \int_a^{b} f(x) d x=F(b)-F(a) \\ & \int_a^{c} f(x) d x=F(c)-F(a) \\ & \int_c^{b} f(x) d x=F(b)-F(c) \end{aligned} $

Adding (2) and (3), we get $\int_a^{c} f(x) d x+\int_c^{b} f(x) d x=F(b)-F(a)=\int_a^{b} f(x) d x$

This proves the property $P_2$.

Proof of $\mathbf{P} _3$ Let $t=a+b-x$. Then $d t=-d x$. When $x=a, t=b$ and when $x=b, t=a$. Therefore

$ \int_a^{b} f(x) d x=-\int_b^{a} f(a+b-t) d t $

$ \begin{aligned} & =\int_a^{b} f(a+b-t) d t \quad(\text{ by } P_1) \\ & =\int_a^{b} f(a+b-x) d x \text{ by } P_0 \end{aligned} $

Proof of $\mathbf{P} _4$ Put $t=a-x$. Then $d t=-d x$. When $x=0, t=a$ and when $x=a, t=0$. Now proceed as in $P_3$.

Proof of $\mathbf{P} _5$ Using $P_2$, we have $\int_0^{2 a} f(x) d x=\int_0^{a} f(x) d x+\int_a^{2 a} f(x) d x$.

Let

$ \begin{aligned} t & =2 a-x \text{ in the second integral on the right hand side. Then } \\ d t & =-d x . \text{ When } x=a, t=a \text{ and when } x=2 a, t=0 \text{. Also } x=2 a-t . \end{aligned} $

Therefore, the second integral becomes

$ \int_a^{2 a} f(x) d x=-\int_a^{0} f(2 a-t) d t=\int_0^{a} f(2 a-t) d t=\int_0^{a} f(2 a-x) d x $

Hence $\quad \int_0^{2 a} f(x) d x=\int_0^{a} f(x) d x+\int_0^{a} f(2 a-x) d x$

Proof of $\mathbf{P} _6$ Using $P_5$, we have $\int_0^{2 a} f(x) d x=\int_0^{a} f(x) d x+\int_0^{a} f(2 a-x) d x$

Now, if

$ f(2 a-x)=f(x) \text{, then (1) becomes } $

$ \int_0^{2 a} f(x) d x=\int_0^{a} f(x) d x+\int_0^{a} f(x) d x=2 \int_0^{a} f(x) d x, $

and if

$ f(2 a-x)=-f(x) \text{, then (1) becomes } $

$ \int_0^{2 a} f(x) d x=\int_0^{a} f(x) d x-\int_0^{a} f(x) d x=0 $

Proof of $\mathbf{P} _7$ Using $P_2$, we have

$ \int _{-a}^{a} f(x) d x=\int _{-a}^{0} f(x) d x+\int_0^{a} f(x) d x \text{. Then } $

Let $t=-x$ in the first integral on the right hand side.

$ \begin{aligned} d t & =-d x . \text{ When } x=-a, t=a \text{ and when } \\ x & =0, t=0 . \text{ Also } x=-t . \end{aligned} $

Therefore

$ \begin{aligned} \int _{-a}^{a} f(x) d x & =-\int_a^{0} f(-t) d t+\int_0^{a} f(x) d x \\ & =\int_0^{a} f(-x) d x+\int_0^{a} f(x) d x \end{aligned} $ (i) Now, if $f$ is an even function, then $f(-x)=f(x)$ and so (1) becomes

$ \int _{-a}^{a} f(x) d x=\int_0^{a} f(x) d x+\int_0^{a} f(x) d x=2 \int_0^{a} f(x) d x $

(ii) If $f$ is an odd function, then $f(-x)=-f(x)$ and so (1) becomes

$ \int _{-a}^{a} f(x) d x=-\int_0^{a} f(x) d x+\int_0^{a} f(x) d x=0 $

Example 28 Evaluate $\int _{-1}^{2}|x^{3}-x| d x$

Solution We note that $x^{3}-x \geq 0$ on $[-1,0]$ and $x^{3}-x \leq 0$ on $[0,1]$ and that $x^{3}-x \geq 0$ on $[1,2]$. So by $P_2$ we write

$ \begin{aligned} \int_ {-1}^{2}|x^{3}-x| d x & =\int_ {-1}^{0}(x^{3}-x) d x+\int_ 0^{1}-(x^{3}-x) d x+\int_ 1^{2}(x^{3}-x) d x \\ & =\int_ {-1}^{0}(x^{3}-x) d x+\int_ 0^{1}(x-x^{3}) d x+\int_ 1^{2}(x^{3}-x) d x \\ & =[\frac{x^{4}}{4}-\frac{x^{2}}{2}]_ {-1}^{0}+[\frac{x^{2}}{2}-\frac{x^{4}}{4}]_ 0^{1}+[\frac{x^{4}}{4}-\frac{x^{2}}{2}]_ 1^{2} \\ & =-(\frac{1}{4}-\frac{1}{2})+(\frac{1}{2}-\frac{1}{4})+(4-2)-(\frac{1}{4}-\frac{1}{2}) \\ & =-\frac{1}{4}+\frac{1}{2}+\frac{1}{2}-\frac{1}{4}+2-\frac{1}{4}+\frac{1}{2}=\frac{3}{2}-\frac{3}{4}+2=\frac{11}{4} \end{aligned} $

Example 29 Evaluate $\int _{\frac{-\pi}{4}}^{\frac{\pi}{4}} \sin ^{2} x d x$

Solution We observe that $\sin ^{2} x$ is an even function. Therefore, by $P_7(i)$, we get

$ \begin{aligned} \int _{\frac{-\pi}{4}}^{\frac{\pi}{4}} \sin ^{2} x d x & =2 \int_0^{\frac{\pi}{4}} \sin ^{2} x d x \\ & =2 \int_0^{\frac{\pi}{4}} \frac{(1-\cos 2 x)}{2} d x=\int_0^{\frac{\pi}{4}}(1-\cos 2 x) d x \end{aligned} $

$ =[x-\frac{1}{2} \sin 2 x]_0^{\frac{\pi}{4}}=(\frac{\pi}{4}-\frac{1}{2} \sin \frac{\pi}{2})-0=\frac{\pi}{4}-\frac{1}{2} $

Example 30 Evaluate $\int_0^{\pi} \frac{x \sin x}{1+\cos ^{2} x} d x$

Solution Let $I=\int_0^{\pi} \frac{x \sin x}{1+\cos ^{2} x} d x$. Then, by $P_4$, we have

$ \begin{aligned} I & =\int_0^{\pi} \frac{(\pi-x) \sin (\pi-x) d x}{1+\cos ^{2}(\pi-x)} \\ & =\int_0^{\pi} \frac{(\pi-x) \sin x d x}{1+\cos ^{2} x}=\pi \int_0^{\pi} \frac{\sin x d x}{1+\cos ^{2} x}-I \end{aligned} $

or

$ 2 I=\pi \int_0^{\pi} \frac{\sin x d x}{1+\cos ^{2} x} $

or

$ I=\frac{\pi}{2} \int_0^{\pi} \frac{\sin x d x}{1+\cos ^{2} x} $

Put $\cos x=t$ so that $-\sin x d x=d t$. When $x=0, t=1$ and when $x=\pi, t=-1$. Therefore, (by $P_1$ ) we get

$ \begin{aligned} I & =\frac{-\pi}{2} \int_1^{-1} \frac{d t}{1+t^{2}}=\frac{\pi}{2} \int _{-1}^{1} \frac{d t}{1+t^{2}} \\ & =\pi \int_0^{1} \frac{d t}{1+t^{2}}(\text{ by } P_7, \text{ since } \frac{1}{1+t^{2}} \text{ is even function }) \\ & =\pi[\tan ^{-1} t]_0^{1}=\pi[\tan ^{-1} 1-\tan ^{-1} 0]=\pi[\frac{\pi}{4}-0]=\frac{\pi^{2}}{4} \end{aligned} $

Example 31 Evaluate $\int _{-1}^{1} \sin ^{5} x \cos ^{4} x d x$

Solution Let $I=\int _{-1}^{1} \sin ^{5} x \cos ^{4} x d x$. Let $f(x)=\sin ^{5} x \cos ^{4} x$. Then

$ f(-x)=\sin ^{5}(-x) \cos ^{4}(-x)=-\sin ^{5} x \cos ^{4} x=-f(x) \text{, i.e., } f \text{ is an odd function. } $

Therefore, by $P_7$ (ii), $I=0$

Example 32 Evaluate $\int_0^{\frac{\pi}{2}} \frac{\sin ^{4} x}{\sin ^{4} x+\cos ^{4} x} d x$

Solution Let $I=\int_0^{\frac{\pi}{2}} \frac{\sin ^{4} x}{\sin ^{4} x+\cos ^{4} x} d x$

Then, by $P_4$

$ I=\int_0^{\frac{\pi}{2}} \frac{\sin ^{4}(\frac{\pi}{2}-x)}{\sin ^{4}(\frac{\pi}{2}-x)+\cos ^{4}(\frac{\pi}{2}-x)} d x=\int_0^{\frac{\pi}{2}} \frac{\cos ^{4} x}{\cos ^{4} x+\sin ^{4} x} d x $

Adding (1) and (2), we get

$ 2 I=\int_0^{\frac{\pi}{2}} \frac{\sin ^{4} x+\cos ^{4} x}{\sin ^{4} x+\cos ^{4} x} d x=\int_0^{\frac{\pi}{2}} d x=[x]_0^{\frac{\pi}{2}}=\frac{\pi}{2} $

Hence

$ I=\frac{\pi}{4} $

Example 33 Evaluate $\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{d x}{1+\sqrt{\tan x}}$

Solution Let $I=\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{d x}{1+\sqrt{\tan x}}=\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{\sqrt{\cos x} d x}{\sqrt{\cos x}+\sqrt{\sin x}}$

Then, by $P_3$

$ \begin{aligned} I & =\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{\sqrt{\cos (\frac{\pi}{3}+\frac{\pi}{6}-x)} d x}{\sqrt{\cos (\frac{\pi}{3}+\frac{\pi}{6}-x)}+\sqrt{\sin (\frac{\pi}{3}+\frac{\pi}{6}-x)}} \\ & =\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}} d x \end{aligned} $

Adding (1) and (2), we get

$ 2 I=\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} d x=[x] _{\frac{\pi}{6}}^{\frac{\pi}{3}}=\frac{\pi}{3}-\frac{\pi}{6}=\frac{\pi}{6} . \text{ Hence } I=\frac{\pi}{12} $

Example 34 Evaluate $\int_0^{\frac{\pi}{2}} \log \sin x d x$

Solution Let $I=\int_0^{\frac{\pi}{2}} \log \sin x d x$

Then, by $P_4$

$ I=\int_0^{\frac{\pi}{2}} \log \sin (\frac{\pi}{2}-x) d x=\int_0^{\frac{\pi}{2}} \log \cos x d x $

Adding the two values of I, we get

$ \begin{aligned} 2 I & =\int_0^{\frac{\pi}{2}}(\log \sin x+\log \cos x) d x \\ & .=\int_0^{\frac{\pi}{2}}(\log \sin x \cos x+\log 2-\log 2) d x \text{ (by adding and subtracting log } 2) \\ & =\int_0^{\frac{\pi}{2}} \log \sin 2 x d x-\int_0^{\frac{\pi}{2}} \log 2 d x \quad \text{ (Why?) } \end{aligned} $

Put $2 x=t$ in the first integral. Then $2 d x=d t$, when $x=0, t=0$ and when $x=\frac{\pi}{2}$, $t=\pi$.

Therefore

$ \begin{aligned} 2 I= & \frac{1}{2} \int_0^{\pi} \log \sin t d t-\frac{\pi}{2} \log 2 \\ & =\frac{2}{2} \int_0^{\frac{\pi}{2}} \log \sin t d t-\frac{\pi}{2} \log 2 \quad[\text{ by } P_6 \text{ as } \sin (\pi-t)=\sin t) \\ & .=\int_0^{\frac{\pi}{2}} \log \sin x d x-\frac{\pi}{2} \log 2 \text{ (by changing variable } t \text{ to } x) \\ & =I-\frac{\pi}{2} \log 2 \\ & \int_0^{\frac{\pi}{2}} \log \sin x d x=\frac{-\pi}{2} \log 2 . \end{aligned} $

Hence

EXERCISE 7.10

By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19.

1. $\int_0^{\frac{\pi}{2}} \cos ^{2} x d x \quad$

Solution

$I=\int_0^{\frac{\pi}{2}} \cos ^{2} x d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \cos ^{2}(\frac{\pi}{2}-x) d x$

$(\int_0^{\infty} f(x) d x=\int_0^{\infty} f(a-x) d x)$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \sin ^{2} x d x$

Adding (1) and (2), we obtain

$2 I=\int_0^{\frac{\pi}{2}}(\sin ^{2} x+\cos ^{2} x) d x$

$\Rightarrow 2 I=\int_0^{\frac{\pi}{2}} 1 \cdot d x$

$\Rightarrow 2 I=[x]_0^{\frac{\pi}{2}}$

$\Rightarrow 2 I=\frac{\pi}{2}$

$\Rightarrow I=\frac{\pi}{4}$

2. $\int_0^{\frac{\pi}{2}} \frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}} d x$

Solution

$\int_0^{\frac{\pi}{2}} \frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}} d x$

Let $I=\int_0^{\frac{\pi}{2}} \frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\sqrt{\sin (\frac{\pi}{2}-x)}}{\sqrt{\sin (\frac{\pi}{2}-x)}+\sqrt{\cos (\frac{\pi}{2}-x)}} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\sqrt{\cos }}{\sqrt{\cos }+\sqrt{\sin x}} d x$

Adding (1) and (2), we obtain

$2 I=\int_0^{\frac{\pi}{2}} \frac{\sqrt{\sin x}+\sqrt{\cos x}}{\sqrt{\sin x}+\sqrt{\cos x}} d x$

$\Rightarrow 2 I=\int_0^{\frac{\pi}{2}} 1 \cdot d x$

$\Rightarrow 2 I=[x]_0^{\frac{\pi}{2}}$

$\Rightarrow 2 I=\frac{\pi}{2}$

$\Rightarrow I=\frac{\pi}{4}$

3. $\int_0^{\frac{\pi}{2}} \frac{\sin ^{\frac{3}{2}} x d x}{\sin ^{\frac{3}{2}} x+\cos ^{\frac{3}{2}} x}$

Solution

$(\int_0^{a} f(x) d x=\int_0^{a} f(a-x) d x)$

Let $I=\int_0^{\frac{\pi}{2}} \frac{\sin ^{\frac{3}{2}} x}{\sin ^{\frac{3}{2}} x+\cos ^{\frac{3}{2}} x} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\sin ^{\frac{3}{2}}(\frac{\pi}{2}-x)}{\sin ^{\frac{3}{2}}(\frac{\pi}{2}-x)+\cos ^{\frac{3}{2}}(\frac{\pi}{2}-x)} d x$

$ (\int_0^{a} f(x) d x=\int_0^{a} f(a-x) d x) $

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\cos ^{\frac{3}{2}} x}{\sin ^{\frac{3}{2}} x+\cos ^{\frac{3}{2}} x} d x$

Adding (1) and (2), we obtain

$2 I=\int_0^{\frac{\pi}{2}} \frac{\sin ^{\frac{3}{2}} x+\cos ^{\frac{3}{2}} x}{\sin ^{\frac{3}{2}} x+\cos ^{\frac{3}{2}} x} d x$

$\Rightarrow 2 I=\int_0^{\frac{\pi}{2}} 1 \cdot d x$

$\Rightarrow 2 I=[x]_0^{\frac{\pi}{2}}$

$\Rightarrow 2 I=\frac{\pi}{2}$

$\Rightarrow I=\frac{\pi}{4}$

4. $\int_0^{\frac{\pi}{2}} \frac{\cos ^{5} x d x}{\sin ^{5} x+\cos ^{5} x}$

Solution

Let $I=\int_0^{\frac{\pi}{2}} \frac{\cos ^{5} x}{\sin ^{5} x+\cos ^{5} x} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\cos ^{5}(\frac{\pi}{2}-x)}{\sin ^{5}(\frac{\pi}{2}-x)+\cos ^{5}(\frac{\pi}{2}-x)} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\sin ^{5} x}{\sin ^{5} x+\cos ^{5} x} d x$

Adding (1) and (2), we obtain

$2 I=\int_0^{\frac{\pi}{2}} \frac{\sin ^{5} x+\cos ^{5} x}{\sin ^{5} x+\cos ^{5} x} d x$

$\Rightarrow 2 I=\int_0^{\frac{\pi}{2}} 1 \cdot d x$

$\Rightarrow 2 I=[x]_0^{\frac{\pi}{2}}$

$\Rightarrow 2 I=\frac{\pi}{2}$

$\Rightarrow I=\frac{\pi}{4}$

5. $\int _{-5}^{5}|x+2| d x$

Solution

Let $I=\int _{-5}^{5}|x+2| d x$

It can be seen that $(x+2) \leq 0$ on $[-5,-2]$ and $(x+2) \geq 0$ on $[-2,5]$.

$ \begin{aligned} \therefore I & =\int _{-5}^{-2}-(x+2) d x+\int _{-2}^{5}(x+2) d x \quad(\int_a^{b} f(x)=\int_a^{c} f(x)+\int_c^{b} f(x)) \\ I & =-[\frac{x^{2}}{2}+2 x] _{-5}^{-2}+[\frac{x^{2}}{2}+2 x] _{-2}^{5} \\ & =-[\frac{(-2)^{2}}{2}+2(-2)-\frac{(-5)^{2}}{2}-2(-5)]+[\frac{(5)^{2}}{2}+2(5)-\frac{(-2)^{2}}{2}-2(-2)] \\ & =-[2-4-\frac{25}{2}+10]+[\frac{25}{2}+10-2+4] \\ & =-2+4+\frac{25}{2}-10+\frac{25}{2}+10-2+4 \\ & =29 \end{aligned} $

6. $\int_2^{8}|x-5| d x$

Solution

Let $I=\int_2^{6}|x-5| d x$

It can be seen that $(x-5) \leq 0$ on $[2,5]$ and $(x-5) \geq 0$ on $[5,8]$.

$ \begin{matrix} I & =\int_2^{5}-(x-5) d x+\int_2^{8}(x-5) d x & (\int_a^{b} f(x)=\int_a^{c} f(x)+\int_c^{b} f(x)) \\ & =-[\frac{x^{2}}{2}-5 x]_2^{5}+[\frac{x^{2}}{2}-5 x]_5^{8} \\ & =-[\frac{25}{2}-25-2+10]+[32-40-\frac{25}{2}+25] \\ & =9 \end{matrix} $

7. $\int_0^{1} x(1-x)^{n} d x$

Solution

$ \begin{aligned} \text{ Let } & I=\int_0^{1} x(1-x)^{n} d x \\ \therefore I & =\int_0^{1}(1-x)(1-(1-x))^{n} d x \\ & =\int_0^{1}(1-x)(x)^{n} d x \\ & =\int_0^{1}(x^{n}-x^{n+1}) d x \\ & =[\frac{x^{n+1}}{n+1}-\frac{x^{n+2}}{n+2}]_0^{1} \quad(\int_0^{n} f(x) d x=\int_0^{n} f(a-x) d x) \\ & =[\frac{1}{n+1}-\frac{1}{n+2}] \\ & =\frac{(n+2)-(n+1)}{(n+1)(n+2)} \\ & =\frac{1}{(n+1)(n+2)} \end{aligned} $

8. $\int_0^{\frac{\pi}{4}} \log (1+\tan x) d x$

Solution

Let $I=\int_0^{\frac{\pi}{4}} \log (1+\tan x) d x$

$\therefore I=\int_0^{\frac{\pi}{4}} \log [1+\tan (\frac{\pi}{4}-x)] d x$

$\Rightarrow I=\int_0^{\frac{\pi}{4}} \log {1+\frac{\tan \frac{\pi}{4}-\tan x}{1+\tan \frac{\pi}{4} \tan x}} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{4}} \log {1+\frac{1-\tan x}{1+\tan }} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{4}} \log \frac{2}{(1+\tan x)} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{4}} \log 2 d x-\int_0^{\frac{\pi}{4}} \log (1+\tan x) d x$

$\Rightarrow I=\int_0^{\frac{\pi}{4}} \log 2 d x-I$

$\Rightarrow 2 I=[x \log 2]_0^{\frac{\pi}{4}}$

$\Rightarrow 2 I=\frac{\pi}{4} \log 2$

$\Rightarrow I=\frac{\pi}{8} \log 2$

9. $\int_0^{2} x \sqrt{2-x} d x$

Solution

$(\int_0^{a} f(x) d x=\int_0^{a} f(a-x) d x)$

[From (1)]

Let $I=\int_0^{2} x \sqrt{2-x} d x$

$ \begin{aligned} I & =\int_0^{2}(2-x) \sqrt{x} d x \\ & =\int_0^{2}{2 x^{\frac{1}{2}}-x^{\frac{3}{2}}} d x \\ & .=[2(\frac{x^{\frac{3}{2}}}{\frac{3}{2}})-\frac{x^{\frac{5}{2}}}{\frac{5}{2}}]_0^{a} f(x) d x=\int_0^{a} f(a-x) d x) \\ & =[\frac{4}{3} x^{\frac{3}{2}}-\frac{2}{5} x^{\frac{5}{2}}]_0^{2} \\ & =\frac{4}{3}(2)^{\frac{3}{2}}-\frac{2}{5}(2)^{\frac{5}{2}} \\ & =\frac{4 \times 2 \sqrt{2}}{3}-\frac{2}{5} \times 4 \sqrt{2} \\ & =\frac{8 \sqrt{2}}{3}-\frac{8 \sqrt{2}}{5} \\ & =\frac{40 \sqrt{2}-24 \sqrt{2}}{15} \\ & =\frac{16 \sqrt{2}}{15} \end{aligned} $

10. $\int_0^{\frac{\pi}{2}}(2 \log \sin x-\log \sin 2 x) d x$

Solution

Let $I=\int_0^{\frac{\pi}{2}}(2 \log \sin x-\log \sin 2 x) d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}}{2 \log \sin x-\log (2 \sin x \cos x)} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}}{2 \log \sin x-\log \sin x-\log \cos x-\log 2} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}}{\log \sin x-\log \cos x-\log 2} d x$

It is known that, $(\int_0^{\infty} f(x) d x=\int_0^{\infty} f(a-x) d x)$

$\Rightarrow I=\int_0^{\frac{\pi}{2}}{\log \cos x-\log \sin x-\log 2} d x$

Adding (1) and (2), we obtain

$ \begin{aligned} & 2 I=\int_0^{\frac{\pi}{2}}(-\log 2-\log 2) d x \\ & \Rightarrow 2 I=-2 \log 2 \int_0^{\frac{\pi}{2}} 1 d x \\ & \Rightarrow I=-\log 2[\frac{\pi}{2}] \\ & \Rightarrow I=\frac{\pi}{2}(-\log 2) \\ & \Rightarrow I=\frac{\pi}{2}[\log \frac{1}{2}] \\ & \Rightarrow I=\frac{\pi}{2} \log \frac{1}{2} \end{aligned} $

11. $\int _{\frac{-\pi}{2}}^{\frac{\pi}{2}} \sin ^{2} x d x$

Solution

Let $I=\int _{-\frac{\pi}{2}}^{\frac{\pi}{2}} \sin ^{2} x d x$

As $\sin ^{2}(-x)=(\sin (-x))^{2}=(-\sin x)^{2}=\sin ^{2} x$, therefore, $\sin ^{2} x$ is an even function.

It is known that if $f(x)$ is an even function, then $\int _{-a}^{a} f(x) d x=2 \int_0^{a} f(x) d x$

$ \begin{aligned} I & =2 \int_0^{\frac{\pi}{2}} \sin ^{2} x d x \\ & =2 \int_0^{\frac{\pi}{2}} \frac{1-\cos 2 x}{2} d x \\ & =\int_0^{\pi}(1-\cos 2 x) d x \\ & =[x-\frac{\sin 2 x}{2}]_0^{\frac{\pi}{2}} \\ & =\frac{\pi}{2} \end{aligned} $

12. $\int_0^{\pi} \frac{x d x}{1+\sin x}$

Solution

Let $I=\int_0^{\pi} \frac{x d x}{1+\sin x}$

$\Rightarrow I=\int_0^{\pi} \frac{(\pi-x)}{1+\sin (\pi-x)} d x$

$(\int_0^{a} f(x) d x=\int_0^{a} f(a-x) d x)$

$\Rightarrow I=\int_0^{\pi} \frac{(\pi-x)}{1+\sin x} d x$

Adding (1) and (2), we obtain

$ \begin{aligned} & 2 I=\int_0^{\pi} \frac{\pi}{1+\sin x} d x \\ & \Rightarrow 2 I=\pi \int_0^{\pi} \frac{(1-\sin x)}{(1+\sin x)(1-\sin x)} d x \\ & \Rightarrow 2 I=\pi \int_0^{\pi} \frac{1-\sin x}{\cos ^{2} x} d x \\ & \Rightarrow 2 I=\pi \int_0^{\pi}{\sec ^{2} x-\tan x \sec x} d x \\ & \Rightarrow 2 I=\pi[\tan x-\sec x]_0^{\pi} \\ & \Rightarrow 2 I=\pi[2] \\ & \Rightarrow I=\pi \end{aligned} $

13. $\int _{\frac{-\pi}{2}}^{\frac{\pi}{2}} \sin ^{7} x d x$

Solution

Let $I=\int _{\frac{\pi}{2}}^{\frac{\pi}{2}} \sin ^{7} x d x$

As $\sin ^{7}(-x)=(\sin (-x))^{7}=(-\sin x)^{7}=-\sin ^{7} x$, therefore, $\sin ^{2} x$ is an odd function.

It is known that, if $f(x)$ is an odd function, then $\int _{-a}^{a} f(x) d x=0$

$\therefore I=\int _{\frac{\pi}{2}}^{\frac{\pi}{2}} \sin ^{7} x d x=0$

14. $\int_0^{2 \pi} \cos ^{5} x d x$

Solution

Let $I=\int_0^{2 \pi} \cos ^{5} x d x$

$\cos ^{5}(2 \pi-x)=\cos ^{5} x$

It is known that,

$ \begin{aligned} \int_0^{2 a} f(x) d x & =2 \int_0^{a} f(x) d x \text{, if } f(2 a-x)=f(x) \\ & =0 \text{ if } f(2 a-x)=-f(x) \end{aligned} $

$\therefore I=2 \int_0^{\pi} \cos ^{5} x d x$

$\Rightarrow I=2(0)=0 \quad[\cos ^{5}(\pi-x)=-\cos ^{5} x]$

15. $\int_0^{\frac{\pi}{2}} \frac{\sin x-\cos x}{1+\sin x \cos x} d x$

Solution

Let $I=\int_0^{\frac{\pi}{2}} \frac{\sin x-\cos x}{1+\sin x \cos x} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\sin (\frac{\pi}{2}-x)-\cos (\frac{\pi}{2}-x)}{1+\sin (\frac{\pi}{2}-x) \cos (\frac{\pi}{2}-x)} d x$

$ (\int_0^{a} f(x) d x=\int_0^{a} f(a-x) d x) $

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\cos x-\sin x}{1+\sin x \cos x} d x$

Adding (1) and (2), we obtain

$ \begin{aligned} & 2 I=\int_0^{\frac{\pi}{2}} \frac{0}{1+\sin x \cos x} d x \\ & \Rightarrow I=0 \end{aligned} $

16. $\int_0^{\pi} \log (1+\cos x) d x$

Solution

$$ \begin{align*} & \text{ Let } I=\int_0^{\pi} \log (1+\cos x) d x \tag{1}\\ & \Rightarrow I=\int_0^{\pi} \log (1+\cos (\pi-x)) d x \\ & \Rightarrow I=\int_0^{\pi} \log (1-\cos x) d x \end{align*} $$

$(\int_0^{a} f(x) d x=\int_0^{0} f(a-x) d x)$

Adding (1) and (2), we obtain

$2 I=\int_0^{\pi}{\log (1+\cos x)+\log (1-\cos x)} d x$

$\Rightarrow 2 I=\int_0^{\pi} \log (1-\cos ^{2} x) d x$

$\Rightarrow 2 I=\int_0^{\pi} \log \sin ^{2} x d x$

$\Rightarrow 2 I=2 \int_0^{\pi} \log \sin x d x$

$\Rightarrow I=\int_0^{\pi} \log \sin x d x$

$\sin (\pi-x)=\sin x$

$\therefore I=2 \int_0^{\frac{\pi}{2}} \log \sin x d x$

$\Rightarrow I=2 \int_0^{\frac{\pi}{2}} \log \sin (\frac{\pi}{2}-x) d x=2 \int_0^{\frac{\pi}{2}} \log \cos x d x$

Adding (4) and (5), we obtain

$2 I=2 \int_0^{\frac{\pi}{2}}(\log \sin x+\log \cos x) d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}}(\log \sin x+\log \cos x+\log 2-\log 2) d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}}(\log 2 \sin x \cos x-\log 2) d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \log \sin 2 x d x-\int_0^{\frac{\pi}{2}} \log 2 d x$

Let $2 x=t \square 2 d x=d t$

When $x=0, t=0$ and when $x=\frac{\pi}{2}, \pi=$

$\therefore I=\frac{1 \pi}{2} \int_0^{\pi} \log \sin t d t-\frac{-}{2} \log 2$

$\Rightarrow I=\frac{1 \pi}{2} I-\frac{-}{2} \log 2$

$\Rightarrow \frac{I}{2}=-\frac{\pi}{2} \log 2$

$\Rightarrow I=-\pi \log 2$

17. $\int_0^{a} \frac{\sqrt{x}}{\sqrt{x}+\sqrt{a-x}} d x$

Solution

Let $I=\int_0^{a} \frac{\sqrt{x}}{\sqrt{x}+\sqrt{a-x}} d x$

It is known that, $(\int_0^{a} f(x) d x=\int_0^{a} f(a-x) d x)$

$I=\int_0^{a} \frac{\sqrt{a-x}}{\sqrt{a-x}+\sqrt{x}} d x$

Adding (1) and (2), we obtain

$2 I=\int_0^{a} \frac{\sqrt{x}+\sqrt{a-x}}{\sqrt{x}+\sqrt{a-x}} d x$

$\Rightarrow 2 I=\int_0^{u} 1 d x$

$\Rightarrow 2 I=[x]_0^{a}$

$\Rightarrow 2 I=a$

$\Rightarrow I=\frac{a}{2}$

18. $\int_0^{4}|x-1| d x$

Solution

$I=\int_0^{4}|x-1| d x$

It can be seen that, $(x-1) \leq 0$ when $0 \leq x \leq 1$ and $(x-1) \geq 0$ when $1 \leq x \leq 4$

$ \begin{aligned} I & =\int_0^{1}|x-1| d x+\int_0^{4}|x-1| d x \quad(\int_a^{b} f(x)=\int_a^{c} f(x)+\int_a^{b} f(x)) \\ & =\int_0^{1}-(x-1) d x+\int_0^{1}(x-1) d x \\ & =[x-\frac{x^{2}}{2}]_0^{1}+[\frac{x^{2}}{2}-x]_1^{4} \\ & =1-\frac{1}{2}+\frac{(4)^{2}}{2}-4-\frac{1}{2}+1 \\ & =1-\frac{1}{2}+8-4-\frac{1}{2}+1 \\ & =5 \end{aligned} $

19. Show that $\int_0^{a} f(x) g(x) d x=2 \int_0^{a} f(x) d x$, if $f$ and $g$ are defined as $f(x)=f(a-x)$ and $g(x)+g(a-x)=4$

Solution

$$ \begin{align*} & \text{ Let } I=\int_0^{a} f(x) g(x) d x \tag{1}\\ & \Rightarrow I=\int_0^{a} f(a-x) g(a-x) d x \\ & \Rightarrow I=\int_0^{a} f(x) g(a-x) d x \end{align*} $$

Adding (1) and (2), we obtain

$ \begin{aligned} & 2 I=\int_0^{a}{f(x) g(x)+f(x) g(a-x)} d x \\ & \Rightarrow 2 I=\int_0^{a} f(x){g(x)+g(a-x)} d x \\ & \Rightarrow 2 I=\int_0^{a} f(x) \times 4 d x \quad[g(x)+g(a-x)=4] \\ & \Rightarrow I=2 \int_0^{a} f(x) d x \end{aligned} $

Choose the correct answer in Exercises 20 and 21.

20. The value of $\int _{\frac{-\pi}{2}}^{\frac{\pi}{2}}(x^{3}+x \cos x+\tan ^{5} x+1) d x$ is

$\quad\quad$(A) 0

$\quad\quad$(B) 2

$\quad\quad$(C) $\pi$

$\quad\quad$(D) 1

Solution

Let $I=\int _{\frac{\pi}{2}}^{\frac{\pi}{2}}(x^{3}+x \cos x+\tan ^{5} x+1) d x$

$\Rightarrow I=\int _{-\frac{\pi}{2}}^{\frac{\pi}{2}} x^{3} d x+\int _{-\frac{\pi}{2}}^{\frac{\pi}{2}} \cos x+\int _{-\frac{\pi}{2}}^{\frac{\pi}{2}} \tan ^{5} x d x+\int _{-\frac{\pi}{2}}^{\frac{\pi}{2}} 1 \cdot d x$

It is known that if $f(x)$ is an even function, then $\int _{-a}^{a} f(x) d x=2 \int_0^{a} f(x) d x$ and

if $f(x)$ is an odd function, then $\int _{-a}^{a} f(x) d x=0$

$ \begin{aligned} I & =0+0+0+2 \int_0^{\frac{\pi}{2}} 1 \cdot d x \\ & =2[x]_0^{\frac{\pi}{2}} \\ & =\frac{2 \pi}{2} \\ \pi & = \end{aligned} $

Hence, the correct Answer is C.

21. The value of $\int_0^{\frac{\pi}{2}} \log (\frac{4+3 \sin x}{4+3 \cos x}) d x$ is

$\quad\quad$(A) 2

$\quad\quad$(B) $\frac{3}{4}$

$\quad\quad$(C) 0

$\quad\quad$(D) -2

Solution

Let $I=\int_0^{\frac{\pi}{2}} \log (\frac{4+3 \sin x}{4+3 \cos x}) d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \log [\frac{4+3 \sin (\frac{\pi}{2}-x)}{4+3 \cos (\frac{\pi}{2}-x)}] d x \quad(\int_0^{a} f(x) d x=\int_0^{a} f(a-x) d x)$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \log (\frac{4+3 \cos x}{4+3 \sin x}) d x$

Adding (1) and (2), we obtain

$2 I=\int_0^{\frac{\pi}{2}}{\log (\frac{4+3 \sin x}{4+3 \cos x})+\log (\frac{4+3 \cos x}{4+3 \sin x})} d x$

$\Rightarrow 2 I=\int_0^{\frac{\pi}{2}} \log (\frac{4+3 \sin x}{4+3 \cos x} \times \frac{4+3 \cos x}{4+3 \sin x}) d x$

$\Rightarrow 2 I=\int_0^{\frac{\pi}{2}} \log 1 d x$

$\Rightarrow 2 I=\int_0^{\frac{\pi}{2}} 0 d x$

$\Rightarrow I=0$

Hence, the correct Answer is C.

Miscellaneous Examples

Example 35 Find $\int \cos 6 x \sqrt{1+\sin 6 x} d x$

Solution Put $t=1+\sin 6 x$, so that $d t=6 \cos 6 x d x$

Therefore

$ \begin{aligned} \int \cos 6 x \sqrt{1+\sin 6 x} d x & =\frac{1}{6} \int t^{\frac{1}{2}} d t \\ & =\frac{1}{6} \times \frac{2}{3}(t)^{\frac{3}{2}}+C=\frac{1}{9}(1+\sin 6 x)^{\frac{3}{2}}+C \end{aligned} $

Example 36 Find $\int \frac{(x^{4}-x)^{\frac{1}{4}}}{x^{5}} d x$

Solution We have $\int \frac{(x^{4}-x)^{\frac{1}{4}}}{x^{5}} d x=\int \frac{(1-\frac{1}{x^{3}})^{\frac{1}{4}}}{x^{4}} d x$

Put $1-\frac{1}{x^{3}}=1-x^{-3}=t$, so that $\frac{3}{x^{4}} d x=d t$

Therefore $\int \frac{(x^{4}-x)^{\frac{1}{4}}}{x^{5}} d x=\frac{1}{3} \int t^{\frac{1}{4}} d t=\frac{1}{3} \times \frac{4}{5} t^{\frac{5}{4}}+C=\frac{4}{15}(1-\frac{1}{x^{3}})^{\frac{5}{4}}+C$

Example 37 Find $\int \frac{x^{4} d x}{(x-1)(x^{2}+1)}$

Solution We have

$ \begin{aligned} \frac{x^{4}}{(x-1)(x^{2}+1)} & =(x+1)+\frac{1}{x^{3}-x^{2}+x-1} \\ & =(x+1)+\frac{1}{(x-1)(x^{2}+1)} \end{aligned} $

Now express

$ \frac{1}{(x-1)(x^{2}+1)}=\frac{A}{(x-1)}+\frac{B x+C}{(x^{2}+1)} $

So

$ \begin{aligned} 1 & =A(x^{2}+1)+(B x+C)(x-1) \\ & =(A+B) x^{2}+(C-B) x+A-C \end{aligned} $

Equating coefficients on both sides, we get $A+B=0, C-B=0$ and $A-C=1$, which give $A=\frac{1}{2}, B=C=-\frac{1}{2}$. Substituting values of $A, B$ and $C$ in (2), we get

$ \frac{1}{(x-1)(x^{2}+1)}=\frac{1}{2(x-1)}-\frac{1}{2} \frac{x}{(x^{2}+1)}-\frac{1}{2(x^{2}+1)} $

Again, substituting (3) in (1), we have

$ \frac{x^{4}}{(x-1)(x^{2}+x+1)}=(x+1)+\frac{1}{2(x-1)}-\frac{1}{2} \frac{x}{(x^{2}+1)}-\frac{1}{2(x^{2}+1)} $

Therefore

$ \int \frac{x^{4}}{(x-1)(x^{2}+x+1)} d x=\frac{x^{2}}{2}+x+\frac{1}{2} \log |x-1|-\frac{1}{4} \log (x^{2}+1)-\frac{1}{2} \tan ^{-1} x+C $

Example 38 Find $\int[\log (\log x)+\frac{1}{(\log x)^{2}}] d x$

Solution Let $I=\int[\log (\log x)+\frac{1}{(\log x)^{2}}] d x$

$ =\int \log (\log x) d x+\int \frac{1}{(\log x)^{2}} d x $

In the first integral, let us take 1 as the second function. Then integrating it by parts, we get

$ \begin{aligned} I & =x \log (\log x)-\int \frac{1}{x \log x} x d x+\int \frac{d x}{(\log x)^{2}} \\ & =x \log (\log x)-\int \frac{d x}{\log x}+\int \frac{d x}{(\log x)^{2}} \end{aligned} $

Again, consider $\int \frac{d x}{\log x}$, take 1 as the second function and integrate it by parts,

we have $\int \frac{d x}{\log x}=[\frac{x}{\log x}-\int x{-\frac{1}{(\log x)^{2}}(\frac{1}{x})} d x]$

Putting (2) in (1), we get

$ I=x \log (\log x)-\frac{x}{\log x}-\int \frac{d x}{(\log x)^{2}}+\int \frac{d x}{(\log x)^{2}}=x \log (\log x)-\frac{x}{\log x}+C $

Example 39 Find $\int[\sqrt{\cot x}+\sqrt{\tan x}] d x$

Solution We have

$ I=\int[\sqrt{\cot x}+\sqrt{\tan x}] d x=\int \sqrt{\tan x}(1+\cot x) d x $

Put $\tan x=t^{2}$, so that $\sec ^{2} x d x=2 t d t$

or

$ d x=\frac{2 t d t}{1+t^{4}} $

Then

$ \begin{aligned} I & =\int t(1+\frac{1}{t^{2}}) \frac{2 t}{(1+t^{4})} d t \\ & =2 \int \frac{(t^{2}+1)}{t^{4}+1} d t=2 \int \frac{(1+\frac{1}{t^{2}}) d t}{(t^{2}+\frac{1}{t^{2}})}=2 \int \frac{(1+\frac{1}{t^{2}}) d t}{(t-\frac{1}{t})^{2}+2} \end{aligned} $

Put $t-\frac{1}{t}=y$, so that $(1+\frac{1}{t^{2}}) d t=d y$. Then

$ \begin{aligned} I & =2 \int \frac{d y}{y^{2}+(\sqrt{2})^{2}}=\sqrt{2} \tan ^{-1} \frac{y}{\sqrt{2}}+C=\sqrt{2} \tan ^{-1} \frac{(t-\frac{1}{t})}{\sqrt{2}}+C \\ & =\sqrt{2} \tan ^{-1}(\frac{t^{2}-1}{\sqrt{2} t})+C=\sqrt{2} \tan ^{-1}(\frac{\tan x-1}{\sqrt{2 \tan x}})+C \end{aligned} $

Example 40 Find $\int \frac{\sin 2 x \cos 2 x d x}{\sqrt{9-\cos ^{4}(2 x)}}$

Solution Let $I=\int \frac{\sin 2 x \cos 2 x}{\sqrt{9-\cos ^{4} 2 x}} d x$

Put $\cos ^{2}(2 x)=t$ so that $4 \sin 2 x \cos 2 x d x=-d t$

Therefore $\quad I=-\frac{1}{4} \int \frac{d t}{\sqrt{9-t^{2}}}=-\frac{1}{4} \sin ^{-1}(\frac{t}{3})+C=-\frac{1}{4} \sin ^{-1}[\frac{1}{3} \cos ^{2} 2 x]+C$

Example 41 Evaluate $\int _{-1}^{\frac{3}{2}}|x \sin (\pi x)| d x$

Solution Here $f(x)=|x \sin \pi x|=\\begin{cases}{l}x \sin \pi x \text{ for }-1 \leq x \leq 1 \\ -x \sin \pi x \text{ for } 1 \leq x \leq \frac{3}{2}\end{cases}$

Therefore

$ \begin{aligned} \int _ {-1}^{\frac{3}{2}}|x \sin \pi x| d x & =\int _ {-1}^{1} x \sin \pi x d x+\int _ 1^{\frac{3}{2}}-x \sin \pi x d x \\ & =\int _ {-1}^{1} x \sin \pi x d x-\int _ 1^{\frac{3}{2}} x \sin \pi x d x \end{aligned} $

Integrating both integrals on righthand side, we get

$ \begin{aligned} \int_ {-1}^{\frac{3}{2}}|x \sin \pi x| d x & =[\frac{-x \cos \pi x}{\pi}+\frac{\sin \pi x}{\pi^{2}}]_ {-1}^{1}-[\frac{-x \cos \pi x}{\pi}+\frac{\sin \pi x}{\pi^{2}}]_ 1^{\frac{3}{2}} \\ & =\frac{2}{\pi}-[-\frac{1}{\pi^{2}}-\frac{1}{\pi}]=\frac{3}{\pi}+\frac{1}{\pi^{2}} \end{aligned} $

Example 42 Evaluate $\int_0^{\pi} \frac{x d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}$

Solution Let $I=\int_0^{\pi} \frac{x d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}=\int_0^{\pi} \frac{(\pi-x) d x}{a^{2} \cos ^{2}(\pi-x)+b^{2} \sin ^{2}(\pi-x)}$ (using $P_4$ )

$ \begin{aligned} & =\pi \int_0^{\pi} \frac{d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}-\int_0^{\pi} \frac{x d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x} \\ & =\pi \int_0^{\pi} \frac{d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}-I \end{aligned} $

Thus $\quad 2 I=\pi \int_0^{\pi} \frac{d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}$ or

$ \begin{aligned} I & =\frac{\pi}{2} \int_ 0^{\pi} \frac{d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}=\frac{\pi}{2} \cdot 2 \int_ 0^{\frac{\pi}{2}} \frac{d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}(using P_ {6}) \\ & =\pi[\int_ 0^{\frac{\pi}{4}} \frac{d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}+\int_ {\frac{\pi}{4}}^{\frac{\pi}{2}} \frac{d x}{a^{2} \cos ^{2} x+b^{2} \sin ^{2} x}] \\ & =\pi[\int_0^{\frac{\pi}{4}} \frac{\sec ^{2} x d x}{a^{2}+b^{2} \tan ^{2} x}+\int_ {\frac{\pi}{4}}^{\frac{\pi}{2}} \frac{cosec^{2} x d x}{a^{2} \cot ^{2} x+b^{2}}] \\ & =\pi[\int_ 0^{1} \frac{d t}{a^{2}+b^{2} t^{2}}-\int_ 1^{0} \frac{d u}{a^{2} u^{2}+b^{2}}]^{(p u t \tan x=tand \cot x=u)} \\ & =\frac{\pi}{a b}[\tan ^{-1} \frac{b t}{a}]_ 0^{1}-\frac{\pi}{a b}[\tan ^{-1} \frac{a u}{b}]_ 1^{0}=\frac{\pi}{a b}[\tan ^{-1} \frac{b}{a}+\tan ^{-1} \frac{a}{b}]=\frac{\pi^{2}}{2 a b} \end{aligned} $

Miscellaneous Exercise on Chapter 7

Integrate the functions in Exercises 1 to 23.

1. $\frac{1}{x-x^{3}}$

Solution

$\frac{1}{x-x^{3}}=\frac{1}{x(1-x^{2})}=\frac{1}{x(1-x)(1+x)}$

Let $\frac{1}{x(1-x)(1+x)}=\frac{A}{x}+\frac{B}{(1-x)}+\frac{C}{1+x}$

$\Rightarrow 1=A(1-x^{2})+B x(1+x)+C x(1-x)$

$\Rightarrow 1=A-A x^{2}+B x+B x^{2}+C x-C x^{2}$

Equating the coefficients of $x^{2}, x$, and constant term, we obtain

$-A+B-C=0$

$B+C=0$

$A=1$

On solving these equations, we obtain

$A=1, B=\frac{1}{2}$, and $C=-\frac{1}{2}$

From equation (1), we obtain $\frac{1}{x(1-x)(1+x)}=\frac{1}{x}+\frac{1}{2(1-x)}-\frac{1}{2(1+x)}$

$\Rightarrow \int \frac{1}{x(1-x)(1+x)} d x=\int \frac{1}{x} d x+\frac{1}{2} \int \frac{1}{1-x} d x-\frac{1}{2} \int \frac{1}{1+x} d x$

$=\log |x|-\frac{1}{2} \log |(1-x)|-\frac{1}{2} \log |(1+x)|$

$=\log |x|-\log |(1-x)^{\frac{1}{2}}|-\log |(1+x)^{\frac{1}{2}}|$

$=\log |\frac{x}{(1-x)^{\frac{1}{2}}(1+x)^{\frac{1}{2}}}|+C$

$=\log |(\frac{x^{2}}{1-x^{2}})^{\frac{1}{2}}|+C$

$=\frac{1}{2} \log |\frac{x^{2}}{1-x^{2}}|+C$

2. $\frac{1}{\sqrt{x+a}+\sqrt{x+b}}$

Solution

$ \begin{aligned} \frac{1}{\sqrt{x+a}+\sqrt{x+b}} & =\frac{1}{\sqrt{x+a}+\sqrt{x+b}} \times \frac{\sqrt{x+a}-\sqrt{x+b}}{\sqrt{x+a}-\sqrt{x+b}} \\ & =\frac{\sqrt{x+a}-\sqrt{x+b}}{(x+a)-(x+b)} \\ & =\frac{(\sqrt{x+a}-\sqrt{x+b})}{a-b} \end{aligned} $

$\Rightarrow \int \frac{1}{\sqrt{x+a}-\sqrt{x+b}} d x=\frac{1}{a-b} \int(\sqrt{x+a}-\sqrt{x+b}) d x$

$ \begin{aligned} & =\frac{1}{(a-b)}[\frac{(x+a)^{\frac{3}{2}}}{\frac{3}{2}}-\frac{(x+b)^{\frac{3}{2}}}{\frac{3}{2}}] \\ & =\frac{2}{3(a-b)}[(x+a)^{\frac{3}{2}}-(x+b)^{\frac{3}{2}}]+C \end{aligned} $

3. $\frac{1}{x \sqrt{a x-x^{2}}}[Hint: P u t x=\frac{a}{t}]$

Solution

$ \begin{aligned} & \frac{1}{x \sqrt{a x-x^{2}}} \\ & \text{ Let } x=\frac{a}{t} \Rightarrow d x=-\frac{a}{t^{2}} d t \\ & \Rightarrow \int \frac{1}{x \sqrt{a x-x^{2}}} d x=\int \frac{1}{\frac{a}{t} \sqrt{a \cdot \frac{a}{t}-(\frac{a}{t})^{2}}}(-\frac{a}{t^{2}} d t) \\ &=-\int \frac{1}{a t} \cdot \frac{1}{\sqrt{\frac{1}{t}-\frac{1}{t^{2}}}} d t \\ &=-\frac{1}{a} \int \frac{1}{\sqrt{\frac{t^{2}}{t}-\frac{t^{2}}{t^{2}}} d t} \\ &=-\frac{1}{a} \int \frac{1}{\sqrt{t-1} d t} \\ &=-\frac{1}{a}[2 \sqrt{t-1}]+C \\ &=-\frac{1}{a}[2 \sqrt{\frac{a}{x}-1}]+C \\ &=-\frac{2}{a}(\frac{\sqrt{a-x}}{\sqrt{x}})+C \\ &=-\frac{2}{a}(\sqrt{\frac{a-x}{x}})+C \end{aligned} $

4. $\frac{1}{x^{2}(x^{4}+1)^{\frac{3}{4}}}$

Solution

$\frac{1}{x^{2}(x^{4}+1)^{\frac{3}{4}}}$

Multiplying and dividing by $x^{-3}$, we obtain

$ \begin{aligned} \frac{x^{-3}}{x^{2} \cdot x^{-3}(x^{4}+1)^{\frac{3}{4}}} & =\frac{x^{-3}(x^{4}+1)^{\frac{-3}{4}}}{x^{2} \cdot x^{-3}} \\ & =\frac{(x^{4}+1)^{\frac{-3}{4}}}{x^{5} \cdot(x^{4})^{-\frac{3}{4}}} \\ & =\frac{1}{x^{5}}(\frac{x^{4}+1}{x^{4}})^{-\frac{3}{4}} \\ & =\frac{1}{x^{5}}(1+\frac{1}{x^{4}})^{-\frac{3}{4}} \end{aligned} $

Let $\frac{1}{x^{4}}=t \Rightarrow-\frac{4}{x^{5}} d x=d t \Rightarrow \frac{1}{x^{5}} d x=-\frac{d t}{4}$

$\therefore \int \frac{1}{x^{2}(x^{4}+1)^{\frac{3}{4}}} d x=\int \frac{1}{x^{5}}(1+\frac{1}{x^{4}})^{-\frac{3}{4}} d x$

$ =-\frac{1}{4} \int(1+t)^{-\frac{3}{4}} d t $

$ \begin{aligned} & =-\frac{1}{4}[\frac{(1+t)^{\frac{1}{4}}}{\frac{1}{4}}]+C \\ & =-\frac{1}{4} \frac{(1+\frac{1}{x^{4}})^{\frac{1}{4}}}{\frac{1}{4}}+C \\ & =-(1+\frac{1}{x^{4}})^{\frac{1}{4}}+C \end{aligned} $

5. $\frac{1}{x^{\frac{1}{2}}+x^{\frac{1}{3}}}$ [Hint: $\frac{1}{x^{\frac{1}{2}}+x^{\frac{1}{3}}}=\frac{1}{x^{\frac{1}{3}}(1+x^{\frac{1}{6}})}$, put $x=t^{6}$ ]

Solution

$\frac{1}{x^{\frac{1}{2}}+x^{\frac{1}{3}}}=\frac{1}{x^{\frac{1}{3}}(1+x^{\frac{1}{6}})}$

Let $x=t^{6} \Rightarrow d x=6 t^{5} d t$

$\therefore \int \frac{1}{x^{\frac{1}{2}}+x^{\frac{1}{3}}} d x=\int \frac{1}{x^{\frac{1}{3}}(1+x^{\frac{1}{6}})} d x$

$=\int \frac{6 t^{5}}{t^{2}(1+t)} d t$

$=6 \int \frac{t^{3}}{(1+t)} d t$

On dividing, we obtain

$ \begin{aligned} \int \frac{1}{x^{\frac{1}{2}}+x^{\frac{1}{3}}} d x & =6 \int{(t^{2}-t+1)-\frac{1}{1+t}} d t \\ & =6[(\frac{t^{3}}{3})-(\frac{t^{2}}{2})+t-\log |1+t|] \\ & =2 x^{\frac{1}{2}}-3 x^{\frac{1}{3}}+6 x^{\frac{1}{6}}-6 \log (1+x^{\frac{1}{6}})+C \\ & =2 \sqrt{x}-3 x^{\frac{1}{3}}+6 x^{\frac{1}{6}}-6 \log (1+x^{\frac{1}{6}})+C \end{aligned} $

6. $\frac{5 x}{(x+1)(x^{2}+9)}$

Solution

Let $\frac{5 x}{(x+1)(x^{2}+9)}=\frac{A}{(x+1)}+\frac{B x+C}{(x^{2}+9)}$

$\Rightarrow 5 x=A(x^{2}+9)+(B x+C)(x+1)$

$\Rightarrow 5 x=A x^{2}+9 A+B x^{2}+B x+C x+C$

Equating the coefficients of $x^{2}, x$, and constant term, we obtain

$A+B=0$

$B+C=5$

$9 A+C=0$

On solving these equations, we obtain

$A=-\frac{1}{2}, B=\frac{1}{2}$, and $C=\frac{9}{2}$

From equation (1), we obtain

$ \begin{aligned} & \frac{5 x}{(x+1)(x^{2}+9)}=\frac{-1}{2(x+1)}+\frac{\frac{x}{2}+\frac{9}{2}}{(x^{2}+9)} \\ & \begin{aligned} \int \frac{5 x}{(x+1)(x^{2}+9)} d x & =\int{\frac{-1}{2(x+1)}+\frac{(x+9)}{2(x^{2}+9)}} d x \\ & =-\frac{1}{2} \log |x+1|+\frac{1}{2} \int \frac{x}{x^{2}+9} d x+\frac{9}{2} \int \frac{1}{x^{2}+9} d x \\ & =-\frac{1}{2} \log |x+1|+\frac{1}{4} \int \frac{2 x}{x^{2}+9} d x+\frac{9}{2} \int \frac{1}{x^{2}+9} d x \\ & =-\frac{1}{2} \log |x+1|+\frac{1}{4} \log |x^{2}+9|+\frac{9}{2} \cdot \frac{1}{3} \tan ^{-1} \frac{x}{3} \\ & =-\frac{1}{2} \log |x+1|+\frac{1}{4} \log (x^{2}+9)+\frac{3}{2} \tan ^{-1} \frac{x}{3}+C \end{aligned} \end{aligned} $

7. $\frac{\sin x}{\sin (x-a)}$

Solution

$ \frac{\sin x}{\sin (x-a)} $

Let $x-a=t \square d x=d t$

$ \begin{aligned} \int \frac{\sin x}{\sin (x-a)} d x & =\int \frac{\sin (t+a)}{\sin t} d t \\ & =\int \frac{\sin t \cos a+\cos t \sin a}{\sin t} d t \\ & =\int(\cos a+\cot t \sin a) d t \\ & =t \cos a+\sin a \log |\sin t|+C_1 \\ & =(x-a) \cos a+\sin a \log |\sin (x-a)|+C_1 \\ & =x \cos a+\sin a \log |\sin (x-a)|-a \cos a+C_1 \\ & =\sin a \log |\sin (x-a)|+x \cos a+C \end{aligned} $

8. $\frac{e^{5 \log x}-e^{4 \log x}}{e^{3 \log x}-e^{2 \log x}}$

Solution

$ \begin{aligned} \frac{e^{5 \log x}-e^{4 \log x}}{e^{3 \log x}-e^{2 \log x}} & =\frac{e^{4 \log x}(e^{\log x}-1)}{e^{2 \log x}(e^{\log x}-1)} \\ & =e^{2 \log x} \\ & =e^{\log x^{2}} \\ & =x^{2} \\ \therefore \int \frac{e^{5 \log x}-e^{4 \log x}}{e^{3 \log x}-e^{2 \log x}} d x & =\int x^{2} d x=\frac{x^{3}}{3}+C \end{aligned} $

9. $\frac{\cos x}{\sqrt{4-\sin ^{2} x}}$

Solution

$\frac{\cos x}{\sqrt{4-\sin ^{2} x}}$

Let $\sin x=t \square \cos x d x=d t$

$\Rightarrow \int \frac{\cos x}{\sqrt{4-\sin ^{2} x}} d x=\int \frac{d t}{\sqrt{(2)^{2}-(t)^{2}}}$

$ \begin{aligned} & =\sin ^{-1}(\frac{t}{2})+C \\ & =\sin ^{-1}(\frac{\sin x}{2})+C \end{aligned} $

10. $\frac{\sin ^{8}-\cos ^{8} x}{1-2 \sin ^{2} x \cos ^{2} x}$

Solution

$ \begin{aligned} & \frac{\sin ^{8} x-\cos ^{8} x}{1-2 \sin ^{2} x \cos ^{2} x}=\frac{(\sin ^{4} x+\cos ^{4} x)(\sin ^{4} x-\cos ^{4} x)}{\sin ^{2} x+\cos ^{2} x-\sin ^{2} x \cos ^{2} x-\sin ^{2} x \cos ^{2} x} \\ &=\frac{(\sin ^{4} x+\cos ^{4} x)(\sin ^{2} x+\cos ^{2} x)(\sin ^{2} x-\cos ^{2} x)}{(\sin ^{2} x-\sin ^{2} x \cos ^{2} x)+(\cos ^{2} x-\sin ^{2} x \cos ^{2} x)} \\ &=\frac{(\sin ^{4} x+\cos ^{4} x)(\sin ^{2} x-\cos ^{2} x)}{\sin ^{2} x(1-\cos ^{2} x)+\cos ^{2} x(1-\sin ^{2} x)} \\ &=\frac{-(\sin ^{4} x+\cos ^{4} x)(\cos ^{2} x-\sin ^{2} x)}{(\sin ^{4} x+\cos ^{4} x)} \\ &=-\cos 2 x \\ & \therefore \int \frac{\sin ^{8} x-\cos ^{8} x}{1-2 \sin ^{2} x \cos ^{2} x} d x=\int-\cos 2 x d x=-\frac{\sin 2 x}{2}+C \end{aligned} $

11. $\frac{1}{\cos (x+a) \cos (x+b)}$

Solution

$\frac{1}{\cos (x+a) \cos (x+b)}$

Multiplying and dividing by $\sin (a-b)$, we obtain

$ \begin{aligned} & \frac{1}{\sin (a-b)}[\frac{\sin (a-b)}{\cos (x+a) \cos (x+b)}] \\ & =\frac{1}{\sin (a-b)}[\frac{\sin [(x+a)-(x+b)]}{\cos (x+a) \cos (x+b)}] \\ & =\frac{1}{\sin (a-b)}[\frac{\sin (x+a) \cdot \cos (x+b)-\cos (x+a) \sin (x+b)}{\cos (x+a) \cos (x+b)}] \\ & =\frac{1}{\sin (a-b)}[\frac{\sin (x+a)}{\cos (x+a)}-\frac{\sin (x+b)}{\cos (x+b)}] \\ & =\frac{1}{\sin (a-b)}[\tan (x+a)-\tan (x+b)] \end{aligned} $

$ \begin{aligned} \int \frac{1}{\cos (x+a) \cos (x+b)} d x & =\frac{1}{\sin (a-b)} \int[\tan (x+a)-\tan (x+b)] d x \\ & =\frac{1}{\sin (a-b)}[-\log |\cos (x+a)|+\log |\cos (x+b)|]+C \\ & =\frac{1}{\sin (a-b)} \log |\frac{\cos (x+b)}{\cos (x+a)}|+C \end{aligned} $

12. $\frac{x^{3}}{\sqrt{1-x^{8}}}$

Solution

$\frac{x^{3}}{\sqrt{1-x^{8}}}$

Let $x^{4}=t \square 4 x^{3} d x=d t$ $\Rightarrow \int \frac{x^{3}}{\sqrt{1-x^{8}}} d x=\frac{1}{4} \int \frac{d t}{\sqrt{1-t^{2}}}$

$ \begin{aligned} & =\frac{1}{4} \sin ^{-1} t+C \\ & =\frac{1}{4} \sin ^{-1}(x^{4})+C \end{aligned} $

13. $\frac{e^{x}}{(1+e^{x})(2+e^{x})}$

Solution

$\frac{e^{x}}{(1+e^{x})(2+e^{x})}$

Let $e^{x}=t \square e^{x} d x=d t$

$\Rightarrow \int \frac{e^{x}}{(1+e^{x})(2+e^{x})} d x=\int \frac{d t}{(t+1)(t+2)}$

$=\int[\frac{1}{(t+1)}-\frac{1}{(t+2)}] d t$

$=\log |t+1|-\log |t+2|+C$

$=\log |\frac{t+1}{t+2}|+C$

$=\log |\frac{1+e^{x}}{2+e^{x}}|+C$

14. $\frac{1}{(x^{2}+1)(x^{2}+4)}$

Solution

$\therefore \frac{1}{(x^{2}+1)(x^{2}+4)}=\frac{A x+B}{(x^{2}+1)}+\frac{C x+D}{(x^{2}+4)}$

$\Rightarrow 1=(A x+B)(x^{2}+4)+(C x+D)(x^{2}+1)$

$\Rightarrow 1=A x^{3}+4 A x+B x^{2}+4 B+C x^{3}+C x+D x^{2}+D$

Equating the coefficients of $x^{3}, x^{2}, x$, and constant term, we obtain

$A+C=0$

$B+D=0$

$4 A+C=0$

$4 B+D=1$

On solving these equations, we obtain

$A=0, B=\frac{1}{3}, C=0$, and $D=-\frac{1}{3}$

From equation (1), we obtain

$ \begin{aligned} & \frac{1}{(x^{2}+1)(x^{2}+4)}=\frac{1}{3(x^{2}+1)}-\frac{1}{3(x^{2}+4)} \\ & \begin{aligned} \int \frac{1}{(x^{2}+1)(x^{2}+4)} d x & =\frac{1}{3} \int \frac{1}{x^{2}+1} d x-\frac{1}{3} \int \frac{1}{x^{2}+4} d x \\ & =\frac{1}{3} \tan ^{-1} x-\frac{1}{3} \cdot \frac{1}{2} \tan ^{-1} \frac{x}{2}+C \\ & =\frac{1}{3} \tan ^{-1} x-\frac{1}{6} \tan ^{-1} \frac{x}{2}+C \end{aligned} \end{aligned} $

15. $\cos ^{3} x e^{\log \sin x}$

Solution

$\cos ^{3} x e^{\log \sin x}=\cos ^{3} x \times \sin x$

Let $\cos x=t \square-\sin x d x=d t$ $\Rightarrow \int \cos ^{3} x e^{\log \sin x} d x=\int \cos ^{3} x \sin x d x$

$ \begin{aligned} & =-\int t \cdot d t \\ & =-\frac{t^{4}}{4}+C \\ & =-\frac{\cos ^{4} x}{4}+C \end{aligned} $

16. $e^{3 \log x}(x^{4}+1)^{-1}$

Solution

$e^{3 \log x}(x^{4}+1)^{-1}=e^{\log x^{3}}(x^{4}+1)^{-1}=\frac{x^{3}}{(x^{4}+1)}$

Let $x^{4}+1=t \Rightarrow 4 x^{3} d x=d t$

$\Rightarrow \int e^{3 \log x}(x^{4}+1)^{-1} d x=\int \frac{x^{3}}{(x^{4}+1)} d x$

$ \begin{aligned} & =\frac{1}{4} \int \frac{d t}{t} \\ & =\frac{1}{4} \log |t|+C \\ & =\frac{1}{4} \log |x^{4}+1|+C \\ & =\frac{1}{4} \log (x^{4}+1)+C \end{aligned} $

17. $f^{\prime}(a x+b)[f(a x+b)]^{n}$

Solution

$ f^{\prime}(a x+b)[f(a x+b)]^{n} $

Let $f(a x+b)=t \Rightarrow a f^{\prime}(a x+b) d x=d t$

$\Rightarrow \int f^{\prime}(a x+b)[f(a x+b)]^{n} d x=\frac{1}{a} \int t^{n} d t$

$ \begin{aligned} & =\frac{1}{a}[\frac{t^{n+1}}{n+1}] \\ & =\frac{1}{a(n+1)}(f(a x+b))^{n+1}+C \end{aligned} $

18. $\frac{1}{\sqrt{\sin ^{3} x \sin (x+\alpha)}}$

Solution

$ \begin{aligned} \frac{1}{\sqrt{\sin ^{3} x \sin (x+\alpha)}} & =\frac{1}{\sqrt{\sin ^{3} x(\sin x \cos \alpha+\cos x \sin \alpha)}} \\ & =\frac{1}{\sqrt{\sin ^{4} x \cos \alpha+\sin ^{3} x \cos x \sin \alpha}} \\ & =\frac{1}{\sin ^{2} x \sqrt{\cos \alpha+\cot x \sin \alpha}} \\ & =\frac{cosec 2}{\sqrt{\cos \alpha+\cot x \sin \alpha}} \end{aligned} $

Let $\cos \alpha+\cot x \sin \alpha=t \Rightarrow-cosec^{2} x \sin \alpha d x=d t$

$ \begin{aligned} \therefore \int \frac{1}{\sin ^{3} x \sin (x+\alpha)} d x & =\int \frac{cosec^{2} x}{\sqrt{\cos \alpha+\cot x \sin \alpha}} d x \\ & =\frac{-1}{\sin \alpha} \int \frac{d t}{\sqrt{t}} \\ & =\frac{-1}{\sin \alpha}[2 \sqrt{t}]+C \\ & =\frac{-1}{\sin \alpha}[2 \sqrt{\cos \alpha+\cot x \sin \alpha}]+C \\ & =\frac{-2}{\sin \alpha} \sqrt{\cos \alpha+\frac{\cos x \sin \alpha}{\sin x}}+C \\ & =\frac{-2}{\sin \alpha} \sqrt{\frac{\sin x \cos \alpha+\cos x \sin \alpha}{\sin x}}+C \\ & =-\frac{2}{\sin \alpha} \sqrt{\frac{\sin (x+\alpha)}{\sin x}+C} \end{aligned} $

19. $\sqrt{\frac{1-\sqrt{x}}{1+\sqrt{x}}}$

Solution

$ I=\sqrt{\frac{1-\sqrt{x}}{1+\sqrt{x}}} d x $

Let $x=\cos ^{2} \theta \Rightarrow d x=-2 \sin \theta \cos \theta d \theta$

$ I=\int \sqrt{\frac{1-\cos \theta}{1+\cos \theta}}(-2 \sin \theta \cos \theta) d \theta $

$ \begin{aligned} & =-\int \sqrt{\frac{2 \sin ^{2} \frac{\theta}{2}}{2 \cos ^{2} \frac{\theta}{2}}} \sin 2 \theta d \theta \\ & =-\int \tan \frac{\theta}{2} \cdot 2 \sin \theta \cos \theta d \theta \\ & =-2 \int \frac{\sin \frac{\theta}{2}}{\cos \frac{\theta}{2}}(2 \sin \frac{\theta}{2} \cos \frac{\theta}{2}) \cos \theta d \theta \end{aligned} $

$=-4 \int \sin ^{2} \frac{\theta}{2} \cos \theta d \theta$

$=-4 \int \sin ^{2} \frac{\theta}{2} \cdot(2 \cos ^{2} \frac{\theta}{2}-1) d \theta$

$=-4 \int(2 \sin ^{2} \frac{\theta}{2} \cos ^{2} \frac{\theta}{2}-\sin ^{2} \frac{\theta}{2}) d \theta$

$=-8 \int \sin ^{2} \frac{\theta}{2} \cdot \cos ^{2} \frac{\theta}{2} d \theta+4 \int \sin ^{2} \frac{\theta}{2} d \theta$

$=-2 \int \sin ^{2} \theta d \theta+4 \int \sin ^{2} \frac{\theta}{2} d \theta$

$=-2 \int(\frac{1-\cos 2 \theta}{2}) d \theta+4 \int \frac{1-\cos \theta}{2} d \theta$

$=-2[\frac{\theta}{2}-\frac{\sin 2 \theta}{4}]+4[\frac{\theta}{2}-\frac{\sin \theta}{2}]+C$

$=-\theta+\frac{\sin 2 \theta}{2}+2 \theta-2 \sin \theta+C$

$=\theta+\frac{\sin 2 \theta}{2}-2 \sin \theta+C$

$=\theta+\frac{2 \sin \theta \cos \theta}{2}-2 \sin \theta+C$

$=\theta+\sqrt{1-\cos ^{2} \theta} \cdot \cos \theta-2 \sqrt{1-\cos ^{2} \theta}+C$

$=\cos ^{-1} \sqrt{x}+\sqrt{1-x} \cdot \sqrt{x}-2 \sqrt{1-x}+C$

$=-2 \sqrt{1-x}+\cos ^{-1} \sqrt{x}+\sqrt{x(1-x)}+C$

$=-2 \sqrt{1-x}+\cos ^{-1} \sqrt{x}+\sqrt{x-x^{2}}+C$

20. $\frac{2+\sin 2 x}{1+\cos 2 x} e^{x}$

Solution

$ \begin{aligned} I & =\int(\frac{2+\sin 2 x}{1+\cos 2 x}) e^{x} \\ & =\int(\frac{2+2 \sin x \cos x}{2 \cos ^{2} x}) e^{x} \\ & =\int(\frac{1+\sin x \cos x}{\cos ^{2} x}) e^{x} \\ & =\int(\sec ^{2} x+\tan x) e^{x} \end{aligned} $

Let $f(x)=\tan x \Rightarrow f^{\prime}(x)=\sec ^{2} x$

$ \begin{aligned} \therefore I & =\int(f(x)+f^{\prime}(x)] e^{x} d x \\ & =e^{x} f(x)+C \\ & =e^{x} \tan x+C \end{aligned} $

21. $\frac{x^{2}+x+1}{(x+1)^{2}(x+2)}$

Solution

Let $\frac{x^{2}+x+1}{(x+1)^{2}(x+2)}=\frac{A}{(x+1)}+\frac{B}{(x+1)^{2}}+\frac{C}{(x+2)}$

$\Rightarrow x^{2}+x+1=A(x+1)(x+2)+B(x+2)+C(x^{2}+2 x+1)$

$\Rightarrow x^{2}+x+1=A(x^{2}+3 x+2)+B(x+2)+C(x^{2}+2 x+1)$

$\Rightarrow x^{2}+x+1=(A+C) x^{2}+(3 A+B+2 C) x+(2 A+2 B+C)$

Equating the coefficients of $x^{2}, x$, and constant term, we obtain

$A+C=1$

$3 A+B+2 C=1$

$2 A+2 B+C=1$

On solving these equations, we obtain

$A=-2, B=1$, and $C=3$

From equation (1), we obtain

$ \begin{aligned} \frac{x^{2}+x+1}{(x+1)^{2}(x+2)} & =\frac{-2}{(x+1)}+\frac{3}{(x+2)}+\frac{1}{(x+1)^{2}} \\ \int \frac{x^{2}+x+1}{(x+1)^{2}(x+2)} d x & =-2 \int \frac{1}{x+1} d x+3 \int \frac{1}{(x+2)} d x+\int \frac{1}{(x+1)^{2}} d x \\ & =-2 \log |x+1|+3 \log |x+2|-\frac{1}{(x+1)}+C \end{aligned} $

22. $\tan ^{-1} \sqrt{\frac{1-x}{1+x}}$

Solution

$I=\tan ^{-1} \sqrt{\frac{1-x}{1+x}} d x$

Let $x=\cos \theta \Rightarrow d x=-\sin \theta d \theta$

$I=\int \tan ^{-1} \sqrt{\frac{1-\cos \theta}{1+\cos \theta}}(-\sin \theta d \theta)$

$=-\int \tan ^{-1} \sqrt{\frac{2 \sin ^{2} \frac{\theta}{2}}{2 \cos ^{2} \frac{\theta}{2}}} \sin \theta d \theta$

$=-\int \tan ^{-1} \tan \frac{\theta}{2} \cdot \sin \theta d \theta$

$=-\frac{1}{2} \int \theta \cdot \sin \theta d \theta$

$=-\frac{1}{2}[\theta \cdot(-\cos \theta)-\int 1 \cdot(-\cos \theta) d \theta]$

$=-\frac{1}{2}[-\theta \cos \theta+\sin \theta]$

$=+\frac{1}{2} \theta \cos \theta-\frac{1}{2} \sin \theta$

$=\frac{1}{2} \cos ^{-1} x \cdot x-\frac{1}{2} \sqrt{1-x^{2}}+C$

$=\frac{x}{2} \cos ^{-1} x-\frac{1}{2} \sqrt{1-x^{2}}+C$

$=\frac{1}{2}(x \cos ^{-1} x-\sqrt{1-x^{2}})+C$

23. $\frac{\sqrt{x^{2}+1}[\log (x^{2}+1)-2 \log x]}{x^{4}}$

Solution

$ \begin{aligned} \frac{\sqrt{x^{2}+1}[\log (x^{2}+1)-2 \log x]}{x^{4}} & =\frac{\sqrt{x^{2}+1}}{x^{4}}[\log (x^{2}+1)-\log x^{2}] \\ & =\frac{\sqrt{x^{2}+1}}{x^{4}}[\log (\frac{x^{2}+1}{x^{2}})] \\ & =\frac{\sqrt{x^{2}+1}}{x^{4}} \log (1+\frac{1}{x^{2}}) \\ & =\frac{1}{x^{3}} \sqrt{\frac{x^{2}+1}{x^{2}}} \log (1+\frac{1}{x^{2}}) \\ & =\frac{1}{x^{3}} \sqrt{1+\frac{1}{x^{2}}} \log (1+\frac{1}{x^{2}}) \end{aligned} $

Let $1+\frac{1}{x^{2}}=t \Rightarrow \frac{-2}{x^{3}} d x=d t$

$ \begin{aligned} \therefore I & =\int \frac{1}{x^{3}} \sqrt{1+\frac{1}{x^{2}}} \log (1+\frac{1}{x^{2}}) d x \\ & =-\frac{1}{2} \int \sqrt{t} \log t d t \\ & =-\frac{1}{2} \int t^{\frac{1}{2}} \cdot \log t d t \end{aligned} $

Integrating by parts, we obtain

$ \begin{aligned} I & =-\frac{1}{2}[\log t \cdot \int t^{\frac{1}{2}} d t-{(\frac{d}{d t} \log t) \int t^{\frac{1}{2}} d t} d t] \\ & =-\frac{1}{2}[\log t \cdot \frac{t^{\frac{3}{2}}}{\frac{3}{2}}-\int \frac{1}{t} \cdot \frac{t^{\frac{3}{2}}}{\frac{3}{2}} d t] \\ & =-\frac{1}{2}[\frac{2}{3} t^{\frac{3}{2}} \log t-\frac{2}{3} \int t^{\frac{1}{2}} d t] \\ & =-\frac{1}{2}[\frac{2}{3} t^{\frac{3}{2}} \log t-\frac{4}{9} t^{\frac{3}{2}}] \\ & =-\frac{1}{3} t^{\frac{3}{2}} \log t+\frac{2}{9} t^{\frac{3}{2}} \\ & =-\frac{1}{3} t^{\frac{3}{2}}[\log t-\frac{2}{3}] \\ & =-\frac{1}{3}(1+\frac{1}{x^{2}})^{\frac{3}{2}}[\log (1+\frac{1}{x^{2}})-\frac{2}{3}]+C \end{aligned} $

Evaluate the definite integrals in Exercises 24 to 31.

24. $\int _{\frac{\pi}{2}}^{\pi} e^{x}(\frac{1-\sin x}{1-\cos x}) d x$

Solution

$ \begin{aligned} I & =\int _{\frac{\pi}{2}}^{\pi} e^{x}(\frac{1-\sin x}{1-\cos x}) d x \\ & =\int _{\frac{\pi}{2}}^{\pi} e^{x}(\frac{1-2 \sin \frac{x}{2} \cos \frac{x}{2}}{2 \sin ^{2} \frac{x}{2}}) d x \\ & =\int _{\frac{\pi}{2}}^{\pi} e^{x}(\frac{cosec^{2} \frac{x}{2}}{2}-\cot \frac{x}{2}) d x \end{aligned} $

Let $f(x)=-\cot \frac{x}{2}$

$\Rightarrow f^{\prime}(x)=-(-\frac{1}{2} cosec^{2} \frac{x}{2})=\frac{1}{2} cosec^{2} \frac{x}{2}$

$\therefore I=\int _{\frac{\pi}{2}}^{\pi} e^{x}(f(x)+f^{\prime}(x)] d x$

$=[e^{x} \cdot f(x) d x] _{\frac{\pi}{2}}^{x}$

$=-[e^{x} \cdot \cot \frac{x}{2}] _{\frac{\pi}{2}}^{\pi}$

$=-[e^{\pi} \times \cot \frac{\pi}{2}-e^{\frac{\pi}{2}} \times \cot \frac{\pi}{4}]$

$=-[e^{\pi} \times 0-e^{\frac{\pi}{2}} \times 1]$

$=e^{\frac{\pi}{2}}$

25. $\int_0^{\frac{\pi}{4}} \frac{\sin x \cos x}{\cos ^{4} x+\sin ^{4} x} d x$

Solution

Let $I=\int_0^{\frac{\pi}{4}} \frac{\sin x \cos x}{\cos ^{4} x+\sin ^{4} x} d x$

$ \begin{aligned} & \Rightarrow I=\int_0^{\frac{\pi}{4}} \frac{\frac{(\sin x \cos x)}{\cos ^{4} x}}{\frac{(\cos ^{4} x+\sin ^{4} x)}{\cos ^{4} x}} d x \\ & \Rightarrow I=\int_0^{\frac{\pi}{4}} \frac{\tan x \sec ^{2} x}{1+\tan ^{4} x} d x \end{aligned} $

Let $\tan ^{2} x=t \Rightarrow 2 \tan x \sec ^{2} x d x=d t$

$ \begin{aligned} \therefore I & =\frac{1}{2} \int_0^{1} \frac{d t}{1+t^{2}} \\ & =\frac{1}{2}[\tan ^{-1} t]_0^{1} \\ & =\frac{1}{2}[\tan ^{-1} 1-\tan ^{-1} 0] \\ & =\frac{1}{2}[\frac{\pi}{4}] \\ & =\frac{\pi}{8} \end{aligned} $

$ \text{ When } x=0, t=0 \text{ and when } x=\frac{\pi}{4}, t=1 $

26. $\cdot \int_0^{\frac{\pi}{2}} \frac{\cos ^{2} x d x}{\cos ^{2} x+4 \sin ^{2} x}$

Solution

Let $I=\int_0^{\frac{\pi}{2}} \frac{\cos ^{2} x}{\cos ^{2} x+4 \sin ^{2} x} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\cos ^{2} x}{\cos ^{2} x+4(1-\cos ^{2} x)} d x$

$\Rightarrow I=\int_0^{\frac{\pi}{2}} \frac{\cos ^{2} x}{\cos ^{2} x+4-4 \cos ^{2} x} d x$

$\Rightarrow I=\frac{-1}{3} \int_0^{\frac{\pi}{2}} \frac{4-3 \cos ^{2} x-4}{4-3 \cos ^{2} x} d x$

$\Rightarrow I=\frac{-1}{3} \int_0^{\frac{\pi}{2}} \frac{4-3 \cos ^{2} x}{4-3 \cos ^{2} x} d x+\frac{1}{3} \int_0^{\frac{\pi}{2}} \frac{4}{4-3 \cos ^{2} x} d x$

$\Rightarrow I=\frac{-1}{3} \int_0^{\frac{\pi}{2}} 1 d x+\frac{1}{3} \int_0^{\frac{\pi}{2}} \frac{4 \sec ^{2} x}{4 \sec ^{2} x-3} d x$

$\Rightarrow I=\frac{-1}{3}[x]_0^{\frac{\pi}{2}}+\frac{1}{3} \int_0^{\frac{\pi}{2}} \frac{4 \sec ^{2} x}{4(1+\tan ^{2} x)-3} d x$

$\Rightarrow I=-\frac{\pi}{6}+\frac{2}{3} \int_0^{\frac{\pi}{2}} \frac{2 \sec ^{2} x}{1+4 \tan ^{2} x} d x$

Consider, $\int_0^{\frac{\pi}{2}} \frac{2 \sec ^{2} x}{1+4 \tan ^{2} x} d x$

Let $2 \tan x=t \Rightarrow 2 \sec ^{2} x d x=d t$

When $x=0, t=0$ and when $x=\frac{\pi}{2}, t=\infty$

$\Rightarrow \int_0^{\frac{\pi}{2}} \frac{2 \sec ^{2} x}{1+4 \tan ^{2} x} d x=\int_0^{\infty} \frac{d t}{1+t^{2}}$

$ \begin{aligned} & =[\tan ^{-1} t]_0^{\infty} \\ & =[\tan ^{-1}(\infty)-\tan ^{-1}(0)] \\ & =\frac{\pi}{2} \end{aligned} $

Therefore, from (1),we obtain

$I=-\frac{\pi}{6}+\frac{2}{3}[\frac{\pi}{2}]=\frac{\pi}{3}-\frac{\pi}{6}=\frac{\pi}{6}$

27. $\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{\sin x+\cos x}{\sqrt{\sin 2 x}} d x$

Solution

Let $I=\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{\sin x+\cos x}{\sqrt{\sin 2 x}} d x$

$\Rightarrow I=\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{(\sin x+\cos x)}{\sqrt{-(-\sin 2 x)}} d x$

$\Rightarrow I=\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{\sin x+\cos x}{\sqrt{-(-1+1-2 \sin x \cos x)}} d x$

$\Rightarrow I=\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{(\sin x+\cos x)}{\sqrt{1-(\sin ^{2} x+\cos ^{2} x-2 \sin x \cos x)}} d x$

$\Rightarrow I=\int _{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{(\sin x+\cos x) d x}{\sqrt{1-(\sin x-\cos x)^{2}}}$

Let $(\sin x-\cos x)=t \Rightarrow(\sin x+\cos x) d x=d t$

When $x=\frac{\pi}{6}, t=(\frac{1-\sqrt{3}}{2})$ and when $\quad x=\frac{\pi}{3}, t=(\frac{\sqrt{3}-1}{2})$

$I=\int _{\frac{1-\sqrt{3}}{2}}^{\frac{\sqrt{3}-1}{2}} \frac{d t}{\sqrt{1-t^{2}}}$

$\Rightarrow I=\int _{-(\frac{\sqrt{3}-1}{2})}^{.\frac{\sqrt{3}-1}{2})} \frac{d t}{\sqrt{1-t^{2}}}$

As $\frac{1}{\sqrt{1-(-t)^{2}}}=\frac{1}{\sqrt{1-t^{2}}}$, therefore, $\frac{1}{\sqrt{1-t^{2}}}$ is an even function.

It is known that if $f(x)$ is an even function, then $\int _{-a}^{a} f(x) d x=2 \int_0^{a} f(x) d x$

$ \begin{aligned} \Rightarrow I & =2 \int_0^{\sqrt{3}-1} \frac{d t}{\sqrt{1-t^{2}}} \\ & =[2 \sin ^{-1} t]_0^{\frac{\sqrt{3}-1}{2}} \\ & =2 \sin ^{-1}(\frac{\sqrt{3}-1}{2}) \end{aligned} $

28. $\int_0^{1} \frac{d x}{\sqrt{1+x}-\sqrt{x}} \quad$

Solution

$ \begin{aligned} & \text{ Let } I=\int_0^{1} \frac{d x}{\sqrt{1+x}-\sqrt{x}} \\ & \begin{aligned} I & =\int_0^{1} \frac{1}{(\sqrt{1+x}-\sqrt{x})} \times \frac{(\sqrt{1+x}+\sqrt{x})}{(\sqrt{1+x}+\sqrt{x})} d x \\ & =\int_0^{1} \frac{\sqrt{1+x}+\sqrt{x}}{1+x-x} d x \\ & =\int_0^{1} \sqrt{1+x} d x+\int_0^{1} \sqrt{x} d x \\ & =[\frac{2}{3}(1+x)^{\frac{3}{2}}]_0^{1}+[\frac{2}{3}(x)^{\frac{3}{2}}]_0^{1} \\ & =\frac{2}{3}[(2)^{\frac{3}{2}}-1]+\frac{2}{3}[1] \\ & =\frac{2}{3}(2)^{\frac{3}{2}} \\ & =\frac{2 \cdot 2 \sqrt{2}}{3} \\ & =\frac{4 \sqrt{2}}{3} \end{aligned} \\ & \text{ (1) } \end{aligned} $

29. $\int_0^{\frac{\pi}{4}} \frac{\sin x+\cos x}{9+16 \sin 2 x} d x$

Solution

Let $I=\int_0^{\frac{\pi}{4}} \frac{\sin x+\cos x}{9+16 \sin 2 x} d x$

Also, let $\sin x-\cos x=t \Rightarrow(\cos x+\sin x) d x=d t$

When $x=0, t=-1$ and when $x=\frac{\pi}{4}, t=0$

$\Rightarrow(\sin x-\cos x)^{2}=t^{2}$

$\Rightarrow \sin ^{2} x+\cos ^{2} x-2 \sin x \cos x=t^{2}$

$\Rightarrow 1-\sin 2 x=t^{2}$

$\Rightarrow \sin 2 x=1-t^{2}$

$\therefore I=\int _{-1}^{0} \frac{d t}{9+16(1-t^{2})}$

$=\int _{-1}^{0} \frac{d t}{9+16-16 t^{2}}$

$=\int _{-1}^{0} \frac{d t}{25-16 t^{2}}=\int _{-1}^{0} \frac{d t}{(5)^{2}-(4 t)^{2}}$

$=\frac{1}{4}[\frac{1}{2(5)} \log |\frac{5+4 t}{5-4 t}|] _{-1}^{0}$

$=\frac{1}{40}[\log (1)-\log |\frac{1}{9}|]$

$=\frac{1}{40} \log 9$

30. $\int_0^{\frac{\pi}{2}} \sin 2 x \tan ^{-1}(\sin x) d x$

Solution

Let $I=\int_0^{\frac{\pi}{2}} \sin 2 x \tan ^{-1}(\sin x) d x=\int_0^{\frac{\pi}{2}} 2 \sin x \cos x \tan ^{-1}(\sin x) d x$

Also, let $\sin x=t \Rightarrow \cos x d x=d t$

When $x=0, t=0$ and when $x=\frac{\pi}{2}, t=1$

$\Rightarrow I=2 \int_0^{1} t \tan ^{-1}(t) d t$

Consider $\int t \cdot \tan ^{-1} t d t=\tan ^{-1} t \cdot \int t d t-\int{\frac{d}{d t}(\tan ^{-1} t) \int t d t} d t$

$ \begin{aligned} & =\tan ^{-1} t \cdot \frac{t^{2}}{2}-\int \frac{1}{1+t^{2}} \cdot \frac{t^{2}}{2} d t \\ & =\frac{t^{2} \tan ^{-1} t}{2}-\frac{1}{2} \int \frac{t^{2}+1-1}{1+t^{2}} d t \\ & =\frac{t^{2} \tan ^{-1} t}{2}-\frac{1}{2} \int 1 d t+\frac{1}{2} \int \frac{1}{1+t^{2}} d t \\ & =\frac{t^{2} \tan ^{-1} t}{2}-\frac{1}{2} \cdot t+\frac{1}{2} \tan ^{-1} t \end{aligned} $

$ \begin{aligned} \Rightarrow \int_0^{1} t \cdot \tan ^{-1} t d t & =[\frac{t^{2} \cdot \tan ^{-1} t}{2}-\frac{t}{2}+\frac{1}{2} \tan ^{-1} t]_0^{1} \\ & =\frac{1}{2}[\frac{\pi}{4}-1+\frac{\pi}{4}] \\ & =\frac{1}{2}[\frac{\pi}{2}-1]=\frac{\pi}{4}-\frac{1}{2} \end{aligned} $

From equation (1), we obtain

$I=2[\frac{\pi}{4}-\frac{1}{2}]=\frac{\pi}{2}-1$

31. $\int_1^{4}[|x-1|+|x-2|+|x-3|] d x$

Solution

Let $I=\int_1^{4}[|x-1|+|x-2|+|x-3|] d x$

$\Rightarrow I=\int^{4}|x-1| d x+\int_1^{4}|x-2| d x+\int^{4}|x-3| d x$

$I=I_1+I_2+I_3$

where, $I_1=\int_1^{4}|x-1| d x, I_2=\int_1^{4}|x-2| d x$, and $I_3=\int_1^{4}|x-3| d x$

$I_1=\int_1^{4}|x-1| d x$

$(x-1) \geq 0$ for $1 \leq x \leq 4$

$\therefore I_1=\int_1^{4}(x-1) d x$

$\Rightarrow I_1=[\frac{x^{2}}{x}-x]_1^{4}$

$\Rightarrow I_1=[8-4-\frac{1}{2}+1]=\frac{9}{2}$

$I_2=\int^{4}|x-2| d x$

$x-2 \geq 0$ for $2 \leq x \leq 4$ and $x-2 \leq 0$ for $1 \leq x \leq 2$

$\therefore I_2=\int^{2}(2-x) d x+\int_2^{4}(x-2) d x$

$\Rightarrow I_2=[2 x-\frac{x^{2}}{2}]_1^{2}+[\frac{x^{2}}{2}-2 x]_2^{4}$

$\Rightarrow I_2=[4-2-2+\frac{1}{2}]+[8-8-2+4]$

$\Rightarrow I_2=\frac{1}{2}+2=\frac{5}{2}$ $I_3=\int^{4}|x-3| d x$

$x-3 \geq 0$ for $3 \leq x \leq 4$ and $x-3 \leq 0$ for $1 \leq x \leq 3$

$\therefore I_3=\int_1^{3}(3-x) d x+\int_3^{4}(x-3) d x$

$\Rightarrow I_3=[3 x-\frac{x^{2}}{2}]_1^{3}+[\frac{x^{2}}{2}-3 x]_3^{4}$

$\Rightarrow I_3=[9-\frac{9}{2}-3+\frac{1}{2}]+[8-12-\frac{9}{2}+9]$

$\Rightarrow I_3=[6-4]+[\frac{1}{2}]=\frac{5}{2}$

From equations (1), (2), (3), and (4), we obtain

$I=\frac{9}{2}+\frac{5}{2}+\frac{5}{2}=\frac{19}{2}$

Prove the following (Exercises 32 to 37)

32. $\int_1^{3} \frac{d x}{x^{2}(x+1)}=\frac{2}{3}+\log \frac{2}{3}$

Solution

Let $I=\int_1^{3} \frac{d x}{x^{2}(x+1)}$

Also, let $\frac{1}{x^{2}(x+1)}=\frac{A}{x}+\frac{B}{x^{2}}+\frac{C}{x+1}$

$\Rightarrow 1=A x(x+1)+B(x+1)+C(x^{2})$

$\Rightarrow 1=A x^{2}+A x+B x+B+C x^{2}$

Equating the coefficients of $x^{2}, x$, and constant term, we obtain

$A+C=0$

$A+B=0$

$B=1$

On solving these equations, we obtain

$A=-1, C=1$, and $B=1$ $\therefore \frac{1}{x^{2}(x+1)}=\frac{-1}{x}+\frac{1}{x^{2}}+\frac{1}{(x+1)}$

$\Rightarrow I=\int^{3}{-\frac{1}{x}+\frac{1}{x^{2}}+\frac{1}{(x+1)}} d x$

$ =[-\log x-\frac{1}{x}+\log (x+1)]_1^{3} $

$ =[\log (\frac{x+1}{x})-\frac{1}{x}]_1^{3} $

$=\log (\frac{4}{3})-\frac{1}{3}-\log (\frac{2}{1})+1$

$=\log 4-\log 3-\log 2+\frac{2}{3}$

$=\log 2-\log 3+\frac{2}{3}$

$=\log (\frac{2}{3})+\frac{2}{3}$

Hence, the given result is proved.

33. $\int_0^{1} x e^{x} d x=1$

Solution

Let $I=\int_0^{1} x e^{x} d x$

Integrating by parts, we obtain

$ \begin{aligned} I & =x \int_0^{1} e^{x} d x-\int_0^{1}{(\frac{d}{d x}(x)) \int e^{x} d x} d x \\ & =[x e^{x}]_0^{1}-\int_0^{1} e^{x} d x \\ & =[x e^{x}]_0^{1}-[e^{x}]_0^{1} \\ & =e-e+1 \\ & =1 \end{aligned} $

Hence, the given result is proved.

34. $\int _{-1}^{1} x^{17} \cos ^{4} x d x=0$

Solution

Let $I=\int _{-1}^{1} x^{17} \cos ^{4} x d x$

Also, let $f(x)=x^{17} \cos ^{4} x$

$\Rightarrow f(-x)=(-x)^{17} \cos ^{4}(-x)=-x^{17} \cos ^{4} x=-f(x)$

Therefore, $f(x)$ is an odd function.

It is known that if $f(x)$ is an odd function, then $\int _{-a}^{a} f(x) d x=0$

$\therefore I=\int _{-1}^{1} x^{17} \cos ^{4} x d x=0$

Hence, the given result is proved.

35. $\int_0^{\frac{\pi}{2}} \sin ^{3} x d x=\frac{2}{3}$

Solution

Let $I=\int_0^{\frac{\pi}{2}} \sin ^{3} x d x$

$I=\int_0^{\frac{\pi}{2}} \sin ^{2} x \cdot \sin x d x$

$=\int_0^{\frac{\pi}{2}}(1-\cos ^{2} x) \sin x d x$

$=\int_0^{\frac{\pi}{2}} \sin x d x-\int_0^{\frac{\pi}{2}} \cos ^{2} x \cdot \sin x d x$

$=[-\cos x]_0^{\frac{\pi}{2}}+[\frac{\cos ^{3} x}{3}]_0^{\frac{\pi}{2}}$

$=1+\frac{1}{3}[-1]=1-\frac{1}{3}=\frac{2}{3}$

Hence, the given result is proved.

36. $\int_0^{\frac{\pi}{4}} 2 \tan ^{3} x d x=1-\log 2$

Solution

Let $I=\int_0^{\frac{\pi}{4}} 2 \tan ^{3} x d x$

$I=2 \int_0^{\frac{\pi}{4}} \tan ^{2} x \tan x d x=2 \int_0^{\frac{\pi}{4}}(\sec ^{2} x-1) \tan x d x$

$=2 \int_0^{\frac{\pi}{4}} \sec ^{2} x \tan x d x-2 \int_0^{\frac{\pi}{4}} \tan x d x$

$=2[\frac{\tan ^{2} x}{2}]_0^{\frac{\pi}{4}}+2[\log \cos x]_0^{\frac{\pi}{4}}$

$=1+2[\log \cos \frac{\pi}{4}-\log \cos 0]$

$=1+2[\log \frac{1}{\sqrt{2}}-\log 1]$

$=1-\log 2-\log 1=1-\log 2$

Hence, the given result is proved.

37. $\int_0^{1} \sin ^{-1} x d x=\frac{\pi}{2}-1$

Solution

Let $I=\int_0^{1} \sin ^{-1} x d x$

$\Rightarrow I=\int_0^{1} \sin ^{-1} x \cdot 1 \cdot d x$

Integrating by parts, we obtain

$ \begin{aligned} I & =[\sin ^{-1} x \cdot x]_0^{1}-\int_0^{1} \frac{1}{\sqrt{1-x^{2}}} \cdot x d x \\ & =[x \sin ^{-1} x]_0^{1}+\frac{1}{2} \int_0^{1} \frac{(-2 x)}{\sqrt{1-x^{2}}} d x \end{aligned} $

Let $1-x^{2}=t \square-2 x d x=d t$

When $x=0, t=1$ and when $x=1, t=0$

$ \begin{aligned} I & =[x \sin ^{-1} x]_0^{1}+\frac{1}{2} \int_0^{0} \frac{d t}{\sqrt{t}} \\ & =[x \sin ^{-1} x]_0^{1}+\frac{1}{2}[2 \sqrt{t}]_1^{0} \\ & =\sin ^{-1}(1)+[-\sqrt{1}] \\ & =\frac{\pi}{2}-1 \end{aligned} $

Hence, the given result is proved.

Choose the correct answers in Exercises 38 to 40

38. $\int \frac{d x}{e^{x}+e^{-x}}$ is equal to

$\quad\quad$(A) $\tan ^{-1}(e^{x})+C$

$\quad\quad$(B) $\tan ^{-1}(e^{-x})+C$

$\quad\quad$(C) $\log (e^{x}-e^{-x})+C$

$\quad\quad$(D) $\log (e^{x}+e^{-x})+C$

Solution

Let $I=\int \frac{d x}{e^{x}+e^{-x}} d x=\int \frac{e^{x}}{e^{2 x}+1} d x$

Also, let $e^{x}=t \Rightarrow e^{x} d x=d t$

$ \begin{aligned} \therefore I & =\int \frac{d t}{1+t^{2}} \\ & =\tan ^{-1} t+C \\ & =\tan ^{-1}(e^{x})+C \end{aligned} $

Hence, the correct Answer is A.

39. $\int \frac{\cos 2 x}{(\sin x+\cos x)^{2}} d x$ is equal to

$\quad\quad$(A) $\frac{-1}{\sin x+\cos x}+C$

$\quad\quad$(B) $\log |\sin x+\cos x|+C$

$\quad\quad$(C) $\log |\sin x-\cos x|+C$

$\quad\quad$(D) $\frac{1}{(\sin x+\cos x)^{2}}$

Solution

Let $I=\frac{\cos 2 x}{(\cos x+\sin x)^{2}}$

$ \begin{aligned} I & =\int \frac{\cos ^{2} x-\sin ^{2} x}{(\cos x+\sin x)^{2}} d x \\ & =\int \frac{(\cos x+\sin x)(\cos x-\sin x)}{(\cos x+\sin x)^{2}} d x \\ & =\int \frac{\cos x-\sin x}{\cos +\sin x} d x \end{aligned} $

Let $\cos x+\sin x=t \Rightarrow(\cos x-\sin x) d x=d t$

$ \begin{aligned} \therefore I & =\int \frac{d t}{t} \\ & =\log |t|+C \\ & =\log |\cos x+\sin x|+C \end{aligned} $

Hence, the correct Answer is B.

40. If $f(a+b-x)=f(x)$, then $\int_a^{b} x f(x) d x$ is equal to

$\quad\quad$(A) $\frac{a+b}{2} \int_a^{b} f(b-x) d x$

$\quad\quad$(B) $\frac{a+b}{2} \int_a^{b} f(b+x) d x$

$\quad\quad$(C) $\frac{b-a}{2} \int_a^{b} f(x) d x$

$\quad\quad$(D) $\frac{a+b}{2} \int_a^{b} f(x) d x$

Solution

Let $I=\int_a^{b} x f(x) d x$

$ \begin{aligned} & I=\int_a^{b}(a+b-x) f(a+b-x) d x \\ & (\int_a^{b} f(x) d x=\int_a^{b} f(a+b-x) d x) \\ & \Rightarrow I=\int_a^{b}(a+b-x) f(x) d x \\ & \Rightarrow I=(a+b) \int_a^{b} f(x) d x \quad-I \\ & \Rightarrow I+I=(a+b) \int_a^{b} f(x) d x \\ & \Rightarrow 2 I=(a+b) \int_a^{b} f(x) d x \\ & \Rightarrow I=(\frac{a+b}{2}) \int_a^{b} f(x) d x \end{aligned} $

Hence, the correct Answer is D.

Summary

Integration is the inverse process of differentiation. In the differential calculus, we are given a function and we have to find the derivative or differential of this function, but in the integral calculus, we are to find a function whose differential is given. Thus, integration is a process which is the inverse of differentiation.

Let $\frac{d}{d x} F(x)=f(x)$. Then we write $\int f(x) d x=F(x)+C$. These integrals are called indefinite integrals or general integrals, $C$ is called constant of integration. All these integrals differ by a constant.

Some properties of indefinite integrals are as follows:

  1. $\int[f(x)+g(x)] d x=\int f(x) d x+\int g(x) d x$

  2. For any real number $k, \int k f(x) d x=k \int f(x) d x$

More generally, if $f_1, f_2, f_3, \ldots, f_n$ are functions and $k_1, k_2, \ldots, k_n$ are real numbers. Then

$ \begin{aligned} \int[k_1 f_1(x)+k_2 f_2(x). & .+\ldots+k_n f_n(x)] d x \\ & =k_1 \int f_1(x) d x+k_2 \int f_2(x) d x+\ldots+k_n \int f_n(x) d x \end{aligned} $

Some standard integrals

(i) $\int x^{n} d x=\frac{x^{n+1}}{n+1}+C, n \neq-1$. Particularly, $\int d x=x+C$

(ii) $\int \cos x d x=\sin x+C$

(iii) $\int \sin x d x=-\cos x+C$

(iv) $\int \sec ^{2} x d x=\tan x+C$

(v) $\int cosec^{2} x d x=-\cot x+C$

(vi) $\int \sec x \tan x d x=\sec x+C$

(vii) $\int cosec x \cot x d x=-cosec x+C$

(viii) $\int \frac{d x}{\sqrt{1-x^{2}}}=\sin ^{-1} x+C$

(ix) $\int \frac{d x}{\sqrt{1-x^{2}}}=-\cos ^{-1} x+C$

(x) $\int \frac{d x}{1+x^{2}}=\tan ^{-1} x+C$

(xi) $\int \frac{d x}{1+x^{2}}=-\cot ^{-1} x+C$

(xii) $\int e^{x} d x=e^{x}+C$

(xiii) $\int a^{x} d x=\frac{a^{x}}{\log a}+C$

(xiv) $\int \frac{1}{x} d x=\log |x|+C$

Integration by partial fractions

Recall that a rational function is ratio of two polynomials of the form $\frac{P(x)}{Q(x)}$, where $P(x)$ and $Q(x)$ are polynomials in $x$ and $Q(x) \neq 0$. If degree of the polynomial $P(x)$ is greater than the degree of the polynomial $Q(x)$, then we may divide $P(x)$ by $Q(x)$ so that $\frac{P(x)}{Q(x)}=T(x)+\frac{P_1(x)}{Q(x)}$, where $T(x)$ is a polynomial in $x$ and degree of $P_1(x)$ is less than the degree of $Q(x)$. $T(x)$ being polynomial can be easily integrated. $\frac{P_1(x)}{Q(x)}$ can be integrated by expressing $\frac{P_1(x)}{Q(x)}$ as the sum of partial fractions of the following type:

  1. $\frac{p x+q}{(x-a)(x-b)}$ $=\frac{A}{x-a}+\frac{B}{x-b}, a \neq b$

  2. $\frac{p x+q}{(x-a)^{2}}$ $=\frac{A}{x-a}+\frac{B}{(x-a)^{2}}$

  3. $\frac{p x^{2}+q x+r}{(x-a)(x-b)(x-c)}=\frac{A}{x-a}+\frac{B}{x-b}+\frac{C}{x-c}$

  4. $\frac{p x^{2}+q x+r}{(x-a)^{2}(x-b)}=\frac{A}{x-a}+\frac{B}{(x-a)^{2}}+\frac{C}{x-b}$

  5. $\frac{p x^{2}+q x+r}{(x-a)(x^{2}+b x+c)}=\frac{A}{x-a}+\frac{B x+C}{x^{2}+b x+c}$

where $x^{2}+b x+c$ can not be factorised further.

$\diamond$ Integration by substitution

A change in the variable of integration often reduces an integral to one of the fundamental integrals. The method in which we change the variable to some other variable is called the method of substitution. When the integrand involves some trigonometric functions, we use some well known identities to find the integrals. Using substitution technique, we obtain the following standard integrals. (i) $\int \tan x d x=\log |\sec x|+C$ (ii) $\int \cot x d x=\log |\sin x|+C$ (iii) $\int \sec x d x=\log |\sec x+\tan x|+C$ (iv) $\int cosec x d x=\log |cosec x-\cot x|+C$

$\checkmark$ Integrals of some special functions

(i) $\int \frac{d x}{x^{2}-a^{2}}=\frac{1}{2 a} \log |\frac{x-a}{x+a}|+C$

(ii) $\int \frac{d x}{a^{2}-x^{2}}=\frac{1}{2 a} \log |\frac{a+x}{a-x}|+C$

(iii) $\int \frac{d x}{x^{2}+a^{2}}=\frac{1}{a} \tan ^{-1} \frac{x}{a}+C$

(iv)

$\int \frac{d x}{\sqrt{x^{2}-a^{2}}}=\log |x+\sqrt{x^{2}-a^{2}}|+C(v) \int \frac{d x}{\sqrt{a^{2}-x^{2}}}=\sin ^{-1} \frac{x}{a}+C$

(vi) $\int \frac{d x}{\sqrt{x^{2}+a^{2}}}=\log |x+\sqrt{x^{2}+a^{2}}|+C$

$\checkmark$ Integration by parts

For given functions $f_1$ and $f_2$, we have

$ \int f_1(x) \cdot f_2(x) d x=f_1(x) \int f_2(x) d x-\int[\frac{d}{d x} f_1(x) \cdot \int f_2(x) d x] d x \text{, i.e., the } $

integral of the product of two functions $=$ first function $\times$ integral of the second function - integral of { differential coefficient of the first function $\times$ integral of the second function }. Care must be taken in choosing the first function and the second function. Obviously, we must take that function as the second function whose integral is well known to us.

$\int e^{x}[f(x)+f^{\prime}(x)] d x=\int e^{x} f(x) d x+C$

$\checkmark$ Some special types of integrals

(i) $\int \sqrt{x^{2}-a^{2}} d x=\frac{x}{2} \sqrt{x^{2}-a^{2}}-\frac{a^{2}}{2} \log |x+\sqrt{x^{2}-a^{2}}|+C$

(ii) $\int \sqrt{x^{2}+a^{2}} d x=\frac{x}{2} \sqrt{x^{2}+a^{2}}+\frac{a^{2}}{2} \log |x+\sqrt{x^{2}+a^{2}}|+C$

(iii) $\int \sqrt{a^{2}-x^{2}} d x=\frac{x}{2} \sqrt{a^{2}-x^{2}}+\frac{a^{2}}{2} \sin ^{-1} \frac{x}{a}+C$

(iv) Integrals of the types $\int \frac{d x}{a x^{2}+b x+c}$ or $\int \frac{d x}{\sqrt{a x^{2}+b x+c}}$ can be transformed into standard form by expressing

$ a x^{2}+b x+c=a[x^{2}+\frac{b}{a} x+\frac{c}{a}]=a[(x+\frac{b}{2 a})^{2}+(\frac{c}{a}-\frac{b^{2}}{4 a^{2}})] $

(v) Integrals of the types $\int \frac{p x+q d x}{a x^{2}+b x+c}$ or $\int \frac{p x+q d x}{\sqrt{a x^{2}+b x+c}}$ can be transformed into standard form by expressing

$ p x+q=A \frac{d}{d x}(a x^{2}+b x+c)+B=A(2 a x+b)+B \text{, where } A \text{ and } B \text{ are } $

determined by comparing coefficients on both sides.

We have defined $\int_a^{b} f(x) d x$ as the area of the region bounded by the curve $y=f(x), a \leq x \leq b$, the $x$-axis and the ordinates $x=a$ and $x=b$. Let $x$ be a given point in $[a, b]$. Then $\int_a^{x} f(x) d x$ represents the Area function $A(x)$. This concept of area function leads to the Fundamental Theorems of Integral Calculus.

  • First fundamental theorem of integral calculus

Let the area function be defined by $A(x)=\int_a^{x} f(x) d x$ for all $x \geq a$, where the function $f$ is assumed to be continuous on $[a, b]$. Then $A^{\prime}(x)=f(x)$ for all $x \in[a, b]$.

  • Second fundamental theorem of integral calculus

Let $f$ be a continuous function of $x$ defined on the closed interval $[a, b]$ and let $F$ be another function such that $\frac{d}{d x} F(x)=f(x)$ for all $x$ in the domain of

$f$, then $\int_a^{b} f(x) d x=[F(x)+C]_a^{b}=F(b)-F(a)$.

This is called the definite integral of $f$ over the range $[a, b]$, where $a$ and $b$ are called the limits of integration, $a$ being the lower limit and $b$ the upper limit.