Class 12 NCERT Solutions

Chapter 7: Integrals

Master the techniques of substitution, integration by parts, and the logic of anti-derivatives with our step-by-step logic.

Exercise 7.1
1. $\boldsymbol{\operatorname { s i n }} \mathbf{2} \boldsymbol{x}$
Sol.

We use the Inspection Method to find an antiderivative of $\sin 2 x$.




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

Dividing by $-2, \frac{-1}{2} \frac{d}{d x}(\cos 2 x)=\sin 2 x$

or $\frac{d}{d x}\left(\frac{-1}{2} \cos 2 x\right)=\sin 2 x$

∴ By definition, an antiderivative of $\sin 2 x$ is $\frac{-1}{2} \cos 2 x$.

Note: The complete antiderivative or integral of $\sin 2 x$ is $\frac{-1}{2} \cos 2 x+c$. For different values of $c$, we get different antiderivatives. We drop $c$ when identifying just one antiderivative.

2. $\boldsymbol{\operatorname { c o s }} \mathbf{3} \boldsymbol{x}$
Sol.

We use the Inspection Method to find an antiderivative of $\cos 3 x$.

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

Dividing by $3, \frac{1}{3} \frac{d}{d x}(\sin 3 x)=\cos 3 x$ or $\frac{d}{d x}\left(\frac{1}{3} \sin 3 x\right)=\cos 3 x$

∴ By definition, an antiderivative of $\cos 3 x$ is $\frac{1}{3} \sin 3 x$.

(Refer to the note after Q.1 regarding omission of $c$.)

3. $e^{2 x}$.
Sol.

We apply the Inspection Method to find an antiderivative of $e^{2 x}$.

We know that $\frac{d}{d x} e^{2 x}=e^{2 x} \frac{d}{d x}(2 x)=2 e^{2 x}$

Dividing by $2, \frac{1}{2} \frac{d}{d x} e^{2 x}=e^{2 x} \quad$ or $\quad \frac{d}{d x}\left(\frac{1}{2} e^{2 x}\right)=e^{2 x}$

Therefore, an antiderivative of $e^{2 x}$ is $\frac{1}{2} e^{2 x}$.

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

Our aim is to find an antiderivative of $(a x+b)^2$.

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

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

or


$ \frac{d}{d x}\left[\frac{1}{3 a}(a x+b)^3\right]=(a x+b)^2 $

$\therefore \quad$ An antiderivative of $(a x+b)^2$ is $\frac{1}{3 a}(a x+b)^3$.

5. $\boldsymbol{\operatorname { s i n }} \mathbf{2 x} \boldsymbol{-} \mathbf{4 e}^{\mathbf{3} \boldsymbol{x}}$.
Sol.

We use the Inspection Method to find an antiderivative of $\sin 2 x-4 e^{3 x}$.




We know that $\quad \frac{d}{d x}(\cos 2 x)=-2 \sin 2 x$

Dividing by $-2, \frac{d}{d x}\left(\frac{-1}{2} \cos 2 x\right)=\sin 2 x$


Again $\frac{d}{d x} e^{3 x}=3 e^{3 x}$


$ \therefore \quad \frac{d}{d x}\left(\frac{1}{3} e^{3 x}\right)=e^{3 x} $


Multiplying by $-4, \frac{d}{d x}\left(\frac{-4}{3} e^{3 x}\right)=-4 e^{3 x}$


Adding equations (i) and (ii)


$ \frac{d}{d x}\left(\frac{-1}{2} \cos 2 x\right)+\frac{d}{d x}\left(\frac{-4}{3} e^{3 x}\right)=\sin 2 x-4 e^{3 x} $

or


$ \frac{d}{d x}\left(\frac{-1}{2} \cos 2 x-\frac{4}{3} e^{3 x}\right)=\sin 2 x-4 e^{3 x} $

Therefore, an antiderivative of $\sin 2 x-4 e^{3 x}$ is $\frac{-1}{2} \cos 2 x-\frac{4}{3} e^{3 x}$.

Evaluate the following integrals in Exercises 6 to 11.

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

$\int\left(4 e^{3 x}+1\right) d x=\int 4 e^{3 x} d x+\int 1 d x$


$ =4 \int e^{3 x} d x+x=4 \frac{e^{3 x}}{3}+x+c \cdot\left[\because \int e^{a x} d x=\frac{e^{a x}}{a} \text { and } \int 1 d x=x\right] $
7. $\int x^2\left(1-\frac{1}{x^2}\right) d x$.
Sol.

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


$ =\int x^2 d x-\int 1 d x=\frac{x^3}{3}-x+c \cdot\left[\because \int x^n d x=\frac{x^{n+1}}{n+1} \text { if } n \neq-1\right] $
8. $\int\left(a x^2+b x+c\right) d x$.
Sol.

$\int\left(a x^2+b x+c\right) d x=\int a x^2 d x+\int b x d x+\int c d x$


$ =a \int x^2 d x+b \int x^1 d x+c \int 1 d x \quad=a \frac{x^3}{3}+b \frac{x^2}{2}+c x+c_1 $

Here $c_1$ is the arbitrary constant of integration.

9. $\int\left(2 x^2+e^x\right) d x$.
Sol.
$ \begin{aligned} & \int\left(2 x^2+e^x\right) d x=\int 2 x^2 d x+\int e^x d x \\ = & 2 \int x^2 d x+\int e^x d x \quad=2 \frac{x^{2+1}}{2+1}+e^x+c=2 \frac{x^3}{3}+e^x+c \end{aligned} $
10. $\int\left(\sqrt{x}-\frac{1}{\sqrt{x}}\right)^2 d x$.
Sol.

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


$ \begin{aligned} & \text { Opening the square }=\int\left((\sqrt{x})^2+\left(\frac{1}{\sqrt{x}}\right)^2-2 \sqrt{x} \frac{1}{\sqrt{x}}\right) d x \\ & =\int\left(x+\frac{1}{x}-2\right) d x=\int x d x+\int \frac{1}{x} d x-\int 2 d x \\ & =\frac{x^2}{2}+\log |x|-2 x+c . \quad\left[\because \int 2 d x=2 \int 1 d x=2 x\right] \end{aligned} $
11. $\int \frac{x^3+5 x^2-4}{x^2} d x$.
Sol.

$\int \frac{x^3+5 x^2-4}{x^2} d x=\int\left(\frac{x^3}{x^2}+\frac{5 x^2}{x^2}-\frac{4}{x^2}\right) d x$


$ \begin{aligned} & \quad\left[\text { Using } \frac{a+b-c}{d}=\frac{a}{d}+\frac{b}{d}-\frac{c}{d}\right] \\ & =\int\left(x+5-4 x^{-2}\right) d x=\int x^1 d x+\int 5 d x-\int 4 x^{-2} d x \\ & =\frac{x^2}{2}+5 \int 1 d x-4 \int x^{-2} d x=\frac{x^2}{2}+5 x-4 \frac{x^{-2+1}}{-2+1}+c \\ & =\frac{x^2}{2}+5 x+\frac{4}{x}+c . \end{aligned} $


Evaluate the following integrals in Exercises 12 to 16.

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

$\int \frac{x^3+3 x+4}{\sqrt{x}} d x=\int\left(\frac{x^3}{x^{1 / 2}}+\frac{3 x}{x^{1 / 2}}+\frac{4}{x^{1 / 2}}\right) d x$


$ \begin{aligned} & =\int\left(x^{3-1 / 2}+3 x^{1-1 / 2}+4 x^{-1 / 2}\right) d x=\int\left(x^{5 / 2}+3 x^{1 / 2}+4 x^{-1 / 2}\right) d x \\ & =\int x^{5 / 2} d x+3 \int x^{1 / 2} d x+4 \int x^{-1 / 2} d x \\ & =\frac{x^{5 / 2+1}}{\frac{5}{2}+1}+3 \frac{x^{1 / 2+1}}{\frac{1}{2}+1}+4 \frac{x^{-1 / 2+1}}{\frac{-1}{2}+1}+c=\frac{x^{7 / 2}}{\frac{7}{2}}+3 \frac{x^{3 / 2}}{\frac{3}{2}}+4 \frac{x^{1 / 2}}{\frac{1}{2}}+c \\ & =\frac{2}{7} x^{7 / 2}+2 x^{3 / 2}+8 x^{1 / 2}+c \end{aligned} $
13. $\int \frac{x^3-x^2+x-1}{x-1} d x$.
Sol.

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


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



$ =\int x^2 d x+\int 1 d x=\frac{x^{2+1}}{2+1}+x+c=\frac{x^3}{3}+x+c $
14. $\int(1-x) \sqrt{x} d x$.
Sol.
$ \begin{aligned} & \int(1-x) \sqrt{x} d x=\int(\sqrt{x}-x \sqrt{x}) d x \\ & =\int\left(x^{1 / 2}-x^1 x^{1 / 2}\right) d x=\int\left(x^{1 / 2}-x^{1+1 / 2}\right) d x \\ & =\int\left(x^{1 / 2}-x^{3 / 2}\right) d x=\frac{x^{1 / 2+1}}{\frac{1}{2}+1}-\frac{x^{3 / 2+1}}{\frac{3}{2}+1}+c \\ & =\frac{x^{3 / 2}}{\frac{3}{2}}-\frac{x^{5 / 2}}{\frac{5}{2}}+c=\frac{2}{3} x^{3 / 2}-\frac{2}{5} x^{5 / 2}+c \end{aligned} $
15. $\int \sqrt{x}\left(\mathbf{3} \boldsymbol{x}^{\mathbf{2}} \boldsymbol{+} \mathbf{2} \boldsymbol{x} \boldsymbol{+} \boldsymbol{3}\right) \boldsymbol{d} \boldsymbol{x}$.
Sol.
$ \begin{aligned} & \int \sqrt{x}\left(3 x^2+2 x+3\right) d x=\int x^{1 / 2}\left(3 x^2+2 x+3\right) d x \\ & =\int\left(3 x^2 x^{1 / 2}+2 x x^{1 / 2}+3 x^{1 / 2}\right) d x=\int\left(3 x^{5 / 2}+2 x^{3 / 2}+3 x^{1 / 2}\right) d x \\ & \quad\left(\because 2+\frac{1}{2}=\frac{4+1}{2}=\frac{5}{2}, 1+\frac{1}{2}=\frac{2+1}{2}=\frac{3}{2}\right) \\ & =3 \int x^{5 / 2} d x+2 \int x^{3 / 2} d x+3 \int x^{1 / 2} d x \\ & =3 \frac{x^{5 / 2+1}}{\frac{5}{2}+1}+2 \frac{x^{3 / 2+1}}{\frac{3}{2}+1}+3 \frac{x^{1 / 2+1}}{\frac{1}{2}+1}+c=3 \frac{x^{7 / 2}}{\frac{7}{2}}+2 \frac{x^{5 / 2}}{\frac{5}{2}}+3 \frac{x^{3 / 2}}{\frac{3}{2}}+c \\ & =\frac{6}{7} x^{7 / 2}+\frac{4}{5} x^{5 / 2}+2 x^{3 / 2}+c \end{aligned} $
16. $\int\left(2 x-3 \cos x+e^x\right) d x$.
Sol.
$ \begin{aligned} & \int\left(2 x-3 \cos x+e^x\right) d x=\int 2 x d x-\int 3 \cos x d x+\int e^x d x \\ & =2 \int x^1 d x-3 \int \cos x d x+\int e^x d x=2 \frac{x^2}{2}-3 \sin x+e^x+c \\ & =x^2-3 \sin x+e^x+c \end{aligned} $


Evaluate the following integrals in Exercises 17 to 20.

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

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


$ \begin{aligned} & =2 \int x^2 d x-3 \int \sin x d x+5 \int x^{1 / 2} d x \\ & =2 \frac{x^{2+1}}{2+1}-3(-\cos x)+5 \frac{x^{1 / 2+1}}{\frac{1}{2}+1}+c=2 \frac{x^3}{3}+3 \cos x+5 \frac{x^{3 / 2}}{\frac{3}{2}}+c \\ & =2 \frac{x^3}{3}+3 \cos x+\frac{10}{3} x^{3 / 2}+c \end{aligned} $
18. $\int \sec x(\sec x+\tan x) d x$.
Sol.

$\int \sec x(\sec x+\tan x) d x=\int\left(\sec ^2 x+\sec x \tan x\right) d x$


$ =\int \sec ^2 x d x+\int \sec x \tan x d x \quad=\tan x+\sec x+c $
19. $\int \frac{\sec ^2 x}{\operatorname{cosec}^2 x} d x$.
Sol.

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


$ \begin{aligned} & =\int \tan ^2 x d x=\int\left(\sec ^2 \boldsymbol{x}-\mathbf{1}\right) \boldsymbol{d x} \\ & \left.\because \sec ^2 x-\tan ^2 x=1 \Rightarrow \sec ^2 x-1=\tan ^2 x\right) \\ & =\int \sec ^2 x d x-\int 1 d x=\tan x-x+c \end{aligned} $


Note: In a similar way, $\int \cot ^2 x d x=\int\left(\operatorname{cosec}^2 x-1\right) d x$


$ =\int \operatorname{cosec}^2 x d x-\int 1 d x=-\cot x-x+c $
20. $\int \frac{2-3 \sin x}{\cos ^2 x} d x$.
Sol.

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


$ \begin{aligned} & =\int\left(2 \sec ^2 x-\frac{3 \sin x}{\cos x \cos x}\right) d x=\int\left(2 \sec ^2 x-3 \tan x \sec x\right) d x \\ & =2 \int \sec ^2 x d x-3 \int \sec x \tan x d x=2 \tan x-3 \sec x+c \end{aligned} $
21. Choose the correct answer: The anti derivative of $\left(\sqrt{x}+\frac{1}{\sqrt{x}}\right)$ equals (A) $\frac{1}{3} x^{1 / 3}+2 x^{1 / 2}+\mathrm{C}$ (B) $\frac{2}{3} x^{2 / 3}+\frac{1}{2} x^2+\mathrm{C}$ (C) $\frac{2}{3} x^{3 / 2}+2 x^{1 / 2}+\mathrm{C}$ (D) $\frac{3}{2} x^{3 / 2}+\frac{1}{2} x^{1 / 2}+\mathrm{C}$.
Sol.

The antiderivative of the $\left(\sqrt{x}+\frac{1}{\sqrt{x}}\right)$


$ \begin{aligned} & =\int\left(\sqrt{x}+\frac{1}{\sqrt{x}}\right) d x=\int\left(x^{1 / 2}+x^{-1 / 2}\right) d x \\ & =\int x^{1 / 2} d x+\int x^{-1 / 2} d x=\frac{x^{1 / 2+1}}{\frac{1}{2}+1}+\frac{x^{1 / 2+1}}{\frac{1}{2}+1}+\mathrm{C} \\ & =\frac{x^{3 / 2}}{\frac{3}{2}}+\frac{x^{1 / 2}}{\frac{1}{2}}+\mathrm{C}=\frac{2}{3} x^{3 / 2}+2 x^{1 / 2}+\mathrm{C} \end{aligned} $

Hence, Option (C) is the correct answer.

22. Choose the correct answer: 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}$.
Sol.

Given: $\frac{d}{d x} f(x)=4 x^3-\frac{3}{x^4}$ and $f(2)=0$

∴ By definition of antiderivative (i.e., Integral),


$ \begin{aligned} & f(x)=\int\left(4 x^3-\frac{3}{x^4}\right) d x=4 \int x^3 d x-3 \int \frac{1}{x^4} d x \\ & \quad=4 \cdot \frac{x^4}{4}-3 \int x^{-4} d x=x^4-3 \frac{x^{-3}}{-3}+c \\ & \text { or } f(x)=x^4+\frac{1}{\left(x^3\right)}+c \end{aligned} $


To find $\boldsymbol{c}$. Let us make use of $f(2)=0$ (given)

Putting $x=2$ on both sides of (i),


$ f(2)=16+\frac{1}{8}+c \quad \text { or } \quad 0=\frac{128+1}{8}+c $

( $\because f(2)=0$ (given))

or $c+\frac{129}{8}=0 \quad$ or $c=\frac{-129}{8}$

Substituting $c=\frac{-129}{8}$ back into (i), $f(x)=x^4+\frac{1}{\left(x^3\right)}-\frac{129}{8}$

Hence, Option (A) is the correct answer.

Exercise 7.2
1. $\frac{\mathbf{2} \boldsymbol{x}}{\mathbf{1}+\boldsymbol{x}^{\mathbf{2}}}$
Sol.

We now evaluate $\int \frac{2 x}{1+x^2} d x$

Put $1+x^2=t$. Therefore $2 x=\frac{d t}{d x}$ or $2 x d x=d t$


$ \therefore \quad \int \frac{2 x}{1+x^2} d x=\int \frac{d t}{t}=\int \frac{1}{t} d t=\log |t|+c $


Putting $t=1+x^2, \quad=\log \left|1+x^2\right|+c=\log \left(1+x^2\right)+c$.


$ \left(\because 1+x^2>0 \text {. Therefore }\left|1+x^2\right|=1+x^2\right) $
2. $\frac{(\log x)^2}{x}$.
Sol.

We now evaluate $\int \frac{(\log x)^2}{x} d x$




Put $\log x=t$. Therefore $\frac{1}{x}=\frac{d t}{d x} \quad \Rightarrow \quad \frac{d x}{x}=d t$


$ \therefore \quad \int \frac{(\log x)^2}{x} d x=\int t^2 d t=\frac{t^3}{3}+c $


Putting $t=\log x,=\frac{1}{3}(\log x)^3+c$.

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

We now evaluate $\int \frac{1}{x+x \log x} d x=\int \frac{1}{x(1+\log x)} d x$

Put $1+\log x=t . \quad$ Therefore $\frac{1}{x}=\frac{d t}{d x} \Rightarrow \frac{d x}{x}=d t$


$ \therefore \int \frac{1}{x+x \log x} d x=\int \frac{1}{1+\log x} \frac{d x}{x}=\int \frac{1}{t} d t=\log |t|+c $


Putting $t=1+\log x, \log |1+\log x|+c$.

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

We now evaluate $\int \sin x \sin (\cos x) d x=-\int \sin (\cos x)(-\sin x) d x$

Put $\cos x=t$. Therefore $-\sin x=\frac{d t}{d x}$


$ \begin{aligned} \therefore \quad-\sin x d x & =d t \\ \therefore \quad \int \sin x \sin (\cos x) d x & =-\int \sin (\cos x)(-\sin x d x) \\ & =-\int \sin t d t=-(-\cos t)+c \\ & =\cos t+c \end{aligned} $


Putting $t=\cos x,=\cos (\cos x)+c$.

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

We now evaluate $\int \sin (a x+b) \cos (a x+b) d x$


$ \begin{aligned} & =\frac{1}{2} \int 2 \sin (a x+b) \cos (a x+b) d x=\frac{1}{2} \int \sin 2(a x+b) d x \\ & \quad(\because 2 \sin \theta \cos \theta=\sin 2 \theta) \\ & =\frac{1}{2} \int \sin (2 a x+2 b) d x=\frac{1}{2} \frac{[-\cos (2 a x+2 b)]}{2 a \rightarrow \text { Coeff. of } x}+c \\ & =\frac{-1}{4 a} \cos 2(a x+b)+c . \end{aligned} $
6. $\sqrt{\boldsymbol{a} \boldsymbol{x}+\boldsymbol{b}}$
Sol.

We now evaluate $\int \sqrt{a x+b} d x=\int(a x+b)^{1 / 2} d x$


$ \begin{gathered} =\frac{(a x+b)^{\frac{1}{2}+1}}{\left(\frac{1}{2}+1\right) a \rightarrow \text { Coeff. of } x}+c=\frac{(a x+b)^{\frac{3}{2}}}{\frac{3}{2} a}+c \\ {\left[\because \int(a x+b)^n d x=\frac{(a x+b)^{n+1}}{a(n+1)}+c \text { if } n \neq-1\right]} \\ \text { } \end{gathered} $



$ =\frac{2}{3 a}(a x+b)^{3 / 2}+c . $
7. $\boldsymbol{x} \sqrt{\boldsymbol{x}+\mathbf{2}}$
Sol.

We now evaluate $\int x \sqrt{x+2} d x$


$ \begin{aligned} & =\int x \sqrt{x+2} d x=\int((x+2)-2) \sqrt{x+2} d x \\ & =\int\left((x+2)(x+2)^{\frac{1}{2}}-2(x+2)^{\frac{1}{2}}\right) d x=\int\left((x+2)^{\frac{3}{2}}-2(x+2)^{\frac{1}{2}}\right) d x \\ & =\int(x+2)^{\frac{3}{2}} d x-2 \int(x+2)^{\frac{1}{2}} d x \\ & =\frac{(x+2)^{\frac{3}{2}+1}}{\left(\frac{3}{2}+1\right) 1 \rightarrow \text { Coeff. of } x}-2 \frac{(x+2)^{\frac{1}{2}+1}}{\left(\frac{1}{2}+1\right) \cdot 1}+c=\frac{(x+2)^{\frac{5}{2}}}{\frac{5}{2}}-2 \frac{(x+2)^{\frac{3}{2}}}{\frac{3}{2}}+c \\ & =\frac{2}{5}(x+2)^{5 / 2}-\frac{4}{3}(x+2)^{3 / 2}+c \end{aligned} $


OR

We now evaluate $\int x \sqrt{x+2} d x$

Put $\sqrt{\text { Linear }}=t$, i.e., $\sqrt{x+2}=t$.

Squaring $x+2=t^2 \quad\left(\Rightarrow x=t^2-2\right)$


$ \begin{aligned} & \therefore \quad \frac{d x}{d t}=2 t, \quad \text { i.e., } \quad \frac{d x}{d t}=2 t \quad \text { or } \quad d x=2 t d t \\ & \therefore \int x \sqrt{x+2} d x=\int\left(t^2-2\right) t .2 t d t=\int 2 t^2\left(t^2-2\right) d t \\ & \quad=\int 2 t^2\left(t^2-2\right) d t=2 \int t^4 d t-4 \int t^2 d t=2 \frac{t^5}{5}-4 \frac{t^3}{3}+c \end{aligned} $


Putting $t=\sqrt{x+2}, \quad=\frac{2}{5}(\sqrt{x+2})^5-\frac{4}{3}(\sqrt{x+2})^3+c$

$\left.=\frac{2}{5}(x+2)^{1 / 2}\right)^5-\frac{4}{3}\left((x+2)^{1 / 2}\right)^3+c=\frac{2}{5}(x+2)^{5 / 2}-\frac{4}{3}(x+2)^{3 / 2}+c$.

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

We now evaluate $\int x \sqrt{1+2 x^2} d x$

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


$ \left[\because \frac{d}{d x}\left(1+2 x^2\right)=0+2.2 x=4 x\right] $


Put $1+2 x^2=t$. Therefore $4 x=\frac{d t}{d x} \quad$ or $\quad 4 x d x=d t$

Therefore, from (i), I $=\frac{1}{4} \int \sqrt{t} d t=\frac{1}{4} \int t^{1 / 2} d t$




$ =\frac{1}{4} \frac{t^{3 / 2}}{\frac{3}{2}}+c=\frac{1}{4} \cdot \frac{2}{3} t^{3 / 2}+c $


Putting $t=1+2 x^2,=\frac{1}{6}\left(1+2 x^2\right)^{3 / 2}+c$.

Integrate the functions in Exercises 9 to 17:

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

Let $\mathrm{I}=\int(4 x+2) \sqrt{x^2+x+1} d x=\int 2(2 x+1) \sqrt{x^2+x+1} d x$


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


Put $x^2+x+1=t$. Therefore $(2 x+1)=\frac{d t}{d x}$


$ \begin{aligned} & \therefore \quad(2 x+1) d x=d t \\ & \therefore \quad \text { From }(i), I=\int 2 \sqrt{t} d t=2 \int t^{1 / 2} d t \\ & =2 \frac{t^{3 / 2}}{\frac{3}{2}}+c=\frac{4}{3} t^{3 / 2}+c \end{aligned} $


Putting $t=x^2+x+1, \mathrm{I}=\frac{4}{3}\left(x^2+x+1\right)^{3 / 2}+c$.

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

Let $\mathrm{I}=\int \frac{1}{x-\sqrt{x}} d x$


Put $\sqrt{\text { Linear }}=t$, i.e., $\sqrt{x}=t$

Squaring: $x=t^2$. Therefore $\frac{d x}{d t}=2 t \quad$ or $\quad d x=2 t d t$


$ \begin{aligned} & \therefore \quad \text { From }(i), \mathrm{I}=\int \frac{1}{t^2-t} 2 t d t=2 \int \frac{t}{t(t-1)} d t \\ & =2 \int \frac{1}{t-1} d t=2 \log |t-1|+c\left(\because \int \frac{1}{a x+b} d x=\frac{1}{a} \log |a x+b|\right) \end{aligned} $


Putting $t=\sqrt{x}, \mathrm{I}=2 \log |\sqrt{x}-1|+c$.

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

Let I $=\int \frac{x}{\sqrt{x+4}} d x$


$ \begin{aligned} & =\int \frac{x+4-4}{\sqrt{x+4}} d x=\int\left(\frac{x+4}{\sqrt{x+4}}-\frac{4}{\sqrt{x+4}}\right) d x \\ & =\int \sqrt{x+4} d x-4 \int \frac{1}{\sqrt{x+4}} d x\left[\because \frac{t}{\sqrt{t}}=\frac{t \sqrt{t}}{\sqrt{t} \sqrt{t}}=\frac{t \sqrt{t}}{t}=\sqrt{t}\right] \end{aligned} $



$ \begin{aligned} & =\int(x+4)^{1 / 2} d x-4 \int(x+4)^{-1 / 2} d x \\ & =\frac{(x+4)^{3 / 2}}{\frac{3}{2}(1)}-\frac{4(x+4)^{1 / 2}}{\frac{1}{2}(1)}+c=\frac{2}{3}(x+4)^{3 / 2}-8(x+4)^{1 / 2}+c \\ & =\frac{2}{3}(x+4) \sqrt{x+4}-8 \sqrt{x+4}+c \\ & \quad\left[\because t^{3 / 2}=t^{\frac{2}{2}+\frac{1}{2}}=t^{1+\frac{1}{2}}=t^1 \cdot t^{1 / 2}=t \sqrt{t}\right] \\ & =2 \sqrt{x+4}\left(\frac{x+4}{3}-4\right)+c=2 \sqrt{x+4}\left(\frac{x+4-12}{3}\right)+c \\ & =\frac{2}{3} \sqrt{x+4}(x-8)+c \end{aligned} $


OR

Put $\sqrt{\text { Linear }}=\boldsymbol{t}$, i.e., $\sqrt{x+4}=t$.

Squaring $x+4=t^2 \Rightarrow x=t^2-4$.

Therefore $\frac{d x}{d t}=2 t \quad$ or $\quad d x=2 t d t$


$ \begin{aligned} \therefore \quad \mathrm{I} & =\int \frac{x}{\sqrt{x+4}} d x=\int \frac{t^2-4}{t} \cdot 2 t d t \\ & =2 \int\left(t^2-4\right) d t=2\left[\int t^2 d t-4 \int 1 d t\right] \\ & =2\left[\frac{t^3}{3}-4 t\right]+c=\frac{2 t}{3}\left(t^2-12\right)+c \end{aligned} $


Putting $t=\sqrt{x+4},=\frac{2}{3} \sqrt{x+4}(x+4-12)+c$


$ =\frac{2}{3} \sqrt{x+4}(x-8)+c . $
12. $\left(x^3-1\right)^{1 / 3} x^5$
Sol.

Let $\mathrm{I}=\int\left(x^3-1\right)^{1 / 3} x^5 d x=\int\left(x^3-1\right)^{1 / 3} x^3 x^2 d x$


$ =\frac{1}{3} \int\left(x^3-1\right)^{1 / 3} x^3\left(3 x^2 d x\right) \quad \ldots(i) \quad\left[\because \frac{d}{d x}\left(x^3-1\right)=3 x^2\right] $


Put $x^3-1=t \quad \Rightarrow \quad x^3=t+1$


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

∴ From $(i), \quad \mathrm{I}=\frac{1}{3} \int t^{1 / 3}(t+1) d t$


$ \begin{aligned} & =\frac{1}{3} \int\left(t^{4 / 3}+t^{1 / 3}\right) d t \\ & =\frac{1}{3}\left(\int t^{4 / 3} d t+\int t^{1 / 3} d t\right) \end{aligned} $


$ \left[\because \frac{1}{3}+1=\frac{1+3}{3}=\frac{4}{3}\right] $



$ =\frac{1}{3}\left(\frac{t^{7 / 3}}{\frac{7}{3}}+\frac{t^{4 / 3}}{\frac{4}{3}}\right)+c=\frac{1}{3}\left(\frac{3}{7} t^{7 / 3}+\frac{3}{4} t^{4 / 3}\right)+c=\frac{1}{7} t^{7 / 3}+\frac{1}{4} t^{4 / 3}+c $


Putting $t=x^3-1,=\frac{1}{7}\left(x^3-1\right)^{7 / 3}+\frac{1}{4}\left(x^3-1\right)^{4 / 3}+c$.

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

Let $\mathrm{I}=\int \frac{x^2}{\left(2+3 x^3\right)^3} d x$


$ =\frac{1}{9} \int \frac{9 x^2}{\left(2+3 x^3\right)^3} d x \quad \ldots(i)\left[\because \frac{d}{d x}\left(2+3 x^3\right)=9 x^2\right] $


Put $2+3 x^3=t$. Therefore $9 x^2=\frac{d t}{d x} \Rightarrow 9 x^2 d x=d t$

Therefore, from (i), I $=\frac{1}{9} \int t^{-3} d t \quad=\frac{1}{9} \frac{t^{-2}}{-2}+c=\frac{-1}{18 t^2}+c$

Putting $t=2+3 x^3 ;=\frac{-1}{18\left(2+3 x^3\right)^2}+c$.

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

Let $\mathrm{I}=\int \frac{1}{x(\log x)^m} d x(x>0) \Rightarrow \mathrm{I}=\int \frac{\frac{1}{x} d x}{(\log x)^m}$


Put $\log x=t$. Therefore $\frac{1}{x}=\frac{d t}{d x} \Rightarrow \frac{d x}{x}=d t$

Therefore, from (i), I $=\int \frac{d t}{t^m}=\int t^{-m} d t=\frac{t^{-m+1}}{-m+1}+c$

(Assuming $m \neq 1$ )

Putting $t=\log x,=\frac{(\log x)^{1-m}}{1-m}+c$.

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

Let $\mathrm{I}=\int \frac{x}{9-4 x^2} d x=\frac{-1}{8} \int \frac{-8 x}{9-4 x^2} d x$


$ \left[\because \frac{d}{d x}\left(9-4 x^2\right)=-8 x\right] $


Put $9-4 x^2=t$. Therefore $-8 x=\frac{d t}{d x} \Rightarrow-8 x d x=d t$

From equation (i), I = $\frac{-1}{8} \int \frac{d t}{t}=\frac{-1}{8} \int \frac{1}{t} d t \quad=\frac{-1}{8} \log |t|+c$

Putting $t=9-4 x^2,=\frac{-1}{8} \log \left|9-4 x^2\right|+c$.

16. $\boldsymbol{e}^{2 x+3}$
Sol.

$\int e^{2 x+3} d x=\frac{e^{2 x+3}}{2 \rightarrow \text { Coeff. of } x}+c$


$ \left[\because \int e^{a x+b} d x=\frac{e^{a x+b}}{a}\right] $


$ =\frac{1}{2} e^{2 x+3}+c . $
17. $\frac{\boldsymbol{x}}{\boldsymbol{e}^{\boldsymbol{x}^2}}$
Sol.

Let $\mathrm{I}=\int \frac{x}{\left(e^{x^2}\right)} d x=\frac{1}{2} \int \frac{2 x}{\left(e^{x^2}\right)} d x$


Put $x^2=t$. Therefore $2 x=\frac{d t}{d x} \Rightarrow 2 x d x=d t$.


$ \begin{aligned} \therefore \text { From }(i), \quad \mathrm{I} & =\frac{1}{2} \int \frac{d t}{\left(e^t\right)}=\frac{1}{2} \int e^{-t} d t \\ & =\frac{1}{2} \frac{e^{-t}}{-1 \rightarrow \text { Coeff. of } t}+c=\frac{-1}{2\left(e^t\right)}+c \end{aligned} $


Putting $t=x^2, \mathrm{I}=\frac{-1}{2\left(e^{x^2}\right)}+c$.

Integrate the functions in Exercises 18 to 26:

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

Let $\mathrm{I}=\int \frac{e^{\tan ^{-1} x}}{1+x^2} d x$


Put $\tan ^{-1} x=t$.


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

Therefore, from (i), $\mathrm{I}=\int e^t d t=e^t+c=e^{\tan ^{-1} x}+c$.

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

Let $\mathrm{I}=\int \frac{e^{2 x}-1}{e^{2 x}+1} d x$

Multiplying every term in integrand by $e^{-x}$,


$ \mathrm{I}=\int \frac{e^x-e^{-x}}{e^x+e^{-x}} d x $


$ \left[\because \quad e^{2 x} \cdot e^{-x}=e^{2 x-x}=e^x\right] $


Put denominator $e^x+e^{-x}=t$

$\therefore \quad e^x+e^{-x} \frac{d}{d x}(-x)=\frac{d t}{d x} \quad \Rightarrow \quad\left(e^x-e^{-x}\right) d x=d t$

Therefore, from (i), I $=\int \frac{d t}{t}=\int \frac{1}{t} d t=\log |t|+c$

Putting $t=e^x+e^{-x}, \mathrm{I}=\log \left|e^x+e^{-x}\right|+c$ or $\mathrm{I}=\log \left(e^x+e^{-x}\right)+c$


$ \left[\because \quad e^x+e^{-x}=e^x+\frac{1}{\left(e^x\right)}>0 \text { for all real } x \text { and hence }\left|e^x+e^{-x}\right|=e^x+e^{-x}\right] $
20. $\frac{\boldsymbol{e}^{2 x}-\boldsymbol{e}^{-2 x}}{\boldsymbol{e}^{2 x}+\boldsymbol{e}^{-2 x}}$
Sol.

Let $\mathrm{I}=\int \frac{e^{2 x}-e^{-2 x}}{e^{2 x}+e^{-2 x}} d x \quad=\frac{1}{2} \int \frac{2\left(e^{2 x}-e^{-2 x}\right)}{e^{2 x}+e^{-2 x}} d x$


Put denominator $e^{2 x}+e^{-2 x}=t$


$ \begin{aligned} & \therefore \quad e^{2 x} \frac{d}{d x} 2 x+e^{-2 x} \frac{d}{d x}(-2 x)=\frac{d t}{d x} \\ & \Rightarrow \quad e^{2 x} \cdot 2-2 e^{-2 x}=\frac{d t}{d x} \quad \Rightarrow 2\left(e^{2 x}-e^{-2 x}\right) d x=d t \\ & \therefore \quad \text { From }(i), \quad \mathrm{I}=\frac{1}{2} \int \frac{d t}{t}=\frac{1}{2} \log |t|+c \end{aligned} $


Putting $t=e^{2 x}+e^{-2 x},=\frac{1}{2} \log \left|e^{2 x}+e^{-2 x}\right|+c=\frac{1}{2} \log \left(e^{2 x}+e^{-2 x}\right)+c$

21. $\tan ^2(2 x-3)$ $ \left[\because \quad e^{2 x}+e^{-2 x}>0 \Rightarrow\left|e^{2 x}+e^{-2 x}\right|=e^{2 x}+e^{-2 x}\right] $
Sol.

$\int \tan ^2(2 x-3) d x=\int\left(\sec ^2(2 x-3)-1\right) d x\left(\because \tan ^2 \theta=\sec ^2 \theta-1\right)$


$ \begin{aligned} & =\int \sec ^2(2 x-3) d x-\int 1 d x \\ & =\frac{\tan (2 x-3)}{2 \rightarrow \text { Coeff. of } x}-x+c=\frac{1}{2} \tan (2 x-3)-x+c \end{aligned} $
22. $\sec ^2(7-4 x)$
Sol.

$\int \sec ^2(7-4 x) d x=\frac{\tan (7-4 x)}{-4 \rightarrow \text { Coeff. of } x}+c$


$ \left[\because \int \sec ^2(a x+b) d x=\frac{1}{a} \tan (a x+b)+c\right] $

$=\frac{-1}{4} \tan (7-4 x)+c$.

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

Let $\mathrm{I}=\int \frac{\sin ^{-1} x}{\sqrt{1-x^2}} d x$


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

Therefore, from (i), I $=\int t d t=\frac{t^2}{2}+c$

Putting $t=\sin ^{-1} x, \mathrm{I}=\frac{1}{2}\left(\sin ^{-1} x\right)^2+c$.

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

Let $\mathrm{I}=\int \frac{2 \cos x-3 \sin x}{6 \cos x+4 \sin x} d x=\int \frac{2 \cos x-3 \sin x}{2(2 \sin x+3 \cos x)} d x$


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


Put DENOMINATOR $2 \sin x+3 \cos x=t$

$\therefore \quad 2 \cos x-3 \sin x=\frac{d t}{d x} \Rightarrow(2 \cos x-3 \sin x) d x=d t$

Therefore, from (i), I $=\frac{1}{2} \int \frac{d t}{t}=\frac{1}{2} \log |t|+c$.

Putting $t=2 \sin x+3 \cos x,=\frac{1}{2} \log |2 \sin x+3 \cos x|+c$.

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

Let $\mathrm{I}=\int \frac{1}{\cos ^2 x(1-\tan x)^2} d x=\int \frac{\sec ^2 x}{(1-\tan x)^2} d x$


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


Put $1-\tan x=t$.


$ \begin{aligned} \therefore \quad-\sec ^2 x & =\frac{d t}{d x} \quad \Rightarrow-\sec ^2 x d x=d t \\ \therefore \quad \text { From }(i), \mathrm{I} & =-\int \frac{d t}{t^2}=-\int t^{-2} d t \\ & =-\frac{t^{-1}}{-1}+c=\frac{1}{t}+c=\frac{1}{1-\tan x}+c \end{aligned} $
26. $\frac{\cos \sqrt{x}}{\sqrt{x}}$
Sol.

Let $\mathrm{I}=\int \frac{\cos \sqrt{x}}{\sqrt{x}} d x$


Put $\sqrt{\text { Linear }}=t$, i.e., $\quad \sqrt{x}=t$

Squaring, $x=t^2$. Therefore $\frac{d x}{d t}=2 t \quad \therefore \quad d x=2 t d t$

Therefore, from (i), I $=\int \frac{\cos t}{t} 2 t d t=2 \int \cos t d t=2 \sin t+c$

Putting $t=\sqrt{x}, \mathrm{I}=2 \sin \sqrt{x}+c$.

Integrate the functions in Exercises 27 to 37:

27. $\sqrt{\sin 2 \boldsymbol{x}} \boldsymbol{\operatorname { c o s } 2 \boldsymbol { x }}$
Sol.

Let $\mathrm{I}=\int \sqrt{\sin 2 x} \cos 2 x d x=\frac{1}{2} \int \sqrt{\sin 2 x}(2 \cos 2 x d x)$


Put $\boldsymbol{\operatorname { s i n }} \mathbf{2 x}=\boldsymbol{t}$

$\therefore \cos 2 x \frac{d}{d x}(2 x)=\frac{d t}{d x} \quad \Rightarrow 2 \cos 2 x d x=d t$




$ \begin{aligned} & \therefore \text { From }(i), \quad \mathrm{I}=\frac{1}{2} \int \sqrt{t} d t=\frac{1}{2} \int t^{1 / 2} d t \\ & \quad=\frac{1}{2} \frac{t^{\frac{1}{2}+1}}{\frac{1}{2}+1}+c=\frac{1}{2} \frac{t^{3 / 2}}{\frac{3}{2}}+c=\frac{1}{3}(\sin 2 x)^{3 / 2}+c \end{aligned} $
28. $\frac{\cos x}{\sqrt{1+\sin x}}$
Sol.

Let $\mathrm{I}=\int \frac{\cos x}{\sqrt{1+\sin x}} d x$


Put $1+\sin x=t$

$\therefore \quad \cos x=\frac{d t}{d x} \quad$ or $\quad \cos x d x=d t$


$ \begin{aligned} \therefore \text { From }(i), \quad \mathrm{I} & =\int \frac{d t}{\sqrt{t}}=\int t^{-1 / 2} d t=\frac{t^{\frac{-1}{2}+1}}{\frac{-1}{2}+1}+c \\ & =\frac{t^{1 / 2}}{\frac{1}{2}}+c=2 \sqrt{t}+c=2 \sqrt{1+\sin x}+c \end{aligned} $
29. $\cot x \log \sin x$
Sol.

Let $\mathrm{I}=\int \cot x \log \sin x d x$


Put $\log \sin x=t$

$\therefore \quad \frac{1}{\sin x} \frac{d}{d x}(\sin x)=\frac{d t}{d x} \quad$ or $\quad \frac{1}{\sin x} \cos x=\frac{d t}{d x}$

or $\cot x d x=d t$

∴ From $(i), \mathrm{I}=\int t d t=\frac{t^2}{2}+c \quad=\frac{1}{2}(\log \sin x)^2+c$.

30. $\frac{\boldsymbol{\operatorname { s i n }} \boldsymbol{x}}{\mathbf{1}+\boldsymbol{\operatorname { c o s }} \boldsymbol{x}}$
Sol.

Let $\mathrm{I}=\int \frac{\sin x}{1+\cos x} d x \quad=-\int \frac{-\sin x}{1+\cos x} d x$


Put $1+\cos x=t$. Therefore $-\sin x=\frac{d t}{d x}$

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

∴ From $(i), \mathrm{I}=-\int \frac{d t}{t} \quad=-\log |t|+c$

Putting $t=1+\cos x,=-\log |1+\cos x|+c$.

31. $\frac{\boldsymbol{\operatorname { s i n }} \boldsymbol{x}}{(\mathbf{1}+\boldsymbol{\operatorname { c o s }} \boldsymbol{x})^{\mathbf{2}}}$
Sol.

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


Put $1+\cos x=t$. Therefore $-\sin x=\frac{d t}{d x}$




$ \begin{aligned} \Rightarrow \quad-\sin x d x & =d t \\ \therefore \quad \text { From }(i), \mathrm{I} & =-\int \frac{d t}{t^2}=-\int t^{-2} d t=\frac{-t^{-1}}{-1}+c \\ & =\frac{1}{t}+c=\frac{1}{1+\cos x}+c \end{aligned} $
32. $\frac{1}{1+\cot x}$
Sol.

Let $\mathrm{I}=\int \frac{1}{1+\cot x} d x=\int \frac{1}{1+\frac{\cos x}{\sin x}} d x=\int \frac{1}{\left(\frac{\sin x+\cos x}{\sin x}\right)} 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+\sin x}{\sin x+\cos x} d x $


Adding and subtracting $\cos x$ in the numerator of integrand,


$ \begin{aligned} \mathrm{I} & =\frac{1}{2} \int \frac{\sin x+\cos x-\cos x+\sin x}{\sin x+\cos x} d x \\ & =\frac{1}{2} \int \frac{(\sin x+\cos x)-(\cos x-\sin x)}{\sin x+\cos x} d x \\ & =\frac{1}{2} \int\left(\frac{\sin x+\cos x}{\sin x+\cos x}-\frac{(\cos x-\sin x)}{\sin x+\cos x}\right) d x\left[\because \frac{a-b}{c}=\frac{a}{c}-\frac{b}{c}\right] \\ & =\frac{1}{2} \int\left(1-\frac{(\cos x-\sin x)}{\sin x+\cos x}\right) d x \\ & =\frac{1}{2}\left[\int 1 d x-\int \frac{\cos x-\sin x}{\sin x+\cos x} d x\right]=\frac{1}{2}\left[x-\mathrm{I}_1\right] \end{aligned} $

where $\mathrm{I}_1=\int \frac{\cos x-\sin x}{\sin x+\cos x} d x$

Put DENOMINATOR $\sin x+\cos x=t$


$ \begin{aligned} & \therefore \cos x-\sin x=\frac{d t}{d x} \quad \Rightarrow \quad(\cos x-\sin x) d x=d t \\ & \therefore \quad \mathrm{I}_1=\int \frac{d t}{t}=\log |t|=\log |\sin x+\cos x| . \end{aligned} $


Note: Alternative solution for finding $\mathbf{I}_1$


$ \begin{aligned} \mathrm{I}_1=\int \frac{\cos x-\sin x}{\sin x+\cos x} d x=\log |\sin x+\cos x| & \\ & {\left[\because \int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)|\right] } \end{aligned} $


Substituting the value of $\mathrm{I}_1$ into ( $i$ ), required integral


$ =\frac{1}{2}[x-\log |\sin x+\cos x|]+c $
33. $\frac{1}{1-\tan \boldsymbol{x}}$
Sol.

Let $\mathrm{I}=\int \frac{1}{1-\tan x} d x=\int \frac{1}{1-\frac{\sin x}{\cos x}} d x=\int \frac{1}{\left(\frac{\cos x-\sin x}{\cos x}\right)} 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+\cos x}{\cos x-\sin x} d x $


Subtracting and adding $\sin x$ in the Numerator,


$ \begin{aligned} & =\frac{1}{2} \int \frac{\cos x-\sin x+\sin x+\cos x}{\cos x-\sin x} d x \\ & =\frac{1}{2} \int\left(\frac{\cos x-\sin x}{\cos x-\sin x}+\frac{\sin x+\cos x}{\cos x-\sin x}\right) d x=\frac{1}{2} \int\left(1+\frac{\sin x+\cos x}{\cos x-\sin x}\right) d x \\ & =\frac{1}{2}\left[\int 1 d x-\int \frac{-\sin x-\cos x}{\cos x-\sin x} d x\right] \\ & =\frac{1}{2}[x-\log |\cos x-\sin x|]+c\left[\because \int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)|\right] \end{aligned} $


Note: Alternative solution for evaluating $\int \frac{-\sin x-\cos x}{\cos x-\sin x} d x$, put denominator $\cos x-\sin x=t$.

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

Let $\mathrm{I}=\int \frac{\sqrt{\tan x}}{\sin x \cos x} d x=\int \frac{\sqrt{\tan x}}{\frac{\sin x}{\cos x} \cos x \cos x} d x$


$ =\int \frac{\sqrt{\tan x}}{\tan x \cos ^2 x} d x=\int \frac{\sec ^2 x}{\sqrt{\tan x}} d x \quad \text {… (i) } \quad\left[\because \frac{\sqrt{t}}{t}=\frac{1}{\sqrt{t}}\right] $


Put $\tan \boldsymbol{x}=\boldsymbol{t}$.


$ \begin{aligned} & \therefore \sec ^2 x=\frac{d t}{d x} \quad \Rightarrow \sec ^2 x d x=d t \\ & \therefore \quad \text { From (i), } \\ & \mathrm{I}=\int \frac{d t}{\sqrt{t}}=\int t^{-1 / 2} d t=\frac{t^{1 / 2}}{\frac{1}{2}}+c=2 \sqrt{t}+c=2 \sqrt{\tan x}+c \end{aligned} $
35. $\frac{(1+\log x)^2}{x}$
Sol.

Let $\mathrm{I}=\int \frac{(1+\log x)^2}{x} d x$


Put $1+\log x=t$


$ \begin{aligned} & \therefore \frac{1}{x}=\frac{d t}{d x} \quad \Rightarrow \frac{d x}{x}=d t \\ & \therefore \text { From }(i), \mathrm{I}=\int t^2 d t=\frac{t^3}{3}+c=\frac{1}{3}(1+\log x)^3+c \end{aligned} $
36. $\frac{(x+1)(x+\log x)^2}{x}$
Sol.

Let $\mathrm{I}=\int \frac{(x+1)(x+\log x)^2}{x} d x$


Put $x+\log x=t$

$\therefore \quad 1+\frac{1}{x}=\frac{d t}{d x} \Rightarrow \frac{x+1}{x}=\frac{d t}{d x} \Rightarrow\left(\frac{x+1}{x}\right) d x=d t$

Therefore, from (i), $\mathrm{I}=\int t^2 d t=\frac{t^3}{3}+c$

Putting $t=x+\log x, \frac{1}{3}(x+\log x)^3+c$.

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

Let $\mathrm{I}=\int \frac{x^3 \sin \left(\tan ^{-1} x^4\right)}{1+x^8} d x=\frac{1}{4} \int \sin \left(\tan ^{-1} x^4\right) \cdot \frac{4 x^3}{1+x^8} d x$


Put $\left(\tan ^{-1} x^4\right)=t$

[Rule for $\int \sin (f(x)) f^{\prime}(x) d x$; put $f(x)=t$ ]

$\therefore \quad \frac{1}{1+\left(x^4\right)^2} \quad \frac{d}{d x} x^4=\frac{d t}{d x}\left[\because \quad \frac{d}{d x} \tan ^{-1} f(x)=\frac{1}{1+(f(x))^2} \frac{d}{d x} f(x)\right]$

$\Rightarrow \frac{4 x^3}{1+x^8} d x=d t$

Therefore, from (i),


$ \mathrm{I}=\frac{1}{4} \int \sin t d t=-\frac{1}{4} \cos t+c \quad=\frac{-1}{4} \cos \left(\tan ^{-1} x^4\right)+c $


For Exercises 38 and 39 — choose the correct option:

38. $\int \frac{10 x^9+10^x \log _e 10 d x}{x^{10}+10^x}$ equals (A) $10^x-x^{10}+\mathrm{C}$ (B) $10^x+x^{10}+\mathrm{C}$ (C) $\left(10^x-x^{10}\right)^{-1}+\mathrm{C}$ (D) $\log \left(10^x+x^{10}\right)+\mathrm{C}$.
Sol.

Let $\mathrm{I}=\int \frac{10 x^9+10^x \log _e 10}{x^{10}+10^x} d x$


Put $\boldsymbol{x}^{\mathbf{1 0}} \boldsymbol{+} \mathbf{1 0}^{\boldsymbol{x}} \boldsymbol{=} \boldsymbol{t}$

$\therefore\left(10 x^9+10^x \log _e 10\right) d x=d t \quad\left[\because \frac{d}{d x}\left(a^x\right)=a^x \log _e a\right]$

Therefore, from (i), I $=\int \frac{d t}{t}=\log |t|+c$

Putting $t=x^{10}+10^x, \mathrm{I}=\log \left|x^{10}+10^x\right|+c$

or $\mathrm{I}=\log \left(10^x+x^{10}\right)+c$.

Hence, Option (D) is the correct answer.

OR

$\int \frac{10 x^9+10^x \log _e 10}{x^{10}+10^x} d x=\int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)|+c$




$ =\log \left|x^{10}+10^x\right|+c $

Hence, Option (D) is the correct answer.

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+\mathrm{C}$.
Sol.

$\int \frac{d x}{\sin ^2 x \cos ^2 x}=\int \frac{\sin ^2 x+\cos ^2 x}{\sin ^2 x \cos ^2 x} d x \quad\left[\because \quad 1=\sin ^2 x+\cos ^2 x\right]$


$ \begin{aligned} & =\int\left(\frac{\sin ^2 x}{\sin ^2 x \cos ^2 x}+\frac{\cos ^2 x}{\sin ^2 x \cos ^2 x}\right) d x \quad\left[\because \frac{a+b}{c}=\frac{a}{c}+\frac{b}{c}\right] \\ & =\int\left(\frac{1}{\cos ^2 x}+\frac{1}{\sin ^2 x}\right) d x=\int\left(\sec ^2 x+\operatorname{cosec}^2 x\right) d x \\ & =\int \sec ^2 x d x+\int \operatorname{cosec}^2 x d x=\tan x-\cot x+c \\ & \therefore \text { Option (B) is the correct answer. } \end{aligned} $
Exercise 7.3
1. $\sin ^2(2 x+5)$
Sol.

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


$ \begin{aligned} & {\left[\because \sin ^2 \theta=\frac{1}{2}(1-\cos 2 \theta) ; \text { put } \theta=2 x+5\right]} \\ & =\frac{1}{2} \int(1-\cos (4 x+10)) d x=\frac{1}{2}\left[\int 1 d x-\int \cos (4 x+10) d x\right] \\ & =\frac{1}{2}\left[x-\frac{\sin (4 x+10)}{4 \rightarrow \text { Coeff. of } x}\right]+c=\frac{1}{2} x-\frac{1}{8} \sin (4 x+10)+c . \end{aligned} $
2. $\boldsymbol{\operatorname { s i n }} \mathbf{3} \boldsymbol{x} \boldsymbol{\operatorname { c o s }} \mathbf{4} \boldsymbol{x}$
Sol.

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


$ \begin{aligned} & =\frac{1}{2} \int(\sin (3 x+4 x)+\sin (3 x-4 x) d x \\ & \quad[\because 2 \sin \mathrm{~A} \cos \mathrm{~B}=\sin (\mathrm{A}+\mathrm{B})+\sin (\mathrm{A}-\mathrm{B})] \\ & =\frac{1}{2} \int(\sin 7 x+\sin (-x)) d x=\frac{1}{2} \int(\sin 7 x-\sin x) d x \\ & =\frac{1}{2}\left[\int \sin 7 x d x-\int \sin x d x\right]=\frac{1}{2}\left[\frac{-\cos 7 x}{7}-(-\cos x)\right]+c \\ & =\frac{-1}{14} \cos 7 x+\frac{1}{2} \cos x+c . \end{aligned} $
3. $\cos 2 x \cos 4 x \cos 6 x$
Sol.

$\cos 2 x \cos 4 x \cos 6 x=\frac{1}{2}(2 \cos 6 x \cos 4 x) \cos 2 x$


$ \begin{aligned} = & \frac{1}{2}[\cos (6 x+4 x)+\cos (6 x-4 x)] \cos 2 x \\ & {[\because 2 \cos x \cdot \cos y=\cos (x+y)+\cos (x-y)] } \end{aligned} $




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


Note: We know that $\sin 3 \theta=3 \sin \theta-4 \sin ^3 \theta$

$\therefore 4 \sin ^3 \theta=3 \sin \theta-\sin 3 \theta$

Dividing by $4, \sin ^3 \theta=\frac{3}{4} \sin \theta-\frac{1}{4} \sin 3 \theta$


In a similar manner, $\cos ^3 \theta=\frac{3}{4} \cos \theta+\frac{1}{4} \cos 3 \theta$


$ \left[\because \quad \cos 3 \theta=4 \cos ^3 \theta-3 \cos \theta\right] $
4. $\sin ^3(2 x+1)$
Sol.

We now evaluate $\int \sin ^3(2 x+1) d x$

We know by Equation (i) of above note that $\sin ^3 \theta=\frac{3}{4} \sin \theta-\frac{1}{4} \sin 3 \theta$ Putting $\theta=2 x+1$, we have


$ \begin{aligned} & \sin ^3(2 x+1)=\frac{3}{4} \sin (2 x+1)-\frac{1}{4} \sin 3(2 x+1) \\ & =\frac{3}{4} \sin (2 x+1)-\frac{1}{4} \sin (6 x+3) \\ & \therefore \int \sin ^3(2 x+1) d x=\frac{3}{4} \int \sin (2 x+1) d x-\frac{1}{4} \int \sin (6 x+3) d x \\ & =\frac{3}{4}\left(\frac{-\cos (2 x+1)}{2}\right)-\frac{1}{4}\left(\frac{-\cos (6 x+3)}{6 \rightarrow \text { Coeff. of } x}\right)+c \\ & =\frac{-3}{8} \cos (2 x+1)+\frac{1}{24} \cos (6 x+3)+c . \end{aligned} $


OR

To integrate $\sin ^n x$ where $n$ is odd, put $\cos x=t$.


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


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

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

$\therefore \quad$ From $(i)$, the given integral $=\frac{-1}{2} \int\left(1-t^2\right) d t$




$ \begin{aligned} & =\frac{-1}{2}\left(t-\frac{t^3}{3}\right)+c=\frac{-1}{2} t+\frac{1}{6} t^3+c \\ & =\frac{-1}{2} \cos (2 x+1)+\frac{1}{6} \cos ^3(2 x+1)+c \end{aligned} $
5. $\sin ^3 x \cos ^3 x$
Sol.

$\int \sin ^3 x \cos ^3 x d x=\int(\sin x \cos x)^3 d x$


$ \begin{aligned} & =\int\left(\frac{1}{2} 2 \sin x \cos x\right)^3 d x=\int\left(\frac{1}{2} \sin 2 x\right)^3 d x \\ & =\frac{1}{8} \int \sin ^3 2 x d x=\frac{1}{8} \int\left(\frac{3}{4} \sin 2 x-\frac{1}{4} \sin 6 x\right) d x \\ & \quad\left(\text { Putting } \theta=2 x \text { in } \sin ^3 \theta=\frac{3}{4} \sin \theta-\frac{1}{4} \sin 3 \theta\right) \\ & =\frac{3}{32} \int \sin 2 x d x-\frac{1}{32} \int \sin 6 x d x \\ & =\frac{-3}{32} \frac{\cos 2 x}{2}-\frac{1}{32}\left(\frac{-\cos 6 x}{6}\right)+c=\frac{-3}{64} \cos 2 x+\frac{1}{192} \cos 6 x+c . \end{aligned} $


We now evaluate $\int \sin ^3 x \cos ^3 x d x$, Put either $\sin x=t$ or $\cos x=t$. (The form of answer given in N.C.E.R.T. book II can be obtained by putting $\cos x=t$ )

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

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


$ \begin{aligned} & =\frac{1}{2}[\cos (3 x-2 x)-\cos (3 x+2 x)] \sin x \\ & \quad[\because 2 \sin x \sin y=\cos (x-y)-\cos (x+y)] \\ & =\frac{1}{2}(\cos x-\cos 5 x) \sin x=\frac{1}{4}(2 \cos x \sin x-2 \cos 5 x \sin x) \\ & =\frac{1}{4}[\sin 2 x-\{\sin (5 x+x)-\sin (5 x-x)\}] \\ & \quad[\because 2 \cos x \sin y=\sin (x+y)-\sin (x-y)] \\ & =\frac{1}{4}(\sin 2 x-\sin 6 x+\sin 4 x) \\ & \therefore \int \sin x \sin 2 x \sin 3 x d x=\frac{1}{4} \int(\sin 2 x+\sin 4 x-\sin 6 x) d x \\ & =\frac{1}{4}\left[\int \sin 2 x d x+\int \sin 4 x d x-\int \sin 6 x d x\right] \\ & =\frac{1}{4}\left(-\frac{\cos 2 x}{2}-\frac{\cos 4 x}{4}+\frac{\cos 6 x}{6}\right)+c . \end{aligned} $
7. $\boldsymbol{\operatorname { s i n }} \mathbf{4} \boldsymbol{x} \boldsymbol{\operatorname { s i n }} \mathbf{8} \boldsymbol{x}$
Sol.

$\int \sin 4 x \sin 8 x d x=\frac{1}{2} \int 2 \sin 4 x \sin 8 x d x$


$ \begin{aligned} & =\frac{1}{2} \int[\cos (4 x-8 x)-\cos (4 x+8 x)] d x \\ & \quad[\because 2 \sin A \sin B=\cos (A-B)-\cos (A+B)] \end{aligned} $




$ \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 \\ & {[\because \cos (-\theta)=\cos \theta]} \\ & =\frac{1}{2}\left[\int \cos 4 x d x-\int \cos 12 x d x\right]=\frac{1}{2}\left[\frac{\sin 4 x}{4}-\frac{\sin 12 x}{12}\right]+c \end{aligned} $
8. $\frac{1-\cos x}{1+\cos x}$
Sol.

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


$ \begin{aligned} & \quad\left(\because 1-\cos \theta=2 \sin ^2 \frac{\theta}{2} \text { and } 1+\cos \theta=2 \cos ^2 \frac{\theta}{2}\right) \\ & =\int\left(\sec ^2 \frac{x}{2}-1\right) d x \quad\left(\because \tan ^2 \theta=\sec ^2 \theta-1\right) \\ & =\int \sec ^2 \frac{x}{2} d x-\int 1 d x=\frac{\tan \frac{x}{2}}{\frac{1}{2} \rightarrow \text { Coeff. of } x}-x+c=2 \tan \frac{x}{2}-x+c \end{aligned} $
9. $\frac{\cos x}{1+\cos x}$
Sol.

$\int \frac{\cos x}{1+\cos x} d x$

Adding and subtracting 1 in the numerator of integrand,


$ \begin{aligned} & =\int \frac{1+\cos x-1}{1+\cos x} d x=\int\left(\frac{1+\cos x}{1+\cos x}-\frac{1}{1+\cos x}\right) d x\left(\because \frac{a-b}{c}=\frac{a}{c}-\frac{b}{c}\right) \\ & =\int\left(1-\frac{1}{2 \cos ^2 \frac{x}{2}}\right) d x=\int 1 d x-\frac{1}{2} \int \sec ^2 \frac{x}{2} d x \\ & =x-\frac{1}{2} \frac{\tan \frac{x}{2}}{\frac{1}{2}}+c=x-\tan \frac{x}{2}+c . \end{aligned} $


Find the integrals of the functions in Exercises 10 to 18:

10. $\sin ^4 x$
Sol.

$\int \sin ^4 x d x=\int\left(\sin ^2 x\right)^2 d x=\int\left(\frac{1-\cos 2 x}{2}\right)^2 d x$


$ \begin{aligned} & =\int \frac{(1-\cos 2 x)^2}{4} d x=\frac{1}{4} \int\left(1+\cos ^2 2 x-2 \cos 2 x\right) d x \\ & =\frac{1}{4} \int\left(1+\left(\frac{1+\cos 4 x}{2}\right)-2 \cos 2 x\right) d x\left[\because \cos ^2 \theta=\frac{1+\cos 2 \theta}{2}\right] \end{aligned} $




$ \begin{aligned} & =\frac{1}{4} \int\left(\frac{2+1+\cos 4 x-4 \cos 2 x}{2}\right) d x=\frac{1}{8} \int(3+\cos 4 x-4 \cos 2 x) d x \\ & =\frac{1}{8}\left[3 \int 1 d x+\int \cos 4 x d x-4 \int \cos 2 x d x\right] \\ & =\frac{1}{8}\left[3 x+\frac{\sin 4 x}{4}-\frac{4 \sin 2 x}{2}\right]+c=\frac{3}{8} x+\frac{1}{32} \sin 4 x-\frac{1}{4} \sin 2 x+c \end{aligned} $
11. $\cos ^4 2 x$
Sol.

$\int \cos ^4 2 x d x=\int\left(\cos ^2 2 x\right)^2 d x$


$ \begin{aligned} & =\int\left(\frac{1+\cos 4 x}{2}\right)^2 d x=\int \frac{1}{4}(1+\cos 4 x)^2 d x \\ & =\frac{1}{4} \int\left(1+\cos ^2 4 x+2 \cos 4 x\right) d x \\ & =\frac{1}{4} \int\left(1+\frac{1+\cos 8 x}{2}+2 \cos 4 x\right) d x \quad\left[\because \cos ^2 \theta=\frac{1+\cos 2 \theta}{2}\right] \\ & =\frac{1}{4} \int\left(\frac{2+1+\cos 8 x+4 \cos 4 x}{2}\right) d x=\frac{1}{8} \int(3+\cos 8 x+4 \cos 4 x) d x \\ & =\frac{1}{8}\left[3 \int 1 d x+\int \cos 8 x d x+4 \int \cos 4 x d x\right] \\ & =\frac{1}{8}\left[3 x+\frac{\sin 8 x}{8}+\frac{4 \sin 4 x}{4}\right]+c=\frac{3}{8} x+\frac{1}{64} \sin 8 x+\frac{1}{8} \sin 4 x+c \end{aligned} $
12. $\frac{\sin ^2 x}{1+\cos x}$
Sol.

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


$ =\int(1-\cos x) d x=\int 1 d x-\int \cos x d x=x-\sin x+c $


Note: It may be noted that letters $a, b, c, d, \ldots, q$ of English Alphabet and letters $\alpha, \beta, \gamma, \delta$ of Greek Alphabet are generally treated as constants.

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

$\int \frac{\cos 2 x-\cos 2 \alpha}{\cos x-\cos \alpha} d x=\int \frac{\left(2 \cos ^2 x-1\right)-\left(2 \cos ^2 \alpha-1\right)}{\cos x-\cos \alpha} d x$


$ \begin{aligned} & =\int \frac{2 \cos ^2 x-1-2 \cos ^2 \alpha+1}{\cos x-\cos \alpha} d x \quad=\int \frac{2 \cos ^2 x-2 \cos ^2 \alpha}{\cos x-\cos \alpha} d x \\ & =2 \int \frac{\cos ^2 x-\cos ^2 \alpha}{\cos x-\cos \alpha} d x=2 \int \frac{(\cos x-\cos \alpha)(\cos x+\cos \alpha)}{(\cos x-\cos \alpha)} d x \\ & =2 \int(\cos x+\cos \alpha) d x=2\left[\int \cos x d x+\int \cos \alpha d x\right] \\ & =2\left[\sin x+\cos \alpha \int \mathbf{1} d x\right]=2[\sin x+(\cos \alpha) x]+c \\ & =2 \sin x+2 x \cos \alpha+c . \end{aligned} $




Remark: $\int \sin a d x=\sin a \int 1 d x=x \sin a$.

Please note that $\int \sin a d x \neq-\cos a$.

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

Let $\mathrm{I}=\int \frac{\cos x-\sin x}{1+\sin 2 x} d x=\int \frac{\cos x-\sin x}{\cos ^2 x+\sin ^2 x+2 \sin x \cos x} d x$


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


Put $\boldsymbol{\operatorname { c o s }} \boldsymbol{x} \boldsymbol{+} \boldsymbol{\operatorname { s i n }} \boldsymbol{x} \boldsymbol{=} \boldsymbol{t} \boldsymbol{.}$

$\therefore-\sin x+\cos x=\frac{d t}{d x}$. Therefore $(\cos x-\sin x) d x=d t$.

Therefore, from (i), I $=\int \frac{d t}{t^2}=\int t^{-2} d t=\frac{t^{-1}}{-1}+c$

$\mathrm{I}=\frac{-1}{t}+c=\frac{-1}{\cos x+\sin x}+c$.

15. $\tan ^3 2 x \sec 2 x$
Sol.

Let $\mathrm{I}=\int \tan ^3 2 x \sec 2 x d x=\int \tan ^2 2 x \tan 2 x \sec 2 x d x$


$ \begin{aligned} & =\int\left(\sec ^2 2 x-1\right) \sec 2 x \tan 2 x d x \quad\left[\because \tan ^2 \theta=\sec ^2 \theta-1\right] \\ & =\frac{1}{2} \int\left(\sec ^2 2 x-1\right)(2 \sec 2 x \tan 2 x) d x \end{aligned} $


Put $\sec 2 x=t$. Therefore $\sec 2 x \tan 2 x \frac{d}{d x}(2 x)=\frac{d t}{d x}$

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


$ \begin{aligned} \therefore \text { From }(i), \mathrm{I} & =\frac{1}{2} \int\left(t^2-1\right) d t=\frac{1}{2}\left(\int t^2 d t-\int 1 d t\right) \\ & =\frac{1}{2}\left(\frac{t^3}{3}-t\right)+c=\frac{1}{6} t^3-\frac{1}{2} t+c \end{aligned} $


Putting $t=\sec 2 x,=\frac{1}{6} \sec ^3 2 x-\frac{1}{2} \sec 2 x+c$.

16. $\tan ^4 x$
Sol.

$\int \tan ^4 x d x=\int \tan ^2 x \tan ^2 x d x=\int \tan ^2 x\left(\sec ^2 x-1\right) d x$

$=\int\left(\tan ^2 x \sec ^2 x-\tan ^2 x\right) d x=\int \tan ^2 x \sec ^2 x d x-\int \tan ^2 x d x$

$=\int \tan ^2 x \sec ^2 x d x-\int\left(\sec ^2 x-1\right) d x$

$=\int \tan ^2 x \sec ^2 x d x-\int \sec ^2 x d x+\int 1 d x$

For this integral, put $\boldsymbol{\operatorname { t a n }} \boldsymbol{x}=\boldsymbol{t}$.

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





$ =\int t^2 d t-\tan x+x+c=\frac{t^3}{3}-\tan x+x+c $


Put $t=\tan 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}$
Sol.

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


$ \begin{aligned} & =\int\left(\frac{\sin x}{\cos ^2 x}+\frac{\cos x}{\sin ^2 x}\right) d x=\int\left(\frac{\sin x}{c}=\frac{a+b}{c}+\frac{b}{c}\right) \\ & =\int(\tan x \sec x+\cos x \operatorname{cosec} x) d x \\ & =\int \sec x \tan x d x+\int \operatorname{cosec} x \cot x d x=\sec x-\operatorname{cosec} x+c \end{aligned} $
18. $\frac{\cos 2 x+2 \sin ^2 x}{\cos ^2 x}$
Sol.

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


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


Integrate the functions in Exercises 19 to 22:

Note: Method to evaluate $\int \frac{1}{\sin ^p x \cos ^q x} d x$ if $(p+q)$ is a negative even integer ( $=-n$ (say)); then multiply Numerator and Denominator of integrand by $\sec ^n x$.

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

Let $\mathrm{I}=\int \frac{1}{\sin x \cos ^3 x} d x$


Here $p+q=-1-3=-4$ is a negative even integer.

So multiplying both Numerator and Denominator of integrand of (i) by $\sec ^4 x$,


$ \begin{aligned} \mathrm{I}= & \int \frac{\sec ^4 x}{\sin x \cos ^3 x \sec ^4 x} d x=\int \frac{\sec ^4 x}{\tan x} d x \\ & \left(\because \sin x \cos ^3 x \sec ^4 x=\sin x \cos ^3 x \cdot \frac{1}{\cos ^4 x}=\frac{\sin x}{\cos x}=\tan x\right) \\ \text { or } \quad \mathrm{I}= & \int \frac{\sec ^2 x \sec ^2 x}{\tan x} d x=\int \frac{\left(1+\tan ^2 x\right) \sec ^2 x}{\tan x} d x \end{aligned} $


Put $\tan x=t$




$ \begin{array}{ll} \therefore & \sec ^2 x=\frac{d t}{d x} \Rightarrow \sec ^2 x d x=d t \\ \therefore & \text { From }(i i), I=\int \frac{\left(1+t^2\right)}{t} d t=\int\left(\frac{1}{t}+\frac{t^2}{t}\right) d t \\ & =\int\left(\frac{1}{t}+t\right) d t=\int \frac{1}{t} d t+\int t d t=\log |t|+\frac{t^2}{2}+c \end{array} $


Putting $t=\tan x,=\log |\tan x|+\frac{1}{2} \tan ^2 x+c$.

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

Let $\mathrm{I}=\int \frac{\cos 2 x}{(\cos x+\sin x)^2} d x=\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)(\cos x+\sin x)} d x=\int \frac{\cos x-\sin x}{\cos x+\sin x} d x $


Put DENOMINATOR $\cos x+\sin x=t$


$ \begin{aligned} & \therefore-\sin x+\cos x=\frac{d t}{d x} \Rightarrow(\cos x-\sin x) d x=d t \\ & \therefore \quad \text { From }(i), I=\int \frac{d t}{t}=\log |t|+c \quad=\log |\cos x+\sin x|+c \end{aligned} $


Note: Another method to evaluate integral (i) is, apply


$ \int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)| $
21. $\sin ^{-1}(\cos x)$
Sol.

$\int \sin ^{-1}(\cos x) d x=\int \sin ^{-1} \sin \left(\frac{\pi}{2}-x\right) d x$


$ \begin{aligned} & =\int\left(\frac{\pi}{2}-x\right) d x=\int \frac{\pi}{2} d x-\int x d x \\ & =\frac{\pi}{2} \int 1 d x-\int x^1 d x=\frac{\pi}{2} x-\frac{x^2}{2}+c . \end{aligned} $
22. $\frac{1}{\cos (x-a) \cos (x-b)}$
Sol.

Let $\mathrm{I}=\int \frac{1}{\cos (x-a) \cos (x-b)} d x$


Here $(x-a)-(x-b)=x-a-x+b=b-a$


By looking at Equation (ii), dividing and multiplying the integrand in

(i) by $\sin (b-a)$,


$ \begin{aligned} & \mathrm{I}=\frac{1}{\sin (b-a)} \int \frac{\sin (b-a)}{\cos (x-a) \cos (x-b)} d x \\ &=\frac{1}{\sin (b-a)} \int \frac{\sin [(x-a)-(x-b)]}{\cos (x-a) \cos (x-b)} d x \quad[\mathrm{By}(i i)] \\ &=\frac{1}{\sin (b-a)} \int \frac{\sin (x-a) \cos (x-b)-\cos (x-a) \sin (x-b)}{\cos (x-a) \cos (x-b)} d x \\ & {[\because \quad \sin (\mathrm{~A}-\mathrm{B})=\sin \mathrm{A} \cos \mathrm{~B}-\cos \mathrm{A} \sin \mathrm{~B}] } \end{aligned} $




$ \begin{aligned} & =\frac{1}{\sin (b-a)} \int\left[\frac{\sin (x-a) \cos (x-b)}{\cos (x-a) \cos (x-b)}-\frac{\cos (x-a) \sin (x-b)}{\cos (x-a) \cos (x-b)}\right] d x \\ & \quad\left(\because \frac{\mathrm{~A}-\mathrm{B}}{\mathrm{C}}=\frac{\mathrm{A}}{\mathrm{C}}-\frac{\mathrm{B}}{\mathrm{C}}\right) \\ & =\frac{1}{\sin (b-a)} \int[\tan (x-a)-\tan (x-b)] d x \\ & =\frac{1}{\sin (b-a)}[-\log |\cos (x-a)|+\log |\cos (x-b)|]+c \\ & \quad\left(\because \int \tan x d x=-\log |\cos x|\right) \\ & =\frac{1}{\sin (b-a)} \log \left|\frac{\cos (x-b)}{\cos (x-a)}\right|+c .\left(\because \log m-\log n=\log \frac{m}{n}\right) \end{aligned} $


For Exercises 23 and 24 — choose the correct option:

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+\mathrm{C}$ (B) $\tan x+\operatorname{cosec} x+\mathrm{C}$ (C) $-\tan x+\cot x+\mathrm{C}$ (D) $\tan x+\sec x+\mathrm{C}$
Sol.

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


$ \begin{aligned} & =\int\left(\frac{\sin ^2 x}{\sin ^2 x \cos ^2 x}-\frac{\cos ^2 x}{\sin ^2 x \cos ^2 x}\right) d x \quad\left[\because \frac{a-b}{c}=\frac{a}{c}-\frac{b}{c}\right] \\ & =\int\left(\frac{1}{\cos ^2 x}-\frac{1}{\sin ^2 x}\right) d x=\int\left(\sec ^2 x-\operatorname{cosec}^2 x\right) d x \\ & =\int \sec ^2 x d x-\int \operatorname{cosec}^2 x d x=\tan x-(-\cot x)+\mathrm{C} \\ & =\tan x+\cot x+\mathrm{C} \quad \therefore \quad \text { Option (A) is the correct answer. } \end{aligned} $
24. $\int \frac{e^x(1+x)}{\cos ^2\left(e^x x\right)} d x$ equals (A) $-\cot \left(e x^x\right)+\mathrm{C}$ (B) $\tan \left(x e^{\mathrm{x}}\right)+\mathrm{C}$ (C) $\tan \left(e^x\right)+\mathrm{C}$ (D) $\cot \left(e^x\right)+\mathrm{C}$
Sol.

Let $\mathrm{I}=\int \frac{e^x(1+x)}{\cos ^2\left(e^x x\right)} d x$


Put $e^x \cdot x=t$

[We now evaluate $\int$ (T-function or Inverse T-function $\left.f(x)\right) f^{\prime}(x) d x$, put $f(x)=t]$

Applying Product Rule, $e^x \cdot 1+x e^x=\frac{d t}{d x}$

or $e^x(1+x) d x=d t$

Therefore, from (i), I $=\int \frac{d t}{\cos ^2 t}=\int \sec ^2 t d t$

$=\tan t+\mathrm{C}=\tan \left(x e^x\right)+\mathrm{C} \therefore$ Option (B) is the correct answer.

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

Let $\mathrm{I}=\int \frac{3 x^2}{x^6+1} d x=\int \frac{3 x^2}{\left(x^3\right)^2+1^2} d x$


Put $\boldsymbol{x}^{\mathbf{3}}=\boldsymbol{t}$

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

∴ From $(i), \mathrm{I}=\int \frac{d t}{t^2+1^2}=\frac{1}{1} \tan ^{-1} \frac{t}{1}+\mathrm{C}$


$ \left[\because \int \frac{1}{x^2+a^2} d x=\frac{1}{a} \tan ^{-1} \frac{x}{a}\right] $


Putting $t=x^3 ;=\tan ^{-1}\left(x^3\right)+\mathrm{C}$.

Note: $a x^2+b(a \neq 0)$ is called a pure quadratic.

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

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

Using $\int \frac{1}{\sqrt{x^2+a^2}} d x=\log \left|x+\sqrt{x^2+a^2}\right|$,

$\mathrm{I}=\frac{\log \left|(2 x)+\sqrt{(2 x)^2+1^2}\right|}{2 \rightarrow \text { Coeff. of } x}+\mathrm{C}=\frac{1}{2} \log \left|2 x+\sqrt{4 x^2+1}\right|+\mathrm{C}$.

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

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

Using $\int \frac{1}{\sqrt{x^2+a^2}} d x=\log \left|x+\sqrt{x^2+a^2}\right|$,

$=\frac{\log \left|(2-x)+\sqrt{(2-x)^2+1^2}\right|}{-1 \rightarrow \text { Coeff. of } x}+\mathrm{C}$

$=-\log \left|2-x+\sqrt{4+x^2-4 x+1}\right|+\mathrm{C}$

$=\log \left|\frac{1}{2-x+\sqrt{x^2-4 x+5}}\right|+\mathrm{C}$.


$ \left[\because \quad-\log \frac{m}{n}=-(\log m-\log n)=\log n-\log m=\log \frac{n}{m}\right] $
4. $\frac{1}{\sqrt{9-25 x^2}}$
Sol.

Let $\mathrm{I}=\int \frac{1}{\sqrt{9-25 x^2}} d x=\int \frac{1}{\sqrt{3^2-(5 x)^2}} d x$


$ \begin{aligned} & =\frac{\sin ^{-1} \frac{5 x}{3}}{5 \rightarrow \text { Coeff. of } x}+\mathrm{C} \quad\left[\because \int \frac{1}{\sqrt{a^2-x^2}} d x=\sin ^{-1} \frac{x}{a}\right] \\ & =\frac{1}{5} \sin ^{-1}\left(\frac{5 x}{3}\right)+\mathrm{C} . \end{aligned} $
5. $\frac{3 \boldsymbol{x}}{\mathbf{1}+\mathbf{2} \boldsymbol{x}^{\mathbf{4}}}$
Sol.

Let $\mathrm{I}=\int \frac{3 x}{1+2 x^4} d x=\frac{3}{2} \int \frac{2 x}{1+2\left(x^2\right)^2} d x$


Put $x^2=t . \quad \therefore \quad 2 x=\frac{d t}{d x} \quad \Rightarrow \quad 2 x d x=d t$

Therefore, from (i), I $=\frac{3}{2} \int \frac{d t}{1+2 t^2}=\frac{3}{2} \int \frac{1}{(\sqrt{2} t)^2+1^2} d t$


$ =\frac{3}{2} \frac{\frac{1}{1} \tan ^{-1} \frac{\sqrt{2} t}{1}}{\sqrt{2} \rightarrow \text { Coeff. of } t}+\mathrm{C}=\frac{3}{2 \sqrt{2}} \tan ^{-1}(\sqrt{2} t)+\mathrm{C} $


Putting $t=x^2,=\frac{3}{2 \sqrt{2}} \tan ^{-1}\left(\sqrt{2} x^2\right)+\mathrm{C}$.

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

Let $\mathrm{I}=\int \frac{x^2}{1-x^6} d x=\int \frac{x^2}{1-\left(x^3\right)^2} d x=\frac{1}{3} \int \frac{3 x^2}{1-\left(x^3\right)^2} d x$

Put $x^3=t$. Therefore $3 x^2=\frac{d t}{d x} \Rightarrow 3 x^2 d x=d t$.

$\therefore \quad \mathrm{I}=\frac{1}{3} \int \frac{d t}{1-t^2}=\frac{1}{3} \int \frac{1}{1^2-t^2} d t=\frac{1}{3} \frac{1}{2 \times 1} \log \left|\frac{1+t}{1-t}\right|+\mathrm{C} \left[\because \int \frac{1}{a^2-x^2} d x=\frac{1}{2 a} \log \left|\frac{a+x}{a-x}\right|\right]$

Putting $t=x^3,=\frac{1}{6} \log \left|\frac{1+x^3}{1-x^3}\right|+\mathrm{C}$.

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

Let $\mathrm{I}=\int \frac{x-1}{\sqrt{x^2-1}} d x=\int\left(\frac{x}{\sqrt{x^2-1}}-\frac{1}{\sqrt{x^2-1}}\right) d x$




$ \begin{aligned} & =\int \frac{x}{\sqrt{x^2-1}} d x-\int \frac{1}{\sqrt{x^2-1^2}} d x \\ & =\frac{1}{2} \int \frac{2 x}{\sqrt{x^2-1}} d x-\log \left|x+\sqrt{x^2-1^2}\right| \\ & \quad\left(\because \int \frac{1}{\sqrt{x^2-a^2}} d x=\log \left|x+\sqrt{x^2-a^2}\right|\right) \end{aligned} $


Let $\mathrm{I}_1=\int \frac{2 x}{\sqrt{x^2-1}} d x$

Put $x^2-1=t$. Therefore $2 x=\frac{d t}{d x} \Rightarrow 2 x d x=d t$


$ \therefore \quad \mathrm{I}_1=\int \frac{d t}{\sqrt{t}}=\int t^{-1 / 2} d t=\frac{t^{1 / 2}}{\frac{1}{2}}=2 \sqrt{t} \quad=2 \sqrt{x^2-1}+\mathrm{C} $


Substituting this value of $\mathrm{I}_1=\int \frac{2 x}{\sqrt{x^2-1}} d x$ back into (i),


$ \begin{aligned} \mathrm{I} & =\frac{1}{2}\left(2 \sqrt{x^2-1}+\mathrm{C}\right)-\log \left|x+\sqrt{x^2-1}\right| \\ & =\sqrt{x^2-1}+\frac{\mathrm{C}}{2}-\log \left|x+\sqrt{x^2-1}\right| \\ & =\sqrt{x^2-1}-\log \left|x+\sqrt{x^2-1}\right|+\mathrm{C}_1 \text { where } \mathrm{C}_1=\frac{\mathrm{C}}{2} \end{aligned} $
8. $\frac{x^2}{\sqrt{x^6+a^6}}$
Sol.

Let $\mathrm{I}=\int \frac{x^2}{\sqrt{x^6+a^6}} d x=\frac{1}{3} \int \frac{3 x^2}{\sqrt{\left(x^3\right)^2+a^6}} d x$


Put $\boldsymbol{x}^3=\boldsymbol{t}$. Therefore $3 x^2=\frac{d t}{d x} \Rightarrow 3 x^2 d x=d t$.

Therefore, from (i), $\mathrm{I}=\frac{1}{3} \int \frac{d t}{\sqrt{t^2+a^6}}=\frac{1}{3} \int \frac{1}{\sqrt{t^2+\left(a^3\right)^2}} d t$

$=\frac{1}{3} \log \left|t+\sqrt{t^2+\left(a^3\right)^2}\right|+\mathrm{C}\left[\because \int \frac{1}{\sqrt{x^2+a^2}} d x=\log \left|x+\sqrt{x^2+a^2}\right|\right]$

Putting $t=x^3,=\frac{1}{3} \log \left|x^3+\sqrt{x^6+a^6}\right|+\mathrm{C}$.

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

Let $\mathrm{I}=\int \frac{\sec ^2 x}{\sqrt{\tan ^2 x+4}} d x$




$ \begin{aligned} & \text { Put } \tan x=\text { t. } \quad \therefore \quad \sec ^2 x=\frac{d t}{d x} \Rightarrow \sec ^2 x d x=d t \\ & \therefore \quad \text { From }(i), \mathrm{I}=\int \frac{d t}{\sqrt{t^2+4}}=\int \frac{1}{\sqrt{t^2+2^2}} d t \\ & =\log \left|t+\sqrt{t^2+2^2}\right|+\mathrm{C}\left[\because \int \frac{1}{\sqrt{x^2+a^2}} d x=\log \left|x+\sqrt{x^2+a^2}\right|\right] \end{aligned} $


Putting $t=\tan x, \mathrm{I}=\log \left|\tan x+\sqrt{\tan ^2 x+4}\right|+\mathrm{C}$.

Integrate the following functions in Exercises 10 to 18:

Note: Rule for evaluating


$ \int \frac{1}{\text { Quadratic }} d x \text { or } \int \frac{1}{\sqrt{\text { Quadratic }}} d x \text { or } \int \sqrt{\text { Quadratic }} d x $


Write Quadratic. Take coefficient of $x^2$ common to make it unity. Then complete squares by adding and subtracting $\left(\frac{1}{2} \text { coefficient of } x\right)^2$

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

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


$ \begin{aligned} & \text { Using } \int \frac{1}{\sqrt{x^2+a^2}} d x=\log \left|x+\sqrt{x^2+a^2}\right| \\ & =\log \left|x+1+\sqrt{(x+1)^2+1^2}\right|+c=\log \left|x+1+\sqrt{x^2+2 x+2}\right|+c . \end{aligned} $
11. $\frac{1}{9 x^2+6 x+5}$
Sol.

Let $\mathrm{I}=\int \frac{1}{9 x^2+6 x+5} d x$

$\int \frac{1}{\text { Quadratic }} d x$

Here Quadratic expression $=9 x^2+6 x+5$

Making coefficient of $x^2$ unity, $=9\left(x^2+\frac{6 x}{9}+\frac{5}{9}\right)$

$=9\left(x^2+\frac{2 x}{3}+\frac{5}{9}\right)$

Completing the square by adding and subtracting $\left(\frac{1}{2} \text { Coefficient of } x\right)^2$


$ =\left(\left(\frac{1}{2} \times \frac{2}{3}\right)^2=\left(\frac{1}{3}\right)^2=\frac{1}{9}\right)=9\left(x^2+\frac{2 x}{3}+\left(\frac{1}{3}\right)^2-\frac{1}{9}+\frac{5}{9}\right) $



$ =9\left(\left(x+\frac{1}{3}\right)^2+\frac{4}{9}\right) \Rightarrow 9 x^2+6 x+5=9\left[\left(x+\frac{1}{3}\right)^2+\left(\frac{2}{3}\right)^2\right] $


Substituting this value back into (i), $\quad \mathrm{I}=\int \frac{1}{9\left[\left(x+\frac{1}{3}\right)^2+\left(\frac{2}{3}\right)^2\right]} d x$


$ \begin{aligned} & =\frac{1}{9} \int \frac{1}{\left(x+\frac{1}{3}\right)^2+\left(\frac{2}{3}\right)^2} d x \\ & =\frac{1}{9} \frac{1}{\left(\frac{2}{3}\right)} \tan ^{-1} \frac{x+\frac{1}{3}}{\frac{2}{3}}+c \quad\left(\because \int \frac{1}{x^2+a^2} d x=\frac{1}{a} \tan ^{-1} \frac{x}{a}\right) \\ & =\frac{1}{9} \cdot \frac{3}{2} \tan ^{-1}\left(\frac{\frac{3 x+1}{3}}{\frac{2}{3}}\right)+c=\frac{1}{6} \tan ^{-1}\left(\frac{3 x+1}{2}\right)+c . \end{aligned} $
12. $\frac{1}{\sqrt{7-6 x-x^2}}$
Sol.

Let $\mathrm{I}=\int \frac{1}{\sqrt{7-6 x-x^2}} d x \quad \ldots$ (i) $\quad$ Type $\int \frac{1}{\text { Quadratic }} d x$

Here Quadratic expression is $7-6 x-x^2=-x^2-6 x+7$.

Making coefficient of $x^2$ unity, $=-\left(x^2+6 x-7\right)$.

Completing the square by adding and subtracting $\left(\frac{1}{2} \text { coefficient of } x\right)^2$


$ \begin{aligned} & =\left(\frac{1}{2} \times 6\right)^2=9 \\ & =-\left[x^2+6 x+9-9-7\right]=-\left[(x+3)^2-16\right] \\ & =-(x+3)^2+16=4^2-(x+3)^2 \end{aligned} $

(Note: Must adjust negative sign outside Equation (ii) in the bracket as shown above because otherwise we shall get $\sqrt{-1}=i$ on taking square roots.]

Substituting the value of quadratic expression from (iii) back into (i),


$ \begin{aligned} I=\int \frac{1}{\sqrt{4^2-(x+3)^2}} d x=\sin ^{-1} & \left(\frac{x+3}{4}\right)+c \\ & {\left[\because \int \frac{1}{\sqrt{a^2-x^2}} d x=\sin ^{-1} \frac{x}{a}\right] } \end{aligned} $
13. $\frac{1}{\sqrt{(x-1)(x-2)}}$
Sol.

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




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


Here quadratic expression is $x^2-3 x+2$. Coefficient of $x^2$ is already unity. Completing the square by adding and subtracting


$ \begin{aligned} & \left(\frac{1}{2} \text { coefficient of } x\right)^2, \text { i.e., }\left(-\frac{3}{2}\right)^2=\left(\frac{3}{2}\right)^2 \\ & x^2-3 x+2=x^2-3 x+\left(\frac{3}{2}\right)^2-\frac{9}{4}+2 \\ & =\left(x-\frac{3}{2}\right)^2-\frac{1}{4} \quad\left[\because \frac{-9}{4}+2=\frac{-9+8}{4}=\frac{-1}{4}\right] \\ & =\left(x-\frac{3}{2}\right)^2-\left(\frac{1}{2}\right)^2 \end{aligned} $


Substituting this value back into (i), $\mathrm{I}=\int \frac{1}{\sqrt{\left(x-\frac{3}{2}\right)^2-\left(\frac{1}{2}\right)^2}} d x$


$ \begin{aligned} & =\log \left|x-\frac{3}{2}+\sqrt{\left(x-\frac{3}{2}\right)^2-\left(\frac{1}{2}\right)^2}\right|+c \\ & \quad\left[\because \int \frac{1}{\sqrt{x^2-a^2}} d x=\log \left|x+\sqrt{x^2-a^2}\right|\right] \end{aligned} $


$ =\log \left|x-\frac{3}{2}+\sqrt{x^2-3 x+2}\right|+c . $
14. $\frac{1}{\sqrt{8+3 x-x^2}}$
Sol.

Let $\mathrm{I}=\int \frac{1}{\sqrt{8+3 x-x^2}} d x$


Here quadratic expression is $8+3 x-x^2=-x^2+3 x+8$.

Making coefficient of $x^2$ unity, $=-\left(x^2-3 x-8\right)$.

Completing the square by adding and subtracting

$\left(\frac{1}{2} \text { coefficient of } x\right)^2=\left(\frac{3}{2}\right)^2$


$ \begin{aligned} 8+3 x-x^2 & =-\left(x^2-3 x+\left(\frac{3}{2}\right)^2-\left(\frac{3}{2}\right)^2-8\right) \\ =-\left[\left(x-\frac{3}{2}\right)^2-\frac{9}{4}-8\right] & =-\left[\left(x-\frac{3}{2}\right)^2-\frac{41}{4}\right]=\frac{41}{4}-\left(x-\frac{3}{2}\right)^2 \end{aligned} $

(See Note given in the solution of Q.N. 12)


$ =\left(\frac{\sqrt{41}}{2}\right)^2-\left(x-\frac{3}{2}\right)^2 $




$ \begin{aligned} & \text { Putting this value in }(i), \mathrm{I}=\int \frac{1}{\sqrt{\left(\frac{\sqrt{41}}{2}\right)^2-\left(x-\frac{3}{2}\right)^2}} d x \\ & \quad=\sin ^{-1} \frac{x-\frac{3}{2}}{\frac{\sqrt{41}}{2}}+c \quad\left[\because \int \frac{1}{\sqrt{a^2-x^2}} d x=\sin ^{-1} \frac{x}{a}\right] \\ & \quad=\sin ^{-1}\left(\frac{2 x-3}{\sqrt{41}}\right)+c \end{aligned} $
15. $\frac{1}{\sqrt{(x-a)(x-b)}}$
Sol.

Let $\mathrm{I}=\int \frac{1}{\sqrt{(x-a)(x-b)}} d x=\int \frac{1}{\sqrt{x^2-b x-a x+a b}} d x$


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


Here Quadratic expression $=x^2-x(a+b)+a b$

Adding and subtracting $\left(\frac{1}{2} \text { coefficient of } x\right)^2=\left(\frac{a+b}{2}\right)^2$


$ \begin{aligned} & =x^2-x(a+b)+\left(\frac{a+b}{2}\right)^2-\left(\frac{a+b}{2}\right)^2+a b \\ & =\left(x-\left(\frac{a+b}{2}\right)\right)^2-\left(\frac{(a+b)^2}{4}-a b\right) \\ & =\left(x-\left(\frac{a+b}{2}\right)\right)^2-\left(\frac{(a+b)^2-4 a b}{4}\right)=\left(x-\left(\frac{a+b}{2}\right)\right)^2-\frac{(a-b)^2}{4} \\ & =\left(x-\left(\frac{a+b}{2}\right)\right)^2-\left(\frac{a-b}{2}\right)^2 \\ & \quad\left(\because \quad(a+b)^2-4 a b=a^2+b^2+2 a b-4 a b\right. \\ & \left.\quad=a^2+b^2-2 a b=(a-b)^2\right) \end{aligned} $


Substituting this value back into (i),


$ \begin{aligned} I & =\int \frac{1}{\sqrt{\left(x-\left(\frac{a+b}{2}\right)\right)^2-\left(\frac{a-b}{2}\right)^2}} d x \\ & =\log \left|x-\left(\frac{a+b}{2}\right)+\sqrt{\left(x-\left(\frac{a+b}{2}\right)\right)^2-\left(\frac{a-b}{2}\right)^2}\right|+c \\ & \quad\left[\because \int \frac{1}{\sqrt{x^2-a^2}} d x=\log \left|x+\sqrt{x^2-a^2}\right|\right] \end{aligned} $




$ =\log \left|x-\left(\frac{a+b}{2}\right)+\sqrt{x^2-x(a+b)+a b}\right|+c $


Note: Method to evaluate $\int \frac{\text { Linear }}{\text { Quadratic }} d x$ or $\int \frac{\text { Linear }}{\sqrt{\text { Quadratic }}} d x$ or $\int$ Linear $\sqrt{\text { Quadratic }} \boldsymbol{d} \boldsymbol{x}$.

Write linear $=\mathrm{A} \frac{d}{d x}($ Quadratic $)+\mathrm{B}$.

Find values of A and B by comparing coefficients of $x$ and constant terms on both sides.

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

Let $\mathrm{I}=\int \frac{4 x+1}{\sqrt{2 x^2+x-3}} d x$


Here $\frac{d}{d x}$ (Quadratic $2 x^2+x-3$ ) is ( $4 x+1$ ), the numerator.

So put $2 x^2+x-3=t$.


$ \begin{aligned} & \therefore \quad(4 x+1)=\frac{d t}{d x} \Rightarrow(4 x+1) d x=d t \\ & \therefore \quad \text { From }(i), \mathrm{I}=\int \frac{d t}{\sqrt{t}}=\int t^{-1 / 2} d t=\frac{t^{1 / 2}}{\frac{1}{2}}+c \\ & \quad=2 \sqrt{t}+c=2 \sqrt{2 x^2+x-3}+c \end{aligned} $
17. $\frac{x+2}{\sqrt{x^2-1}}$
Sol.

Let $\mathrm{I}=\int \frac{x+2}{\sqrt{x^2-1}} d x=\int\left(\frac{x}{\sqrt{x^2-1}}+\frac{2}{\sqrt{x^2-1}}\right) d x$


$ \begin{aligned} & =\int \frac{x}{\sqrt{x^2-1}} d x+2 \int \frac{1}{\sqrt{x^2-1^2}} d x \\ & =\int \frac{x}{\sqrt{x^2-1}} d x+2 \log \left|x+\sqrt{x^2-1^2}\right|+c \end{aligned} $


Let $\mathrm{I}_1=\int \frac{x}{\sqrt{x^2-1}} d x=\frac{1}{2} \int \frac{2 x}{\sqrt{x^2-1}} d x$

Put $x^2-1=t$. Therefore $2 x=\frac{d t}{d x} \quad$ or $\quad 2 x d x=d t$


$ \therefore \quad \mathrm{I}_1=\frac{1}{2} \int \frac{d t}{\sqrt{t}}=\frac{1}{2} \int t^{-1 / 2} d t=\frac{1}{2} \frac{t^{1 / 2}}{\frac{1}{2}}=\sqrt{t}=\sqrt{x^2-1} $




Substituting the value of $\left(\mathrm{I}_1=\right) \int \frac{x}{\sqrt{x^2-1}} d x=\sqrt{x^2-1}$ into (i)


$ \mathrm{I}=\sqrt{x^2-1}+2 \log \left|x+\sqrt{x^2-1}\right|+c $
18. $\frac{5 x-2}{1+2 x+3 x^2}$
Sol.

Let $\mathrm{I}=\int \frac{5 x-2}{1+2 x+3 x^2} d x$


$ \int \frac{\text { Linear }}{\text { Quadratic }} d x $


Let Linear $=\mathbf{A} \frac{\boldsymbol{d}}{\boldsymbol{d} \boldsymbol{x}}($ Quadratic $)+\mathbf{B}$

i.e., $\quad 5 x-2=\mathrm{A} \frac{d}{d x}\left(1+2 x+3 x^2\right)+\mathrm{B}$

or $\quad 5 x-2=\mathrm{A}(2+6 x)+\mathrm{B}$

i.e., $\quad 5 x-2=2 \mathrm{~A}+6 \mathrm{~A} x+\mathrm{B}$

Equating coefficients of $x, 6 \mathrm{~A}=5 \Rightarrow \mathrm{~A}=\frac{5}{6}$

Matching constant terms, $2 \mathrm{~A}+\mathrm{B}=-2$

Putting $\mathrm{A}=\frac{5}{6}, \frac{10}{6}+\mathrm{B}=-2$

$\Rightarrow \quad \mathrm{B}=-2-\frac{10}{6}=\frac{-22}{6} \quad$ or $\quad \mathrm{B}=\frac{-11}{3}$

Substituting values of A and B back into (ii), $5 x-2=\frac{5}{6}(2+6 x)-\frac{11}{3}$

Substituting this value of $5 x-2$ back into (i),


$ \begin{aligned} \mathrm{I} & =\int \frac{\frac{5}{6}(2+6 x)-\frac{11}{3}}{1+2 x+3 x^2} d x \\ \Rightarrow \quad \mathrm{I} & =\frac{5}{6} \int \frac{2+6 x}{1+2 x+3 x^2} d x-\frac{11}{3} \int \frac{1}{1+2 x+3 x^2} d x \\ & =\frac{5}{6} \mathrm{I}_1-\frac{11}{3} \mathrm{I}_2 \end{aligned} $


Here $\mathrm{I}_1=\int \frac{2+6 x}{1+2 x+3 x^2} d x$

Put Denominator $1+2 x+3 x^2=t$.


$ \begin{aligned} & \therefore 2+6 x=\frac{d t}{d x} \quad \Rightarrow \quad(2+6 x) d x=d t \\ & \therefore \quad \mathrm{I}_1=\int \frac{d t}{t}=\int \frac{1}{t} d t=\log |t|=\log \left|1+2 x+3 x^2\right| \end{aligned} $


Again $\left.\mathrm{I}_2=\int \frac{1}{1+2 x+3 x^2} d x=\int \frac{1}{3 x^2+2 x+1} d x \right\rvert\, \int \frac{1}{\text { Quadratic }} d x$

Now Quadratic Expression $=3 x^2+2 x+1$.

Making coefficient of $x^2$ unity $=3\left(x^2+\frac{2}{3} x+\frac{1}{3}\right)$




$ \begin{aligned} & \text { Completing squares }=3\left[x^2+\frac{2}{3} x+\left(\frac{1}{3}\right)^2+\frac{1}{3}-\frac{1}{9}\right] \\ & \quad=3\left[\left(x+\frac{1}{3}\right)^2+\frac{2}{9}\right] \quad \left\lvert\, \because \frac{1}{3}-\frac{1}{9}=\frac{3-1}{9}=\frac{2}{9}\right. \\ & \begin{aligned} \Rightarrow \mathrm{I}_2=\int \frac{1}{3\left[\left(x+\frac{1}{3}\right)^2+\frac{2}{9}\right]} d x & =\frac{1}{3} \int \frac{1}{\left(x+\frac{1}{3}\right)^2+\left(\frac{\sqrt{2}}{3}\right)^2} d x \\ = & \frac{1}{3} \frac{1}{\left(\frac{\sqrt{2}}{3}\right)} \tan ^{-1} \frac{x+\frac{1}{3}}{\frac{\sqrt{2}}{3}} \quad\left[\because \int \frac{1}{x^2+a^2} d x=\frac{1}{a} \tan ^{-1} \frac{x}{a}\right] \end{aligned} \\ & \Rightarrow \mathrm{I}_2 \\ & =\frac{1}{3} \cdot \frac{3}{\sqrt{2}} \tan ^{-1} \frac{3 x+1}{\sqrt{2}}=\frac{1}{\sqrt{2}} \tan ^{-1}\left(\frac{3 x+1}{\sqrt{2}}\right) \end{aligned} $


Substituting values of $\mathrm{I}_1$ and $\mathrm{I}_2$ from (iv) and (v) back into (iii), we have

$\mathrm{I}=\frac{5}{6} \log \left|1+2 x+3 x^2\right|-\frac{11}{3} \frac{1}{\sqrt{2}} \tan ^{-1}\left(\frac{3 x+1}{\sqrt{2}}\right)+c$.

Integrate the functions in Exercises 19 to 23:

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

Let $\mathrm{I}=\int \frac{6 x+7}{\sqrt{(x-5)(x-4)}} d x=\int \frac{6 x+7}{\sqrt{x^2-4 x-5 x+20}} d x$


$ \text { i.e., } \left.\mathrm{I}=\int \frac{6 x+7}{\sqrt{x^2-9 x+20}} d x \quad \quad . . .(i) \right\rvert\, \int \frac{\text { Linear }}{\sqrt{\text { Quadratic }}} d x $


Let Linear $=\mathbf{A} \frac{\boldsymbol{d}}{\boldsymbol{d} \boldsymbol{x}}($ Quadratic $)+\mathbf{B}$


$ \text { i.e., } \begin{aligned} 6 x+7 & =A(2 x-9)+B \\ & =2 A x-9 A+B \end{aligned} $


Equating coefficients of $x, 2 \mathrm{~A}=6 \Rightarrow \mathrm{~A}=3$

Matching constant terms, $-9 \mathrm{~A}+\mathrm{B}=7$.

Putting $\mathrm{A}=3,-27+\mathrm{B}=7 \Rightarrow \mathrm{~B}=34$

Substituting values of A and B back into (ii),


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


Substituting this value of $6 x+7$ back into (i),


$ \begin{aligned} \mathrm{I} & =\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 \\ & =3 \mathrm{I}_1+34 \mathrm{I}_2 \\ \mathrm{I}_1 & =\int \frac{2 x-9}{\sqrt{x^2-9 x+20}} d x \end{aligned} $


Put $x^2-9 x+20=t . \quad \therefore \quad 2 x-9=\frac{d t}{d x}$




$ \begin{aligned} \Rightarrow \quad & (2 x-9) d x=d t \\ \therefore \quad & \mathrm{I}_1=\int \frac{d t}{\sqrt{t}}=\int t^{-1 / 2} d t=\frac{t^{1 / 2}}{1 / 2}=2 \sqrt{t} \\ & =2 \sqrt{x^2-9 x+20} \\ \mathrm{I}_2= & \int \frac{1}{\sqrt{x^2-9 x+20}} d x=\int \frac{1}{\sqrt{x^2-9 x+\left(\frac{9}{2}\right)^2+20-\frac{81}{4}}} d x \\ = & \int \frac{1}{\sqrt{\left(x-\frac{9}{2}\right)^2-\frac{1}{4}}} d x=\int \frac{1}{\sqrt{\left(x-\frac{9}{2}\right)^2-\left(\frac{1}{2}\right)^2}} d x \\ = & \log \left\lvert\, x-\frac{9}{2}+\sqrt{\left.\left(x-\frac{9}{2}\right)^2-\left(\frac{1}{2}\right)^2 \right\rvert\,}\left[\because \int \frac{1}{\sqrt{x^2-a^2}} d x=\log \left|x+\sqrt{x^2-a^2}\right|\right]\right. \\ \mathrm{I}_2= & \log \left|x-\frac{9}{2}+\sqrt{x^2-9 x+20}\right| \\ & \left(\because\left(x-\frac{9}{2}\right)^2-\left(\frac{1}{2}\right)^2=x^2+\frac{81}{4}-9 x-\frac{1}{4}=x^2-9 x+20\right) \end{aligned} $


Substituting values of $\mathrm{I}_1$ and $\mathrm{I}_2$ from (iv) and (v) back into (iii),


$ \mathrm{I}=6 \sqrt{x^2-9 x+20}+34 \log \left|x-\frac{9}{2}+\sqrt{x^2-9 x+20}\right|+c . $
20. $\frac{x+2}{\sqrt{4 x-x^2}}$
Sol.

Let $\mathrm{I}=\int \frac{x+2}{\sqrt{4 x-x^2}} d x$


$ \left\lvert\, \int \frac{\text { Linear }}{\sqrt{\text { Quadratic }}} d x\right. $


Let Linear $=\mathrm{A} \frac{d}{d x}($ Quadratic $)+\mathrm{B}$

i.e., $\quad x+2=\mathrm{A}(4-2 x)+\mathrm{B}$


$ =4 \mathrm{~A}-2 \mathrm{~A} x+\mathrm{B} $


Equating coefficients of $x:-2 \mathrm{~A}=1 \Rightarrow \mathrm{~A}=\frac{-1}{2}$

Equating constants: $4 \mathrm{~A}+\mathrm{B}=2$

Putting $\mathrm{A}=\frac{-1}{2}, \quad-2+\mathrm{B}=2 \Rightarrow \mathrm{~B}=4$

Substituting values of A and B back into (ii), $x+2=\frac{-1}{2}(4-2 x)+4$

Substituting this value of $x+2$ back into (i),




$ \begin{aligned} \mathrm{I} & =\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 \\ & =\frac{-1}{2} \mathrm{I}_1+4 \mathrm{I}_2 \quad \ldots(i i i) \quad \mathrm{I}_1=\int \frac{4-2 x}{\sqrt{4 x-x^2}} d x \end{aligned} $


Put $4 x-x^2=t \quad \therefore \quad 4-2 x=\frac{d t}{d x} \quad \Rightarrow \quad(4-2 x) d x=d t$


$ \begin{aligned} \therefore \quad \mathrm{I}_1 & =\int \frac{d t}{\sqrt{t}}=\int t^{-1 / 2} d t=\frac{t^{1 / 2}}{1 / 2}=2 \sqrt{t}=2 \sqrt{4 x-x^2} \\ \mathrm{I}_2 & =\int \frac{1}{\sqrt{4 x-x^2}} d x \end{aligned} $


Quadratic Expression is $4 x-x^2=-x^2+4 x$


$ \begin{gathered} =-\left(x^2-4 x\right)=-\left(x^2-4 x+4-4\right)=-\left((x-2)^2-2^2\right)=2^2-(x-2)^2 \\ \therefore \quad \mathrm{I}_2=\int \frac{1}{\sqrt{2^2-(x-2)^2}} d x=\sin ^{-1} \frac{x-2}{2} \\ \left(\because \int \frac{1}{\sqrt{a^2-x^2}} d x=\sin ^{-1} \frac{x}{a}\right) \end{gathered} $


Substituting values of $\mathrm{I}_1$ and $\mathrm{I}_2$ from (iv) and (v) back into (iii),


$ \mathrm{I}=-\sqrt{4 x-x^2}+4 \sin ^{-1} \frac{x-2}{2}+c . $
21. $\frac{x+2}{\sqrt{x^2+2 x+3}}$
Sol.

Let $\mathrm{I}=\int \frac{x+2}{\sqrt{x^2+2 x+3}} d x$


Let Linear $=\mathbf{A} \frac{\boldsymbol{d}}{\boldsymbol{d} \boldsymbol{x}}($ Quadratic $)+\mathbf{B}$


$ \text { i.e., } \begin{aligned} x+2 & =A(2 x+2)+B \\ & =2 A x+2 A+B \end{aligned} $


Equating coefficients of $x, 2 \mathrm{~A}=1 \Rightarrow \mathrm{~A}=\frac{1}{2}$

Matching constant terms, $2 \mathrm{~A}+\mathrm{B}=2$

Putting $\mathrm{A}=\frac{1}{2}, 1+\mathrm{B}=2 \Rightarrow \mathrm{~B}=1$

Substituting values of A and B back into (ii), $x+2=\frac{1}{2}(2 x+2)+1$

Substituting this value of $(x+2)$ back into (i),


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




$ \begin{aligned} & \Rightarrow \mathrm{I}=\frac{1}{2} \mathrm{I}_1+\mathrm{I}_2 \quad \ldots(i i i) \quad \mathrm{I}_1=\int \frac{2 x+2}{\sqrt{x^2+2 x+3}} d x \\ & \text { Put } x^2+2 x+3=t \quad \therefore \quad(2 x+2)=\frac{d t}{d x} \Rightarrow(2 x+2) d x=d t \\ & \mathrm{I}_1=\int \frac{d t}{\sqrt{t}}=\int t^{-1 / 2} d t=\frac{t^{1 / 2}}{\frac{1}{2}}=2 \sqrt{t}=2 \sqrt{x^2+2 x+3} \\ & \mathrm{I}_2=\int \frac{1}{\sqrt{x^2+2 x+3}} d x=\int \frac{1}{\sqrt{x^2+2 x+1+2}} d x \\ & \quad=\int \frac{1}{\sqrt{(x+1)^2+(\sqrt{2})^2}} d x=\log \left|x+1+\sqrt{(x+1)^2+(\sqrt{2})^2}\right| \\ & \quad\left[\because \int \frac{1}{\sqrt{x^2+a^2}} d x=\log \left|x+\sqrt{x^2+a^2}\right|\right] \\ & \quad=\log \left|x+1+\sqrt{x^2+2 x+3}\right| \end{aligned} $


Substituting values from (iv) and (v) back into (iii),


$ \mathrm{I}=\sqrt{x^2+2 x+3}+\log \left|x+1+\sqrt{x^2+2 x+3}\right|+c $
22. $\frac{x+3}{x^2-2 x-5}$
Sol.

Let $\mathrm{I}=\int \frac{x+3}{x^2-2 x-5} d x$


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

or $x+3=\mathrm{A}(2 x-2)+\mathrm{B}$


$ =2 \mathrm{~A} x-2 \mathrm{~A}+\mathrm{B} $


Equating coefficients of $x$ on both sides, $2 \mathrm{~A}=1 \Rightarrow \mathrm{~A}=\frac{1}{2}$

Matching constant terms, $-2 \mathrm{~A}+\mathrm{B}=3$

Putting $\mathrm{A}=\frac{1}{2},-1+\mathrm{B}=3 \Rightarrow \mathrm{~B}=4$

Substituting values of A and B back into (ii), $x+3=\frac{1}{2}(2 x-2)+4$

Substituting this value back into (i),


$ \begin{aligned} \mathrm{I} & =\int \frac{\frac{1}{2}(2 x-2)+4}{x^2-2 x-5} d x=\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 \\ & =\frac{1}{2} \mathrm{I}_1+4 \mathrm{I}_2 \\ \mathrm{I}_1 & =\int \frac{2 x-2}{x^2-2 x-5} d x \end{aligned} $


Put $\quad x^2-2 x-5=t$. Therefore $(2 x-2)=\frac{d t}{d x} \Rightarrow(2 x-2) d x=d t$




$ \begin{aligned} & \therefore \quad \mathrm{I}_1=\int \frac{d t}{t}=\log |t|=\log \left|x^2-2 x-5\right| \\ & \text { Again } \mathrm{I}_2=\int \frac{1}{x^2-2 x-5} d x \\ &=\int \frac{1}{x^2-2 x+1-1-5} d x=\int \frac{1}{(x-1)^2-6} d x \\ &=\int \frac{1}{(x-1)^2-6} d x=\frac{1}{2 \sqrt{6}} \log \left|\frac{x-1-\sqrt{6}}{x-1+\sqrt{6}}\right| \\ & \quad\left[\because \int \frac{1}{x^2-a^2} d x=\frac{1}{2 a} \log \left|\frac{x-a}{x+a}\right|\right] \end{aligned} $


Substituting values of $\mathrm{I}_1$ and $\mathrm{I}_2$ from (iv) and (v) back into (iii),


$ \mathrm{I}=\frac{1}{2} \log \left|x^2-2 x-5\right|+\frac{2}{\sqrt{6}} \log \left|\frac{x-1-\sqrt{6}}{x-1+\sqrt{6}}\right|+c $
23. $\frac{5 x+3}{\sqrt{x^2+4 x+10}}$
Sol.

Let $\mathrm{I}=\int \frac{5 x+3}{\sqrt{x^2+4 x+10}} d x$


Let Linear $=\mathbf{A} \frac{\boldsymbol{d}}{\boldsymbol{d} \boldsymbol{x}}($ Quadratic $)+\mathbf{B}$

i.e., $\quad 5 x+3=\mathrm{A}(2 x+4)+\mathrm{B}$


Equating coefficients of $x$ on both sides, $2 \mathrm{~A}=5 \Rightarrow \mathrm{~A}=\frac{5}{2}$

Matching constant terms, $4 \mathrm{~A}+\mathrm{B}=3$

Putting $\mathrm{A}=\frac{5}{2}, 10+\mathrm{B}=3 \quad \Rightarrow \mathrm{~B}=-7$

Substituting values of A and B back into (ii), $5 x+3=\frac{5}{2}(2 x+4)-7$

Putting this value in $(i), \mathrm{I}=\int \frac{\frac{5}{2}(2 x+4)-7}{\sqrt{x^2+4 x+10}} d x$


$ =\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 $

or $\quad \mathrm{I}=\frac{5}{2} \mathrm{I}_1-7 \mathrm{I}_2$


$ \mathrm{I}_1=\int \frac{2 x+4}{\sqrt{x^2+4 x+10}} d x $


Put $x^2+4 x+10=t$. Therefore $2 x+4=\frac{d t}{d x} \Rightarrow(2 x+4) d x=d t$




$ \begin{aligned} & \therefore \mathrm{I}_1=\int \frac{d t}{\sqrt{t}}=\int t^{-1 / 2} d t=\frac{t^{1 / 2}}{\frac{1}{2}}=2 \sqrt{t} \\ &=2 \sqrt{x^2+4 x+10} \\ & \mathrm{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}{\sqrt{(x+2)^2+(\sqrt{6})^2}} d x=\log \left|x+2+\sqrt{(x+2)^2+(\sqrt{6})^2}\right| \\ & \quad\left[\because \int \frac{1}{\sqrt{x^2+a^2}} d x=\log \left|x+\sqrt{x^2+a^2}\right|\right] \\ &=\log \left|x+2+\sqrt{x^2+4 x+10}\right| \end{aligned} $


Substituting values of $\mathrm{I}_1$ and $\mathrm{I}_2$ from (iv) and (v) back into (iii),


$ \mathrm{I}=5 \sqrt{x^2+4 x+10}-7 \log \left|x+2+\sqrt{x^2+4 x+10}\right|+c . $


Choose the correct option in Exercises 24 and 25.

24. $\int \frac{d x}{x^2+2 x+2}$ equals (A) $x \tan ^{-1}(x+1)+\mathrm{C}$ (B) $\tan ^{-1}(x+1)+\mathrm{C}$ (C) $(x+1) \tan ^{-1} x+\mathrm{C}$ (D) $\tan ^{-1} x+\mathrm{C}$.
Sol.

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


$ \begin{aligned} & =\frac{1}{1} \tan ^{-1} \frac{(x+1)}{1}+\mathrm{C}\left[\because \int \frac{1}{x^2+a^2} d x=\frac{1}{a} \tan ^{-1} \frac{x}{a}\right] \\ & =\tan ^{-1}(x+1)+\mathrm{C} \end{aligned} $

Hence, Option (B) is the correct answer.

25. $\int \frac{d x}{\sqrt{9 x-4 x^2}}$ equals (A) $\frac{1}{9} \sin ^{-1}\left(\frac{9 x-8}{8}\right)+\mathrm{C}$ (B) $\frac{1}{2} \sin ^{-1}\left(\frac{8 x-9}{9}\right)+\mathrm{C}$ (C) $\frac{1}{3} \sin ^{-1}\left(\frac{9 x-8}{8}\right)+\mathrm{C}$ (D) $\frac{1}{2} \sin ^{-1}\left(\frac{9 x-8}{8}\right)+\mathrm{C}$.
Sol.

Let $\mathrm{I}=\int \frac{d x}{\sqrt{9 x-4 x^2}}=\int \frac{d x}{\sqrt{-4 x^2+9 x}}$


Here Quadratic expression is $-4 x^2+9 x=-4\left(x^2-\frac{9}{4} x\right)$


$ \begin{aligned} & =-4\left[x^2-\frac{9}{4} x+\left(\frac{9}{8}\right)^2-\left(\frac{9}{8}\right)^2\right]=-4\left[\left(x-\frac{9}{8}\right)^2-\left(\frac{9}{8}\right)^2\right] \\ & =4\left[-\left(x-\frac{9}{8}\right)^2+\left(\frac{9}{8}\right)^2\right]=4\left[\left(\frac{9}{8}\right)^2-\left(x-\frac{9}{8}\right)^2\right] \end{aligned} $




Substituting this value back into (i),


$ \begin{aligned} \mathrm{I} & =\int \frac{1}{\sqrt{4\left[\left(\frac{9}{8}\right)^2-\left(x-\frac{9}{8}\right)^2\right]}} d x=\frac{1}{2} \int \frac{1}{\sqrt{\left[\left(\frac{9}{8}\right)^2-\left(x-\frac{9}{8}\right)^2\right]}} d x \\ & =\frac{1}{2} \sin ^{-1} \frac{x-\frac{9}{8}}{\frac{9}{8}}+\mathrm{C} \\ & =\frac{1}{2} \sin ^{-1}\left(\frac{8 x-9}{9}\right)+\mathrm{C} \quad\left[\because \int \frac{1}{\sqrt{a^2-x^2}} d x=\sin ^{-1} \frac{x}{a}\right] \end{aligned} $
Exercise 7.5
1. Evaluate $\frac{x}{(x+1)(x+2)}$
Sol.

We integrate the rational function $\frac{x}{(x+1)(x+2)}$.

Let integrand $\frac{x}{(x+1)(x+2)}=\frac{\mathrm{A}}{x+1}+\frac{\mathrm{B}}{x+2}$

(Partial Fraction Decomposition)

Multiplying both sides by the L.C.M. $=(x+1)(x+2)$,


$ x=\mathrm{A}(x+2)+\mathrm{B}(x+1)=\mathrm{A} x+2 \mathrm{~A}+\mathrm{B} x+\mathrm{B} $


Equating coefficients of $x$ on both sides, $\mathrm{A}+\mathrm{B}=1$


Matching constant terms, $2 \mathrm{~A}+\mathrm{B}=0$


We now solve Equations (ii) and (iii) to determine A and B .

Equation (iii) – Equation (ii) gives, $\mathrm{A}=-1$

Substituting $\mathrm{A}=-1$ back into (ii), $-1+\mathrm{B}=1 \Rightarrow \mathrm{~B}=2$

Substituting values of A and B back into (i), $\frac{x}{(x+1)(x+2)}=\frac{-1}{x+1}+\frac{2}{x+2}$


$ \begin{aligned} \therefore & \int \frac{x}{(x+1)(x+2)} d x=-\int \frac{1}{x+1} d x+2 \int \frac{1}{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 . \\ & \left(\because|t|^2=t^2\right) \end{aligned} $
2. $\frac{1}{x^2-9}$
Sol.

We integrate the rational function $\frac{1}{x^2-9}$


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




$ \begin{aligned} & =\frac{1}{2 \times 3} \log \left|\frac{x-3}{x+3}\right|+c\left[\because \int \frac{1}{x^2-a^2}=\frac{1}{2 a} \log \left|\frac{x-a}{x+a}\right|\right] \\ & =\frac{1}{6} \log \left|\frac{x-3}{x+3}\right|+c . \end{aligned} $


OR

Integrand $\frac{1}{x^2-9}=\frac{1}{(x-3)(x+3)}=\frac{\mathrm{A}}{x-3}+\frac{\mathrm{B}}{x+3}$

Now proceed as in the solution of Q.No.1.

3. $\frac{3 x-1}{(x-1)(x-2)(x-3)}$.
Sol.

We integrate the rational function $\frac{3 x-1}{(x-1)(x-2)(x-3)}$

Let integrand $\frac{3 x-1}{(x-1)(x-2)(x-3)}=\frac{\mathrm{A}}{x-1}+\frac{\mathrm{B}}{x-2}+\frac{\mathrm{C}}{x-3}$


Multiplying both sides by the L.C.M. $=(x-1)(x-2)(x-3)$, we have


$ \begin{aligned} 3 x-1 & =\mathrm{A}(x-2)(x-3)+\mathrm{B}(x-1)(x-3)+\mathrm{C}(x-1)(x-2) \\ & =\mathrm{A}\left(x^2-5 x+6\right)+\mathrm{B}\left(x^2-4 x+3\right)+\mathrm{C}\left(x^2-3 x+2\right) \\ & =\mathrm{A} x^2-5 \mathrm{~A} x+6 \mathrm{~A}+\mathrm{B} x^2-4 \mathrm{~B} x+3 \mathrm{~B}+\mathrm{C} x^2-3 \mathrm{C} x+2 \mathrm{C} \end{aligned} $


Equating coefficients of $x^2, x$ and constant terms on both sides,

Coefficients of $\boldsymbol{x}^{\mathbf{2}}: \mathrm{A}+\mathrm{B}+\mathrm{C}=0$


Coefficient of $\boldsymbol{x}:-5 \mathrm{~A}-4 \mathrm{~B}-3 \mathrm{C}=3$ or $5 \mathrm{~A}+4 \mathrm{~B}+3 \mathrm{C}=-3$


Constants: $6 \mathrm{~A}+3 \mathrm{~B}+2 \mathrm{C}=-1$


We now solve (ii), (iii) and (iv) to determine A, B, C.

We build two equations in two unknowns A and B.

Equation (iii) – 3 Equation (i) gives (to eliminate C),


$ \text { or } \quad \begin{aligned} 5 \mathrm{~A}+4 \mathrm{~B}+3 \mathrm{C}-3 \mathrm{~A}-3 \mathrm{~B}-3 \mathrm{C} & =-3 \\ 2 \mathrm{~A}+\mathrm{B} & =-3 \end{aligned} $


Equation (iv) -2 Equation (i) gives (to eliminate C),


$ \text { or } \quad \begin{aligned} 6 \mathrm{~A}+3 \mathrm{~B}+2 \mathrm{C}-2 \mathrm{~A}-2 \mathrm{~B}-2 \mathrm{C} & =-1 \\ 4 \mathrm{~A}+\mathrm{B} & =-1 \end{aligned} $


Equation (vi) – Equation (v) gives (to eliminate B),


$ 2 \mathrm{~A}=-1+3=2 \Rightarrow \mathrm{~A}=\frac{2}{2}=1 $


Substituting $\mathrm{A}=1$ back into (v), $2+\mathrm{B}=-3 \Rightarrow \mathrm{~B}=-5$

Substituting $\mathrm{A}=1$ and $\mathrm{B}=-5$ back into (ii), $1-5+\mathrm{C}=0$

or $\mathrm{C}-4=0$ or $\mathrm{C}=4$

Substituting values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ back into (i),


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




$ \begin{aligned} \therefore \int & \frac{3 x-1}{(x-1)(x-2)(x-3)} \\ & \quad=\int \frac{1}{x-1} d x-5 \int \frac{1}{x-2} d x+4 \int \frac{1}{x-3} d x \\ & \quad=\log |x-1|-5 \log |x-2|+4 \log |x-3|+c \end{aligned} $
4. $\frac{\boldsymbol{x}}{(\boldsymbol{x}-\mathbf{1})(\boldsymbol{x}-\mathbf{2})(\boldsymbol{x}-\mathbf{3})}$
Sol.

We integrate the rational function $\frac{x}{(x-1)(x-2)(x-3)}$.

Let integrand $\frac{x}{(x-1)(x-2)(x-3)}=\frac{\mathrm{A}}{x-1}+\frac{\mathrm{B}}{x-2}+\frac{\mathrm{C}}{x-3}$

(Partial Fraction Decomposition)

Multiplying both sides by the L.C.M. $=(x-1)(x-2)(x-3)$,


$ \begin{aligned} x & =\mathrm{A}(x-2)(x-3)+\mathrm{B}(x-1)(x-3)+\mathrm{C}(x-1)(x-2) \\ & =\mathrm{A}\left(x^2-5 x+6\right)+\mathrm{B}\left(x^2-4 x+3\right)+\mathrm{C}\left(x^2-3 x+2\right) \\ & =\mathrm{A} x^2-5 \mathrm{~A} x+6 \mathrm{~A}+\mathrm{B} x^2-4 \mathrm{~B} x+3 \mathrm{~B}+\mathrm{C} x^2-3 \mathrm{C} x+2 \mathrm{C} \end{aligned} $


Equating coefficients of $x^2, x$ and constant terms on both sides,


$ \begin{array}{lrl} x^2: & \mathrm{A}+\mathrm{B}+\mathrm{C}=0 \\ x: & -5 \mathrm{~A}-4 \mathrm{~B}-3 \mathrm{C}=1 & \text { or } 5 \mathrm{~A}+4 \mathrm{~B}+3 \mathrm{C}=-1 \end{array} $


Constants: $6 \mathrm{~A}+3 \mathrm{~B}+2 \mathrm{C}=0$


We now solve Equations (ii), (iii) and (iv) to determine A, B, C.

We build two equations in two unknowns A and B.

Equation (iii) $-3 \times$ Equation (ii) gives | To eliminate C


$ 5 \mathrm{~A}+4 \mathrm{~B}+3 \mathrm{C}-3 \mathrm{~A}-3 \mathrm{~B}-3 \mathrm{C}=-1 \text { or } 2 \mathrm{~A}+\mathrm{B}=-1 $


Equation (iv) $-2 \times$ Equation (ii) gives To eliminate C


$ 4 A+B=0 $


Equation (vi) – Equation (v) gives (To eliminate B)


$ 2 \mathrm{~A}=1 \quad \therefore \mathrm{~A}=\frac{1}{2} $


Putting $\mathrm{A}=\frac{1}{2}$ in $(v), 1+\mathrm{B}=-1 \Rightarrow \mathrm{~B}=-2$

Substituting $\mathrm{A}=\frac{1}{2}$ and $\mathrm{B}=-2$ back into (ii),


$ \frac{1}{2}-2+C=0 \Rightarrow C=\frac{-1}{2}+2=\frac{-1+4}{2}=\frac{3}{2} $


Substituting these values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ back into (i), we have


$ \begin{aligned} & \frac{x}{(x-1)(x-2)(x-3)}=\frac{\frac{1}{2}}{x-1}-\frac{2}{x-2}+\frac{\frac{3}{2}}{x-3} \\ \therefore & \int \frac{x}{(x-1)(x-2)(x-3)} d x \\ = & \frac{1}{2} \int \frac{1}{x-1} d x-2 \int \frac{1}{x-2} d x+\frac{3}{2} \int \frac{1}{x-3} d x \\ = & \frac{1}{2} \log |x-1|-2 \log |x-2|+\frac{3}{2} \log |x-3|+c \end{aligned} $
5. $\frac{2 x}{x^2+3 x+2}$
Sol.

We integrate the rational function $\frac{2 x}{x^2+3 x+2}$.

Now $x^2+3 x+2=x^2+2 x+x+2=x(x+2)+1(x+2)$


$ =(x+1)(x+2) $


$ \begin{aligned} \therefore \text { Integrand } \frac{2 x}{x^2+3 x+2} & =\frac{2 x}{(x+1)(x+2)} \\ & =\frac{\mathrm{A}}{x+1}+\frac{\mathrm{B}}{x+2} \end{aligned} $

(Partial Fraction Decomposition)

Multiplying both sides by L.C.M. $=(x+1)(x+2)$,


$ 2 x=\mathrm{A}(x+2)+\mathrm{B}(x+1) \quad=\mathrm{A} x+2 \mathrm{~A}+\mathrm{B} x+\mathrm{B} $


Equating coefficients of $x$ and constant terms on both sides,

Coefficients of $\boldsymbol{x}: \mathrm{A}+\mathrm{B}=2$


Constant terms: $2 \mathrm{~A}+\mathrm{B}=0$


We now solve (ii) and (iii) to determine A and B .

(iii) – (ii) gives $\mathrm{A}=-2$.


Substituting $\mathrm{A}=-2$ back into (ii), $-2+\mathrm{B}=2$.


$ \therefore \quad B=4 $


Substituting values of A and B back into (i), $\frac{2 x}{x^2+3 x+2}=\frac{-2}{x+1}+\frac{4}{x+2}$


$ \begin{gathered} \therefore \int \frac{2 x}{x^2+3 x+2} d x=-2 \int \frac{1}{x+1} d x+4 \int \frac{1}{x+2} d x \\ =-2 \log |x+1|+4 \log |x+2|+c \\ =4 \log |x+2|-2 \log |x+1|+c \end{gathered} $


Remark: Alternative method to evaluate $\int \frac{2 x}{x^2+3 x+2} d x$

is $\int \frac{\text { Linear }}{\text { Quadratic }} d x$ as explained in solutions in Exercise 7.4

(Exercise 18 and Exercise 22.

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

To integrate (rational) function $\frac{1-x^2}{x(1-2 x)}=\frac{1-x^2}{x-2 x^2}=\frac{-x^2+1}{-2 x^2+x}$

[Here Degree of numerator $=$ Degree of Denominator $=2$

∴ We must divide numerator by denominator to make the degree of numerator smaller than degree of denominator so that we can form partial fractions.]




$ \begin{array}{r} – 2 x ^ { 2 } + x \longdiv { – x ^ { 2 } + 1 ( \frac { 1 } { 2 } } \\ \frac{-x^2+\frac{x}{2}}{+–} 2 \end{array} $


$ \begin{aligned} & \therefore \frac{1-x^2}{x(1-2 x)}=\text { Quotient }+\frac{\text { Remainder }}{\text { Divisor }}=\frac{1}{2}+\frac{\left(-\frac{x}{2}+1\right)}{x(1-2 x)} \\ & \begin{aligned} \therefore \int \frac{1-x^2}{x(1-2 x)} d x & =\int\left(\frac{1}{2}+\frac{\left(-\frac{x}{2}+1\right)}{x(1-2 x)}\right) d x \\ & =\frac{1}{2} \int 1 d x+\int \frac{-\frac{x}{2}+1}{x(1-2 x)} d x \end{aligned} \end{aligned} $


Let integrand $\frac{-\frac{x}{2}+1}{x(1-2 x)}=\frac{\mathrm{A}}{x}+\frac{\mathrm{B}}{1-2 x}$


Multiplying both sides by the L.C.M. $=x(1-2 x)$,


$ -\frac{x}{2}+1=\mathrm{A}(1-2 x)+\mathrm{B} x=\mathrm{A}-2 \mathrm{~A} x+\mathrm{B} x $


Equating coefficients of $x,-2 \mathrm{~A}+\mathrm{B}=\frac{-1}{2}$


Matching constant terms, $\mathrm{A}=1$


Substituting $\mathrm{A}=1$ from (iv) back into (iii),


$ -2+B=\frac{-1}{2} \Rightarrow B=\frac{-1}{2}+2=\frac{-1+4}{2} \quad \text { or } \quad B=\frac{3}{2} $


Substituting values of A and B back into (ii),


$ \begin{gathered} \frac{-\frac{x}{2}+1}{x(1-2 x)}=\frac{1}{x}+\frac{\frac{3}{2}}{1-2 x} \\ \therefore \quad \int \frac{-\frac{x}{2}+1}{x(1-2 x)} d x=\int \frac{1}{x} d x+\frac{3}{2} \int \frac{1}{1-2 x} d x \\ =\log |x|+\frac{3}{2} \log \frac{|1-2 x|}{-2 \rightarrow \text { Coefficient of } x}+c \\ =\log |x|-\frac{3}{4} \log |1-2 x|+c \end{gathered} $


Substituting this value back into (i),


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




Integrate the following functions in Exercises 7 to 12:

7. $\frac{x}{\left(x^2+1\right)(x-1)}$
Sol.

We integrate the rational function $\frac{x}{\left(x^2+1\right)(x-1)}$.

Let integrand $\frac{x}{\left(x^2+1\right)(x-1)}=\frac{\mathrm{A} x+\mathrm{B}}{x^2+1}+\frac{\mathrm{C}}{x-1}$

(Partial Fraction Decomposition)

Multiplying both sides by the L.C.M. $=\left(x^2+1\right)(x-1)$ on both sides,


$ \Rightarrow \quad \begin{array}{ll} & x=(\mathrm{A} x+\mathrm{B})(x-1)+\mathrm{C}\left(x^2+1\right) \\ \Rightarrow & x=\mathrm{A} x^2-\mathrm{A} x+\mathrm{B} x-\mathrm{B}+\mathrm{C} x^2+\mathrm{C}, \end{array} $


Equating coefficients of $x^2, x$ and constant terms on both sides,


$ \begin{array}{lr} \boldsymbol{x}^2 & \mathrm{~A}+\mathrm{C}=0 \\ \boldsymbol{x} & -\mathrm{A}+\mathrm{B}=1 \\ \text { Constants } & -\mathrm{B}+\mathrm{C}=0 \end{array} $


Let us solve Equations (ii), (iii) and (iv) for A, B, C Adding (ii) and (iii) to eliminate $\mathrm{A}, \mathrm{B}+\mathrm{C}=1$


Adding (iv) and (v), $2 \mathrm{C}=1 \Rightarrow \mathrm{C}=\frac{1}{2}$

From (iv), $-\mathrm{B}=-\mathrm{C} \Rightarrow \mathrm{B}=\mathrm{C}=\frac{1}{2}$

From (ii), $\quad \mathrm{A}=-\mathrm{C}=\frac{-1}{2}$

Substituting these values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ back into (i),


$ \begin{aligned} & \frac{x}{\left(x^2+1\right)(x-1)}=\frac{\frac{-1}{2} x+\frac{1}{2}}{x^2+1}+\frac{\frac{1}{2}}{x-1} \\ & =\frac{-1}{2} \frac{x}{x^2+1}+\frac{1}{2} \cdot \frac{1}{x^2+1}+\frac{1}{2} \frac{1}{x-1} \\ & =\frac{-1}{4} \frac{2 x}{x^2+1}+\frac{1}{2} \frac{1}{x^2+1}+\frac{1}{2} \frac{1}{x-1} \\ & \begin{aligned} & \therefore \quad \int \frac{x}{\left(x^2+1\right)(x-1)} d x \\ &= \frac{-1}{4} \int \frac{2 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 \\ & \Rightarrow \quad \int \frac{x}{\left(x^2+1\right)(x-1)} d x=\frac{-1}{4} \log \left|x^2+1\right|+\frac{1}{2} \tan ^{-1} x \\ &+\frac{1}{2} \log |x-1|+c \\ &= \frac{-1}{4} \log \left(x^2+1\right)+\frac{1}{2} \tan ^{-1} x+\frac{1}{2} \log |x-1|+c \\ &\left.=\frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)|\right) \end{aligned} \\ & =\frac{1}{2} \log |x-1|-\frac{1}{4} \log \left(x^2+1\right)+\frac{1}{2} \tan ^{-1} x+c . \end{aligned} $
8. $\frac{x}{(x-1)^2(x+2)}$
Sol.

We integrate the rational function $\frac{x}{(x-1)^2(x+2)}$.

Let integrand $\frac{x}{(x-1)^2(x+2)}=\frac{\mathrm{A}}{x-1}+\frac{\mathrm{B}}{(x-1)^2}+\frac{\mathrm{C}}{x+2}$

(Partial Fraction Decomposition)

Multiplying both sides of (i) by L.C.M. $=(x-1)^2(x+2)$


$ x=\mathrm{A}(x-1)(x+2)+\mathrm{B}(x+2)+\mathrm{C}(x-1)^2 $

or $x=\mathrm{A}\left(x^2+2 x-x-2\right)+\mathrm{B}(x+2)+\mathrm{C}\left(x^2+1-2 x\right)$

or $x=\mathrm{A} x^2+\mathrm{A} x-2 \mathrm{~A}+\mathrm{B} x+2 \mathrm{~B}+\mathrm{C} x^2+\mathrm{C}-2 \mathrm{C} x$

Equating coefficients of $x^2, x$ and constant terms on both sides

$x^2$


$ A+C=0 $

$\boldsymbol{x}$


$ A+B-2 C=1 $


Constants $-2 \mathrm{~A}+2 \mathrm{~B}+\mathrm{C}=0$


Let us solve (ii), (iii) and (iv) for A, B, C

From (ii), $\quad \mathrm{A}=-\mathrm{C}$

Substituting $\mathrm{A}=-\mathrm{C}$ back into (iv), $\quad 2 \mathrm{C}+2 \mathrm{~B}+\mathrm{C}=0$


$ \Rightarrow 2 B=-3 C \Rightarrow B=\frac{-3 C}{2} $


Substituting values of A and B back into (iii),


$ \begin{aligned} – & \mathrm{C}-\frac{-3 \mathrm{C}}{2}-2 \mathrm{C}=1 \Rightarrow-2 \mathrm{C}-3 \mathrm{C}-4 \mathrm{C}=2 \\ \Rightarrow & -9 \mathrm{C}=2 \quad \Rightarrow C=\frac{-2}{9} \end{aligned} $


Substituting $\mathrm{C}=\frac{-2}{9}, \mathrm{~B}=\frac{-3 \mathrm{C}}{2}=\frac{-3}{2}\left(\frac{-2}{9}\right)=\frac{1}{3} \therefore \mathrm{~A}=-\mathrm{C}=\frac{2}{9}$ Putting these values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ back into (i),


$ \begin{aligned} & \frac{x}{(x-1)^2(x+2)}=\frac{\frac{2}{9}}{x-1}+\frac{\frac{1}{3}}{(x-1)^2}-\frac{\frac{2}{9}}{x+2} \\ \therefore & \int \frac{x}{(x-1)^2(x+2)} d x \\ = & \frac{2}{9} \int \frac{1}{x-1} d x+\frac{1}{3} \int(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{(x-1)^{-1}}{(-1)(1)}-\frac{2}{9} \log |x+2|+c \\ = & \frac{2}{9}(\log |x-1|-\log |x+2|)-\frac{1}{3(x-1)}+c \\ = & \frac{2}{9} \log \left|\frac{x-1}{x+2}\right|-\frac{1}{3(x-1)}+c \end{aligned} $
9. $\frac{3 x+5}{x^3-x^2-x+1}$
Sol.

We integrate the rational function $\frac{3 x+5}{x^3-x^2-x+1}$.




Now denominator $=x^3-x^2-x+1$


$ \begin{aligned} & =x^2(x-1)-1(x-1)=(x-1)\left(x^2-1\right) \\ & =(x-1)(x-1)(x+1)=(x-1)^2(x+1) \end{aligned} $

∴ Integrand $\frac{3 x+5}{x^3-x^2-x+1}=\frac{3 x+5}{(x-1)^2(x+1)}$


$ =\frac{\mathrm{A}}{x-1}+\frac{\mathrm{B}}{(x-1)^2}+\frac{\mathrm{C}}{x+1} $


Multiplying both sides by the L.C.M. $=(x-1)^2(x+1)$,


$ \begin{aligned} 3 x+5 & =\mathrm{A}(x-1)(x+1)+\mathrm{B}(x+1)+\mathrm{C}(x-1)^2 \\ & =\mathrm{A}\left(x^2-1\right)+\mathrm{B}(x+1)+\mathrm{C}\left(x^2+1-2 x\right) \\ & =\mathrm{A} x^2-\mathrm{A}+\mathrm{B} x+\mathrm{B}+\mathrm{C} x^2+\mathrm{C}-2 \mathrm{C} x \end{aligned} $


Equating coefficients of $x^2, x$ and constant terms on both sides,

$x^2$


$ A+C=0 $

$x$

Constants


$ -A+B+C=5 $


We now solve Equations (ii), (iii) and (iv) to determine A, B, C.

From (ii), $\mathrm{A}=-\mathrm{C}$ and from (iii), $\mathrm{B}=2 \mathrm{C}+3$

Substituting these values of A and B back into (iv),


$ \begin{aligned} & \mathrm{C}+2 \mathrm{C}+3+\mathrm{C}=5 \Rightarrow 4 \mathrm{C}=2 \Rightarrow \mathrm{C}=\frac{2}{4}=\frac{1}{2} \\ & \therefore \quad \mathrm{~A}=-\mathrm{C}=-\frac{1}{2} \\ & \text { and } \quad \mathrm{B}=2 \mathrm{C}+3=2\left(\frac{1}{2}\right)+3=1+3=4 \text {. } \end{aligned} $


Putting these values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ in (i)


$ \begin{aligned} & \frac{3 x+5}{x^3-x^2-x+1}=\frac{\frac{-1}{2}}{x-1}+\frac{4}{(x-1)^2}+\frac{\frac{1}{2}}{x+1} \\ \therefore & \int \frac{3 x+5}{x^3-x^2-x+1} d x \\ = & \frac{-1}{2} \int \frac{1}{x-1} d x+4 \int(x-1)^{-2} d x+\frac{1}{2} \int \frac{1}{x+1} d x \\ = & \frac{-1}{2} \log |x-1|+4 \frac{(x-1)^{-1}}{(-1)(1)}+\frac{1}{2} \log |x+1|+c \\ = & \frac{1}{2}(\log |x+1|-\log |x-1|)-\frac{4}{x-1}+c \\ = & \frac{1}{2} \log \left|\frac{x+1}{x-1}\right|-\frac{4}{x-1}+c . \end{aligned} $
10. $\frac{2 x-3}{\left(x^2-1\right)(2 x+3)}$
Sol.

To integrate the rational function $\frac{2 x-3}{\left(x^2-1\right)(2 x+3)}$.




Let integrand $\frac{2 x-3}{\left(x^2-1\right)(2 x+3)}=\frac{2 x-3}{(x-1)(x+1)(2 x+3)}$


$ =\frac{\mathrm{A}}{x-1}+\frac{\mathrm{B}}{x+1}+\frac{\mathrm{C}}{2 x+3} $


Multiplying both sides by L.C.M. $=(x-1)(x+1)(2 x+3)$,


$ \begin{aligned} & 2 x-3=\mathrm{A}(x+1)(2 x+3)+\mathrm{B}(x-1)(2 x+3)+\mathrm{C}(x-1)(x+1) \\ & \text { or } 2 x-3=\mathrm{A}\left(2 x^2+\mathbf{3} \boldsymbol{x}+\mathbf{2} \boldsymbol{x}+3\right)+\mathrm{B}\left(2 x^2+\mathbf{3} \boldsymbol{x}-\mathbf{2} \boldsymbol{x}-3\right)+\mathrm{C}\left(x^2-1\right) \end{aligned} $


Equating coefficients of $x^2, x$ and constant terms on both sides,


$ \begin{array}{ll} x^2 & 2 \mathrm{~A}+2 \mathrm{~B}+\mathrm{C}=0 \\ \boldsymbol{x} & 5 \mathrm{~A}+\mathrm{B}=2 \\ \text { Constants } & 3 \mathrm{~A}-3 \mathrm{~B}-\mathrm{C}=-3 \end{array} $


We now solve Equations (ii), (iii) and (iv) to determine A, B, C.

Equation (ii) + Equation (iv) gives (to eliminate C)


$ 5 A-B=-3 $


Adding Equations (iii) and (v), $10 \mathrm{~A}=-1 \Rightarrow \mathrm{~A}=\frac{-1}{10}$

Substituting $\mathrm{A}=\frac{-1}{10}$ back into (iii), $\frac{-5}{10}+\mathrm{B}=2 \Rightarrow \mathrm{~B}=2+\frac{1}{2}=\frac{5}{2}$

Substituting values of A and B back into (ii),


$ \frac{-1}{5}+5+\mathrm{C}=0 \quad \therefore \quad \mathrm{C}=\frac{1}{5}-5=\frac{1-25}{25}=\frac{-24}{5} $


Substituting values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ back into (i),


$ \begin{aligned} & \frac{2 x-3}{\left(x^2-1\right)(2 x+3)}=\frac{\frac{-1}{10}}{x-1}+\frac{\frac{5}{2}}{x+1}-\frac{\frac{24}{5}}{2 x+3} \\ \therefore & \int \frac{2 x-3}{\left(x^2-1\right)(2 x+3)} d x \\ = & \frac{-1}{10} \int \frac{1}{x-1} d x+\frac{5}{2} \int \frac{1}{x+1} d x-\frac{24}{5} \int \frac{1}{2 x+3} d x \\ = & \frac{-1}{10} \frac{\log |x-1|}{1 \rightarrow \operatorname{Coeff} . \text { of } x}+\frac{5}{2} \frac{\log |x+1|}{1}-\frac{24}{5} \frac{\log |2 x+3|}{2 \rightarrow \operatorname{Coeff} . \text { of } x}+c \\ = & \frac{-1}{10} \log |x-1|+\frac{5}{2} \log |x+1|-\frac{12}{5} \log |2 x+3|+c \\ = & \frac{5}{2} \log |x+1|-\frac{1}{10} \log |x-1|-\frac{12}{5} \log |2 x+3|+c . \end{aligned} $
11. $\frac{\mathbf{5 x}}{(x+1)\left(x^2-4\right)}$
Sol.

To integrate the rational function $\frac{5 x}{(x+1)\left(x^2-4\right)}$.

Let integrand $\frac{5 x}{(x+1)\left(x^2-4\right)}=\frac{5 x}{(x+1)(x+2)(x-2)}$


$ =\frac{\mathrm{A}}{x+1}+\frac{\mathrm{B}}{x+2}+\frac{\mathrm{C}}{x-2} $

…(i) (Partial Fraction Decomposition)




Multiplying both sides of (i) by L.C.M.


$ \begin{aligned} & =(x+1)(x+2)(x-2) \\ 5 x & =\mathrm{A}(x+2)(x-2)+\mathrm{B}(x+1)(x-2)+\mathrm{C}(x+1)(x+2) \\ & =\mathrm{A}\left(x^2-4\right)+\mathrm{B}\left(x^2-x-2\right)+\mathrm{C}\left(x^2+3 x+2\right) \\ & =\mathrm{A} x^2-4 \mathrm{~A}+\mathrm{B} x^2-\mathrm{B} x-2 \mathrm{~B}+\mathrm{C} x^2+3 \mathrm{C} x+2 \mathrm{C} \end{aligned} $


Equating coefficients of $x^2, x$ and constant terms on both sides,

$\boldsymbol{x}^{\mathbf{2}}$

$\boldsymbol{x}$

$-\mathrm{B}+3 \mathrm{C}=5$

Constants $-4 \mathrm{~A}-2 \mathrm{~B}+2 \mathrm{C}=0$

Dividing by $-2,2 \mathrm{~A}+\mathrm{B}-\mathrm{C}=0$

Let us solve (ii), (iii) and (iv) for A, B, C

Equation (ii) $\times 2-$ Equation (iv) gives (To eliminate A) because Equation (iii) does not involve A.


$ \begin{array}{r} 2 \mathrm{~A}+2 \mathrm{~B}+2 \mathrm{C}-(2 \mathrm{~A}+\mathrm{B}-\mathrm{C})=0, \\ \text { i.e. }, \quad 2 \mathrm{~A}+2 \mathrm{~B}+2 \mathrm{C}-2 \mathrm{~A}-\mathrm{B}+\mathrm{C}=0 \\ \Rightarrow \quad \mathrm{~B}+3 \mathrm{C}=0 \end{array} $


Adding Equations (iii) and (v),


$ 6 \mathrm{C}=5 \quad \Rightarrow \quad \mathrm{C}=\frac{5}{6} $


Substituting $\mathrm{C}=\frac{5}{6}$ back into (iii), $-\mathrm{B}+\frac{15}{6}=5 \Rightarrow-\mathrm{B}=5-\frac{15}{6}$


$ \Rightarrow \quad-\mathrm{B}=\frac{30-15}{6}=\frac{15}{6}=\frac{5}{2} \Rightarrow \mathrm{~B}=\frac{-5}{2} $


Substituting $\mathrm{B}=\frac{-5}{2}$ and $\mathrm{C}=\frac{5}{6}$ back into (ii), $\mathrm{A}-\frac{5}{2}+\frac{5}{6}=0$


$ \Rightarrow \quad \mathrm{A}=\frac{5}{2}-\frac{5}{6}=\frac{15-5}{6}=\frac{10}{6}=\frac{5}{3} $


Substituting values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ back into (i),


$ \begin{gathered} \frac{5 x}{(x+1)\left(x^2-4\right)}=\frac{\frac{5}{3}}{x+1}-\frac{\frac{5}{2}}{x+2}+\frac{\frac{5}{6}}{x-2} \\ \therefore \quad \int \frac{5 x}{(x+1)\left(x^2-4\right.} 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{gathered} $
12. $\frac{x^3+x+1}{x^2-1}$
Sol.

Here degree of numerator is greater than degree of denominator.

Therefore, dividing the numerator by the denominator,


$ \begin{aligned} & x^2-1 \sqrt{x^3+x+1} x \\ & \frac{-++}{x^3-x+1} \\ & \therefore \quad \frac{x^3+x+1}{x^2-1}=x+\frac{2 x+1}{x^2-1} \end{aligned} $




$ \begin{array}{r} {\left[\text { Rational function }=\text { Quotient }+\frac{\text { Remainder }}{\text { Divisor }}\right]} \\ \text { Let } \frac{2 x+1}{x^2-1}=\frac{2 x+1}{(x+1)(x-1)}=\frac{\mathrm{A}}{x+1}+\frac{\mathrm{B}}{x-1} \end{array} $


Multiplying both sides by the L.C.M. $=(x+1)(x-1)$, we have


$ \begin{aligned} 2 x+1 & =\mathrm{A}(x-1)+\mathrm{B}(x+1) \\ \text { or } & 2 x+1=\mathrm{A} x-\mathrm{A}+\mathrm{B} x+\mathrm{B} \end{aligned} $


By equating the coefficients of $x$ and constant terms, we get


$ \begin{array}{r} \mathrm{A}+\mathrm{B}=2 \\ \text { and }-\mathrm{A}+\mathrm{B}=1 \end{array} $

(iii) + (iv) gives $2 \mathrm{~B}=3 \Rightarrow \mathrm{~B}=\frac{3}{2}$


Substituting $\mathrm{B}=\frac{3}{2}$ back into (iii), we get $\mathrm{A}+\frac{3}{2}=2$ or $\mathrm{A}=\frac{1}{2}$

Putting values of A and B in eqn. (ii), we have


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


Substituting this value of $\frac{2 x+1}{x^2-1}$ back into (i),


$ \begin{aligned} \frac{x^3+x+1}{x^2-1} & =x+\frac{\frac{1}{2}}{x+1}+\frac{\frac{3}{2}}{x-1} \\ \therefore \quad \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 . \end{aligned} $


Integrate the following functions in Exercises 13 to 17:

13. $\frac{2}{(1-x)\left(1+x^2\right)}$
Sol.

To find integral of the Rational function $\frac{2}{(1-x)\left(1+x^2\right)}$.


$ \text { Let integrand } \frac{2}{(1-x)\left(1+x^2\right)}=\frac{\mathrm{A}}{1-x}+\frac{\mathrm{B} x+\mathrm{C}}{1+x^2} $

(Partial Fraction Decomposition)

Multiplying both sides by the L.C.M. $=(1-x)\left(1+x^2\right)$


$ \begin{array}{ll} & 2=\mathrm{A}\left(1+x^2\right)+(\mathrm{B} x+\mathrm{C})(1-x) \\ \text { or } & 2=\mathrm{A}+\mathrm{A} x^2+\mathrm{B} x-\mathrm{B} x^2+\mathrm{C}-\mathrm{C} x \end{array} $


Equating coefficients of $x^2, x$ and constant terms, we have


$ \begin{array}{ll} \boldsymbol{x}^{\mathbf{2}} & \mathrm{A}-\mathrm{B}=0 \\ \boldsymbol{x} & \mathrm{~B}-\mathrm{C}=0 \end{array} $


Constant terms $\mathrm{A}+\mathrm{C}=2$


Let us solve (ii), (iii), (iv) for A, B, C

From (ii), $\quad \mathrm{A}=\mathrm{B}$ and from (iii), $\quad \mathrm{B}=\mathrm{C}$




$ \therefore \quad \mathrm{A}=\mathrm{B}=\mathrm{C} $


Substituting $\mathrm{A}=\mathrm{C}$ back into (iv), $\mathrm{C}+\mathrm{C}=2$ or $2 \mathrm{C}=2$ or $\mathrm{C}=1$


$ \therefore \mathrm{A}=\mathrm{C}=1 \quad \therefore \mathrm{~B}=\mathrm{A}=1 $


Substituting these values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ back into (i),


$ \begin{gathered} \frac{2}{(1-x)\left(1+x^2\right)}=\frac{1}{1-x}+\frac{x+1}{1+x^2}=\frac{1}{1-x}+\frac{x}{1+x^2}+\frac{1}{1+x^2} \\ =\frac{1}{1-x}+\frac{1}{2} \frac{2 x}{1+x^2}+\frac{1}{1+x^2} \\ \therefore \int \frac{2}{(1-x)\left(1+x^2\right)} d x=\int \frac{1}{1-x} d x+\frac{1}{2} \int \frac{2 x}{1+x^2} d x+\int \frac{1}{1+x^2} d x \\ =\frac{\log |1-x|}{-1 \rightarrow \operatorname{Coefficient} \operatorname{of} x}+\frac{1}{2} \log \left|1+x^2\right|+\tan ^{-1} x+c \\ {\left[\because \int \frac{2 x}{1+x^2} d x=\int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)|\right]} \\ =-\log |1-x|+\frac{1}{2} \log \left(1+x^2\right)+\tan ^{-1} x+c \\ \left(\because 1+x^2>0, \text { therefore }\left|1+x^2\right|=1+x^2\right) \end{gathered} $


Note: $\log |1-x|=\log |-(x-1)|$


$ =\log |x-1| \text { because }|-t|=|t| \text {. } $
14. $\frac{3 x-1}{(x+2)^2}$
Sol.

To find integral of rational function $\frac{3 x-1}{(x+2)^2}$.


$ \text { Let } I=\int \frac{3 x-1}{(x+2)^2} d x $


Form $\int \frac{\text { Polynomial function }}{\text { (Linear) }^k} d x$ where $k$ is a positive integer, put Linear $=t$.

Here put $x+2=t$


$ \Rightarrow \quad x=t-2 $


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


Substituting these values back into (i),


$ \begin{aligned} \mathrm{I} & =\int \frac{3(t-2)-1}{t^2} d t=\int \frac{3 t-6-1}{t^2} d t=\int \frac{3 t-7}{t^2} d t \\ & =\int\left(\frac{3 t}{t^2}-\frac{7}{t^2}\right) d t=\int\left(\frac{3}{t}-\frac{7}{t^2}\right) d t \\ & =3 \int \frac{1}{t} d t-7 \int t^{-2} d t=3 \log |t|-7 \frac{t^{-1}}{-1}+c \\ & =3 \log |t|+\frac{7}{t}+c \end{aligned} $




Putting $t=x+2,=3 \log |x+2|+\frac{7}{x+2}+c$.

Remark: Alternative solution is Let $\frac{3 x-1}{(x+2)^2}=\frac{\mathrm{A}}{x+2}+\frac{\mathrm{B}}{(x+2)^2}$.

15. $\frac{1}{x^4-1}$
Sol.

To find integral of $\frac{1}{x^4-1}$.

Let integrand $\frac{1}{x^4-1}=\frac{1}{\left(x^2-1\right)\left(x^2+1\right)}$.

Put $x^2=y$ only to form partial fractions.


$ =\frac{1}{(y-1)(y+1)}=\frac{\mathrm{A}}{y-1}+\frac{\mathrm{B}}{y+1} $


Multiplying both sides by the L.C.M. $=(y-1)(y+1)$


$ 1=\mathrm{A}(y+1)+\mathrm{B}(y-1) \text { or } 1=\mathrm{A} y+\mathrm{A}+\mathrm{B} y-\mathrm{B} $


Equating coeffs. of $y$ and constant terms, we have

Coefficients of $\boldsymbol{y}$ : $\quad \mathrm{A}+\mathrm{B}=0$


Constant terms $\quad \mathrm{A}-\mathrm{B}=1$


Adding (ii) and (iii), $2 \mathrm{~A}=1 \quad \Rightarrow \mathrm{~A}=\frac{1}{2}$

Substituting $\mathrm{A}=\frac{1}{2}$ back into (ii), $\frac{1}{2}+\mathrm{B}=0 \Rightarrow \mathrm{~B}=\frac{-1}{2}$

Substituting values of $\mathrm{A}, \mathrm{B}$ and $\boldsymbol{y}$ back into (i),


$ \begin{aligned} \frac{1}{x^4-1} & =\frac{\frac{1}{2}}{x^2-1}-\frac{\frac{1}{2}}{x^2+1} \\ \therefore \quad \int \frac{1}{x^4-1} d x & =\frac{1}{2} \int \frac{1}{x^2-1^2} d x-\frac{1}{2} \int \frac{1}{x^2+1} d x \\ & =\frac{1}{2} \frac{1}{2.1} \log \left|\frac{x-1}{x+1}\right|-\frac{1}{2} \tan ^{-1} x+c \\ & {\left[\because \int \frac{1}{x^2-a^2} d x=\frac{1}{2 a} \log \left|\frac{x-a}{x+a}\right|\right] } \end{aligned} $


Note: Must put $\boldsymbol{y}=\boldsymbol{x}^{\mathbf{2}}$ in (i) along with values of A and B before writing values of integrals.

Remark: Alternative solution is:


$ \begin{aligned} \frac{1}{x^4-1} & =\frac{1}{\left(x^2-1\right)\left(x^2+1\right)}=\frac{1}{(x-1)(x+1)\left(x^2+1\right)} \\ & =\frac{\mathrm{A}}{x-1}+\frac{\mathrm{B}}{x+1}+\frac{\mathrm{C} x+\mathrm{D}}{x^2+1} \end{aligned} $


But the above given solution is better.

16. $\frac{1}{\boldsymbol{x}\left(\boldsymbol{x}^{\boldsymbol{n}}+1\right)}$
Sol.

Let $\mathrm{I}=\int \frac{1}{x\left(x^n+1\right)} d x$

Multiplying both numerator and denominator of integrand by $n x^{n-1}$.


$ \begin{array}{r} {\left[\because \frac{d}{d x}\left(x^n+1\right)=n x^{n-1}\right]} \\ \mathrm{I}=\int \frac{n x^{n-1}}{n x^{n-1} x\left(x^n+1\right)} d x=\frac{1}{n} \int \frac{n x^{n-1}}{x^n\left(x^n+1\right)} d x \quad \ldots(i) \\ (\because n-1+1=n) \end{array} $


Put $x^n=t$. Therefore $n x^{n-1}=\frac{d t}{d x} . \quad \therefore n x^{n-1} d x=d t$.

Therefore, from (i), I $=\frac{1}{n} \int \frac{d t}{t(t+1)}=\frac{1}{n} \int \frac{1}{t(t+1)} d t$

Adding and subtracting $t$ in the numerator of integrand,


$ \begin{aligned} & =\frac{1}{n} \int \frac{t+1-t}{t(t+1)} d t=\frac{1}{n} \int\left(\frac{t+1}{t(t+1)}-\frac{t}{t(t+1)}\right) d t\left[\because \frac{a-b}{c}=\frac{a}{c}-\frac{b}{c}\right] \\ & =\frac{1}{n}\left[\int \frac{1}{t} d t-\int \frac{1}{t+1} d t\right]=\frac{1}{n}[\log |t|-\log |t+1|+c] \\ & =\frac{1}{n} \log \left|\frac{t}{t+1}\right|+c \end{aligned} $


Putting $t=x^n,=\frac{1}{n} \log \left|\frac{x^n}{x^n+1}\right|+c$

Remark: Alternative solution for $\int \frac{1}{t(t+1)} d t$ is:

Let $\frac{1}{t(t+1)}=\frac{\mathrm{A}}{t}+\frac{\mathrm{B}}{t+1}$.

But the above given solution is better.

17. $\frac{\cos x}{(1-\sin x)(2-\sin x)}$
Sol.

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


Put $\sin x=t$. Therefore $\cos x=\frac{d t}{d x} \Rightarrow \cos x d x=d t$,

$\therefore \quad$ From $(i), \int \frac{1}{(1-t)(2-t)} d t=\int \frac{(2-t)-(1-t)}{(1-t)(2-t)} d t$

[ ∵ Difference of two factors in the denominator namely $1-t$ and $2-t$ is $(2-t)-(1-t)=2-t-1+t=1$ ]


$ =\int\left(\frac{2-t}{(1-t)(2-t)}-\frac{(1-t)}{(1-t)(2-t)}\right) d t\left[\because \frac{a-b}{c}=\frac{a}{c}-\frac{b}{c}\right] $




$ \begin{aligned} & =\int\left(\frac{1}{1-t}-\frac{1}{2-t}\right) d t=\int \frac{1}{1-t} d t-\int \frac{1}{2-t} d t \\ & =\frac{\log |1-t|}{-1 \rightarrow \text { Coefficient of } t}-\frac{\log |2-t|}{-1}+c \\ & =-\log |1-t|+\log |2-t|+c \\ & =\log |2-t|-\log |1-t|+c \quad=\log \left|\frac{2-t}{1-t}\right|+c \end{aligned} $


Putting $t=\sin x,=\log \left|\frac{2-\sin x}{1-\sin x}\right|+c$

Remark: Alternative solution for $\int \frac{1}{(1-t)(2-t)} d t$ is

Let $\frac{1}{(1-t)(2-t)}=\frac{\mathrm{A}}{1-t}+\frac{\mathrm{B}}{2-t}$

Integrate the following functions for Exercises 18 to 21:

18. $\frac{\left(x^2+1\right)\left(x^2+2\right)}{\left(x^2+3\right)\left(x^2+4\right)}$
Sol.

To integrate the rational function $\frac{\left(x^2+1\right)\left(x^2+2\right)}{\left(x^2+3\right)\left(x^2+4\right)}$.


Put $\boldsymbol{x}^2=\boldsymbol{y}$ in the integrand to get


$ =\frac{(y+1)(y+2)}{(y+3)(y+4)}=\frac{y^2+3 y+2}{y^2+7 y+12} $


Here degree of numerator $=$ degree of denominator ( $=2$ )

So have to perform long division to make the degree of numerator smaller than degree of denominator so that the concept of forming partial fractions becomes valid.


$ \begin{array}{r} y ^ { 2 } + 7 y + 1 2 \longdiv { y ^ { 2 } + 3 y + 2 ( 1 } 1 \\ y^2+7 y+12 \\ -\quad- \\ -4 y-10 \end{array} $

$\therefore \quad$ From (i) and (ii),


$ \frac{\left(x^2+1\right)\left(x^2+2\right)}{\left(x^2+3\right)\left(x^2+4\right)}=\frac{(y+1)(y+2)}{(y+3)(y+4)}=1+\frac{(-4 y-10)}{(y+3)(y+4)} $


Let us form partial fractions of $\frac{(-4 y-10)}{(y+3)(y+4)}$.

Let $\frac{-4 y-10}{(y+3)(y+4)}=\frac{\mathrm{A}}{y+3}+\frac{\mathrm{B}}{y+4}$


Multiplying both sides by the L.C.M. $=(y+3)(y+4)$


$ -4 y-10=\mathrm{A}(y+4)+\mathrm{B}(y+3)=\mathrm{A} y+4 \mathrm{~A}+\mathrm{B} y+3 \mathrm{~B} $


Equating coefficients of $y, \quad \mathrm{~A}+\mathrm{B}=-4$


Matching constant terms, $4 \mathrm{~A}+3 \mathrm{~B}=-10$


We now solve Equations (v) and (vi) to determine A and B .

Equation (v) $\times 4$ gives, $4 \mathrm{~A}+4 \mathrm{~B}=-16$




Equation (vi) – Equation (vii) gives, $-\mathrm{B}=6$ or $\mathrm{B}=-6$.

Substituting $\mathrm{B}=-6$ back into (v), $\mathrm{A}-6=-4 \Rightarrow \mathrm{~A}=-4+6=2$

Substituting these values of A and B back into (iv),


$ \frac{-4 y-10}{(y+3)(y+4)}=\frac{2}{y+3}-\frac{6}{y+4} $


Substituting this value back into (iii),


$ \frac{\left(x^2+1\right)\left(x^2+2\right)}{\left(x^2+3\right)\left(x^2+4\right)}=1+\frac{2}{y+3}-\frac{6}{y+4} $


In R.H.S., Putting $y=x^2$ (before integration)


$ \begin{gathered} =1+\frac{2}{x^2+3}-\frac{6}{x^2+4} \\ \therefore \int \frac{\left(x^2+1\right)\left(x^2+2\right)}{\left(x^2+3\right)\left(x^2+4\right)} d x \\ \quad=\int 1 d x+2 \int \frac{1}{x^2+(\sqrt{3})^2} d x-6 \int \frac{1}{x^2+2^2} d x \\ \quad=x+2 \cdot \frac{1}{\sqrt{3}} \tan ^{-1} \frac{x}{\sqrt{3}}-6 \cdot \frac{1}{2} \tan ^{-1} \frac{x}{2}+c \\ \quad=x+\frac{2}{\sqrt{3}} \tan ^{-1} \frac{x}{\sqrt{3}}-3 \tan ^{-1} \frac{x}{2}+c . \end{gathered} $
19. $\frac{2 x}{\left(x^2+1\right)\left(x^2+3\right)}$
Sol.

Let $\mathrm{I}=\int \frac{2 x}{\left(x^2+1\right)\left(x^2+3\right)} d x$

Put $x^2=t$. Differentiating both sides $2 x d x=d t$


$ \therefore \quad \mathrm{I}=\int \frac{d t}{(t+1)(t+3)} $


Dividing and multiplying by 2 ,


$ \begin{aligned} & =\frac{1}{2} \int \frac{2}{(t+1)(t+3)} d t=\frac{1}{2} \int \frac{(t+3)-(t+1)}{(t+1)(t+3)} d t \\ = & \frac{1}{2} \int\left(\frac{1}{t+1}-\frac{1}{t+3}\right) d t=\frac{1}{2}[\log |t+1|-\log |t+3|]+c \\ = & \frac{1}{2} \log \left|\frac{t+1}{t+3}\right|+c=\frac{1}{2} \log \left|\frac{x^2+1}{x^2+3}\right|+c=\frac{1}{2} \log \left(\frac{x^2+1}{x^2+3}\right)+c . \end{aligned} $
20. $\frac{1}{x\left(x^4-1\right)}$
Sol.

Let $\mathrm{I}=\int \frac{1}{x\left(x^4-1\right)} d x$

Multiplying both numerator and denominator of integrand by $4 x^3$.


$ \left(\because \frac{d}{d x}\left(x^4-1\right)=4 x^3\right) $




$ I=\int \frac{4 x^3}{4 x^4\left(x^4-1\right)} d x=\frac{1}{4} \int \frac{4 x^3}{x^4\left(x^4-1\right)} d x $


Put $\boldsymbol{x}^4=\boldsymbol{t}$. Therefore $4 x^3=\frac{d t}{d x} \Rightarrow 4 x^3 d x=d t$.


$ \begin{aligned} & \therefore \text { From }(i), \mathrm{I}=\frac{1}{4} \int \frac{d t}{t(t-1)}=\frac{1}{4} \int \frac{t-(t-1)}{t(t-1)} d t \\ & =\frac{1}{4} \int\left(\frac{t}{t-(t-1)}-\frac{(t-1)}{t(t-1)}\right) d t=\frac{1}{4} \int\left(\frac{1}{t-1}-\frac{1}{t}\right) d t \\ & =\frac{1}{4}\left[\int \frac{1}{t-1} d t-\int \frac{1}{t} d t\right]=\frac{1}{4}[\log |t-1|-\log |t|]+c \\ & =\frac{1}{4} \log \left|\frac{t-1}{t}\right|+c \end{aligned} $


Putting $t=x^4,=\frac{1}{4} \log \left|\frac{x^4-1}{x^4}\right|+c$.

Remark: Alternative solution is:


$ \begin{aligned} \frac{1}{x\left(x^4-1\right)} & =\frac{1}{x\left(x^2-1\right)\left(x^2+1\right)}=\frac{1}{x(x-1)(x+1)\left(x^2+1\right)} \\ & =\frac{\mathrm{A}}{x}+\frac{\mathrm{B}}{x-1}+\frac{\mathrm{C}}{x+1}+\frac{\mathrm{D} x+\mathrm{E}}{x^2+1} \end{aligned} $


But the solution given above is much better.

21. $\frac{1}{\left(e^x-1\right)}$
Sol.

Let $\mathrm{I}=\int \frac{1}{e^x-1} d x$


Put $\boldsymbol{e}^{\boldsymbol{x}}=\boldsymbol{t}$. Therefore $e^x=\frac{d t}{d x} \Rightarrow e^x d x=d t \Rightarrow d x=\frac{d t}{e^x}$

(Rule for evaluating $\int \boldsymbol{f}\left(\boldsymbol{e}^{\boldsymbol{x}}\right) \boldsymbol{d} \boldsymbol{x}$, put $\boldsymbol{e}^{\boldsymbol{x}}=\boldsymbol{t}$ )


$ \begin{aligned} & \therefore \quad \text { From }(i), \mathrm{I}=\int \frac{1}{t-1} \frac{d t}{e^x}=\int \frac{1}{t-1} \frac{d t}{t}=\int \frac{1}{t(t-1)} d t \\ & =\int \frac{t-(t-1)}{t(t-1)} d t=\int\left(\frac{t}{t(t-1)}-\frac{(t-1)}{t(t-1)}\right) d t=\int \frac{1}{t-1} d t-\int \frac{1}{t} d t \\ & =\log |t-1|-\log |t|+c=\log \left|\frac{t-1}{t}\right|+c \\ & \text { Putting } t=e^x,=\log \left|\frac{e^x-1}{e^x}\right|+c \end{aligned} $




Choose the correct option in each of the Exercises 22 and 23:

22. $\int \frac{x d x}{(x-1)(x-2)}$ equals (A) $\log \left|\frac{(x-1)^2}{x-2}\right|+\mathrm{C}$ (B) $\log \left|\frac{(x-2)^2}{x-1}\right|+\mathrm{C}$ (C) $\log \left|\left(\frac{x-1}{x-2}\right)^2\right|+\mathrm{C}$ (D) $\log |(x-1)(x-2)|+C$.
Sol.

Let integrand $\frac{x}{(x-1)(x-2)}=\frac{\mathrm{A}}{x-1}+\frac{\mathrm{B}}{x-2}$

(Partial Fraction Decomposition)

Multiplying both sides by the L.C.M. $=(x-1)(x-2)$,


$ \begin{aligned} x & =\mathrm{A}(x-2)+\mathrm{B}(x-1) \\ & =\mathrm{A} x-2 \mathrm{~A}+\mathrm{B} x-\mathrm{B} \end{aligned} $


Equating coefficients of $x$ and constant terms on both sides,

Coefficients of $x$ : $\quad \mathrm{A}+\mathrm{B}=1$

Constant terms: $-2 \mathrm{~A}-\mathrm{B}=0$


Let us solve (ii) and (iii) for A and B

Adding (ii) and (iii), $-\mathrm{A}=1$ or $\mathrm{A}=-1$

Putting $\mathrm{A}=-1$ in (ii) $-1+\mathrm{B}=1$ or $\mathrm{B}=2$

Substituting values of A and B back into (i),


$ \begin{aligned} \frac{x}{(x-1)(x-2)} & =\frac{-1}{x-1}+\frac{2}{x-2} \\ \therefore \quad \int \frac{x}{(x-1)(x-2)} d x & =-\int \frac{1}{x-1} d x+2 \int \frac{1}{x-2} d x \\ & =-\log |x-1|+2 \log |x-2|+c \\ & =\log \left|(x-2)^2\right|-\log |x-1|+c \\ & =\log \left|\frac{(x-2)^2}{x-1}\right|+c \end{aligned} $

Hence, Option (B) is the correct answer.

23. $\int \frac{d x}{x\left(x^2+1\right)}$ equals (A) $\log |x|-\frac{1}{2} \log \left(x^2+1\right)+\mathrm{C}$ (B) $\log |x|+\frac{1}{2} \log \left(x^2+1\right)+\mathrm{C}$ (C) $-\log |x|+\frac{1}{2} \log \left(x^2+1\right)+C$ (D) $\frac{1}{2} \log |x|+\log \left(x^2+1\right)+\mathrm{C}$.
Sol.

Let $\mathrm{I}=\int \frac{1}{x\left(x^2+1\right)} d x$

Multiplying both numerator and denominator of integrand by $2 x$.


$ \left(\because \frac{d}{d x}\left(x^2+1\right)=2 x\right) $




$ \Rightarrow \mathrm{I}=\int \frac{2 x}{2 x^2\left(x^2+1\right)} d x $


Put $x^2=t . \quad \therefore 2 x=\frac{d t}{d x} \Rightarrow 2 x d x=d t$

Therefore, from (i), I $=\int \frac{d t}{2 t(t+1)}=\frac{1}{2} \int \frac{1}{t(t+1)} d t$

Adding and subtracting $t$ in the numerator of integrand,


$ \begin{aligned} & =\frac{1}{2} \int \frac{(t+1)-t}{t(t+1)} d t=\frac{1}{2} \int\left(\frac{1}{t}-\frac{1}{t+1}\right) d t \\ & =\frac{1}{2}(\log |t|-\log |t+1|)+c \end{aligned} $


Putting $t=x^2, \mathrm{I}=\frac{1}{2}\left(\log \left|x^2\right|-\log \left|x^2+1\right|\right)+c$


$ \begin{aligned} = & \frac{1}{2}\left(2 \log |x|-\log \left(x^2+1\right)+c\right. \\ & \left(\because x^2+1 \geq 1>0 \text { and hence }\left|x^2+1\right|=x^2+1\right) \\ = & \log |x|-\frac{1}{2} \log \left(x^2+1\right)+c \end{aligned} $

Hence, Option (A) is the correct answer.

Exercise 7.6
1. Integrate $x \sin x$
Sol.

$\int_{\text {I II }} x \sin x d x$

Applying Product Rule I $\int$ II $d x-\int\left(\frac{d}{d x}\right.$ (I) $\int$ II $\left.d x\right) d x$


$ =x \int \sin x d x-\int\left(\frac{d}{d x}(x) \int \sin x d x\right) d x $

$=x(-\cos x)-\int 1(-\cos x) d x=-x \cos x-\int-\cos x d x$

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

Note: $\int \sin x d x=-\cos x$.

2. $x \sin 3 x$
Sol.

$\int_{\text {I }} x \sin 3 x d x$

Applying Product Rule I $\int$ II $d x-\int\left(\frac{d}{d x}(\mathrm{I}) \int\right.$ II $\left.d x\right) d x$

$=x \int \sin 3 x d x-\int\left(\frac{d}{d x}(x) \int \sin 3 x d x\right) d x$

$=x\left(\frac{-\cos 3 x}{3}\right)-\int\left[1\left(\frac{-\cos 3 x}{3}\right)\right] d x+c$

$=\frac{-1}{3} x \cos 3 x+\frac{1}{3} \int \cos 3 x d x+c$




$ =\frac{-1}{3} x \cos 3 x+\frac{1}{3} \frac{\sin 3 x}{3}+c=\frac{-1}{3} x \cos 3 x+\frac{1}{9} \sin 3 x+c . $
3. $\boldsymbol{x}^{\mathbf{2}} \boldsymbol{e}^{\boldsymbol{x}}$
Sol.

$\int_{\text {I II }} x^2 e^x d x$

Applying Product Rule I $\int$ II $d x-\int\left(\frac{d}{d x}(\right.$ I $) \int$ II $\left.d x\right) d x$


$ \begin{aligned} & =x^2 \int e^x d x-\int\left[\left(\frac{d}{d x} x^2\right) \int e^x d x\right] d x=x^2 e^x-\int 2 x e^x d x \\ & =x^2 e^x-2 \int x e^x d x \end{aligned} $


Again Applying Product Rule


$ \begin{aligned} & =x^2 e^x-2\left[x \int e^x d x-\int\left[\frac{d}{d x}(x) \int e^x d x\right] d x\right] \\ & =x^2 e^x-2\left(x e^x-\int 1 \cdot e^x d x\right)=x^2 e^x-2\left(x e^x-\int e^x d x\right) \\ & =x^2 e^x-2 x e^x+2 \int e^x d x+c=x^2 e^x-2 x e^x+2 e^x+c \\ & =e^x\left(x^2-2 x+2\right)+c \end{aligned} $
4. $x \log x$
Sol.

$\int x \log x d x=\int(\log x) \cdot x d x$

Applying Product Rule I $\int$ II $d x-\int\left[\frac{d}{d x}\right.$ (I) $\int$ II $\left.d x\right] d x$

$=(\log x) \int x d x-\int\left[\frac{d}{d x}(\log x) \int x d x\right] d x$

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


$ \left(\because \frac{x^2}{x}=\frac{x \cdot x}{x}=x\right) $

$=\frac{1}{2} x^2 \log x-\frac{1}{2} \frac{x^2}{2}+c=\frac{x^2}{2} \log x-\frac{x^2}{4}+c$.

5. $x \log 2 x$
Sol.

$\int x \log 2 x d x=\int(\log 2 x) \cdot x d x$

I II

Applying Product Rule I $\int$ II $d x-\int\left(\frac{d}{d x}(\right.$ I $) \int$ II $\left.d x\right) d x$

$=(\log 2 x) \int x d x-\int\left(\frac{d}{d x}(\log 2 x) \int x d x\right) d x$

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




$ \begin{aligned} & =\frac{1}{2} x^2 \log 2 x-\frac{1}{2} \int x d x \quad\left[\because \frac{x^2}{x}=\frac{x \cdot x}{x}=x\right] \\ & =\frac{1}{2} x^2 \log 2 x-\frac{1}{2} \frac{x^2}{2}+c=\frac{x^2}{2} \log 2 x-\frac{x^2}{4}+c \end{aligned} $
6. $\boldsymbol{x}^2 \boldsymbol{\operatorname { l o g }} \boldsymbol{x}$
Sol.

$\int x^2 \log x d x=\int(\log x) x^2 d x$

I II

Applying Product Rule: I $\int$ II $d x-\int\left(\frac{d}{d x}\right.$ (I) $\int$ II $\left.d x\right) d x$


$ \begin{aligned} & =\log x \int x^2 d x-\int\left(\frac{d}{d x}(\log x) \int x^2 d x\right) d x \\ & =(\log x) \frac{x^3}{3}-\int \frac{1}{x} \frac{x^3}{3} d x=\frac{x^3}{3} \log x-\frac{1}{3} \int x^2 d x\left[\because \frac{x^3}{x}=x^2\right] \\ & \quad=\frac{x^3}{3} \log x-\frac{1}{3} \frac{x^3}{3}+c=\frac{x^3}{3} \log x-\frac{x^3}{9}+c . \end{aligned} $
7. $x \sin ^{-1} x$
Sol.

Let $\mathrm{I}=\int x \sin ^{-1} x d x$.

Put $\boldsymbol{x}=\boldsymbol{\operatorname { s i n }} \theta$. Differentiating both sides $d x=\cos \theta d \theta$


$ \begin{aligned} \therefore \quad \mathrm{I} & =\int \sin \theta \cdot \theta \cdot \cos \theta d \theta=\frac{1}{2} \int \theta \cdot 2 \sin \theta \cos \theta d \theta \\ & =\frac{1}{2} \int_{\mathrm{I}} \theta \sin 2 \theta d \theta \end{aligned} $


Applying integration by parts


$ \begin{aligned} & =\frac{1}{2}\left[\theta\left(-\frac{\cos 2 \theta}{2}\right)-\int 1 \cdot\left(-\frac{\cos 2 \theta}{2}\right) d \theta\right] \\ & =\frac{1}{4}\left[-\theta \cos 2 \theta+\int \cos 2 \theta d \theta\right]=\frac{1}{4}\left[-\theta \cos 2 \theta+\frac{\sin 2 \theta}{2}\right]+c \\ & =\frac{1}{4}\left[-\theta\left(1-2 \sin ^2 \theta\right)+\sin \theta \cos \theta\right]+c \\ & (\because \sin 2 \theta=2 \sin \theta \cos \theta) \\ & =\frac{1}{4}\left[-\sin ^{-1} x \cdot\left(1-2 x^2\right)+x \sqrt{1-x^2}\right]+c \\ & {\left[\because \cos \theta=\sqrt{1-\sin ^2 \theta}=\sqrt{1-x^2}\right]} \\ & =\frac{1}{4}\left(2 x^2-1\right) \sin ^{-1} x+\frac{x \sqrt{1-x^2}}{4}+c . \end{aligned} $
8. $\boldsymbol{x} \boldsymbol{\operatorname { t a n }}^{-\mathbf{1}} \boldsymbol{x}$
Sol.

Let I $=\int x \tan ^{-1} x d x=\int\left(\tan ^{-1} x\right) \cdot x d x$


$ =\left(\tan ^{-1} x\right) \cdot \frac{x^2}{2}-\int \frac{1}{1+x^2} \cdot \frac{x^2}{2} d x $




$ \begin{aligned} & =\frac{x^2}{2} \tan ^{-1} x-\frac{1}{2} \int \frac{x^2}{1+x^2} d x \\ & =\frac{x^2}{2} \tan ^{-1} x-\frac{1}{2} \int\left(1-\frac{1}{1+x^2}\right) d x \\ & \quad\left[\because \frac{x^2}{1+x^2}=\frac{1+x^2-1}{1+x^2}=1-\frac{1}{1+x^2}\right] \\ & =\frac{x^2}{2} \tan ^{-1} x-\frac{1}{2}\left(x-\tan ^{-1} x\right)+c \\ & =\frac{1}{2}\left[x^2 \tan ^{-1} x-x+\tan ^{-1} x\right]+c=\frac{1}{2}\left[\left(x^2+1\right) \tan ^{-1} x-x\right]+c \end{aligned} $


Integrate the functions in Exercises 9 to 15:

9. $x \cos ^{-1} x$
Sol.

Let $\mathrm{I}=\int x \cos ^{-1} x d x$


Put $\boldsymbol{\operatorname { c o s }}^{-1} \boldsymbol{x} \boldsymbol{=} \boldsymbol{\theta}$. Therefore $\boldsymbol{x}=\boldsymbol{\operatorname { c o s }} \boldsymbol{\theta}$.


$ \begin{aligned} \therefore \quad \frac{d x}{d \theta} & =-\sin \theta \Rightarrow d x=-\sin \theta d \theta \\ \therefore \text { From }(i), \text { I } & =\int(\cos \theta) \theta(-\sin \theta d \theta)=\frac{-1}{2} \int \theta(2 \sin \theta \cos \theta) d \theta \\ & =\frac{-1}{2} \int_{\text {I II }} \theta \sin 2 \theta d \theta \end{aligned} $


Applying Product Rule: I $\int$ II $d \theta-\int\left[\frac{d}{d \theta}(\mathrm{I}) \int \mathrm{II} d \theta\right] d \theta$


$ \begin{aligned} & =\frac{-1}{2}\left[\theta\left(\frac{-\cos 2 \theta}{2}\right)-\int 1\left(\frac{-\cos 2 \theta}{2}\right) d \theta\right] \\ & =\frac{-1}{2}\left[\frac{-1}{2} \theta \cos 2 \theta+\frac{1}{2} \int \cos 2 \theta d \theta\right]=\frac{1}{4} \theta \cos 2 \theta-\frac{1}{4}\left(\frac{\sin 2 \theta}{2}\right)+c \\ & =\frac{1}{4} \theta \cos 2 \theta-\frac{1}{8}(2 \sin \theta \cos \theta)+c \\ & =\frac{1}{4} \theta\left(2 \cos ^2 \theta-1\right)-\frac{1}{4} \sqrt{1-\cos ^2 \theta} \cdot \cos \theta+c \end{aligned} $


Putting $\cos \theta=x$ and $\theta=\cos ^{-1} x$;


$ \begin{aligned} & =\frac{1}{4}\left(\cos ^{-1} x\right)\left(2 x^2-1\right)-\frac{1}{4} \sqrt{1-x^2} \cdot x+c \\ & =\left(2 x^2-1\right) \frac{\cos ^{-1} x}{4}-\frac{x}{4} \sqrt{1-x^2}+c . \end{aligned} $
10. $\left(\sin ^{-1} x\right)^2$
Sol.

Put $\boldsymbol{x}=\boldsymbol{\operatorname { s i n }} \theta$. Differentiating both sides, $d x=\cos \theta d \theta$


$ \begin{aligned} & \therefore \int\left(\sin ^{-1} x\right)^2 d x=\int \theta_{\text {I }} \theta_{\text {II }}^2 \cos \theta d \theta=\theta^2 \sin \theta-\int 2 \theta \sin \theta d \theta \\ & =\theta^2 \sin \theta-2 \int \underset{\text { I II }}{\theta \sin \theta} d \theta \end{aligned} $




$ \begin{aligned} & =\theta^2 \sin \theta-2\left[\theta(-\cos \theta)-\int 1 \cdot(-\cos \theta) d \theta\right] \\ & =\theta^2 \sin \theta+2 \theta \cos \theta-2 \int \cos \theta d \theta=\theta^2 \sin \theta+2 \theta \cos \theta-2 \sin \theta+c \\ & =x\left(\sin ^{-1} x\right)^2+2 \sqrt{1-x^2} \sin ^{-1} x-2 x+c \\ & \left(\because \cos \theta=\sqrt{1-\sin ^2 \theta}=\sqrt{1-x^2}\right) \end{aligned} $
11. $\frac{x \cos ^{-1} x}{\sqrt{1-x^2}}$
Sol.

Let $\mathrm{I}=\int \frac{x \cos ^{-1} x}{\sqrt{1-x^2}} d x$


Put $\cos ^{-1} x=\theta . \quad \Rightarrow \quad x=\cos \theta$

Therefore $\frac{d x}{d \theta}=-\sin \theta \Rightarrow d x=-\sin \theta d \theta$


$ \begin{aligned} & \therefore \text { From }(i), \mathrm{I}=\int \frac{(\cos \theta) \theta}{\sqrt{1-\cos ^2 \theta}}(-\sin \theta d \theta) \\ & \quad=-\int \frac{\theta \cos \theta \sin \theta}{\sin \theta} d \theta\left(\because \sqrt{1-\cos ^2 \theta}=\sqrt{\sin ^2 \theta}=\sin \theta\right) \\ & \quad=-\int \theta \cos \theta d \theta \\ & \text { I II } \end{aligned} $


Applying Product Rule: I $\int$ II $d \theta-\int\left[\frac{d}{d \theta}\right.$ (I) $\int$ II $\left.d \theta\right] d \theta$


$ \begin{aligned} & =-\left[\theta \cdot \sin \theta-\int 1 \cdot \sin \theta d \theta\right]=-\theta \sin \theta+\int \sin \theta d \theta \\ & =-\theta \sin \theta-\cos \theta+c=-\theta \sqrt{1-\cos ^2 \theta}-\cos \theta+c \end{aligned} $


Putting $\theta=\cos ^{-1} x$ and $\cos \theta=x$,

12. $x \sec ^2 x$ $ =-\left(\cos ^{-1} x\right) \sqrt{1-x^2}-x+c=-\left[\sqrt{1-x^2} \cos ^{-1} x+x\right]+c . $
Sol.

$\int_{\text {I II }} x \sec ^2 x d x$

Applying Product Rule: I $\int$ II $d x-\int\left[\frac{d}{d x}\right.$ (I) $\int$ II $\left.d x\right] d x$


$ \begin{aligned} & =x \int \sec ^2 x d x-\int\left[\frac{d}{d x}(x) \int \sec ^2 x d x\right] d x \\ & =x \tan x-\int 1 \cdot \tan x d x=x \tan x-\int \tan x d x \\ & =x \tan x-(-\log |\cos x|)+c=x \tan x+\log |\cos x|+c \end{aligned} $
13. $\tan ^{-1} x$
Sol.

Let $\mathrm{I}=\int \tan ^{-1} x d x=\int\left(\tan ^{-1} x\right) .1 d x$


$ \begin{aligned} & =\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 \left|\left(1+x^2\right)\right|+c \cdot\left[\because \int \frac{\boldsymbol{f}^{\prime}(\boldsymbol{x})}{\boldsymbol{f}(\boldsymbol{x})} \boldsymbol{d x}=\log |\boldsymbol{f}(\boldsymbol{x})|\right] \end{aligned} $




$ =x \tan ^{-1} x-\frac{1}{2} \log \left(1+x^2\right)+c $


$ \left[\because 1+x^2 \geq 1>0 \text { and hence }\left|1+x^2\right|=1+x^2\right] $
14. $\boldsymbol{x}(\boldsymbol{\operatorname { l o g } x})^2$
Sol.

$\int x(\log x)^2 d x=\int(\log x)^2 \cdot x d x$

Applying Product Rule: I $\int$ II $d x-\int\left[\frac{d}{d x}(\mathrm{I}) \int\right.$ II $\left.d x\right] d x$


$ \begin{aligned} & =(\log x)^2 \int x d x-\int\left[\frac{d}{d x}(\log x)^2 \int x d x\right] d x \\ & =(\log x)^2 \frac{x^2}{2}-\int \frac{2(\log x)}{x} \frac{x^2}{2} d x \\ & \quad\left[\because \frac{d}{d x}(\log x)^2=2(\log x)^1 \frac{d}{d x}(\log x)=2 \log x \cdot \frac{1}{x}=\frac{2 \log x}{x}\right] \\ & =\frac{x^2}{2}(\log x)^2-\int(\log x) x d x \quad\left[\because \frac{x^2}{x}=\frac{x \cdot x}{x}=x\right] \end{aligned} $


I II

Again applying Product Rule: I $\int$ II $d x-\int\left[\frac{d}{d x}(\right.$ I $) \int$ II $\left.d x\right] d x$


$ \begin{aligned} & =\frac{x^2}{2}(\log x)^2-\left[(\log x) \frac{x^2}{2}-\int\left(\frac{1}{x} \frac{x^2}{2}\right) d x\right]+c \\ & =\frac{x^2}{2}(\log x)^2-\frac{x^2}{2} \log x+\frac{1}{2} \int x d x+c \\ & =\frac{x^2}{2}(\log x)^2-\frac{x^2}{2} \log x+\frac{x^2}{4}+c . \end{aligned} $
15. $\left(x^2+1\right) \log x$
Sol.

$\int\left(x^2+1\right) \log x d x=\int(\log x)\left(x^2+1\right) d x$


I II


Applying Product Rule: I $\int$ II $d x-\int\left[\frac{d}{d x}\right.$ (I) $\int$ II $\left.d x\right] d x$


$ \begin{aligned} & =\log x\left(\frac{x^3}{3}+x\right)-\int \frac{1}{x}\left(\frac{x^3}{3}+x\right) d x \\ & =\left(\frac{x^3}{3}+x\right) \log x-\int\left(\frac{x^2}{3}+1\right) d x \\ & =\left(\frac{x^3}{3}+x\right) \log x-\frac{1}{3} \int x^2 d x-\int 1 d x \\ & =\left(\frac{x^3}{3}+x\right) \log x-\frac{1}{3} \frac{x^3}{3}-x+c=\left(\frac{x^3}{3}+x\right) \log x-\frac{x^3}{9}-x+c . \end{aligned} $




Integrate the functions in Exercises 16 to 22:

16. $e^x(\sin x+\cos x)$
Sol.

Here $\mathrm{I}=\int e^x(\sin x+\cos x) d x$

It is of the form $\int e^x\left[f(x)+f^{\prime}(x)\right] d x$

Let us take $f(x)=\sin x$ so that $f^{\prime}(x)=\cos x$


$ \begin{aligned} \mathrm{I}=e^x f(x)+c & =e^x \sin x+c \\ & {\left[\because \int e^x\left(f(x)+f^{\prime}(x)\right) d x=e^x f(x)+c\right] } \end{aligned} $
17. $\frac{x e^x}{(1+x)^2}$
Sol.

Here $\mathrm{I}=\int \frac{x e^x}{(x+1)^2} d x=\int \frac{(x+1)-1}{(x+1)^2} e^x d x$


$ =\int e^x\left[\frac{x+1}{(x+1)^2}-\frac{1}{(x+1)^2}\right] d x=\int e^x\left[\frac{1}{x+1}+\frac{-1}{(x+1)^2}\right] d x $


It is of the form $\int e^x\left[f(x)+f^{\prime}(x)\right] d x$

Let us take $f(x)=\frac{1}{x+1}$ so that $f^{\prime}(x)=\frac{d}{d x}\left[(x+1)^{-1}\right]$


$ \begin{gathered} =-(x+1)^{-2}=\frac{-1}{(x+1)^2} \\ \therefore I=e^x f(x)+c=\frac{e^x}{x+1}+c \cdot\left[\because \int e^x\left(f(x)+f^{\prime}(x)\right) d x=e^x f(x)+c\right] \end{gathered} $
18. $e^x\left(\frac{1+\sin x}{1+\cos x}\right)$
Sol.

Here $\mathrm{I}=\int e^x \cdot \frac{1+\sin x}{1+\cos x} d x=\int e^x \cdot \frac{1+2 \sin \frac{x}{2} \cos \frac{x}{2}}{2 \cos ^2 \frac{x}{2}} d x$


$ \begin{aligned} & =\int e^x \cdot\left[\frac{1}{2 \cos ^2 \frac{x}{2}}+\frac{2 \sin \frac{x}{2} \cos \frac{x}{2}}{2 \cos ^2 \frac{x}{2}}\right] d x=\int e^x\left(\frac{1}{2} \sec ^2 \frac{x}{2}+\tan \frac{x}{2}\right) d x \\ & =\int e^x\left(\tan \frac{x}{2}+\frac{1}{2} \sec ^2 \frac{x}{2}\right) d x \end{aligned} $


It is of the form $\int e^x\left[f(x)+f^{\prime}(x)\right] d x$

Let us take $f(x)=\tan \frac{x}{2}$ so that $f^{\prime}(x)=\frac{1}{2} \sec ^2 \frac{x}{2}$


$ \begin{aligned} \therefore \quad \mathrm{I}=e^x f(x)+c=e^x \tan \frac{x}{2}+c & \\ & {\left[\because \int e^x\left(f(x)+f^{\prime}(x)\right) d x=e^x f(x)+c\right] } \end{aligned} $
19. $e^x\left(\frac{1}{x}-\frac{1}{x^2}\right)$
Sol.

Let $\mathrm{I}=\int e^x\left(\frac{1}{x}-\frac{1}{x^2}\right) d x$

It is of the form $\int e^x\left(f(x)+f^{\prime}(x)\right) d x$

Here $f(x)=\frac{1}{x}=x^{-1}$ and so $f^{\prime}(x)=(-1) x^{-2}=\frac{-1}{x^2}$


$ \begin{aligned} & \therefore \quad \mathrm{I}=e^x f(x)+c \quad\left[\because \int e^x\left(f(x)+f^{\prime}(x)\right] d x=e^x f(x)+c\right. \\ & =e^x \frac{1}{x}+c=\frac{e^x}{x}+c \end{aligned} $
20. $\frac{(x-3) e^x}{(x-1)^3}$
Sol.

Here $\mathrm{I}=\int \frac{(x-3) e^x}{(x-1)^3} d x=\int \frac{(x-1)-2}{(x-1)^3} e^x d x$


$ =\int e^x\left[\frac{x-1}{(x-1)^3}-\frac{2}{(x-1)^3}\right] d x=\int e^x\left[\frac{1}{(x-1)^2}+\frac{-2}{(x-1)^3}\right] d x $


It is of the form $\int e^x\left[f(x)+f^{\prime}(x)\right] d x$

Let us take $f(x)=\frac{1}{(x-1)^2}$ so that $f^{\prime}(x)=\frac{d}{d x}\left[(x-1)^{-2}\right]$


$ \begin{aligned} =-2(x-1)^{-3} & =\frac{-2}{(x-1)^3} \\ \therefore \quad \mathrm{I}=e^x f(x)+c= & \frac{e^x}{(x-1)^2}+c . \\ & {\left[\because \int e^x\left(f(x)+f^{\prime}(x)\right) d x=e^x f(x)\right] } \end{aligned} $


Note: Rule for evaluating $\int e^{\boldsymbol{a x}} \boldsymbol{\operatorname { s i n }} \boldsymbol{b} \boldsymbol{x} d \boldsymbol{x}$ or $\int \boldsymbol{e}^{\boldsymbol{a x}} \boldsymbol{\operatorname { c o s }} \boldsymbol{b} \boldsymbol{x} d \boldsymbol{x}$

Let $\mathrm{I}=\int e^{a x} \sin b x d x$ or $\int e^{a x} \cos b x d x$

I II I II

Integrate twice by product Rule and transpose term containing I from R.H.S. to L.H.S.

21. $\boldsymbol{e}^{2 x} \boldsymbol{\operatorname { s i n }} \boldsymbol{x}$
Sol.

Let $\mathrm{I}=\underset{\text { I }}{\int} e^{2 x} \sin x d x$


Applying Product Rule: I $\int$ II $d x-\int\left[\frac{d}{d x}(\right.$ I $) \int$ II $\left.d x\right] d x$

$\Rightarrow \mathrm{I}=e^{2 x}(-\cos x)-\int e^{2 x} \cdot 2 \cdot(-\cos x) d x$


$ \left[\because \frac{d}{d x} e^{2 x}=e^{2 x} \frac{d}{d x}(2 x)=2 e^{2 x}\right] $




$ \Rightarrow \mathrm{I}=-e^{2 x} \cos x+2 \int e^{2 x} \cos x d x $

I I I


Again Applying Product Rule:


$ \begin{aligned} \mathrm{I} & =-e^{2 x} \cos x+2\left[e^{2 x} \sin x-\int 2 e^{2 x} \sin x d x\right] \\ \Rightarrow \mathrm{I} & =-e^{2 x} \cos x+2 e^{2 x} \sin x-4 \int e^{2 x} \sin x d x \\ \Rightarrow \mathrm{I} & =e^{2 x}(-\cos x+2 \sin x)-4 \mathrm{I} \end{aligned} $


Transposing – 4 I to L.H.S.; $5 \mathrm{I}=e^{2 x}(2 \sin x-\cos x)$


$ \therefore \quad \mathrm{I}\left(=\int e^{2 x} \sin x d x\right)=\frac{e^{2 x}}{5}(2 \sin x-\cos x)+c $


Remark: The above question can also be done as: Applying Product Rule: taking $\sin x$ as first function and $e^{2 x}$ as second function.

22. $\sin ^{-1}\left(\frac{2 x}{1+x^2}\right)$
Sol.

Put $\boldsymbol{x}=\boldsymbol{\operatorname { t a n }} \theta$. Differentiating both sides $d x=\sec ^2 \theta d \theta$.


$ \begin{aligned} \therefore & \int \sin ^{-1}\left(\frac{2 x}{1+x^2}\right) d x=\int \sin ^{-1}\left(\frac{2 \tan \theta}{1+\tan ^2 \theta}\right) \cdot \sec ^2 \theta d \theta \\ & =\int \sin ^{-1}(\sin 2 \theta) \cdot \sec ^2 \theta d \theta=\int 2 \theta \sec ^2 \theta d \theta \\ & =2 \int \sec ^2 \theta d \theta \\ & \text { II } \end{aligned} $


Applying product rule


$ \begin{aligned} & =2\left[\theta \cdot \tan \theta-\int 1 \cdot \tan \theta d \theta\right]=2\left[\theta \tan \theta-\int \tan \theta d \theta\right] \\ & =2[\theta \tan \theta-\log \sec \theta]+c \\ & =2\left[\tan ^{-1} x \cdot x-\log \sqrt{1+x^2}\right]+c \\ & \quad\left[\because \sec \theta=\sqrt{1+\tan ^2 \theta}=\sqrt{1+x^2}\right] \\ & =2\left[x \tan ^{-1} x-\frac{1}{2} \log \left(1+x^2\right)\right]+c \\ & =2 x \tan ^{-1} x-\log \left(1+x^2\right)+c . \end{aligned} $


Choose the correct option in Exercises 23 and 24.

23. $\int x^2 e^{x^3} d x$ equals (A) $\frac{\mathbf{1}}{\mathbf{3}} e^{x^3}+\mathbf{C}$ (B) $\frac{1}{3} e^{x^2}+\mathrm{C}$ (C) $\frac{1}{2} \boldsymbol{e}^{x^3}+\mathrm{C}$ (D) $\frac{\mathbf{1}}{\mathbf{2}} \boldsymbol{e}^{\boldsymbol{x}^{\mathbf{2}}}+\mathbf{C}$
Sol.

Let $\mathrm{I}=\int x^2 e^{x^3} d x=\frac{1}{3} \int e^{\left(x^3\right)}\left(3 x^2\right) d x \quad\left[\because \frac{d}{d x} x^3=3 x^2\right]$


Put $x^3=t$. Therefore $3 x^2=\frac{d t}{d x}$. Therefore $3 x^2 d x=d t$




Therefore, from (i), I $=\frac{1}{3} \int e^t d t=\frac{1}{3} e^t+\mathrm{C}$

Putting $t=x^3,=\frac{1}{3} e^{x^3}+\mathrm{C}$

Hence, Option (B) is the correct answer.

24. $\int \boldsymbol{e}^{\boldsymbol{x}} \boldsymbol{\operatorname { s e c }} \boldsymbol{x}(1+\boldsymbol{\operatorname { t a n }} \boldsymbol{x}) d \boldsymbol{x}$ equals (A) $e^x \cos x+\mathrm{C}$ (B) $e^x \sec x+\mathrm{C}$ (C) $\boldsymbol{e}^x \boldsymbol{\operatorname { s i n }} x+\mathrm{C}$ (D) $e^x \boldsymbol{\operatorname { t a n }} \boldsymbol{x}+\mathbf{C}$
Sol.

Let $\mathrm{I}=\int e^x \sec x(1+\tan x) d x=\int e^x(\sec x+\sec x \tan x) d x$ It is of the form $\int e^x\left(f(x)+f^{\prime}(x)\right) d x$

Here $f(x)=\sec x$ and so $f^{\prime}(x)=\sec x \tan x$


$ \begin{aligned} \therefore \quad \mathrm{I} & =e^x f(x)+\mathrm{C} \quad\left[\because \int e^x\left(f(x)+f^{\prime}(x)\right) d x=e^x f(x)+\mathrm{C}\right] \\ & =e^x \sec x+\mathrm{C} \end{aligned} $

Hence, Option (B) is the correct answer.




FREE Study Materials

Get NCERT Solutions, RD Sharma Solutions, Previous Year Papers, Important Questions, Formula Sheets \& much more.

www..com

Exercise 7.7
1. Integrate $\sqrt{4-x^2}$
Sol.

$\int \sqrt{4-x^2} d x=\int \sqrt{2^2-x^2} d x$


$ =\frac{x}{2} \sqrt{2^2-x^2}+\frac{2^2}{2} \sin ^{-1} \frac{x}{2}+c $




$ \begin{aligned} & {\left[\because \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}\right] } \\ = & \frac{x}{2} \sqrt{4-x^2}+2 \sin ^{-1} \frac{x}{2}+c \end{aligned} $
2. $\sqrt{1-4 x^2}$
Sol.

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


$ \begin{gathered} =\frac{\frac{(2 x)}{2} \sqrt{1^2-(2 x)^2}+\frac{1^2}{2} \sin ^{-1}\left(\frac{2 x}{1}\right)}{2 \rightarrow \text { Coefficient of } x \text { in } 2 x}+c \\ {\left[\because \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}\right]} \\ =\frac{1}{2}\left[x \sqrt{1-4 x^2}+\frac{1}{2} \sin ^{-1} \frac{2 x}{1}\right]+c=\frac{x}{2} \sqrt{1-4 x^2}+\frac{1}{4} \sin ^{-1} 2 x+c . \end{gathered} $
3. $\sqrt{x^2+4 x+6}$
Sol.

$\int \sqrt{x^2+4 x+6} d x$

Coefficient of $x^2$ is unity. So let us complete squares by adding and subtracting $\left(\frac{1}{2} \text { Coefficient of } x\right)^2=2^2$


$ \begin{aligned} & =\int \sqrt{x^2+4 x+4+6-4} d x=\int \sqrt{(x+2)^2+2} d x \\ & =\int \sqrt{(x+2)^2+(\sqrt{2})^2} d x=\left(\frac{x+2}{2}\right) \sqrt{(x+2)^2+(\sqrt{2})^2} \\ & \quad+\frac{(\sqrt{2})^2}{2} \log \left|x+2+\sqrt{(x+2)^2+(\sqrt{2})^2}\right|+c \\ & \quad\left[\because \int \sqrt{x^2+a^2} d x=\frac{x}{2} \sqrt{x^2+a^2}+\frac{a^2}{2} \log \left|x+\sqrt{x^2+a^2}\right|\right] \\ & =\frac{(x+2)}{2} \sqrt{x^2+4+4 x+2} \\ & \quad+\frac{2}{2} \log \left|x+2+\sqrt{x^2+4+4 x+2}\right|+c \\ & =\frac{(x+2)}{2} \sqrt{x^2+4 x+6}+\log \left|x+2+\sqrt{x^2+4 x+6}\right|+c . \end{aligned} $
4. $\sqrt{x^2+4 x+1}$
Sol.

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


$ \left(\text { We have added and subtracted }\left(\frac{1}{2} \operatorname{coefficient~of~} x\right)^2=2^2\right) $




$ \left.\begin{array}{l} =\int \sqrt{(x+2)^2-3} d x=\int \sqrt{(x+2)^2-(\sqrt{3})^2} d x \\ =\left(\frac{x+2}{2}\right) \sqrt{(x+2)^2-(\sqrt{3})^2} \\ \quad-\frac{(\sqrt{3})^2}{2} \log \left|x+2+\sqrt{(x+2)^2-(\sqrt{3})^2}\right|+c \\ \quad\left[\because \int \sqrt{x^2-a^2} d x=\frac{x}{2} \sqrt{x^2-a^2}-\frac{a^2}{2} \log \left|x+\sqrt{x^2-a^2}\right|\right. \end{array}\right] $
5. $\int \sqrt{1-4 x-x^2}$
Sol.

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

Making coefficient of $x^2$ unity


$ =\int \sqrt{-\left(x^2+4 x-1\right)} d x $

(Note: You can’t take this (-) sign out of this bracket because square root of -1 is imaginary)


$ \begin{aligned} & =\int \sqrt{-\left(x^2+4 x+2^2-4-1\right)} d x=\int \sqrt{-\left[(x+2)^2-5\right]} d x \\ & =\int \sqrt{5-(x+2)^2} d x=\int \sqrt{(\sqrt{5})^2-(x+2)^2} d x \\ & =\frac{x+2}{2} \sqrt{(\sqrt{5})^2-(x+2)^2}+\frac{(\sqrt{5})^2}{2} \sin ^{-1}\left(\frac{x+2}{\sqrt{5}}\right)+c \\ & \quad\left[\because \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}\right] \\ & =\frac{x+2}{2} \sqrt{1-4 x-x^2}+\frac{5}{2} \sin ^{-1}\left(\frac{x+2}{\sqrt{5}}\right)+c \\ & \quad\left[\because(\sqrt{5})^2-(x+2)^2=5-\left(x^2+4+4 x\right)\right. \\ & \left.=5-x^2-4-4 x=1-4 x-x^2\right] \end{aligned} $
6. $\sqrt{x^2+4 x-5}$
Sol.

$\int \sqrt{x^2+4 x-5} d x=\int \sqrt{x^2+4 x+2^2-4-5} d x$


$ \begin{aligned} & =\int \sqrt{(x+2)^2-9} d x=\int \sqrt{(x+2)^2-3^2} d x \\ & =\left(\frac{x+2}{2}\right) \sqrt{(x+2)^2-3^2}-\frac{3^2}{2} \log \left|x+2+\sqrt{(x+2)^2-3^2}\right|+c \\ & \quad\left[\because \int \sqrt{x^2-a^2} d x=\frac{x}{2} \sqrt{x^2-a^2}-\frac{a^2}{2} \log \left|x+\sqrt{x^2-a^2}\right|\right] \end{aligned} $




$ \begin{gathered} =\left(\frac{x+2}{2}\right) \sqrt{x^2+4 x-5}-\frac{9}{2} \log \left|x+2+\sqrt{x^2+4 x-5}\right|+c \\ {\left[\because(x+2)^2-3^2=x^2+4 x+4-9=x^2+4 x-5\right]} \end{gathered} $
7. $\sqrt{\mathbf{1}+\mathbf{3} \boldsymbol{x}-\boldsymbol{x}^{\mathbf{2}}}$
Sol.

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


$ \begin{aligned} & =\int \sqrt{-\left(x^2-3 x-1\right)} d x \\ & =\int \sqrt{-\left[x^2-3 x+\left(\frac{3}{2}\right)^2-\frac{9}{4}-1\right]} d x=\int \sqrt{-\left[\left(x-\frac{3}{2}\right)^2-\frac{13}{4}\right]} d x \\ & =\int \sqrt{\frac{13}{4}-\left(x-\frac{3}{2}\right)^2} d x=\int \sqrt{\left(\frac{\sqrt{13}}{2}\right)^2-\left(x-\frac{3}{2}\right)^2} d x \\ & =\left(\frac{x-\frac{3}{2}}{2}\right) \sqrt{\left(\frac{\sqrt{13}}{2}\right)^2-\left(x-\frac{3}{2}\right)^2+\frac{\left(\frac{\sqrt{13}}{2}\right)^2}{2} \sin ^{-1}\left(\frac{x-\frac{3}{2}}{\frac{\sqrt{13}}{2}}\right)+c} \\ & \quad\left[\because \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}\right] \\ & =\left(\frac{2 x-3}{4}\right) \sqrt{1+3 x-x^2}+\frac{13}{8} \sin ^{-1}\left(\frac{2 x-3}{\sqrt{13}}\right)+c \\ & \quad\left[\because\left(\frac{\sqrt{13}}{2}\right)^2-\left(x-\frac{3}{2}\right)^2=\frac{13}{4}-\left(x^2+\frac{9}{4}-3 x\right)\right. \\ & \left.\quad=\frac{13}{4}-x^2-\frac{9}{4}+3 x=1+3 x-x^2\right] \end{aligned} $
8. $\sqrt{x^2+3 x}$
Sol.

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


$ \begin{array}{r} =\frac{x+\frac{3}{2}}{2} \sqrt{\left(x+\frac{3}{2}\right)^2-\left(\frac{3}{2}\right)^2}-\frac{\left(\frac{3}{2}\right)^2}{2} \log \left|x+\frac{3}{2}+\sqrt{\left(x+\frac{3}{2}\right)^2-\left(\frac{3}{2}\right)^2}\right|+c \\ {\left[\because \int \sqrt{x^2-a^2} d x=\frac{x}{2} \sqrt{x^2-a^2}-\frac{a^2}{2} \log \left|x+\sqrt{x^2-a^2}\right|\right]} \end{array} $




$ \begin{gathered} =\frac{2 x+3}{4} \sqrt{x^2+3 x}-\frac{9}{8} \log \left|x+\frac{3}{2}+\sqrt{x^2+3 x}\right|+c \\ {\left[\because\left(x+\frac{3}{2}\right)^2-\left(\frac{3}{2}\right)^2=x^2+3 x+\frac{9}{4}-\frac{9}{4}=x^2+3 x\right]} \end{gathered} $
9. $\sqrt{1+\frac{x^2}{9}}$
Sol.

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


$ \begin{aligned} & =\frac{1}{3}\left[\frac{x}{2} \sqrt{x^2+3^2}+\frac{3^2}{2} \log \left|x+\sqrt{x^2+3^2}\right|\right]+c \\ & \quad\left[\because \int \sqrt{x^2+a^2} d x=\frac{x}{2} \sqrt{x^2+a^2}+\frac{a^2}{2} \log \left|x+\sqrt{x^2+a^2}\right|\right] \\ & =\frac{x}{6} \sqrt{x^2+9}+\frac{3}{2} \log \left|x+\sqrt{x^2+9}\right|+c \end{aligned} $


Choose the correct option in Exercises 10 to 11:

10. $\int \sqrt{1+x^2} d x$ is equal to (A) $\frac{x}{2} \sqrt{1+x^2}+\frac{1}{2} \log \left|\left(x+\sqrt{1+x^2}\right)\right|+\mathrm{C}$ (B) $\frac{2}{3}\left(1+x^2\right)^{3 / 2}+\mathrm{C}$ (C) $\frac{2}{3} x\left(1+x^2\right)^{3 / 2}+\mathrm{C}$ (D) $\frac{x^2}{2} \sqrt{1+x^2}+\frac{1}{2} x^2 \log \left|x+\sqrt{1+x^2}\right|+\mathrm{C}$.
Sol.

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


$ \begin{aligned} & =\frac{x}{2} \sqrt{x^2+1^2}+\frac{1^2}{2} \log \left|x+\sqrt{x^2+1^2}\right|+\mathrm{C} \\ & {\left[\because \int \sqrt{x^2+a^2} d x=\frac{x}{2} \sqrt{x^2+a^2}+\frac{a^2}{2} \log \left|x+\sqrt{x^2+a^2}\right|\right]} \\ & =\frac{x}{2} \sqrt{x^2+1}+\frac{1}{2} \log \left|x+\sqrt{x^2+1}\right|+\mathrm{C} \end{aligned} $
11. $\int \sqrt{x^2-8 x+7} d x$ is equal to (A) $\frac{1}{2}(x-4) \sqrt{x^2-8 x+7}+9 \log \left|x-4+\sqrt{x^2-8 x+7}\right|+C$ (B) $\frac{1}{2}(x+4) \sqrt{x^2-8 x+7}+9 \log \left|x+4+\sqrt{x^2-8 x+7}\right|+C$ (C) $\frac{1}{2}(x-4) \sqrt{x^2-8 x+7}-3 \sqrt{2} \log \left|x-4+\sqrt{x^2-8 x+7}\right|+C$ (D) $\frac{1}{2}(x-4) \sqrt{x^2-8 x+7}-\frac{9}{2} \log \left|x-4+\sqrt{x^2-8 x+7}\right|+\mathrm{C}$. \begin{aligned} &\text { Class } 12\\ &\text { Chapter } 7 \text { }\\ &\text { Sol. } \int \sqrt{x^2-8 x+7} d x=\int \sqrt{x^2-8 x+4^2-16+7} d x\\ &\begin{aligned} & =\int \sqrt{(x-4)^2-9} d x=\int \sqrt{(x-4)^2-3^2} d x \\ & =\left(\frac{x-4}{2}\right) \sqrt{(x-4)^2-3^2}-\frac{3^2}{2} \log \left|x-4+\sqrt{(x-4)^2-3^2}\right|+\mathrm{C} \\ & \quad\left[\because \int \sqrt{x^2-a^2} d x=\frac{x}{2} \sqrt{x^2-a^2}-\frac{a^2}{2} \log \left|x+\sqrt{x^2-a^2}\right|\right] \\ & =\left(\frac{x-4}{2}\right) \sqrt{x^2-8 x+7}-\frac{9}{2} \log \left|x-4+\sqrt{x^2-8 x+7}\right|+\mathrm{C} \\ & \quad\left[\because(x-4)^2-3^2=x^2-8 x+16-9=x^2-8 x+7\right] \end{aligned}
Sol.
Exercise 7.8
1. Integrate $\int_{-1}^1(x+1) d x$
Sol.

$\int_{-1}^1(x+1) d x=\left(\frac{x^2}{2}+x\right)_{-1}^1=\phi(b)-\phi(a)$

(By Second Fundamental Theorem given in Equation (i) page 496)


$ \begin{aligned} & =\left(\frac{1^2}{2}+1\right)-\left(\frac{(-1)^2}{2}-1\right)=\frac{1}{2}+1-\left(\frac{1}{2}-1\right) \\ & =\frac{1}{2}+1-\frac{1}{2}+1=2 \end{aligned} $


Remark: [Constant $c$ will never occur in the value of a definite integral because $c$ in the value of $\phi(b)$ gets cancelled with $c$ in $\phi(a)$ when we subtract them to get $\phi(b)-\phi(a)]$.

2. $\int_2^3 \frac{1}{x} d x$
Sol.

$\int_2^3 \frac{1}{x} d x=(\log |x|)_2^3=\phi(b)-\phi(a)=\log |3|-\log |2|$


$ =\log 3-\log 2=\log \frac{3}{2} . \quad[\because|x|=x \text { if } x \geq 0] $
3. $\int_1^2\left(4 x^3-5 x^2+6 x+9\right) d x$
Sol.

$\int_1^2\left(4 x^3-5 x^2+6 x+9\right) d x=\left(4 \frac{x^4}{4}-5 \frac{x^3}{3}+6 \frac{x^2}{2}+9 x\right)_1^2$


$ \begin{aligned} & =\left(x^4-\frac{5}{3} x^3+3 x^2+9 x\right)_1^2 \\ & =\left[2^4-\frac{5}{3}(2)^3+3(2)^2+9(2)\right]-\left[1-\frac{5}{3}+3+9\right] \\ & =\left(16-\frac{40}{3}+12+18\right)-\left(13-\frac{5}{3}\right) \\ & =46-\frac{40}{3}-\left(13-\frac{5}{3}\right)=46-\frac{40}{3}-13+\frac{5}{3} \\ & =33-\frac{40}{3}+\frac{5}{3}=\frac{99-40+5}{3}=\frac{104-40}{3}=\frac{64}{3} . \end{aligned} $
4. $\int_0^{\frac{\pi}{4}} \sin 2 x d x$
Sol.

$\int_0^{\frac{\pi}{4}} \sin 2 x d x=\left(\frac{-\cos 2 x}{2}\right)_0^{\frac{\pi}{4}}=\frac{-\cos \frac{\pi}{2}}{2}-\left(\frac{-\cos 0}{2}\right)$


$ =\frac{-0}{2}-\left(\frac{-1}{2}\right)=0+\frac{1}{2}=\frac{1}{2} . $
5. $\int_0^{\frac{\pi}{2}} \cos 2 x d x$
Sol.

$\int_0^{\frac{\pi}{2}} \cos 2 x d x=\left(\frac{\sin 2 x}{2}\right)_0^{\frac{\pi}{2}}=\frac{\sin \pi}{2}-\frac{\sin 0}{2}$


$ \begin{aligned} & =\frac{0}{2}-\frac{0}{2}=0 \\ & {\left[\because^{\circ} \sin \pi=\sin 180^{\circ}=\sin \left(180^{\circ}-0^{\circ}\right)=\sin 0=0\right]} \end{aligned} $
6. $\int_4^5 e^x d x$
Sol.

$\int_4^5 e^x d x=\left(e^x\right)_4^5=e^5-e^4=e^4(e-1)$.

7. $\int_0^{\frac{\pi}{4}} \boldsymbol{\operatorname { t a n }} \boldsymbol{x} \boldsymbol{d} \boldsymbol{x}$
Sol.

$\int_0^{\frac{\pi}{4}} \tan x d x=(\log |\sec x|)_0^{\frac{\pi}{4}}$


$ \begin{aligned} & =\log \left|\sec \frac{\pi}{4}\right|-\log |\sec 0|=\log |\sqrt{2}|-\log |1| \\ & =\log \sqrt{2}-\log 1=\log 2^{1 / 2}-0=\frac{1}{2} \log 2 . \end{aligned} $
8. $\int_{\frac{\pi}{6}}^{\frac{\pi}{4}} \operatorname{cosec} x d x$
Sol.

$\int_{\frac{\pi}{6}}^{\frac{\pi}{4}} \operatorname{cosec} x d x=(\log |\operatorname{cosec} x-\cot x|)_{\frac{\pi}{6}}^{\frac{\pi}{4}}$


$ \begin{aligned} & =\log \left|\operatorname{cosec} \frac{\pi}{4}-\cot \frac{\pi}{4}\right|-\log \left|\operatorname{cosec} \frac{\pi}{6}-\cot \frac{\pi}{6}\right| \\ & =\log |\sqrt{2}-1|-\log |2-\sqrt{3}| \\ & =\log (\sqrt{2}-1)-\log (2-\sqrt{3}) \quad[\because|x|=x \text { if } x \geq 0] \\ & =\log \left(\frac{\sqrt{2}-1}{2-\sqrt{3}}\right) . \end{aligned} $
9. $\int_0^1 \frac{d x}{\sqrt{1-x^2}}$
Sol.

$\int_0^1 \frac{d x}{\sqrt{1-x^2}}=\left(\sin ^{-1} x\right)_0^1 \quad\left[\because \int \frac{1}{\sqrt{a^2-x^2}} d x=\sin ^{-1} \frac{x}{a}\right]$


$ =\sin ^{-1} 1-\sin ^{-1} 0=\frac{\pi}{2}-0=\frac{\pi}{2} . \quad\left[\because \quad \sin \frac{\pi}{2}=1 \text { and } \sin 0=0\right] $
10. $\int_0^1 \frac{d x}{1+x^2}$
Sol.

$\int_0^1 \frac{d x}{1+x^2}=\left(\tan ^{-1} x\right)_0^1 \quad\left[\because \int \frac{1}{x^2+a^2} d x=\frac{1}{a} \tan ^{-1} \frac{x}{a}\right]$


$ \begin{aligned} =\tan ^{-1} 1-\tan ^{-1} 0=\frac{\pi}{4} & -0=\frac{\pi}{4} \\ & {\left[\because \quad \tan \frac{\pi}{4}=1 \text { and } \tan 0=0\right] } \end{aligned} $
11. $\int_2^3 \frac{d x}{x^2-1}$
Sol.

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


$ \begin{aligned} & =\left(\frac{1}{2(1)} \log \left|\frac{x-1}{x+1}\right|\right)_2^3\left[\because \int \frac{1}{x^2-a^2} d x=\frac{1}{2 a} \log \left|\frac{x-a}{x+a}\right|\right] \\ & =\frac{1}{2} \log \left|\frac{3-1}{3+1}\right|-\frac{1}{2} \log \left|\frac{2-1}{2+1}\right|=\frac{1}{2} \log \left|\frac{1}{2}\right|-\frac{1}{2} \log \left|\frac{1}{3}\right| \\ & =\frac{1}{2}\left(\log \frac{1}{2}-\log \frac{1}{3}\right) \quad[\because|x|=x \text { if } x \geq 0] \\ & =\frac{1}{2}\left[\log \left(\frac{\frac{1}{2}}{\frac{1}{3}}\right)\right]=\frac{1}{2} \log \frac{3}{2} . \end{aligned} $


Evaluate the definite integrals in Exercises 12 to 20:

12. $\int_0^{\frac{\pi}{2}} \cos ^2 x d x$
Sol.

$\int_0^{\frac{\pi}{2}} \cos ^2 x d x=\int_0^{\frac{\pi}{2}} \frac{1+\cos 2 x}{2} d x=\int_0^{\frac{\pi}{2}} \frac{1}{2}(1+\cos 2 x) d x$


$ \begin{aligned} & =\frac{1}{2} \int_0^{\frac{\pi}{2}}(1+\cos 2 x) d x=\frac{1}{2}\left(x+\frac{\sin 2 x}{2}\right)_0^{\frac{\pi}{2}} \\ & =\frac{1}{2}\left[\frac{\pi}{2}+\frac{1}{2} \sin \pi-\left(0+\frac{1}{2} \sin 0\right)\right]=\frac{1}{2}\left[\frac{\pi}{2}+0-0\right] \\ & =\frac{\pi}{4} \cdot\left[\because \sin \pi=\sin 180^{\circ}=\sin \left(180^{\circ}-0^{\circ}\right)=\sin 0=0\right] \end{aligned} $
13. $\int_2^3 \frac{x d x}{x^2+1}$
Sol.

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

$=\frac{1}{2}\left(\log \left|x^2+1\right|\right)_2^3$.


$ \left[\because \int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)|\right] $

(Here $f(x)=x^2+1$ and $f^{\prime}(x)=2 x$ )




$ \begin{aligned} & =\frac{1}{2}(\log |10|-\log |5|)=\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$
Sol.

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


$ \begin{aligned} & =\int_0^1 \frac{2 x}{5 x^2+1} d x+3 \int_0^1 \frac{d x}{5 x^2+1} \\ & =\frac{1}{5} \int_0^1 \frac{10 x}{5 x^2+1} d x+3 \int_0^1 \frac{d x}{(\sqrt{5 x})^2+1^2} \\ & =\frac{1}{5}\left(\log \left|5 x^2+1\right|\right)_0^1+3 \cdot \frac{1}{1} \frac{\left(\tan ^{-1}\left(\frac{\sqrt{5} x}{1}\right)\right)_0^1}{\sqrt{5} \rightarrow \text { Coefficient of } x} \\ & \quad\left[\because \int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)| \text { and } \int \frac{1}{x^2+a^2} d x=\frac{1}{a} \tan ^{-1} \frac{x}{a}\right] \\ & =\frac{1}{5}(\log 6-\log 1)+\frac{3}{\sqrt{5}}\left(\tan ^{-1} \sqrt{5}-\tan ^{-1} 0\right) \\ & =\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$
Sol.

We now evaluate $\int_0^1 x e^{x^2} d x$

Let us first evaluate $\int x e^{x^2} d x$


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


Put $x^2=t$. Therefore $2 x=\frac{d t}{d x} \quad \therefore 2 x d x=d t$

Therefore, from (i), $\int x e^{x^2} d x=\frac{1}{2} \int e^t d t=\frac{1}{2} e^t$

Putting $\boldsymbol{t}=\boldsymbol{x}^{\mathbf{2}},=\frac{1}{2} e^{x^2}$

∴ The given integral $\int_0^1 x e^{x^2} d x=\frac{1}{2}\left(e^{x^2}\right)_0^1$

[By (ii)]


$ =\frac{1}{2}\left(e^1-e^0\right)=\frac{1}{2}(e-1) . $




Note: Please note that limits 0 and 1 specified in the given integral are limits for $x$.

Therefore after substituting $x^2=t$ and evaluating the integral, we must put back $t=x^2$ and only then use $\int_a^b f(x) d x=\phi(b)-\phi(a)$.

Remark: In the next Exercise 7.10 we shall also learn to change the limits of integration from values of $x$ to values of $t$ and then we may use our discretion even here also.

16. $\int_1^2 \frac{5 x^2}{x^2+4 x+3} d x$
Sol.
$ \begin{aligned} & \int_1^2 \frac{5 x^2}{x^2+4 x+3} d x=\int_1^2 \frac{5 x^2}{(x+1)(x+3)} \\ & \quad\left[\because x^2+4 x+3=x^2+3 x+x+3\right. \end{aligned} $


The integrand $\frac{5 x^2}{(x+1)(x+3)}$ is a rational function and degree of numerator $=$ degree of denominator.

So let us apply long division.


$ \begin{aligned} & ( x + 1 ) ( x + 3 ) = x ^ { 2 } + 4 x + 3 \longdiv { 5 x ^ { 2 } } ( 5 \\ & \frac{-5 x^2+20 x+15}{-20 x-15} \\ \therefore \quad \frac{5 x^2}{(x+1)(x+3)}= & 5+\frac{(-20 x-15)}{(x+1)(x+3)} \end{aligned} $


Substituting this value back into (i),


$ \begin{aligned} & \int_1^2 \frac{5 x^2}{x^2+4 x+3} d x=\int_1^2\left(5+\frac{(-20 x-15)}{(x+1)(x+3)}\right) d x \\ & =\int_1^2 5 d x+\int_1^2 \frac{-20 x-15}{(x+1)(x+3)} d x=5(x)_1^2+\mathbf{I} \\ & =5(2-1)+\mathbf{I}=5+\mathbf{I} \end{aligned} $

where $I=\int_1^2 \frac{-20 x-15}{(x+1)(x+3)} d x$

Let integrand of $\mathrm{I}=\frac{-20 x-15}{(x+1)(x+3)}=\frac{\mathrm{A}}{x+1}+\frac{\mathrm{B}}{x+3}$

(Partial Fraction Decomposition)

Multiplying both sides by L.C.M. $=(x+1)(x+3)$,


$ \begin{aligned} -20 x-15= & \mathrm{A}(x+3)+\mathrm{B}(x+1) \\ & =\mathrm{A} x+3 \mathrm{~A}+\mathrm{B} x+\mathrm{B} \end{aligned} $


Equating coefficients of $x$ and constant terms on both sides,

Coefficients of $\boldsymbol{x}: \mathrm{A}+\mathrm{B}=-20$


Constant terms: $3 \mathrm{~A}+\mathrm{B}=-15$




Subtracting (iv) and (v), $-2 \mathrm{~A}=-5$. Therefore $\mathrm{A}=\frac{5}{2}$.

Substituting $\mathrm{A}=\frac{5}{2}$ back into (iv), $\frac{5}{2}+\mathrm{B}=-20 \Rightarrow \mathrm{~B}=-20-\frac{5}{2}$

or $\quad \mathrm{B}=\frac{-40-5}{2}=\frac{-45}{2}$

Substituting these values of A and B back into (iii),


$ \begin{aligned} & \frac{-20 x-15}{(x+1)(x+3)}=\frac{\frac{5}{2}}{x+1}-\frac{\frac{45}{2}}{x+3} \\ \therefore \quad & \mathrm{I}=\int_1^2 \frac{-20 x-15}{(x+1)(x+3)} d x=\frac{5}{2} \int_1^2 \frac{1}{x+1} d x-\frac{45}{2} \int_1^2 \frac{1}{x+3} d x \\ & =\frac{5}{2}(\log |x+1|)_1^2-\frac{45}{2}(\log |x+3|)_1^2 \\ & =\frac{5}{2}(\log |3|-\log |2|)-\frac{45}{2}(\log |5|-\log |4|) \\ & =\frac{5}{2} \log \frac{3}{2}-\frac{45}{2} \log \frac{5}{4} \quad[\because|x|=x \text { if } x \geq 0] \\ & =\frac{5}{2}\left(\log \frac{3}{2}-9 \log \frac{5}{4}\right) \end{aligned} $


Substituting this value of I back into (ii),


$ \int_1^2 \frac{5 x^2}{x^2+4 x+3} d x=5+\frac{5}{2}\left(\log \frac{3}{2}-9 \log \frac{5}{4}\right)=5-\frac{5}{2}\left(9 \log \frac{5}{4}-\log \frac{3}{2}\right) $
17. $\int_0^{\frac{\pi}{4}}\left(2 \sec ^2 x+x^3+2\right) d x$
Sol.

$\int_0^{\frac{\pi}{4}}\left(2 \sec ^2 x+x^3+2\right) d x=2 \int_0^{\frac{\pi}{4}} \sec ^2 x d x+\int_0^{\frac{\pi}{4}} x^3 d x+2 \int_0^{\frac{\pi}{4}} 1 d x$


$ \begin{aligned} & =2(\tan x)_0^{\frac{\pi}{4}}+\left(\frac{x^4}{4}\right)_0^{\frac{\pi}{4}}+2(x)_0^{\frac{\pi}{4}} \\ & =2\left(\tan \frac{\pi}{4}-\tan 0\right)+\frac{\left(\frac{\pi}{4}\right)^4}{4}-0+2\left(\frac{\pi}{4}-0\right) \\ & =2(1-0)+\frac{\left(\frac{\pi^4}{256}\right)}{4}+\frac{2 \pi}{4} \quad=2+\frac{\pi^4}{1024}+\frac{\pi}{2} . \end{aligned} $
18. $\int_0^\pi\left(\sin ^2 \frac{x}{2}-\cos ^2 \frac{x}{2}\right) d x$
Sol.

$\int_0^\pi\left(\sin ^2 \frac{x}{2}-\cos ^2 \frac{x}{2}\right) d x=\int_0^\pi\left[\left(\frac{1-\cos x}{2}\right)-\left(\frac{1+\cos x}{2}\right)\right] d x$


$ \left(\because \sin ^2 \theta=\frac{1-\cos 2 \theta}{2} \text { and } \cos ^2 \theta=\frac{1+\cos 2 \theta}{2}\right) $




$ \begin{aligned} & =\int_0^\pi\left(\frac{1-\cos x-1-\cos x}{2}\right) d x=\int_0^\pi \frac{-2 \cos x}{2} d x \\ & =-\int_0^\pi \cos x d x=-(\sin x)_0^\pi=-(\sin \pi-\sin 0)=-(0-0)=0 \\ & {\left[\because \sin \pi=\sin 180^{\circ}=\sin \left(180^{\circ}-0\right)=\sin 0=0\right]} \end{aligned} $
19. $\int_0^2 \frac{6 x+3}{x^2+4} d x$
Sol.

$\int_0^2 \frac{6 x+3}{x^2+4} d x=\int_0^2 \frac{6 x}{x^2+4} d x+3 \int_0^2 \frac{1}{x^2+4} d x$


$ \begin{aligned} & =3 \int_0^2 \frac{2 x}{x^2+4} d x+3 \frac{1}{2}\left(\tan ^{-1} \frac{x}{2}\right)_0^2 \\ & =3\left(\log \left|x^2+4\right|\right)_0^2+\frac{3}{2}\left(\tan ^{-1} 1-\tan ^{-1} 0\right) \\ {[\because} & \left.\int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)| \operatorname{and} \int \frac{1}{x^2+a^2} d x=\frac{1}{a} \tan ^{-1} \frac{x}{a}\right] \\ & =3(\log 8-\log 4)+\frac{3}{2}\left(\frac{\pi}{4}-0\right) \quad\left[\because \tan \frac{\pi}{4}=1\right] \\ & =3 \log \frac{8}{4}+\frac{3 \pi}{8}=3 \log 2+\frac{3 \pi}{8} . \end{aligned} $
20. $\int_0^1\left(x e^x+\sin \frac{\pi x}{4}\right) d x$
Sol.

$\int_0^1\left(x e^x+\sin \frac{\pi x}{4}\right) d x=\int_0^1 x e_{\text {II }}^x d x+\int_0^1 \sin \frac{\pi x}{4} d x$

Applying Product Rule on first definite integral,


$ \begin{aligned} & \left(\mathrm{I} \int \mathrm{II} d x\right)_0^1-\int_0^1\left(\frac{d}{d x}(\mathrm{I}) \int \mathrm{II} d x\right) d x \\ = & \left(x e^x\right)_0^1-\int_0^1 1 \cdot e^x d x-\frac{\left(\cos \frac{\pi x}{4}\right)_0^1}{\frac{\pi}{4} \rightarrow \text { Coefficient of } x \text { in } \frac{\pi x}{4}} \\ = & e^1-0-\int_0^1 e^x d x-\frac{4}{\pi}\left[\cos \frac{\pi}{4}-\cos 0\right]=e-\left(e^x\right)_0^1-\frac{4}{\pi}\left(\frac{1}{\sqrt{2}}-1\right) \\ = & e-\left(e-e^0\right)-\frac{4}{\pi \sqrt{2}}+\frac{4}{\pi} \\ = & e-e+1-\frac{2 \cdot 2}{\pi \sqrt{2}}+\frac{4}{\pi}=1+\frac{4}{\pi}-\frac{2 \sqrt{2}}{\pi} \end{aligned} $




For Exercises 21 and 22 — choose the correct option:

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}$
Sol.

$\int_1^{\sqrt{3}} \frac{d x}{1+x^2}=\left(\tan ^{-1} x\right)_1^{\sqrt{3}}=\tan ^{-1} \sqrt{3}-\tan ^{-1} 1$


$ \begin{array}{ll} =\frac{\pi}{3}-\frac{\pi}{4} & {\left[\because \tan \frac{\pi}{3}=\sqrt{3} \text { and } \tan \frac{\pi}{4}=1\right]} \\ =\frac{4 \pi-3 \pi}{12}=\frac{\pi}{12} & \end{array} $

Hence, Option (D) is the correct answer.

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}$
Sol.

$\int_0^{\frac{2}{3}} \frac{d x}{4+9 x^2}=\int_0^{\frac{2}{3}} \frac{d x}{(3 x)^2+2^2}=\left[\frac{1}{2} \frac{\tan ^{-1} \frac{3 x}{2}}{3 \rightarrow \text { Coefficient of } x \text { in } 3 x}\right]$


$ \begin{aligned} & =\frac{1}{6}\left[\tan ^{-1} \frac{3 x}{2}\right]_0^{\frac{2}{3}}=\frac{1}{6}\left[\tan ^{-1}\left(\frac{3}{2} \times \frac{2}{3}\right)-\tan ^{-1} 0\right] \\ & =\frac{1}{6}\left(\tan ^{-1} 1-\tan ^{-1} 0\right)=\frac{1}{6}\left(\frac{\pi}{4}-0\right)=\frac{\pi}{24} \\ & \quad\left[\because \tan \frac{\pi}{4}=1 \text { and } \tan 0=0\right] \end{aligned} $

Hence, Option (C) is the correct answer.

Exercise 7.9
1. Evaluate $\int_0^1 \frac{x}{x^2+1} d x$
Sol.

Let $\mathrm{I}=\int_0^1 \frac{x}{x^2+1} d x=\frac{1}{2} \int_0^1 \frac{2 x}{x^2+1} d x$


Put $x^2+1=t$. Therefore $2 x=\frac{d t}{d x} \Rightarrow 2 x d x=d t$.

We convert the limits from $x$-values to $\boldsymbol{t}$-values.

When $x=0, t=0+1=1$

When $x=1, t=1+1=2$

Therefore, from (i), I $=\frac{1}{2} \int_1^2 \frac{d t}{t}=\frac{1}{2}(\log |t|)_1^2=\frac{1}{2}(\log |2|-\log |1|)$




$ =\frac{1}{2}(\log 2-\log 1)=\frac{1}{2}(\log 2-0)=\frac{1}{2} \log 2 . $
2. $\int_0^{\frac{\pi}{2}} \sqrt{\sin \phi} \cos ^5 \phi d \phi$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{2}} \sqrt{\sin \phi} \cos ^5 \phi d \phi$


Put $\sin \phi=t$.

( ∵ one factor of integrand is $\cos ^5 \phi$ where $n=5$ is odd.)


$ \therefore \cos \phi=\frac{d t}{d \phi} \quad \text { i.e., } \quad \cos \phi d \phi=d t . $


Changing limits from $\phi$ to $t$:

When $\phi=0, t=\sin \phi=\sin 0=0$

When $\phi=\frac{\pi}{2}, t=\sin \phi=\sin \frac{\pi}{2}=1$

We rewrite the integrand as $\sqrt{\sin \phi} \cos ^5 \phi=\sqrt{\sin \phi} \cos ^4 \phi \cos \phi$


$ \begin{aligned} & =\sqrt{\sin \phi}\left(\cos ^2 \phi\right)^2 \cos \phi=\sqrt{\sin \phi}\left(1-\sin ^2 \phi\right)^2 \cos \phi \\ \therefore \quad & \text { From }(i), I=\int_0^{\frac{\pi}{2}} \sqrt{\sin \phi}\left(1-\sin ^2 \phi\right)^2 \cos \phi d \phi \\ & =\int_0^1 \sqrt{t}\left(1-t^2\right)^2 d t=\int_0^1 t^{1 / 2}\left(1+t^4-2 t^2\right) d t \\ & =\int_0^1\left(t^{\frac{1}{2}}+t^{\frac{1}{2}+4}-2 t^{\frac{1}{2}+2}\right) d t=\int_0^1\left(t^{1 / 2}+t^{9 / 2}-2 t^{5 / 2}\right) d t \\ & =\int_0^1 t^{1 / 2} d t+\int_0^1 t^{9 / 2} d t-2 \int_0^1 t^{5 / 2} d t \\ & =\frac{\left(t^{3 / 2}\right)_0^1}{\frac{3}{2}}+\frac{\left(t^{11 / 2}\right)_0^1}{\frac{11}{2}}-2 \frac{\left(t^{7 / 2}\right)_0^1}{\frac{7}{2}} \\ & =\frac{2}{3}(1-0)+\frac{2}{11}(1-0)-\frac{4}{7}(1-0) \\ & =\frac{2}{3}+\frac{2}{11}-\frac{4}{7}=\frac{2(77)+2(21)-4(33)}{3(11)(7)} \\ & =\frac{154+42-132}{231}=\frac{196-132}{231}=\frac{64}{231} \end{aligned} $
3. $\int_0^1 \sin ^{-1}\left(\frac{2 x}{1+x^2}\right) d x$
Sol.

Let $I=\int_0^1 \sin ^{-1}\left(\frac{2 x}{1+x^2}\right) d x$


Put $x=\tan \theta . \quad \therefore \quad \frac{d x}{d \theta}=\sec ^2 \theta \Rightarrow d x=\sec ^2 \theta d \theta$




Updating the limits of integration:

When $x=0, \tan \theta=0=\tan 0 \Rightarrow \theta=0$

When $x=1, \tan \theta=1=\tan \frac{\pi}{4} \Rightarrow \theta=\frac{\pi}{4}$


$ \begin{aligned} & \therefore \text { From }(i), \mathrm{I}=\int_0^{\frac{\pi}{4}}\left(\sin ^{-1}\left(\frac{2 \tan \theta}{1+\tan ^2 \theta}\right)\right) \sec ^2 \theta d \theta \\ & =\int_0^{\frac{\pi}{4}}\left(\sin ^{-1}(\sin 2 \theta)\right) \sec ^2 \theta d \theta=\int_0^{\frac{\pi}{4}} 2 \theta \sec ^2 \theta d \theta \\ & =2 \int_0^{\frac{\pi}{4}} \theta \sec ^2 \theta d \theta \\ & \text { I II } \end{aligned} $


Using integration by parts


$ \begin{aligned} & \left(\int_a^b \mathrm{I} \cdot \mathrm{II} d x=\left(\mathrm{I} \int \mathrm{II}\right)_a^b-\int_a^b\left(\frac{d}{d x}(\mathrm{I}) \int \mathrm{II} d x\right) d x\right) \\ & =2\left[(\theta \cdot \tan \theta)_0^{\frac{\pi}{4}}-\int_0^{\frac{\pi}{4}} 1 \cdot \tan \theta d \theta\right] \\ & =2\left[\frac{\pi}{4} \tan \frac{\pi}{4}-0-\int_0^{\frac{\pi}{4}} \tan \theta d \theta\right]=2\left[\frac{\pi}{4}-(\log \sec \theta)_0^{\frac{\pi}{4}}\right] \\ & =2\left[\frac{\pi}{4}-\left(\log \sec \frac{\pi}{4}-\log \sec 0\right)\right]=2\left[\frac{\pi}{4}-(\log \sqrt{2}-\log 1)\right] \\ & =\frac{\pi}{2}-2 \log 2^{1 / 2}(\because \log 1=0) \\ & =\frac{\pi}{2}-2 \cdot \frac{1}{2} \log 2=\frac{\pi}{2}-\log 2 . \end{aligned} $
4. $\int_0^2 x \sqrt{x+2} d x$
Sol.

Let $\mathrm{I}=\int_0^2 x \sqrt{x+2} d x$


Put $\sqrt{\text { Linear }}=t$, i.e., $\sqrt{x+2}=t$. Therefore $x+2=t^2$.


$ \therefore \quad \frac{d x}{d t}=2 t \Rightarrow d x=2 t d t $


Updating the limits of integration:

When $x=0, t=\sqrt{x+2}=\sqrt{2}$

When $x=2, t=\sqrt{x+2}=\sqrt{2+2}=\sqrt{4}=2$.


$ \begin{aligned} & \therefore \quad \text { From }(i), \mathrm{I}=\int_{\sqrt{2}}^2\left(t^2-2\right) t .2 t d t \\ & \quad\left[\because \quad x+2=t^2 \Rightarrow x=t^2-2\right] \\ & =2 \int_{\sqrt{2}}^2 t^2\left(t^2-2\right) d t=2 \int_{\sqrt{2}}^2\left(t^4-2 t^2\right) d t \\ & =2\left[\left(\frac{t^5}{5}\right)_{\sqrt{2}}^2-2\left(\frac{t^3}{3}\right)_{\sqrt{2}}^2\right]=2\left[\frac{1}{5}\left(2^5-(\sqrt{2})^5\right)-\frac{2}{3}\left(2^3-(\sqrt{2})^3\right)\right] \end{aligned} $




$ \begin{aligned} & =2\left[\frac{1}{5}(32-4 \sqrt{2})-\frac{2}{3}(8-2 \sqrt{2})\right]\left[\because \quad(\sqrt{2})^3=\sqrt{2} \cdot \sqrt{2} \cdot \sqrt{2}=2 \sqrt{2}\right. \\ & \left.\quad \text { and }(\sqrt{2})^5=\sqrt{2} \cdot \sqrt{2} \cdot \sqrt{2} \cdot \sqrt{2} \cdot \sqrt{2}=4 \sqrt{2}\right] \\ & =2\left[\frac{32}{5}-\frac{4 \sqrt{2}}{5}-\frac{16}{3}+\frac{4 \sqrt{2}}{3}\right]=2\left[\frac{96-12 \sqrt{2}-80+20 \sqrt{2}}{15}\right] \\ & =\frac{2}{15}(16+8 \sqrt{2})=\frac{16}{15}(2+\sqrt{2})=\frac{16}{15}(\sqrt{2} \cdot \sqrt{2}+\sqrt{2}) \\ & =\frac{16 \sqrt{2}}{15}(\sqrt{2}+1) \end{aligned} $
5. $\int_0^{\frac{\pi}{2}} \frac{\sin x}{1+\cos ^2 x} d x$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\sin x}{1+\cos ^2 x} d x=-\int_0^{\frac{\pi}{2}} \frac{-\sin x}{1+\cos ^2 x} d x$


Put $\cos x=t$. Therefore $-\sin x=\frac{d t}{d x} \Rightarrow-\sin x d x=d t$.

Updating the limits of integration:.

When $x=0, t=\cos 0=1$, When $x=\frac{\pi}{2}, t=\cos \frac{\pi}{2}=0$


$ \begin{aligned} & \therefore \quad \text { From }(i), \mathrm{I}=-\int_1^0 \frac{d t}{1+t^2}=-\int_1^0 \frac{1}{t^2+1} d t \\ & \quad=-\left(\tan ^{-1} t\right)_1^0=-\left(\tan ^{-1} 0-\tan ^{-1} 1\right)=-\left(0-\frac{\pi}{4}\right) \\ & {\left[\because \tan 0=0 \Rightarrow \tan ^{-1} 0=0 \text { and } \tan \frac{\pi}{4}=1 \Rightarrow \tan ^{-1} 1=\frac{\pi}{4}\right]=\frac{\pi}{4}} \end{aligned} $
6. $\int_0^2 \frac{d x}{x+4-x^2}$
Sol.

$\int_0^2 \frac{d x}{4+x-x^2}=\int_0^2 \frac{d x}{-x^2+x+4}=\int_0^2 \frac{d x}{-\left(x^2-x-4\right)}$

(Making coeff. of $x^2$ numerically unity)

Completing the square by adding and subtracting


$ \begin{aligned} & \left(\frac{1}{2} \text { coeff. of } x\right)^2=\left(\frac{1}{2}\right)^2=\frac{1}{4} .=\int_0^2 \frac{d x}{-\left[x^2-x+\frac{1}{4}-\frac{1}{4}-4\right]} \\ & =\int_0^2 \frac{d x}{-\left[\left(x-\frac{1}{2}\right)^2-\frac{17}{4}\right]}=\int_0^2 \frac{d x}{\frac{17}{4}-\left(x-\frac{1}{2}\right)^2}=\int_0^2 \frac{d x}{\left(\frac{\sqrt{17}}{2}\right)^2-\left(x-\frac{1}{2}\right)^2} \end{aligned} $




$ \begin{aligned} & =\frac{1}{2 \times \frac{\sqrt{17}}{2}}\left[\left.\log \left|\frac{\frac{\sqrt{17}}{2}+\left(x-\frac{1}{2}\right)}{\frac{\sqrt{17}}{2}-\left(x-\frac{1}{2}\right)}\right|\right|_0 ^2\left(\because \int \frac{1}{a^2-x^2} d x=\frac{1}{2 a} \log \left|\frac{a+x}{a-x}\right|\right)\right. \\ & =\frac{1}{\sqrt{17}}\left[\log \left|\frac{\sqrt{17}+2 x-1}{\sqrt{17}-2 x+1}\right|\right]_0^2 \\ & =\frac{1}{\sqrt{17}}\left[\log \left|\frac{\sqrt{17}+3}{\sqrt{17}-3}\right|-\log \left|\frac{\sqrt{17}-1}{\sqrt{17}+1}\right|\right] \\ & =\frac{1}{\sqrt{17}} \log \left(\frac{\sqrt{17}+3}{\sqrt{17}-3} \times \frac{\sqrt{17}+1}{\sqrt{17}-1}\right)=\frac{1}{\sqrt{17}} \log \frac{20+4 \sqrt{17}}{20-4 \sqrt{17}} \\ & (\because(\sqrt{17}+3)(\sqrt{17}+1)=17+\sqrt{17}+3 \sqrt{17}+3=20+4 \sqrt{17} . \end{aligned} $


In a similar way, $(\sqrt{\mathbf{1 7}}-3)(\sqrt{\mathbf{1 7}}-1)=20-4 \sqrt{\mathbf{1 7}})$


$ \begin{aligned} & =\frac{1}{\sqrt{17}} \log \frac{4(5+\sqrt{17})}{4(5-\sqrt{17})}=\frac{1}{\sqrt{17}} \log \frac{5+\sqrt{17}}{5-\sqrt{17}} \\ & =\frac{1}{\sqrt{17}} \log \left(\frac{5+\sqrt{17}}{5-\sqrt{17}} \times \frac{5+\sqrt{17}}{5+\sqrt{17}}\right)=\frac{1}{\sqrt{17}} \log \frac{(5+\sqrt{17})^2}{25-17} \\ & =\frac{1}{\sqrt{17}} \log \frac{42+10 \sqrt{17}}{8}=\frac{1}{\sqrt{17}} \log \frac{21+5 \sqrt{17}}{4} . \end{aligned} $
7. $\int_{-1}^1 \frac{d x}{x^2+2 x+5}$
Sol.

Let $\mathrm{I}=\int_{-1}^1 \frac{d x}{x^2+2 x+5}=\int_{-1}^1 \frac{d x}{x^2+2 x+1+4}$ (completing the square)


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


Put $x+1=t . \quad \therefore \quad \frac{d x}{d t}=1 \quad \Rightarrow d x=d t$

Updating the limits of integration:

When $x=-1, t=-1+1=0$

When $x=1, t=1+1=2$


$ \begin{aligned} \therefore \text { From }(i), \mathrm{I}=\int_0^2 \frac{1}{t^2+2^2} d t= & \frac{1}{2}\left(\tan ^{-1} \frac{t}{2}\right)_0^2 \\ & {\left[\because \int \frac{1}{x^2+a^2} d x=\frac{1}{a} \tan ^{-1} \frac{x}{a}\right] } \\ =\frac{1}{2}\left[\tan ^{-1} \frac{2}{2}-\tan ^{-1} \frac{0}{2}\right]= & \frac{1}{2}\left(\tan ^{-1} 1-\tan ^{-1} 0\right) \end{aligned} $




$ =\frac{1}{2}\left(\frac{\pi}{4}-0\right)=\frac{\pi}{8} . \quad\left[\because \tan \frac{\pi}{4}=1 \text { and } \tan 0=0\right] $
8. $\int_1^2\left(\frac{1}{x}-\frac{1}{2 x^2}\right) e^{2 x} d x$
Sol.

Let $\mathrm{I}=\int_1^2\left(\frac{1}{x}-\frac{1}{2 x^2}\right) e^{2 x} d x$

[Type $\int(f(x)+g(x)) e^{a x} d x$. Put $a x=t$ and it will become


$ \left.\int\left(f(t)+f^{\prime}(t)\right) e^t d t=e^t f(t)\right] $


Put $2 x=t \quad \therefore \quad 2=\frac{d t}{d x} \quad \Rightarrow \quad 2 d x=d t \quad \Rightarrow \quad d x=\frac{d t}{2}$

Updating the limits of integration:

When $x=1, t=2 x=2$, When $x=2, t=2 x=4$


$ \begin{aligned} & \therefore \text { From }(i), \mathrm{I}=\int_2^4\left(\frac{\frac{1}{t}}{2}-\frac{1}{2\left(\frac{t}{2}\right)^2}\right) e^t \frac{d t}{2}\left[\because 2 x=t \Rightarrow x=\frac{t}{2}\right] \\ & \begin{aligned} \therefore \mathrm{I} & =\int_2^4\left(\frac{2}{t}-\frac{2}{t^2}\right) e^t \frac{d t}{2}=\int_2^4 \frac{1}{2} \cdot 2\left(\frac{1}{t}-\frac{1}{t^2}\right) e^t d t \\ & =\int_2^4\left(\frac{1}{t}-\frac{1}{t^2}\right) e^t d t=\int_2^4\left(f(t)+f^{\prime}(t)\right) e^t d t \\ & \quad\left(\text { Here } f(t)=\frac{1}{t}=t^{-1} \text { and therefore } f^{\prime}(t)=(-1) t^{-2}=\frac{-1}{t^2}\right) \\ & =\left(e^t f(t)\right)_2^4=\left(\frac{e^t}{t}\right)_2^4=\frac{e^4}{4}-\frac{e^2}{2}=\frac{e^4-2 e^2}{4}=\frac{e^2\left(e^2-2\right)}{4} \end{aligned} \end{aligned} $


Choose the correct option in Exercises 9 and 10.

9. The value of the integral $\int_{\frac{1}{3}}^1 \frac{\left(x-x^3\right)^{1 / 3}}{x^4} d x$ is (A) 6 (B) 0 (C) 3 (D) 4
Sol.

Let $\mathrm{I}=\int_{\frac{1}{3}}^1 \frac{\left(x-x^3\right)^{1 / 3}}{x^4} d x$


$ \begin{aligned} & =\int_{\frac{1}{3}}^1 \frac{\left[x^3\left(\frac{x}{x^3}-1\right)\right]^{1 / 3}}{x^4} d x=\int_{\frac{1}{3}}^1 \frac{\left(x^3\right)^{1 / 3}\left(\frac{1}{x^2}-1\right)^{1 / 3}}{x^4} \\ & =\int_{\frac{1}{3}}^1 \frac{x\left(x^{-2}-1\right)^{1 / 3}}{x^4} d x=\int_{\frac{1}{3}}^1\left(x^{-2}-1\right)^{1 / 3} x^{-3} d x \\ \mathrm{I} & =\frac{-1}{2} \int_{\frac{1}{3}}^1\left(x^{-2}-1\right)^{1 / 3}\left(-2 x^{-3}\right) d x \end{aligned} $


Put $\quad x^{-2}-1=t$




Therefore $-2 x^{-3}=\frac{d t}{d x} \quad \Rightarrow-2 x^{-3} d x=d t$

Updating the limits of integration:

When $x=\frac{1}{3}, t=x^{-2}-1=\left(\frac{1}{3}\right)^{-2}-1$


$ =\left(3^{-1}\right)^{-2}-1=3^2-1=9-1=8 $


When $x=1, t=1^{-2}-1=1-1=0$


$ \begin{aligned} & \therefore \text { From }(i), I=\frac{-1}{2} \int_8^0 t^{1 / 3} d t=\frac{-1}{2}\left(\frac{t^{4 / 3}}{\frac{4}{3}}\right)_8^0 \\ & =\frac{-1}{2} \cdot \frac{3}{4}\left[0-8^{4 / 3}\right]=\frac{-3}{8}\left[-\left(2^3\right)^{4 / 3}\right]=\frac{-3}{8}\left(-2^4\right)=\frac{3}{8} \times 16=6 \end{aligned} $

Hence, Option (A) is the correct answer.

10. If $f(x)=\int_0^x t \sin t d t$, then $f^{\prime}(x)$ is (A) $\cos x+x \sin x$ (B) $x \sin x$ (C) $x \cos x$ (D) $\sin x+x \cos x$
Sol.

$f(x)=\int_0^x t \sin t d t$

I II


Using integration by parts


$ \begin{gathered} {\left[\int_a^b \mathrm{I} . \mathrm{II} d x=\left(\mathrm{I} \int \mathrm{II} d x\right)_a^b-\int_a^b \frac{d}{d x}(\mathrm{I}) \int \mathrm{II} d x d x\right]} \\ \Rightarrow \quad f(x)=(t(-\cos t))_0^x-\int_0^x 1(-\cos t) d t \\ =-x \cos x-0+\int_0^x \cos t d t=-x \cos x+(\sin t)_0^x \\ =-x \cos x+\sin x-\sin 0=-x \cos x+\sin x \\ \therefore \quad f^{\prime}(x)=-(x(-\sin x)+(\cos x) 1)+\cos x \\ =x \sin x-\cos x+\cos x=x \sin x \end{gathered} $

Hence, Option (B) is the correct answer.

OR


$ f(x)=\int_0^x \sin t d t \quad \therefore \quad f^{\prime}(x)=(t \sin t)_0^x $

[ ∵ Derivative operator and integral operator cancel with each other]


$ =x \sin x-0=x \sin x . $
Exercise 7.10
1. Evaluate $\int_0^{\frac{\pi}{2}} \cos ^2 x d x$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{2}} \cos ^2 x d x$


$ \begin{array}{lll} \therefore & \mathrm{I} & =\int_0^{\frac{\pi}{2}} \cos ^2\left(\frac{\pi}{2}-x\right) d x \\ \text { or } & \mathrm{I} & =\int_0^{\frac{\pi}{2}} \sin ^2 x d x \end{array} $


Adding equations (i) and (ii),


$ \begin{aligned} 2 \mathrm{I} & =\int_0^{\frac{\pi}{2}}\left(\cos ^2 x+\sin ^2 x\right) d x=\int_0^{\frac{\pi}{2}} 1 d x=(x)_0^{\frac{\pi}{2}} \\ \Rightarrow \quad 2 \mathrm{I} & =\frac{\pi}{2} \Rightarrow \mathrm{I}=\frac{\pi}{4} \end{aligned} $
2. $\int_0^{\frac{\pi}{2}} \frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}} d x$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}} d x$


$ \begin{aligned} & \begin{array}{ll} \therefore & \mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\sqrt{\sin \left(\frac{\pi}{2}-x\right)}}{\sqrt{\sin \left(\frac{\pi}{2}-x\right)}+\sqrt{\cos \left(\frac{\pi}{2}-x\right)}} d x \\ & \quad\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] \\ \text { or } \mathrm{I} & =\int_0^{\frac{\pi}{2}} \frac{\sqrt{\cos x}}{\sqrt{\cos x}+\sqrt{\sin x}} d x \end{array} \end{aligned} $


Adding equations (i) and (ii), we get


$ \begin{aligned} 2 \mathrm{I} & =\int_0^{\frac{\pi}{2}}\left(\frac{\sqrt{\sin x}}{\sqrt{\sin x}+\sqrt{\cos x}}+\frac{\sqrt{\cos x}}{\sqrt{\cos x}+\sqrt{\sin x}}\right) d x \\ & =\int_0^{\frac{\pi}{2}}\left(\frac{\sqrt{\sin x}+\sqrt{\cos x}}{\sqrt{\sin x}+\sqrt{\cos x}}\right) d x=\int_0^{\frac{\pi}{2}} 1 d x \\ \Rightarrow 2 \mathrm{I} & =(x)_0^{\frac{\pi}{2}}=\frac{\pi}{2}-0=\frac{\pi}{2} \quad \Rightarrow \mathrm{I}=\frac{\pi}{4} . \end{aligned} $
3. $\int_0^{\frac{\pi}{2}} \frac{\sin ^{3 / 2} x d x}{\sin ^{3 / 2} x+\cos ^{3 / 2} x}$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\sin ^{3 / 2} x}{\sin ^{3 / 2} x+\cos ^{3 / 2} x} d x$


Changing $x$ to $\frac{\pi}{2}-x$


$ \left[\because \quad \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] $




$ \begin{aligned} \mathrm{I} & =\int_0^{\frac{\pi}{2}} \frac{\sin ^{3 / 2}\left(\frac{\pi}{2}-x\right)}{\sin ^{3 / 2}\left(\frac{\pi}{2}-x\right)+\cos ^{3 / 2}\left(\frac{\pi}{2}-x\right)} d x \\ & =\int_0^{\frac{\pi}{2}} \frac{\cos ^{3 / 2} x}{\cos ^{3 / 2} x+\sin ^{3 / 2} x} \end{aligned} $


Adding equations (i) and (ii),


$ 2 \mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\sin ^{3 / 2} x+\cos ^{3 / 2} x}{\sin ^{3 / 2} x+\cos ^{3 / 2} x} d x=\int_0^{\frac{\pi}{2}} 1 d x=[x]_0^{\frac{\pi}{2}}=\frac{\pi}{2} \quad \therefore \mathrm{I}=\frac{\pi}{4} . $
4. $\int_0^{\frac{\pi}{2}} \frac{\cos ^5 x d x}{\sin ^5 x+\cos ^5 x}$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\cos ^5 x}{\sin ^5 x+\cos ^5 x} d x$


$ \begin{aligned} & \begin{array}{l} \therefore \quad \mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\cos ^5\left(\frac{\pi}{2}-x\right)}{\sin ^5\left(\frac{\pi}{2}-x\right)+\cos ^5\left(\frac{\pi}{2}-x\right)} d x \\ \quad\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] \end{array} \\ & \text { or } \quad \mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\sin ^5 x}{\cos ^5 x+\sin ^5 x} d x \end{aligned} $


Adding equations (i) and (ii), we get


$ \begin{aligned} 2 \mathrm{I} & =\int_0^{\frac{\pi}{2}}\left(\frac{\cos ^5 x}{\sin ^5 x+\cos ^5 x}+\frac{\sin ^5 x}{\cos ^5 x+\sin ^5 x}\right) d x \\ \Rightarrow 2 \mathrm{I} & =\int_0^{\frac{\pi}{2}} \frac{\cos ^5 x+\sin ^5 x}{\sin ^5 x+\cos ^5 x} d x=\int_0^{\frac{\pi}{2}} 1 d x=(x)_0^{\frac{\pi}{2}} \\ \Rightarrow 2 \mathrm{I} & =\frac{\pi}{2} \quad \Rightarrow \mathrm{I}=\frac{\pi}{4} \end{aligned} $
5. $\int_{-5}^5|x+2| d x$
Sol.

Let $\mathrm{I}=\int_{-5}^5|x+2| d x$


We first remove the absolute value sign to evaluate this integral.

Putting expression within modulus equal to 0 , we have


$ \begin{aligned} x+2=0, & \text { i.e., } x=-2 \in(-5,5) \\ \therefore \quad \text { From }(i), \mathrm{I} & =\int_{-5}^5|x+2| d x \\ & =\int_{-5}^{-2}|x+2| d x+\int_{-2}^5|x+2| d x \end{aligned} $




$ \begin{gathered} {\left[\because \int_a^b f(x) d x=\int_a^c f(x) d x+\int_c^b f(x) d x \text { where } a-2 \\ \Rightarrow x+2>0 \Rightarrow x+2 \mid=x+2, \text { by definition of modulus function }] \\ =-\left(\frac{x^2}{2}+2 x\right)_{-5}^{-2}+\left(\frac{x^2}{2}+2 x\right)_{-2}^5 \\ =-\left[\left(\frac{4}{2}-4\right)-\left(\frac{25}{2}-10\right)\right]+\left[\left(\frac{25}{2}+10\right)-\left(\frac{4}{2}-4\right)\right] \\ =-\left[-2-\frac{5}{2}\right]+\left[\frac{45}{2}+2\right]=2+\frac{5}{2}+\frac{45}{2}+2 \\ =4+\frac{50}{2}=4+25=29 . \end{gathered} $
6. $\int_2^8|x-5| d x$
Sol.

We know by definition of modulus function, that


$ \begin{gathered} |x-5|= \begin{cases}x-5 & \text { if } \quad x-5 \geq 0, \text { i.e., } x \geq 5 \\ -(x-5)=5-x, & \text { if } \quad x<5\end{cases} \\ \therefore \quad \int_2^8|x-5| d x=\int_2^5|x-5| d x+\int_5^8|x-5| d x \\ =\int_2^5(5-x) d x+\int_5^8(x-5) d x=\left(5 x-\frac{x^2}{2}\right)_2^5+\left(\frac{x^2}{2}-5 x\right)_5^8 \end{gathered} $

[By (ii)]

[By (i)]


$ \begin{aligned} & =\left(25-\frac{25}{2}\right)-(10-2)+(32-40)-\left(\frac{25}{2}-25\right) \\ & =25-\frac{25}{2}-8-8-\frac{25}{2}+25 \quad=34-\frac{50}{2}=34-25=9 \end{aligned} $


By using the properties of definite integrals, evaluate the integrals in Exercises 7 to 11:

7. $\int_0^1 x(1-x)^n d x$
Sol.

Let $\mathrm{I}=\int_0^1 x(1-x)^n d x$


$ \begin{array}{ll} \therefore & \mathrm{I}=\int_0^1(1-x)(1-(1-x))^n d x\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] \\ \text { or } & \mathrm{I}=\int_0^1(1-x)(1-1+x)^n d x \end{array} $




$ \text { or } \begin{aligned} \mathrm{I} & =\int_0^1(1-x) x^n d x=\int_0^1\left(x^n-x^{n+1}\right) d x \\ & =\left(\frac{x^{n+1}}{n+1}-\frac{x^{n+2}}{n+2}\right)_0^1=\frac{1}{n+1}-\frac{1}{n+2}-(0-0) \\ & =\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$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{4}} \log (1+\tan x) d x$


Changing $x$ to $\frac{\pi}{4}-x \quad\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right]$


$ \begin{aligned} & I=\int_0^{\frac{\pi}{4}} \log \left[1+\tan \left(\frac{\pi}{4}-x\right)\right] d x=\int_0^{\frac{\pi}{4}} \log \left[1+\frac{1-\tan x}{1+\tan x}\right] d x \\ &\left.\because \tan \left(\frac{\pi}{4}-x\right)=\frac{\tan \frac{\pi}{4}-\tan x}{1+\tan \frac{\pi}{4} \tan x}=\frac{1-\tan x}{1+\tan x}\right] \\ &=\int_0^{\frac{\pi}{4}} \log \left(\frac{1+\tan x+1-\tan x}{1+\tan x}\right) d x \\ &=\int_0^{\frac{\pi}{4}} \log \left(\frac{2}{1+\tan x}\right) d x \end{aligned} $


Adding equations (i) and (ii), we get


$ \begin{aligned} 2 \mathrm{I} & =\int_0^{\frac{\pi}{4}}\left[\log (1+\tan x)+\log \left(\frac{2}{1+\tan x}\right)\right] d x \\ & =\int_0^{\frac{\pi}{4}} \log \left[(1+\tan x) \frac{2}{(1+\tan x)}\right] d x=\int_0^{\frac{\pi}{4}} \log 2 d x \end{aligned} $

or $\quad 2 \mathrm{I}=(\log 2)[x]_0^{\frac{\pi}{4}}=\frac{\pi}{4} \log 2 \quad$ Dividing by $2, \mathrm{I}=\frac{\pi}{8} \log 2$.

9. $\int_0^2 x \sqrt{2-x} d x$
Sol.

Let I $=\int_0^2 x \sqrt{2-x} d x$

Changing $x$ to $2-x$


$ \left[\because \quad \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] $


$ \begin{aligned} \mathrm{I} & =\int_0^2(2-x) \sqrt{2-(2-x)} d x \\ & =\int_0^2(2-x) \sqrt{x} d x=\int_0^2\left(2 x^{1 / 2}-x^{3 / 2}\right) d x \end{aligned} $




$ \begin{aligned} = & {\left[2 \cdot \frac{x^{3 / 2}}{3 / 2}-\frac{x^{5 / 2}}{5 / 2}\right]_0^2=\left(\frac{4}{3} \cdot 2^{3 / 2}-\frac{2}{5} \cdot 2^{5 / 2}\right)-(0-0) } \\ = & \frac{4}{3} \times 2 \sqrt{2}-\frac{2}{5} \times 4 \sqrt{2}=\left(\frac{8}{3}-\frac{8}{5}\right) \sqrt{2} \\ & \left(\because 2^{3 / 2}=\left(2^{1 / 2}\right)^3=(\sqrt{2})^3=\sqrt{2} \sqrt{2} \sqrt{2}=2 \sqrt{2}\right. \\ \text { and } 2^{5 / 2}= & \left(2^{1 / 2}\right)^5=(\sqrt{2})^5=\sqrt{2} \sqrt{2} \sqrt{2} \sqrt{2} \sqrt{2}=2.2 . \sqrt{2} \\ = & 4 \sqrt{2})=\frac{16 \sqrt{2}}{15} \text {. } \end{aligned} $
10. $\int_0^{\frac{\pi}{2}}(2 \log \sin x-\log \sin 2 x) d x$
Sol.

Let $\mathrm{I}=\int_0^{\pi / 2}(2 \log \sin x-\log \sin 2 x) d x$


$ \begin{aligned} & =\int_0^{\pi / 2}\left(\log \sin ^2 x-\log \sin 2 x\right) d x \\ & =\int_0^{\pi / 2} \log \left(\frac{\sin ^2 x}{\sin 2 x}\right) d x=\int_0^{\pi / 2} \log \left(\frac{\sin ^2 x}{2 \sin x \cos x}\right) d x \\ \text { or } \quad I & =\int_0^{\pi / 2} \log \left(\frac{1}{2} \tan x\right) d x \\ \therefore \quad I & =\int_0^{\pi / 2} \log \left(\frac{1}{2} \tan \left(\frac{\pi}{2}-x\right) d x\right)\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] \\ \text { or } \quad I & =\int_0^{\pi / 2} \log \left(\frac{1}{2} \cot x\right) d x \end{aligned} $


Adding equations (i) and (ii),


$ \begin{aligned} 2 \mathrm{I} & =\int_0^{\pi / 2}\left[\log \left(\frac{1}{2} \tan x\right)+\log \left(\frac{1}{2} \cot x\right)\right] d x \\ \Rightarrow 2 \mathrm{I} & =\int_0^{\pi / 2} \log \left(\frac{1}{2} \tan x \frac{1}{2} \cot x\right) d x=\int_0^{\pi / 2} \log \frac{1}{4} d x=\log \frac{1}{4}(x)_0^{\pi / 2} \\ & =(\log 1-\log 4) \frac{\pi}{2}=-\frac{\pi}{2} \log 4 \quad(\because \log 1=0) \\ \therefore \quad \mathrm{I} & =-\frac{\pi}{4} \log 4=-\frac{\pi}{4} \log 2^2 \quad=-\frac{2 \pi}{4} \log 2=-\frac{\pi}{2} \log 2 . \end{aligned} $
11. $\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \sin ^2 x d x$
Sol.

Let $I=\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \sin ^2 x d x \quad$ or $\quad I=2 \int_0^{\frac{\pi}{2}} \sin ^2 x d x$

$\left[\because\right.$ For $f(x)=\sin ^2 x, f(-x)=\sin ^2(-x)=(-\sin x)^2=\sin ^2 x=f(x)$

$\therefore f(x)$ is an even function of $x$ and hence




$ \begin{aligned} & \left.\quad \int_{-a}^a f(x) d x=2 \int_0^a f(x) d x\right] \\ & \therefore \quad \mathrm{I}=2 \int_0^{\frac{\pi}{2}} \sin ^2\left(\frac{\pi}{2}-x\right) d x \quad\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] \\ & \text { or } \quad \mathrm{I}=2 \int_0^{\frac{\pi}{2}} \cos ^2 x d x \end{aligned} $


Adding equations (i) and (ii), we get


$ \begin{aligned} 2 \mathrm{I} & =2 \int_0^{\frac{\pi}{2}}\left(\sin ^2 x+\cos ^2 x\right) d x \\ \text { or } 2 \mathrm{I} & =2 \int_0^{\frac{\pi}{2}} 1 d x=2(x)_0^{\frac{\pi}{2}}=2 \cdot \frac{\pi}{2}=\pi \therefore \quad \mathrm{I}=\frac{\pi}{2} \end{aligned} $


Using properties of definite integrals, evaluate the following integrals in Exercises 12 to 18:

12. $\int_0^\pi \frac{x d x}{1+\sin x}$
Sol.

Let $\mathrm{I}=\int_0^\pi \frac{x}{1+\sin x} d x$


Changing $x$ to $\pi-x, \mathrm{I}=\int_0^\pi \frac{\pi-x}{1+\sin (\pi-x)} d x$

or $\mathrm{I}=\int_0^\pi \frac{\pi-x}{1+\sin x} d x$

…(ii) $\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right]$

Adding equations (i) and (ii), we get


$ \begin{aligned} 2 \mathrm{I} & =\int_0^\pi\left(\frac{x}{1+\sin x}+\frac{\pi-x}{1+\sin x}\right) d x=\int_0^\pi \frac{x+\pi-x}{1+\sin x} d x \\ & =\int_0^\pi \frac{\pi}{1+\sin x} d x=\pi \int_0^\pi \frac{1}{1+\sin x} d x \\ \text { or } 2 \mathrm{I} & =2 \pi \int_0^{\pi / 2} \frac{d x}{1+\sin x} \\ & {\left[\because \int_0^{2 a} f(x) d x=2 \int_0^a f(x) d x, \text { if } f(2 a-x)=f(x)\right] } \\ & =2 \pi \int_0^{\pi / 2} \frac{d x}{1+\sin \left(\frac{\pi}{2}-x\right)} \quad\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] \\ & =2 \pi \int_0^{\pi / 2} \frac{d x}{1+\cos x} \\ \Rightarrow \mathrm{I} & =\pi \int_0^{\pi / 2} \frac{d x}{2 \cos ^2 \frac{x}{2}}=\frac{\pi}{2} \int_0^{\pi / 2} \sec ^2 \frac{x}{2} d x \quad=\frac{\pi}{2}\left[\frac{\tan \frac{x}{2}}{\frac{1}{2}}\right]_0^{\pi / 2} \end{aligned} $




$ =\pi\left(\tan \frac{\pi}{4}-\tan 0\right)=\pi(1-0)=\pi . $
13. $\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \sin ^7 x d x$
Sol.

Let $\mathrm{I}=\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \sin ^7 x d x$

Here Integrand $f(x)=\sin ^7 x$

$\therefore f(-x)=\sin ^7(-x)=(-\sin x)^7=-\sin ^7 x=-f(x)$

$\therefore f(x)$ is an odd function of $x$.


$ \therefore \quad \mathrm{I}=\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \sin ^7 x d x=0 $
14. $\int_0^{2 \pi} \cos ^5 x d x$
Sol.

$\int_0^{2 \pi} \cos ^5 x d x=2 \int_0^\pi \cos ^5 x d x$


$ \left[\because \int_0^{2 a} f(x) d x=\int_0^a f(x) d x, \text { if } f(2 a-x)=f(x)\right] $


Here $f(x)=\cos ^5 x \quad \therefore \quad f(2 \pi-x)=\cos ^5(2 \pi-x)=\cos ^5 x$


$ =f(x)=2(0)=0 $

$\left[\because \int_0^{2 a} f(x) d x=0\right.$, if $f(2 a-x)=-f(x)$. Here $f(x)=\cos ^5 x$

$\left.\therefore f(\pi-x)=\cos ^5(\pi-x)=(-\cos x)^5=-\cos ^5 x=-f(x)\right]$

Alternatively. We now evaluate $\int_0^{2 \pi} \cos ^5 x d x$, put $\sin x=t$.

Remark: In fact $\int_0^{2 \pi} \cos ^n x d x$ or $\int_0^\pi \cos ^n x d x$ for all positive odd integers $n$ is equal to zero.

This is a very important result for I.I.T. Entrance Examination.

15. $\int_0^{\frac{\pi}{2}} \frac{\sin x-\cos x}{1+\sin x \cos x} d x$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{2}} \frac{\sin x-\cos x}{1+\sin x \cos x} d x$


Replacing $x$ with $\frac{\pi}{2}-x$ in integrand of (i),


$ \begin{array}{r} {\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right]} \\ I=\int_0^{\frac{\pi}{2}} \frac{\sin \left(\frac{\pi}{2}-x\right)-\cos \left(\frac{\pi}{2}-x\right)}{1+\sin \left(\frac{\pi}{2}-x\right) \cos \left(\frac{\pi}{2}-x\right)} d x=\int_0^{\frac{\pi}{2}} \frac{\cos x-\sin x}{1+\cos x \sin x} d x \end{array} $




$ =-\int_0^{\frac{\pi}{2}} \frac{\sin x-\cos x}{1+\sin x \cos x} d x $


Adding equations (i) and (ii), we have


$ 2 \mathrm{I}=0 \quad \text { or } \quad \mathrm{I}=0 . $
16. $\int_0^\pi \log (1+\cos x) d x$
Sol.

Let $\mathrm{I}=\int_0^\pi \log (1+\cos x) d x$


$ \begin{array}{ll} \therefore & \mathrm{I}=\int_0^\pi \log (1+\cos (\pi-x)) d x\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] \\ \text { or } & \mathrm{I}=\int_0^\pi \log (1-\cos x) d x \end{array} $


Adding equations (i) and (ii), we get


$ \begin{aligned} 2 \mathrm{I} & =\int_0^\pi[\log (1+\cos x)+\log (1-\cos x)] d x \\ & =\int_0^\pi \log ((1+\cos x)(1-\cos x)) d x \quad=\int_0^\pi \log \left(1-\cos ^2 x\right) d x \\ \Rightarrow 2 \mathrm{I} & =\int_0^\pi \log \sin ^2 x d x=2 \int_0^\pi \log \sin x d x \quad\left(\because \log m^n=n \log m\right) \end{aligned} $


Dividing by $2, \mathrm{I}=\int_0^\pi \log \sin x d x=2 \int_0^{\frac{\pi}{2}} \log \sin x d x$


$ \begin{aligned} & {[\because \quad \text { For } f(x)=\log \sin x, f(\pi-x)=\log \sin (\pi-x)=\log \sin x=} \\ & \left.\quad f(x) \text { and if } f(2 a-x)=f(x) ; \text { then } \int_0^{2 a} f(x) d x=2 \int_0^a f(x) d x\right] \\ & \therefore \quad \mathrm{I}=2 \int_0^{\frac{\pi}{2}} \log \sin \left(\frac{\pi}{2}-x\right) d x \quad\left[\because \int_0^a f(x) d x=\int_0^a f(a-x) d x\right] \\ & \text { or } \quad \mathrm{I}=2 \int_0^{\frac{\pi}{2}} \log \cos x d x \end{aligned} $


Adding equations (iii) and (iv), we get


$ 2 \mathrm{I}=2 \int_0^{\frac{\pi}{2}}(\log \sin x+\log \cos x) d x $


Dividing by $2, \mathrm{I}=\int_0^{\frac{\pi}{2}}(\log \sin x \cos x) d x$


$ \begin{aligned} & =\int_0^{\frac{\pi}{2}} \log \left(\frac{2 \sin x \cos x}{2}\right) d x=\int_0^{\frac{\pi}{2}} \log \left(\frac{\sin 2 x}{2}\right) d x \\ \text { or } \quad I & =\int_0^{\frac{\pi}{2}}(\log \sin 2 x-\log 2) d x \\ \text { or } \quad I & =\int_0^{\frac{\pi}{2}} \log \sin 2 x d x-\int_0^{\frac{\pi}{2}} \log 2 d x \\ \text { or } \quad I & =\int_0^{\frac{\pi}{2}} \log \sin 2 x d x-\log 2(x)_0^{\frac{\pi}{2}} \end{aligned} $




or $\quad \mathrm{I}=\int_0^{\frac{\pi}{2}} \log \sin 2 x d x-\frac{\pi}{2} \log 2$

or $\quad \mathrm{I}=\mathrm{I}_1-\frac{\pi}{2} \log 2$

where $\mathrm{I}_1=\int_0^{\frac{\pi}{2}} \log \sin 2 x d x$


Put $2 \boldsymbol{x}=\boldsymbol{t}$ to make $\mathrm{I}_1$ look as I given by (iii)

$\therefore \quad 2=\frac{d t}{d x} \quad$ or $\quad 2 d x=d t \quad$ or $\quad d x=\frac{d t}{2}$

To change the limits: When $x=0, \quad t=2 x=0$

When $x=\frac{\pi}{2}, t=2 x=\pi$

∴ From (vi), $\mathrm{I}_1=\int_0^\pi \log \sin t \frac{d t}{2}=\frac{1}{2} \int_0^\pi \log \sin t d t$

or


$ \mathrm{I}_1=\frac{1}{2} \times 2 \int_0^{\frac{\pi}{2}} \log \sin t d t $

(For reason see Explanation within brackets below Equation (iii))

or $\mathrm{I}_1=\int_0^{\frac{\pi}{2}} \log \sin t d t=\int_0^{\frac{\pi}{2}} \log \sin x d x\left[\because \int_a^b f(t) d t=\int_a^b f(x) d x\right]$

or $\quad \mathrm{I}_1=\frac{\mathrm{I}}{2}$

[By Equation (iii)]

Putting this value of $\mathrm{I}_1$ in Equation (v), $\mathrm{I}=\frac{\mathrm{I}}{2}-\frac{\pi}{2} \log 2$

Multiplying both sides by the L.C.M. $=2,2 \mathrm{I}=\mathrm{I}-\pi \log 2$

or $\quad 2 \mathrm{I}-\mathrm{I}=-\pi \log 2$ or $\mathrm{I}=-\pi \log 2$.

17. $\int_0^a \frac{\sqrt{x}}{\sqrt{x}+\sqrt{a-x}} d x$
Sol.

Let $\mathrm{I}=\int_0^a \frac{\sqrt{x}}{\sqrt{x}+\sqrt{a-x}} d x$


$ \therefore \quad \mathrm{I}=\int_0^a \frac{\sqrt{a-x}}{\sqrt{a-x}+\sqrt{a-(a-x)}} d x=\int_0^a \frac{\sqrt{a-x}}{\sqrt{a-x}+\sqrt{x}} d x $


Adding equations (i) and (ii), we get


$ 2 \mathrm{I}=\int_0^a\left(\frac{\sqrt{x}}{\sqrt{x}+\sqrt{a-x}}+\frac{\sqrt{a-x}}{\sqrt{a-x}+\sqrt{x}}\right) d x=\int_0^a\left(\frac{\sqrt{x}+\sqrt{a-x}}{\sqrt{x}+\sqrt{a-x}}\right) d x $

or $2 \mathrm{I}=\int_0^a 1 d x=(x)_0^a=a \therefore \quad \mathrm{I}=\frac{a}{2}$.

18. $\int_0^4|x-1| d x$
Sol.

Let I $=\int_0^4|x-1| d x$


Putting the expression ( $x-1$ ) within modulus equal to zero, we have


$ \begin{gathered} x=1 \in(0,4) \\ \therefore \quad \text { From }(i), \mathrm{I}=\int_0^4|x-1| d x=\int_0^1|x-1| d x+\int_1^4|x-1| d x \\ =-\int_0^1(x-1) d x+\int_1^4(x-1) d x \\ {[\because \quad \text { On }(0,1) ; x<1 \Rightarrow x-1<0 \text { and hence }|x-1|} \\ =-(x-1) \text { and on }(1,4), x>1 \Rightarrow x-1>0 \text { and hence } \\ |x-1|=(x-1) \text { by definition of modulus function }] \\ =-\left(\frac{x^2}{2}-x\right)_0^1+\left(\frac{x^2}{2}-x\right)_1^4=-\left(\left(\frac{1}{2}-1\right)-0\right)+\left(\frac{16}{2}-4-\left(\frac{1}{2}-1\right)\right) \\ =\frac{-1}{2}+1+8-4-\frac{1}{2}+1 \quad=6-\frac{2}{2}=6-1=5 . \end{gathered} $
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$.
Sol.

Given: $f(x)=f(a-x)$

and $g(x)+g(a-x)=4$


Let $\mathrm{I}=\int_0^a f(x) g(x) d x$

$\therefore \quad \mathrm{I}=\int_0^a f(a-x) \mathrm{g}(a-x) d x \quad\left[\because \int_0^a \mathrm{~F}(x) d x=\int_0^a \mathrm{~F}(a-x) d x\right]$

Putting $f(a-x)=f(x)$ from ( $i$ ),


$ \mathrm{I}=\int_0^a f(x) g(a-x) d x $


Adding equations (iii) and (iv), we get

$2 \mathrm{I}=\int_0^a(f(x) g(x)+f(x) g(a-x)) d x=\int_0^a f(x)(g(x)+g(a-x)) d x$

or 2I $=\int_0^a f(x)(4) d x \quad$ [By (ii)] $=4 \int_0^a f(x) d x$

Dividing by $2, \mathrm{I}=2 \int_0^a f(x) d x=$ R.H.S.

For Exercises 20 and 21 — choose the correct option:

20. The value of $\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}}\left(x^3+x \cos x+\tan ^5 x+1\right) d x$ is (A) 0 (B) 2 (C) $\pi$ (D) 1
Sol.

Let $\mathrm{I}=\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}}\left(x^3+x \cos x+\tan ^5 x+1\right) d x$




$ \begin{aligned} & =\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x^3 d x+\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} x \cos x d x+\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} \tan ^5 x d x+\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}} 1 d x \\ & =0+0+0+(x)_{\frac{-\pi}{2}}^{\frac{\pi}{2}}=\frac{\pi}{2}-\left(\frac{-\pi}{2}\right)=\frac{\pi}{2}+\frac{\pi}{2}=\pi \end{aligned} $

∵ Each of the three functions $x^3, x \cos x$ and $\tan ^5 x$ is an odd function of $x$ as $f(-x)=-f(x)$ for each of them and $\int_{-a}^a f(x) d x=0$ for each odd function $\left.f(x)\right]$

Hence, Option (C) is the correct option.

21. The value of $\int_0^{\frac{\pi}{2}} \log \left(\frac{4+3 \sin x}{4+3 \cos x}\right) d x$ is (A) 2 (B) $\frac{3}{4}$ (C) 0 (D) -2
Sol.

Let $I=\int_0^{\frac{\pi}{2}} \log \left(\frac{4+3 \sin x}{4+3 \cos x}\right) d x$


$ \therefore \quad I=\int_0^{\frac{\pi}{2}} \log \left(\frac{4+3 \sin \left(\frac{\pi}{2}-x\right)}{4+3 \cos \left(\frac{\pi}{2}-x\right)}\right) d x $

or $\quad \mathrm{I}=\int_0^{\frac{\pi}{2}} \log \left(\frac{4+3 \cos x}{4+3 \sin x}\right) d x$


Adding equations (i) and (ii), we get


$ \begin{aligned} 2 \mathrm{I} & =\int_0^{\frac{\pi}{2}}\left[\log \left(\frac{4+3 \sin x}{4+3 \cos x}\right)+\log \left(\frac{4+3 \cos x}{4+3 \sin x}\right)\right] d x \\ & =\int_0^{\frac{\pi}{2}} \log \left[\frac{4+3 \sin x}{4+3 \cos x} \cdot \frac{4+3 \cos x}{4+3 \sin x}\right] d x=\int_0^{\frac{\pi}{2}} \log 1 d x \\ \Rightarrow 2 \mathrm{I} & =\int_0^{\frac{\pi}{2}} 0 d x=0 \Rightarrow \mathrm{I}=\frac{0}{2}=0 \end{aligned} $
Miscellaneous Exercise
Integrate Following:
1. $\frac{1}{x-x^3}$
Sol.

The integrand $\frac{1}{x-x^3}$ is a rational function of $x$ and the




denominator $x-x^3=x\left(1-x^2\right)=x(1-x)(1+x)$ is the product of more than one factor. So, will form partial fractions.


$ \begin{aligned} \frac{1}{x-x^3} & =\frac{1}{x\left(1-x^2\right)}=\frac{1}{x(1-x)(1+x)} \\ & =\frac{\mathrm{A}}{x}+\frac{\mathrm{B}}{1-x}+\frac{\mathrm{C}}{1+x} \end{aligned} $


Multiplying every term of Equation (i) by L.C.M. $\quad=x(1-x)(1+x)$,


$ \begin{aligned} 1 & =\mathrm{A}(1-x)(1+x)+\mathrm{B} x(1+x)+\mathrm{C} x(1-x) \\ \text { or } 1 & =\mathrm{A}\left(1-x^2\right)+\mathrm{B}\left(x+x^2\right)+\mathrm{C}\left(x-x^2\right) \\ \Rightarrow 1 & =\mathrm{A}-\mathrm{A} x^2+\mathrm{B} x+\mathrm{B} x^2+\mathrm{C} x-\mathrm{C} x^2 \end{aligned} $


Equating coefficients of like powers on both sides,


$ \begin{array}{lr} x^2:-\mathrm{A}+\mathrm{B}-\mathrm{C}=0 \\ x: & \mathrm{B}+\mathrm{C}=0 \end{array} $


Constants: $\mathrm{A}=1$

Substituting $\mathrm{A}=1$ back into (ii), $-1+\mathrm{B}-\mathrm{C}=0$ or $\mathrm{B}-\mathrm{C}=1 \ldots(i v)$

Adding equations (iii) and (iv), $2 \mathrm{~B}=1 \Rightarrow \mathrm{~B}=\frac{1}{2}$

From (iii), $\mathrm{C}=-\mathrm{B}=\frac{-1}{2}$

Substituting these values of A, B, C back into (i),


$ \begin{aligned} & \frac{1}{x-x^3}=\frac{1}{x}+\frac{\frac{1}{2}}{1-x}-\frac{\frac{1}{2}}{1+x} \\ \therefore & \int \frac{1}{x-x^3} 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} \frac{\log |1-x|}{-1}-\frac{1}{2} \log |1+x| \\ = & \frac{1}{2}[2 \log |x|-\log |1-x|-\log |1+x|]+\mathrm{C} \\ = & \frac{1}{2}\left[\log |x|^2-(\log |1-x|+\log |1+x|]+\mathrm{C}\right. \\ = & \frac{1}{2}\left[\log |x|^2-\log |1-x||1+x|\right]+\mathrm{C} \\ = & \frac{1}{2}\left[\log |x|^2-\log \left|1-x^2\right|\right]+\mathrm{C} \quad=\frac{1}{2} \log \left|\frac{x^2}{1-x^2}\right|+\mathrm{C} . \end{aligned} $
2. $\frac{1}{\sqrt{\boldsymbol{x}+\boldsymbol{a}}+\sqrt{\boldsymbol{x}+\boldsymbol{b}}}$
Sol.

$\int \frac{1}{\sqrt{x+a}+\sqrt{x+b}} d x$




$ \begin{aligned} & \text { Rationalising, }=\int \frac{\sqrt{x+a}-\sqrt{x+b}}{(\sqrt{x+a}+\sqrt{x+b})(\sqrt{x+a}-\sqrt{x+b})} d x \\ & =\int \frac{(\sqrt{x+a}-\sqrt{x+b})}{x+a-(x+b)} d x=\int \frac{\sqrt{x+a}-\sqrt{x+b}}{a-b} d x \\ & =\frac{1}{a-b} \int(\sqrt{x+a}-\sqrt{x+b}) d x \\ & =\frac{1}{a-b}\left[\int(x+a)^{1 / 2} d x-\int(x+b)^{1 / 2} d x\right] \\ & =\frac{1}{a-b}\left[\frac{(x+a)^{3 / 2}}{\frac{3}{2}(1)}-\frac{(x+b)^{3 / 2}}{\frac{3}{2}(1)}\right]+\mathrm{C} \\ & =\frac{1}{a-b}\left[\frac{2}{3}(x+a)^{3 / 2}-\frac{2}{3}(x+b)^{3 / 2}\right]+\mathrm{C} \\ & =\frac{2}{3(a-b)}\left[(x+a)^{3 / 2}-(x+b)^{3 / 2}\right]+\mathrm{C} \end{aligned} $
3. $\frac{1}{x \sqrt{a x-x^2}}$
Sol.

$\mathrm{I}=\int \frac{d x}{x \sqrt{a x-x^2}} \quad\left[\right.$ Form $\int \frac{\boldsymbol{d} \boldsymbol{x}}{\text { Linear } \sqrt{\text { Quadratic }}}$

Put Linear $=\frac{1}{t}$, i.e., $x=\frac{1}{t}=t^{-1}$.

Differentiating both sides $d x=-\frac{1}{t^2} d t$


$ \begin{aligned} \therefore \quad \mathrm{I} & =\int \frac{-\frac{1}{t^2} d t}{\frac{1}{t} \sqrt{\frac{a}{t}-\frac{1}{t^2}}}=-\int \frac{d t}{\sqrt{a t-1}} \\ & =-\int(a t-1)^{-1 / 2} d t=-\frac{(a t-1)^{1 / 2}}{\frac{1}{2} \times a}+c \\ & =-\frac{2}{a} \sqrt{\frac{a}{x}-1}+c=-\frac{2}{a} \sqrt{\frac{a-x}{x}}+c \end{aligned} $
4. $\frac{1}{x^2\left(x^4+1\right)^{3 / 4}}$
Sol.

$\mathrm{I}=\int \frac{d x}{x^2\left(x^4+1\right)^{3 / 4}}=\int \frac{d x}{x^2\left[x^4\left(1+\frac{1}{x^4}\right)\right]^{3 / 4}}=\int \frac{d x}{x^2 \cdot x^3\left(1+\frac{1}{x^4}\right)^{3 / 4}}$


$ \left[\because\left(x^4\right)^{\frac{3}{4}}=x^3\right] $




$ =\int \frac{1}{x^5}\left(1+\frac{1}{x^4}\right)^{-3 / 4} d x $


Put $1+\frac{1}{x^4}=t \quad$ or $\quad 1+x^{-4}=t$.

Differentiating both sides, $-4 x^{-5} d x=d t$

or $-\frac{4}{x^5} d x=d t \quad$ or $\quad \frac{1}{x^5} d x=-\frac{1}{4} d t$

$\therefore \quad \mathrm{I}=-\frac{1}{4} \int t^{-3 / 4} d t=-\frac{1}{4} \cdot \frac{t^{1 / 4}}{1 / 4}+c=-\left(1+\frac{1}{x^4}\right)^{1 / 4}+c$.

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

Here the denominators of fractional powers $\frac{1}{2}$ and $\frac{1}{3}$ of $x$ are 2 and 3. L.C.M. of 2 and 3 is 6 .

Put $\boldsymbol{x}=\boldsymbol{t}^6$. Differentiating both sides, $d x=6 t^5 d t$


$ \begin{aligned} \therefore \quad \mathrm{I}= & \int \frac{d x}{x^{1 / 2}+x^{1 / 3}}=\int \frac{6 t^5}{t^3+t^2} d t=6 \int \frac{t^5}{t^2(t+1)} d t \\ = & 6 \int \frac{t^3}{t+1} d t=6 \int \frac{\left(t^3+1\right)-1}{t+1} d t=6 \int\left[\frac{t^3+1}{t+1}-\frac{1}{t+1}\right] d t \\ = & 6 \int\left[\frac{(t+1)\left(t^2-t+1\right)}{t+1}-\frac{1}{t+1}\right] d t=6 \int\left(t^2-t+1-\frac{1}{t+1}\right) d t \\ & {\left[\because a^3+b^3=(a+b)\left(a^2-a b+b^2\right)\right] } \\ = & 6\left[\frac{t^3}{3}-\frac{t^2}{2}+t-\log |t+1|\right]+c \\ = & 2 t^3-3 t^2+6 t-6 \log |t+1|+c \end{aligned} $


Putting $t=x^{1 / 6} \quad\left(\because x=t^6 \Rightarrow t=x^{1 / 6}\right)$


$ =2 \sqrt{x}-3 x^{1 / 3}+6 x^{1 / 6}-6 \log \left|x^{1 / 6}+1\right|+c . $
6. $\frac{5 x}{(x+1)\left(x^2+9\right)}$
Sol.

Let $\mathrm{I}=\int \frac{5 x}{(x+1)\left(x^2+9\right)} d x$


Let $\frac{5 x}{(x+1)\left(x^2+9\right)}=\frac{\mathrm{A}}{x+1}+\frac{\mathrm{B} x+\mathrm{C}}{x^2+9}$

L.C.M. $=(x+1)\left(x^2+9\right)$


Multiplying every term of (ii) by L.C.M.,


$ 5 x=\mathrm{A}\left(x^2+9\right)+(\mathrm{B} x+\mathrm{C})(x+1) $

or $5 x=\mathrm{A} x^2+9 \mathrm{~A}+\mathrm{B} x^2+\mathrm{B} x+\mathrm{C} x+\mathrm{C}$

Equating coefficients of $x^2, x$ and constant terms on both sides,

$\boldsymbol{x}^{\mathbf{2}}$ :


$ A+B=0 $

$x$ :


$ \mathrm{B}+\mathrm{C}=5 $




Constant terms : 9A + C = 0


We now solve Equations (iii), (iv) and (v) to determine A, B, C. (iii) – (iv) gives, (to eliminate B ), $\mathrm{A}-\mathrm{C}=-5$


Adding (v) and (vi),


$ 10 \mathrm{~A}=-5 $


$ \therefore \quad \mathrm{A}=\frac{-5}{10}=\frac{-1}{2} $


Substituting $\mathrm{A}=\frac{-1}{2}$ back into (iii), $\frac{-1}{2}+\mathrm{B}=0 \Rightarrow \mathrm{~B}=\frac{1}{2}$

Substituting $\mathrm{B}=\frac{1}{2}$ back into (iv), $\frac{1}{2}+\mathrm{C}=5 \Rightarrow \mathrm{C}=5-\frac{1}{2}=\frac{9}{2}$

Substituting these values of $\mathrm{A}, \mathrm{B}, \mathrm{C}$ back into (ii),


$ \begin{aligned} & \quad \frac{5 x}{(x+1)\left(x^2+9\right)}=\frac{\frac{-1}{2}}{x+1}+\frac{\frac{1}{2} x+\frac{9}{2}}{x^2+9} \\ & \therefore \quad \int \frac{5 x}{(x+1)\left(x^2+9\right)} d x \\ & \quad=\frac{-1}{2} \int \frac{1}{x+1} d x+\frac{1}{2} \int \frac{x}{x^2+9} d x+\frac{9}{2} \int \frac{1}{x^2+3^2} d x \\ & =\frac{-1}{2} \log |x+1|+\frac{1}{4} \int \frac{2 x}{x^2+9} d x+\frac{9}{2} \cdot \frac{1}{3} \tan ^{-1} \frac{x}{3}+c \\ & =\frac{-1}{2} \log |x+1|+\frac{1}{4} \log \left|x^2+9\right|+\frac{3}{2} \tan ^{-1} \frac{x}{3}+c \\ & \quad\left[\because \int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)|\right] \\ & =\frac{-1}{2} \log |x+1|+\frac{1}{4} \log \left(x^2+9\right)+\frac{3}{2} \tan ^{-1} \frac{x}{3}+c . \\ & \quad\left(\because x^2+9 \geq 9>0 \text { and hence }\left|x^2+9\right|=x^2+9\right) \end{aligned} $
7. $\frac{\sin x}{\sin (x-a)}$
Sol.

$\int \frac{\sin x}{\sin (x-a)} d x=\int \frac{\sin (x-a+a)}{\sin (x-a)} d x$


$ \begin{aligned} & =\int \frac{\sin (x-a) \cos a+\cos (x-a) \sin a}{\sin (x-a)} d x \\ & \quad[\because \sin (\mathrm{~A}+\mathrm{B})=\sin \mathrm{A} \cos \mathrm{~B}+\cos \mathrm{A} \sin \mathrm{~B}] \\ & =\int\left[\frac{\sin (x-a) \cos a}{\sin (x-a)}+\frac{\cos (x-a) \sin a}{\sin (x-a)}\right] d x \quad\left[\because \frac{a+b}{c}=\frac{a}{c}+\frac{b}{c}\right] \\ & =\int[\cos a+\sin a \cot (x-a)] d x=\int \cos a d x+\int \sin a \cot (x-a) d x \\ & =\cos a \int 1 d x+\sin a \int \cot (x-a) d x \\ & =(\cos a) x+\sin a \frac{\log |\sin (x-a)|}{1}+c\left[\because \int \cot x d x=\log |\sin x|\right] \\ & =x \cos a+\sin a \log |\sin (x-a)|+c . \end{aligned} $
8. $\frac{\boldsymbol{e}^{5 \log x}-\boldsymbol{e}^{4 \log x}}{\boldsymbol{e}^{3 \log x}-\boldsymbol{e}^{2 \log x}}$
Sol.

$\int \frac{e^{5 \log x}-e^{4 \log x}}{e^{3 \log x}-e^{2 \log x}} d x=\int \frac{e^{\log x^5}-e^{\log x^4}}{e^{\log x^3}-e^{\log x^2}} d x \quad\left[\because \quad n \log m=\log m^n\right]$


$ \begin{aligned} & =\int \frac{x^5-x^4}{x^3-x^2} d x \quad\left[\because e^{\log f(x)}=f(x)\right] \\ & =\int \frac{x^4(x-1)}{x^2(x-1)} d x=\int x^2 d x=\frac{x^3}{3}+c \end{aligned} $
9. $\frac{\cos x}{\sqrt{4-\sin ^2 x}}$
Sol.

Let $\mathrm{I}=\int \frac{\cos x}{\sqrt{4-\sin ^2 x}} d x$


Put $\sin \boldsymbol{x}=\boldsymbol{t}$. Therefore $\cos x=\frac{d t}{d x} \Rightarrow \cos x d x=d t$


$ \begin{aligned} & \therefore \text { From }(i), \mathrm{I}=\int \frac{d t}{\sqrt{4-t^2}}=\int \frac{d t}{\sqrt{2^2-t^2}} d t \\ & \quad=\sin ^{-1}\left(\frac{t}{2}\right)+c \quad\left[\because \int \frac{1}{\sqrt{a^2-x^2}} d x=\sin ^{-1} \frac{x}{a}\right] \\ & \quad=\sin ^{-1}\left[\frac{1}{2} \sin x\right]+c \end{aligned} $
10. $\frac{\sin ^8 x-\cos ^8 x}{1-2 \sin ^2 x \cos ^2 x}$
Sol.

Let $\mathrm{I}=\int \frac{\sin ^8 x-\cos ^8 x}{1-2 \sin ^2 x \cos ^2 x} d x$


Now numerator of integrand $=\sin ^8 x-\cos ^8 x$


$ \begin{aligned} & =\left(\sin ^4 x\right)^2-\left(\cos ^4 x\right)^2 \\ & =\left(\sin ^4 x-\cos ^4 x\right)\left(\sin ^4 x+\cos ^4 x\right) \quad\left[\because a^2-b^2=(a-b)(a+b)\right] \\ & =\left[\left(\sin ^2 x\right)^2-\left(\cos ^2 x\right)^2\right]\left[\left(\sin ^2 x\right)^2+\left(\cos ^2 x\right)^2\right] \\ & =\left(\sin ^2 x+\cos ^2 x\right)\left(\sin ^2 x-\cos ^2 x\right) \end{aligned} $


$ \begin{array}{r} {\left[\left(\sin ^2 x+\cos ^2 x\right)^2-2 \sin ^2 x \cos ^2 x\right]} \\ {\left[\because \quad a^2+b^2=a^2+b^2+2 a b-2 a b=(a+b)^2-2 a b\right]} \end{array} $

$=1\left[-\left(\cos ^2 x-\sin ^2 x\right)\right]\left(1-2 \sin ^2 x \cos ^2 x\right)$

$\Rightarrow \sin ^8 x-\cos ^8 x=-\cos 2 x\left(1-2 \sin ^2 x \cos ^2 x\right)$

Putting this value of $\sin ^8 x-\cos ^8 x$ in numerator of (i),


$ I=\int \frac{-\cos 2 x\left(1-2 \sin ^2 x \cos ^2 x\right)}{1-2 \sin ^2 x \cos ^2 x} d x=\int-\cos 2 x d x=-\frac{\sin 2 x}{2}+c $
11. $\frac{1}{\cos (x+a) \cos (x+b)}$
Sol.

Let $\mathrm{I}=\int \frac{1}{\cos (x+a) \cos (x+b)} d x$


We know that $(x+a)-(x+b)=x+a-x-b=a-b$


Dividing and multiplying by $\boldsymbol{\operatorname { s i n }}(\boldsymbol{a}-\boldsymbol{b})$ in (i),


$ \begin{aligned} & \mathrm{I}=\frac{1}{\sin (a-b)} \int \frac{\sin (a-b)}{\cos (x+a) \cos (x+b)} d x \\ & \text { Replacing }(a-b) \text { by }(x+a)-(x+b) \text { in } \sin (a-b) \\ & =\frac{1}{\sin (a-b)} \int \frac{\sin [(x+a)-(x+b)]}{\cos (x+a) \cos (x+b)} d x \\ & =\frac{1}{\sin (a-b)} \int \frac{\sin (x+a) \cos (x+b)-\cos (x+a) \sin (x+b)}{\cos (x+a) \cos (x+b)} d x \\ & =\frac{1}{\sin (\mathrm{~A}-\mathrm{B})=\sin \mathrm{A} \cos \mathrm{~B}-\cos \mathrm{A} \sin \mathrm{~B}]} \\ & =\frac{1}{\sin (a-b)} \int[\tan (x+a)-\tan (x+b)] d x \quad\left(\because \frac{\sin (x+a) \cos (x+b)}{c}=\frac{\cos (x+a) \sin (x+b)}{c}-\frac{b}{c}\right) \\ & =\frac{1}{\cos (x+a) \cos (x+b) \cos (x+b)} d x \\ & \sin (a-b) \\ & {[-\log |\cos (x+a)|+\log |\cos (x+b)|]+c} \\ & =\frac{1}{\sin (a-b)} \log \left|\frac{\cos (x+b)}{\cos (x+a)}\right|+c . \quad[\because \tan x d x=-\log |\cos x|] \\ & {\left[\because \log m-\log n=\log \frac{m}{n}\right] .} \end{aligned} $


Integrate the functions in Exercises 12 to 22:

12. $\frac{x^3}{\sqrt{1-x^8}}$
Sol.

Let $\mathrm{I}=\int \frac{x^3}{\sqrt{1-x^8}} d x=\frac{1}{4} \int \frac{4 x^3}{\sqrt{1-\left(x^4\right)^2}} d x$


Put $\boldsymbol{x}^4=\boldsymbol{t}$. Therefore $4 x^3=\frac{d t}{d x} \Rightarrow 4 x^3 d x=d t$

Therefore, from (i), I $=\frac{1}{4} \int \frac{d t}{\sqrt{1-t^2}}=\frac{1}{4} \sin ^{-1} t+c$

or


$ \mathrm{I}=\frac{1}{4} \sin ^{-1}\left(x^4\right)+c $
13. $\frac{\boldsymbol{e}^{\boldsymbol{x}}}{\left(1+\boldsymbol{e}^{\boldsymbol{x}}\right)\left(2+\boldsymbol{e}^{\boldsymbol{x}}\right)}$
Sol.

Let $\mathrm{I}=\int \frac{e^x}{\left(1+e^x\right)\left(2+e^x\right)} d x$

[Rule for evaluating $\int f\left(e^x\right) d x$, put $e^x=t$ ]

Put $e^x=t$. Therefore $e^x=\frac{d t}{d x} \quad \Rightarrow e^x d x=d t$


$ \therefore \quad \text { From }(i), \mathrm{I}=\int \frac{d t}{(1+t)(2+t)}=\int \frac{1}{(t+1)(t+2)} d t $


Now $t+2-(t+1)=t+2-t-1=1$

Replacing 1 in the numerator of integrand in (ii) by (this)


$ \begin{aligned} & (t+2)-(t+1) \\ \mathrm{I} & =\int \frac{(t+2)-(t+1)}{(t+1)(t+2)} d t=\int\left(\frac{t+2}{(t+1)(t+2)}-\frac{t+1}{(t+1)(t+2)}\right) d t \\ & =\int\left(\frac{1}{t+1}-\frac{1}{t+2}\right) d t \\ & =\log |t+1|-\log |t+2|+c=\log \left|\frac{t+1}{t+2}\right|+c \end{aligned} $


Putting $t=e^x,=\log \left|\frac{e^x+1}{e^x+2}\right|+c \quad=\log \left(\frac{e^x+1}{e^x+2}\right)+c$. $\left[\because \quad e^x+1>0\right.$ and $e^x+2>0$ and $|t|=t$ if $t \geq 0$ ]

14. $\frac{1}{\left(x^2+1\right)\left(x^2+4\right)}$
Sol.

Let $\mathrm{I}=\int \frac{1}{\left(x^2+1\right)\left(x^2+4\right)} d x$


Put $x^2=\mathrm{y}$ only in the integrand.

Now the integrand is $\frac{1}{(y+1)(y+4)}$

Let $\frac{1}{(y+1)(y+4)}=\frac{\mathrm{A}}{y+1}+\frac{\mathrm{B}}{y+4}$


Multiplying both sides by the L.C.M. $=(y+1)(y+4)$,

$1=\mathrm{A}(y+4)+\mathrm{B}(y+1)$

or $1=\mathrm{A} y+4 \mathrm{~A}+\mathrm{B} y+\mathrm{B}$

comparing coefficient of $\mathrm{y}, \mathrm{A}+\mathrm{B}=0$

comparing constants, $4 \mathrm{~A}+\mathrm{B}=1$


We now solve (iii) and (iv) to determine A and B .

(iv) – (iii) gives $3 \mathrm{~A}=1 \quad \therefore \mathrm{~A}=\frac{1}{3}$


From (iii) $\mathrm{B}=-\mathrm{A}=-\frac{1}{3}$




Substituting values of $\mathrm{A}, \mathrm{B}$ and y back into (ii),


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


Substituting this value back into (i),


$ \begin{aligned} \mathrm{I} & =\frac{1}{3} \int\left(\frac{1}{x^2+1}-\frac{1}{x^2+2^2}\right) d x=\frac{1}{3}\left[\int \frac{1}{x^2+1} d x-\int \frac{1}{x^2+2^2} d x\right] \\ & =\frac{1}{3}\left[\tan ^{-1} x-\frac{1}{2} \tan ^{-1} \frac{x}{2}\right]+c \end{aligned} $
15. $\cos ^3 x e^{\log \sin x}$
Sol.

Let $\mathrm{I}=\int \cos ^3 x e^{\log \sin x} d x \quad=\int \cos ^3 x \sin x d x$


$ =-\int \cos ^3 x(-\sin x) d x $


Put $\cos x=t . \quad \therefore \quad-\sin x=\frac{d t}{d x} \quad \Rightarrow \quad-\sin x d x=d t$

$\therefore$ From $(i), \mathrm{I}=-\int t^3 d t=\frac{-t^4}{4}+c=\frac{-1}{4} \cos ^4 x+c$.

16. $e^{3 \log x}\left(x^4+1\right)^{-1}$
Sol.

Let $\mathrm{I}=\int e^{3 \log x}\left(x^4+1\right)^{-1} d x=\int \frac{e^{\log x^3}}{x^4+1} d x \quad=\int \frac{x^3}{x^4+1} d x$


$ \left[\because \quad e^{\log f(x)}=f(x)\right] $


$ \Rightarrow \quad \mathrm{I}=\frac{1}{4} \int \frac{4 x^3}{x^4+1} d x $


Put $x^4+1=t$. Therefore $4 x^3=\frac{d t}{d x} \Rightarrow 4 x^3 d x=d t$

Therefore, from (i), I $=\frac{1}{4} \int \frac{d t}{t}=\frac{1}{4} \log |t|+c$

Putting $t=x^4+1,=\frac{1}{4} \log \left|x^4+1\right|+c \quad=\frac{1}{4} \log \left(x^4+1\right)+c$.


$ \left[\because x^4+1>0 \Rightarrow\left|x^4+1\right|=x^4+1\right] $
17. $\int f^{\prime}(a x+b)(f(a x+b))^n d x$
Sol.

Let $\mathrm{I}=\int f^{\prime}(a x+b)(f(a x+b))^n d x$


$ =\frac{1}{a} \int(f(a x+b))^n a f^{\prime}(a x+b) d x $


Put $f(a x+b)=t$. Therefore $f^{\prime}(a x+b) \frac{d}{d x}(a x+b)=\frac{d t}{d x}$

$\Rightarrow a f^{\prime}(a x+b) d x=d t$

Therefore, from (i), I $=\frac{1}{a} \int t^n d t=\frac{1}{a} \frac{t^{n+1}}{n+1}+c$ if $n \neq-1$




$ \begin{aligned} & \text { and if } n=-1, \text { then } \mathrm{I}=\frac{1}{a} \int t^{-1} d t=\frac{1}{a} \int \frac{1}{t} d t \\ & =\frac{1}{a} \log |t|+c . \\ & \text { Putting } t=f(a x+b), \mathrm{I}=\frac{(f(a x+b))^{n+1}}{a(n+1)}+c \text { if } n \neq-1 \\ & \text { and } \quad=\frac{1}{a}|\log f(a x+b)|+c \text { if } n=-1 . \end{aligned} $
18. $\frac{1}{\sqrt{\sin ^3 x \sin (x+\alpha)}}$
Sol.

$I=\int \frac{d x}{\sqrt{\sin ^3 x \sin (x+\alpha)}}=\int \frac{d x}{\sqrt{\sin ^3 x(\sin x \cos \alpha+\cos x \sin \alpha)}}$


$ \begin{aligned} & =\int \frac{d x}{\sqrt{\sin ^3 x \cdot \sin x(\cos \alpha+\cot x \sin \alpha)}} \\ & =\int \frac{d x}{\sin ^2 x \sqrt{\cos \alpha+\cot x \sin \alpha}}=\int \frac{\operatorname{cosec}^2 x d x}{\sqrt{\cos \alpha+\cot x \sin \alpha}} \end{aligned} $


Put $\cos \alpha+\cot x \sin \alpha=t$. Differentiating both sides


$ \begin{aligned} & -\operatorname{cosec}^2 x \sin \alpha d x=d t \\ & \text { or } \operatorname{cosec}^2 x d x=-\frac{d t}{\sin \alpha} \\ & \therefore \quad \mathrm{I}=\int-\frac{d t}{\sin \alpha \sqrt{t}}=-\frac{1}{\sin \alpha} \int t^{-1 / 2} d t \\ & =-\frac{1}{\sin \alpha} \cdot \frac{t^{1 / 2}}{1 / 2}+c=-\frac{2}{\sin \alpha} \sqrt{\cos \alpha+\cot x \sin \alpha}+c \\ & =-\frac{2}{\sin \alpha} \sqrt{\cos \alpha+\frac{\cos x}{\sin x} \sin \alpha}+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}}}$
Sol.

Let $\mathrm{I}=\int \sqrt{\frac{1-\sqrt{x}}{1+\sqrt{x}}} d x$

Put $\sqrt{x}=t$, i.e., $\sqrt{\text { Linear }}=t . \quad \therefore \quad x=t^2$

Differentiating both sides, $d x=2 t d t$


$ \therefore \quad \mathrm{I}=\int \sqrt{\frac{1-t}{1+t}} 2 t d t=2 \int t \sqrt{\frac{1-t}{1+t}} d t $




$ \begin{aligned} &= 2 \int t \sqrt{\frac{1-t}{1+t} \times \frac{1-t}{1-t}} d t \\ &= 2 \int \frac{t(1-t)}{\sqrt{1-t^2}} d t=2 \int \frac{t-t^2}{\sqrt{1-t^2}} d t \\ &= 2 \int \frac{\left(1-t^2\right)+t-1}{\sqrt{1-t^2}} d t \\ &= 2\left[\int \sqrt{1-t^2} d t+\int \frac{t}{\sqrt{1-t^2}} d t-\int \frac{1}{\sqrt{1-t^2}} d t\right] \quad \text { (Rationalising) } \\ &= 2\left[\frac{t}{2} \sqrt{1-t^2}+\frac{1}{2} \sin ^{-1} t+\int \frac{t}{\sqrt{1-t^2}} d t-\sin ^{-1} t\right]+c \\ & \quad\left[\because \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}\right] \\ & \text { or } \mathrm{I}= 2\left[\frac{1}{2} t \sqrt{1-t^2}-\frac{1}{2} \sin ^{-1} t+\int \frac{t}{\sqrt{1-t^2}} d t\right]+c \end{aligned} $


We now evaluate $\int \frac{t}{\sqrt{1-t^2}} d t$

Put $1-t^2=z$

Differentiating both sides $-2 t d t=d z \quad$ or $\quad t d t=-\frac{1}{2} d z$.


$ \begin{aligned} \therefore \int \frac{t}{\sqrt{1-t^2}} d t & =\int \frac{-\frac{1}{2} d z}{\sqrt{z}}=-\frac{1}{2} \int z^{-1 / 2} d z \\ & =-\frac{1}{2} \frac{z^{1 / 2}}{\frac{1}{2}}=-\sqrt{1-t^2} \end{aligned} $


Substituting the value of $\int \frac{t}{\sqrt{1-t^2}} d t=-\sqrt{1-t^2}$ from (iii) back into (ii),

We have $\mathrm{I}=2\left[\frac{1}{2} t \sqrt{1-t^2}-\frac{1}{2} \sin ^{-1} t-\sqrt{1-t^2}\right]+c$


$ \begin{aligned} & =t \sqrt{1-t^2}-\sin ^{-1} t-2 \sqrt{1-t^2}+c \\ & =(t-2) \sqrt{1-t^2}-\sin ^{-1} t+c \end{aligned} $


Putting $t=\sqrt{x} \quad=(\sqrt{x}-2) \sqrt{1-x}-\sin ^{-1} \sqrt{x}+c$.

Remark: Second method to integrate after arriving at equation

(i) namely $\mathrm{I}=2 \int \frac{t-t^2}{\sqrt{1-t^2}} d t$, is put $t=\boldsymbol{\operatorname { s i n }} \boldsymbol{\theta}$.

20. $\frac{\mathbf{2}+\boldsymbol{\operatorname { s i n }} \mathbf{2 \boldsymbol { x }}}{\mathbf{1}+\boldsymbol{\operatorname { c o s }} \mathbf{2 \boldsymbol { x }}} \boldsymbol{e}^{\boldsymbol{x}}$
Sol.

Let $\mathrm{I}=\int \frac{2+\sin 2 x}{1+\cos 2 x} e^x d x=\int e^x \frac{(2+2 \sin x \cos x)}{2 \cos ^2 x} d x$


$ \begin{aligned} & =\int e^x\left(\frac{2}{2 \cos ^2 x}+\frac{2 \sin x \cos x}{2 \cos ^2 x}\right) d x \\ & =\int e^x\left(\frac{1}{\cos ^2 x}+\frac{\sin x}{\cos x}\right) d x=\int e^x\left(\sec ^2 x+\tan x\right) d x \\ & =\int e^x\left(\tan x+\sec ^2 x\right) d x=\int e^x\left(f(x)+f^{\prime}(x)\right) d x \end{aligned} $

where $f(x)=\tan x$ and $f^{\prime}(x)=\sec ^2 x$


$ =e^x f(x)+c=e^x \tan x+c .\left[\because \int e^x\left(f(x)+f^{\prime}(x)\right) d x=e^x f(x)+c\right] $
21. $\frac{x^2+x+1}{(x+1)^2(x+2)}$
Sol.

Let $\mathrm{I}=\int \frac{x^2+x+1}{(x+1)^2(x+2)} d x$


The integrand $\frac{x^2+x+1}{(x+1)^2(x+2)}$ is a rational function of $x$ and degree of numerator is less than degree of denominator. So we can form partial fractions of integrand.


$ \text { Let integrand } \frac{x^2+x+1}{(x+1)^2(x+2)}=\frac{\mathrm{A}}{x+1}+\frac{\mathrm{B}}{(x+1)^2}+\frac{\mathrm{C}}{x+2} $


Multiplying both sides of (ii) L.C.M. $=(x+1)^2(x+2)$, we have


$ x^2+x+1=\mathrm{A}(x+1)(x+2)+\mathrm{B}(x+2)+\mathrm{C}(x+1)^2 $

or


$ \begin{aligned} x^2+x+1 & =\mathrm{A}\left(x^2+3 x+2\right)+\mathrm{B}(x+2)+\mathrm{C}\left(x^2+1+2 x\right) \\ & =\mathrm{A} x^2+3 \mathrm{~A} x+2 \mathrm{~A}+\mathrm{B} x+2 \mathrm{~B}+\mathrm{C} x^2+\mathrm{C}+2 \mathrm{C} x \end{aligned} $


Equating coefficients of $x^2, x$ and constant terms on both sides,


$ \begin{array}{lr} x^2: & \mathrm{A}+\mathrm{C}=1 \\ x: & 3 \mathrm{~A}+\mathrm{B}+2 \mathrm{C}=1 \end{array} $


Constant terms: $2 \mathrm{~A}+2 \mathrm{~B}+\mathrm{C}=1$


We now solve Equations (iii), (iv) and (v) to determine $\mathrm{A}, \mathrm{B}, \mathrm{C}$.

Equation (iv) $-2 \times$ Equation (iii) gives (to eliminate C)


$ \text { or } \quad \begin{aligned} 3 \mathrm{~A}+\mathrm{B}+2 \mathrm{C}-2 \mathrm{~A}-2 \mathrm{C} & =1-2 \\ \mathrm{~A}+\mathrm{B} & =-1 \end{aligned} $


Equation (v) – Equation (iii) gives (To eliminate C)


$ A+2 B=0 $


Equation (vii) – Equation (vi) gives $\mathrm{B}=0+1=1$.

Substituting $\mathrm{B}=1$ back into (vi), $\quad \mathrm{A}+1=-1 \quad \Rightarrow \mathrm{~A}=-2$

Substituting $\mathrm{A}=-2$ back into (iii), $\quad-2+\mathrm{C}=1 \quad \Rightarrow \quad \mathrm{C}=3$

Putting values of A, B, C in (ii)




$ \begin{aligned} & \frac{x^2+x+1}{(x+1)^2(x+2)}=\frac{-2}{x+1}+\frac{1}{(x+1)^2}+\frac{3}{x+2} \\ & \therefore \int \frac{x^2+x+1}{(x+1)^2(x+2)} d x \\ & =-2 \int \frac{1}{x+1} d x+\int(x+1)^{-2} d x+3 \int \frac{1}{x+2} d x \\ & =-2 \log |x+1|+\frac{(x+1)^{-2+1}}{-2+1}+3 \log |x+2|+c \\ & =-2 \log |x+1|-\frac{1}{x+1}+3 \log |x+2|+c\left(\because \frac{(x+1)^{-1}}{-1}=\frac{-1}{x+1}\right) \end{aligned} $


Evaluate the integrals in Exercises 23 and 24:

22. $\tan ^{-1} \sqrt{\frac{1-x}{1+x}}$
Sol.

Let $\mathrm{I}=\int \tan ^{-1} \sqrt{\frac{1-x}{1+x}} d x$


Put $\boldsymbol{x}=\boldsymbol{\operatorname { c o s }} \mathbf{2} \boldsymbol{\theta} \Rightarrow \frac{d x}{d \theta}=-2 \sin 2 \theta$

$\Rightarrow d x=-2 \sin 2 \theta d \theta$


$ \begin{aligned} & \text { and } \tan ^{-1} \sqrt{\frac{1-x}{1+x}}=\tan ^{-1} \sqrt{\frac{1-\cos 2 \theta}{1+\cos 2 \theta}}=\tan ^{-1} \sqrt{\frac{2 \sin ^2 \theta}{2 \cos ^2 \theta}} \\ & =\tan ^{-1} \sqrt{\tan ^2 \theta} \quad=\tan ^{-1} \tan \theta=\theta \\ & \therefore \text { From }(i), \mathrm{I}=\int \theta(-2 \sin 2 \theta d \theta) \quad=-2 \int \theta \sin 2 \theta d \theta \\ & \text { I II } \end{aligned} $


Using integration by parts,


$ \begin{aligned} & \quad\left(\int \text { I. II } d x=\text { I } \int \text { II } d x-\int\left(\frac{d}{d x}(\text { I }) \int \text { II } d x\right) d x\right) \\ & \text { I }=-2\left[\theta\left(\frac{-\cos 2 \theta}{2}\right)-\int 1\left(\frac{-\cos 2 \theta}{2}\right) d \theta\right] \\ &=-2\left[\frac{-1}{2} \theta \cos 2 \theta+\frac{1}{2} \int \cos 2 \theta d \theta\right]=\theta \cos 2 \theta-\frac{\sin 2 \theta}{2}+c \\ &=\theta \cos 2 \theta-\frac{1}{2} \sqrt{1-\cos ^2 2 \theta}+c\left(\because \sin ^2 \alpha+\cos ^2 \alpha=1\right) \\ &=\frac{1}{2}\left(\cos ^{-1} x\right) x-\frac{1}{2} \sqrt{1-x^2}+c \\ & \quad\left[\because \cos 2 \theta=x \Rightarrow 2 \theta=\cos ^{-1} x \Rightarrow \theta=\frac{1}{2} \cos ^{-1} x\right] \\ &=\frac{1}{2} x \cos ^{-1} x-\frac{1}{2} \sqrt{1-x^2}+c \\ &=\frac{1}{2}\left[x \cos ^{-1} x-\sqrt{1-x}\right]+c \end{aligned} $
23. $\frac{\sqrt{x^2+1}\left[\log \left(x^2+1\right)-2 \log x\right]}{x^4}$
Sol.

$\mathrm{I}=\int \frac{\sqrt{x^2+1}\left[\log \left(x^2+1\right)-2 \log x\right]}{x^4} d x$


$ \begin{aligned} & =\int \frac{\sqrt{x^2+1}}{x^4}\left[\log \left(x^2+1\right)-\log x^2\right] d x \\ & =\int \frac{\sqrt{x^2\left(1+\frac{1}{x^2}\right)} \log \left(\frac{x^2+1}{x^2}\right) d x}{x^4} \\ & =\int \frac{\sqrt{1+\frac{1}{x^2}}}{x^3} \log \left(1+\frac{1}{x^2}\right) d x=\int \sqrt{1+\frac{1}{x^2}} \log \left(1+\frac{1}{x^2}\right) \cdot \frac{d x}{x^3} \end{aligned} $


Put $1+\frac{1}{x^2}=t$ or $1+x^{-2}=t$.

Differentiating both sides, $-\frac{2}{x^3} d x=d t$ or $\frac{d x}{x^3}=-\frac{1}{2} d t$


$ \therefore \quad \mathrm{I}=-\frac{1}{2} \int \sqrt{t} \log t d t=-\frac{1}{2} \int(\log t) \cdot t^{1 / 2} d t $


Integrating by Product Rule,


$ \begin{aligned} & =-\frac{1}{2}\left[(\log t) \cdot \frac{t^{3 / 2}}{3 / 2}-\int \frac{1}{t} \cdot \frac{t^{3 / 2}}{3 / 2} d t\right]=-\frac{1}{3} t^{3 / 2} \log t+\frac{1}{3} \int t^{1 / 2} d t \\ & =-\frac{1}{3} t^{3 / 2} \log t+\frac{1}{3} \cdot \frac{t^{3 / 2}}{3 / 2}+c \\ & =\frac{2}{9} t^{3 / 2}-\frac{1}{3} t^{3 / 2} \log t+c=\frac{1}{3} t^{3 / 2}\left[\frac{2}{3}-\log t\right]+c \end{aligned} $


Putting $t=1+\frac{1}{x^2}$, we have $=\frac{1}{3}\left(1+\frac{1}{x^2}\right)^{3 / 2}\left[\frac{2}{3}-\log \left(1+\frac{1}{x^2}\right)\right]+c$.

Evaluate the definite integrals in Exercises 25 to 33:

24. $\int_{\frac{\pi}{2}}^\pi e^x\left(\frac{1-\sin x}{1-\cos x}\right) d x$
Sol.

Let $\mathrm{I}=\int_{\frac{\pi}{2}}^\pi e^x\left(\frac{1-\sin x}{1-\cos x}\right) d x \quad=\int_{\frac{\pi}{2}}^\pi e^x\left[\frac{1-2 \sin \frac{x}{2} \cos \frac{x}{2}}{2 \sin ^2 \frac{x}{2}}\right] d x$


$ =\int_{\frac{\pi}{2}}^\pi e^x\left[\frac{1}{2 \sin ^2 \frac{x}{2}}-\frac{2 \sin \frac{x}{2} \cos \frac{x}{2}}{2 \sin ^2 \frac{x}{2}}\right] d x=\int_{\frac{\pi}{2}}^\pi e^x\left[\frac{1}{2} \operatorname{cosec}^2 \frac{x}{2}-\cot \frac{x}{2}\right] d x $




$ =\int_{\frac{\pi}{2}}^\pi e^x\left[-\cot \frac{x}{2}+\frac{1}{2} \operatorname{cosec}^2 \frac{x}{2}\right] d x=\int_{\frac{\pi}{2}}^\pi e^x\left(f(x)+f^{\prime}(x)\right) d x $

where $f(x)=-\cot \frac{x}{2}$. Therefore $f^{\prime}(x)=\frac{1}{2} \operatorname{cosec}^2 \frac{x}{2}$


$ \begin{aligned} & =\left(e^x f(x)\right)_{\frac{\pi}{2}}^\pi=\left(-e^x \cot \frac{x}{2}\right)_{\frac{\pi}{2}}^\pi\left[\because \int e^x\left(f(x)+f^{\prime}(x)\right) d x=e^x f(x)\right] \\ & =-e^\pi \cot \frac{\pi}{2}-\left(-e^{\frac{\pi}{2}} \cot \frac{\pi}{4}\right) \\ & =-e^\pi(0)+e^{\pi / 2}(1) \quad\left[\because \cot \frac{\pi}{2}=\frac{\cos \frac{\pi}{2}}{\sin \frac{\pi}{2}}=\frac{0}{1}=0\right] \\ & =e^{\pi / 2} \end{aligned} $
25. $\int_0^{\frac{\pi}{4}} \frac{\sin x \cos x}{\cos ^4 x+\sin ^4 x} d x$
Sol.

Let $I=\int_0^{\frac{\pi}{4}} \frac{\sin x \cos x}{\cos ^4 x+\sin ^4 x} d x$

Dividing every term by $\cos ^4 x$,


$ \mathrm{I}=\int_0^{\frac{\pi}{4}} \frac{\frac{\sin x \cos x}{\cos x \cdot \cos x \cdot \cos ^2 x}}{1+\frac{\sin ^4 x}{\cos ^4 x}} d x=\int_0^{\frac{\pi}{4}} \frac{\tan x \sec ^2 x}{1+\tan ^4 x} d x $


Dividing and multiplying by 2 ,


$ I=\frac{1}{2} \int_0^{\frac{\pi}{4}} \frac{2 \tan x \sec ^2 x}{1+\tan ^4 x} d x $


Put $\tan ^2 x=t$.


$ \therefore \quad 2 \tan x \frac{d}{d x}(\tan x)=\frac{d t}{d x} \Rightarrow 2 \tan x \sec ^2 x d x=d t . $


Updating the limits of integration:

When $x=0, t=\tan ^2 x=\tan ^2 0=0$

When $x=\frac{\pi}{4}, t=\tan ^2 \frac{\pi}{4}=1$

From equation (i), I = $\frac{1}{2} \int_0^1 \frac{d t}{1+t^2}=\frac{1}{2}\left(\tan ^{-1} t\right)_0^1$

$=\frac{1}{2}\left(\tan ^{-1} 1-\tan ^{-1} 0\right)=\frac{1}{2}\left(\frac{\pi}{4}-0\right)=\frac{\pi}{8} . \quad\left[\because \tan \frac{\pi}{4}=1\right]$

26. $\int_0^{\frac{\pi}{2}} \frac{\cos ^2 x d x}{\cos ^2 x+4 \sin ^2 x}$
Sol.

Let $I=\int_0^{\frac{\pi}{2}} \frac{\cos ^2 x}{\cos ^2 x+4 \sin ^2 x} d x$

Dividing every term of integrand by $\cos ^2 x$,


$ I=\int_0^{\frac{\pi}{2}} \frac{1}{\left(1+4 \tan ^2 x\right)} d x $


Put $\tan x=t$.


$ \begin{array}{rlrl} \therefore & \sec ^2 x & =\frac{d t}{d x} \Rightarrow & \sec ^2 x d x=d t \\ \Rightarrow & d x & =\frac{d t}{\sec ^2 x}=\frac{d t}{1+\tan ^2 x}=\frac{d t}{1+t^2} \end{array} $


To change the limits:

When $x=0, t=\tan 0=0$

When $x=\frac{\pi}{2}, t=\tan \frac{\pi}{2}=\infty$


$ \begin{aligned} \therefore \text { From }(i), \mathrm{I} & =\int_0^{\infty} \frac{1}{1+4 t^2} \frac{d t}{1+t^2} \\ & =\int_0^{\infty} \frac{1}{\left(4 t^2+1\right)\left(t^2+1\right)} d t \end{aligned} $


Put $t^2=y$ only in the integrand of (ii) to form partial fractions.

The new integrand is $\frac{1}{(4 y+1)(y+1)}$

Let $\frac{1}{(4 y+1)(y+1)}=\frac{\mathrm{A}}{4 y+1}+\frac{\mathrm{B}}{y+1}$


Multiplying both sides by the L.C.M. $=(4 y+1)(y+1)$

$1=\mathrm{A}(y+1)+\mathrm{B}(4 y+1)$

or $1=\mathrm{A} y+\mathrm{A}+4 \mathrm{~B} y+\mathrm{B}$

Equating coefficient of $y$ on both sides,


$ \begin{array}{r} A+4 B=0 \\ A+B=1 \end{array} $


Equating constants,

(iv) $-(v)$ gives $3 \mathrm{~B}=-1 \Rightarrow \mathrm{~B}=-\frac{1}{3}$

∴ From (iv) $\mathrm{A}=-4 \mathrm{~B}=-4\left(-\frac{1}{3}\right)=\frac{4}{3}$

Substituting values of A, B and y back into (iii), we have

$\frac{1}{\left(4 t^2+1\right)\left(t^2+1\right)}=\frac{\frac{4}{3}}{4 t^2+1}-\frac{\frac{1}{3}}{t^2+1}=\frac{1}{3}\left(\frac{4}{\left(4 t^2+1\right)}-\frac{1}{\left(t^2+1\right)}\right)$

Putting this value in (ii)




$ \begin{aligned} \mathrm{I} & =\frac{1}{3}\left[4 \int_0^{\infty} \frac{1}{\left(4 t^2+1\right)} d t-\int_0^{\infty} \frac{1}{t^2+1} d t\right] \\ & =\frac{1}{3}\left[4 \int_0^{\infty} \frac{1}{(2 t)^2+1^2} d t-\left(\tan ^{-1} t\right)_0^{\infty}\right] \\ & =\frac{1}{3}\left[4 \frac{\left(\frac{1}{1} \tan ^{-1} \frac{2 t}{1}\right)_0^{\infty}}{2 \rightarrow \text { Coeff. of } t}-\left(\tan ^{-1} t\right)_0^{\infty}\right] \\ & =\frac{1}{3}\left[2\left(\tan ^{-1} \infty-\tan ^{-1} 0\right)-\left(\tan ^{-1} \infty-\tan ^{-1} 0\right)\right] \\ & =\frac{1}{3}\left[2 \cdot\left(\frac{\pi}{2}-0\right)-\left(\frac{\pi}{2}-0\right)\right]=\frac{1}{3}\left(\frac{2 \pi}{2}-\frac{\pi}{2}\right) \quad=\frac{1}{3} \times \frac{\pi}{2}=\frac{\pi}{6} \end{aligned} $
27. $\int_{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{\sin x+\cos x}{\sqrt{\sin 2 x}} d x$
Sol.

Let $\mathrm{I}=\int_{\frac{\pi}{6}}^{\frac{\pi}{3}} \frac{\sin x+\cos x}{\sqrt{\sin 2 x}} d x$


Put $\sin x-\cos x=t$. Differentiating both sides w.r.t. $x$,


$ (\cos x+\sin x) d x=d t $


Also, squaring $\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 $


Updating the limits of integration:

When $x=\frac{\pi}{6}, t=\sin \frac{\pi}{6}-\cos \frac{\pi}{6}$


$ =\frac{1}{2}-\frac{\sqrt{3}}{2}=\frac{1-\sqrt{3}}{2}=\frac{-(\sqrt{3}-1)}{2}=-\alpha \text { (say) } $

where $\alpha=\frac{\sqrt{3}-1}{2}$


When $x=\frac{\pi}{3}, t=\sin \frac{\pi}{3}-\cos \frac{\pi}{3}=\frac{\sqrt{3}}{2}-\frac{1}{2}=\frac{\sqrt{3}-1}{2}=\alpha$


$ \begin{aligned} & \therefore \text { From }(i), I=\int_{-\alpha}^\alpha \frac{d t}{\sqrt{1-t^2}}=\left[\sin ^{-1} t\right]_{-\alpha}^\alpha \\ & \quad=\sin ^{-1} \alpha-\sin ^{-1}(-\alpha) \\ & \quad=\sin ^{-1} \alpha+\sin ^{-1} \alpha=2 \sin ^{-1}\left(\frac{\sqrt{3}-1}{2}\right) \end{aligned} $


[By (ii)]

28. $\int_0^1 \frac{d x}{\sqrt{1+x}-\sqrt{x}}$
Sol.

Let $\mathrm{I}=\int_0^1 \frac{1}{\sqrt{1+x}-\sqrt{x}} d x$




$ \begin{aligned} & \text { Rationalising }=\int_0^1 \frac{\sqrt{1+x}+\sqrt{x}}{(\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}+\sqrt{x}) d x(\because 1+x-x=1) \\ & =\int_0^1(1+x)^{1 / 2} d x+\int_0^1 x^{1 / 2} d x=\frac{\left((1+x)^{\frac{3}{2}}\right)_0^1}{\frac{3}{2}(1)}+\frac{\left(x^{\frac{3}{2}}\right)_0^1}{\frac{3}{2}} \\ & =\frac{2}{3}\left[(2)^{3 / 2}-(1)^{3 / 2}\right]+\frac{2}{3}\left[(1)^{3 / 2}-0\right]=\frac{2}{3}(2 \sqrt{2}-1)+\frac{2}{3}(1-0) \\ & =\frac{4 \sqrt{2}}{3}-\frac{2}{3}+\frac{2}{3}=\frac{4 \sqrt{2}}{3} . \end{aligned} $
29. $\int_0^{\frac{\pi}{4}} \frac{\sin x+\cos x}{9+16 \sin 2 x} d x$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{4}} \frac{\sin x+\cos x}{9+16 \sin 2 x} d x$

Put $\sin x-\cos x=t$. Differentiating both sides


$ (\cos x+\sin x) d x=d t $


Also $(\sin x-\cos x)^2=t^2 \quad \therefore \sin ^2 x+\cos ^2 x-2 \sin x \cos x=t^2$ or $1-t^2=\sin 2 x$

Let us change the limits of Integration

When $x=0, t=0-1=-1$

When $x=\frac{\pi}{4}, t=\sin \frac{\pi}{4}-\cos \frac{\pi}{4}=\frac{1}{\sqrt{2}}-\frac{1}{\sqrt{2}}=0$


$ \begin{aligned} & \therefore \quad \mathrm{I}=\int_{-1}^0 \frac{d t}{9+16\left(1-t^2\right)}=\int_{-1}^0 \frac{d t}{25-16 t^2} \\ & \quad=\int_{-1}^0 \frac{d t}{16\left(\frac{25}{16}-t^2\right)}=\frac{1}{16} \int_{-1}^0 \frac{d t}{\left(\frac{5}{4}\right)^2-t^2} \\ & =\frac{1}{16} \times\left[\frac{1}{2 \times 5 / 4} \log \left|\frac{5 / 4+t}{5 / 4-t}\right|\right]_{-1}^0\left[\because \int \frac{1}{a^2-x^2} d x=\frac{1}{2 a} \log \left|\frac{a+x}{a-x}\right|\right] \\ & =\frac{1}{40}\left[\log 1-\log \frac{1 / 4}{9 / 4}\right]=\frac{1}{40}\left[0-\log \frac{1}{9}\right] \\ & =\frac{1}{40}[-(\log 1-\log 9)]=\frac{1}{40} \log 9 \end{aligned} $




$ =\frac{1}{40} \log 3^2=\frac{2}{40} \log 3=\frac{1}{20} \log 3 . $
30. $\int_0^{\frac{\pi}{2}} \sin 2 x \tan ^{-1}(\sin x) d x$
Sol.

Let $\mathrm{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$

Put $\sin x=t$. Differentiating both sides $\cos x d x=d t$

Updating the limits of integration:

When $x=0, t=0$


$ \text { When } x=\frac{\pi}{2}, t=\sin \frac{\pi}{2}=1 \quad \therefore \quad \mathrm{I}=2 \int_0^1 t \tan ^{-1} t d t $


Now $\int t \tan ^{-1} t d t=\int\left(\tan ^{-1} t\right) t d t$ Applying integration by parts

I II

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

$=\frac{t^2}{2} \tan ^{-1} t-\frac{1}{2} \int \frac{\left(1+t^2\right)-1}{1+t^2} d t$

$=\frac{t^2}{2} \tan ^{-1} t-\frac{1}{2} \int\left(1-\frac{1}{1+t^2}\right) d t=\frac{t^2}{2} \tan ^{-1} t-\frac{1}{2}\left(t-\tan ^{-1} t\right)$


$ =\frac{t^2}{2} \tan ^{-1} t-\frac{1}{2} t+\frac{1}{2} \tan ^{-1} t+c=\frac{1}{2}\left[\left(t^2+1\right) \tan ^{-1} t-t\right] $


From (i), $I=2\left[\frac{1}{2}\left\{\left(t^2+1\right) \tan ^{-1} t-t\right\}\right]_0^1=\left(2 \tan ^{-1} 1-1\right)-(0-0)$


$ =2 \times \frac{\pi}{4}-1=\frac{\pi}{2}-1 . $
31. $\int_1^4[|x-1|+|x-2|+|x-3|] d x$
Sol.

Let $\mathrm{I}=\int_1^4(|x-1|+|x-2|+|x-3|) d x$


Putting each expression within modulus equal to 0 , we have


$ x-1=0, x-2=0, x-3=0 \quad \text { i.e., } \quad x=1, x=2, x=3 $


Here 2 and $3 \in(1,4)$


$ \begin{aligned} & \therefore \text { From }(i), \mathrm{I}=\int_1^2(|x-1|+|x-2|+|x-3|) d x \\ + & \int_2^3(|x-1|+|x-2|+|x-3|) d x+\int_3^4(|x-1|+|x-2|+|x-3|) d x \end{aligned} $


$ \left[\because \int_a^b f(x) d x=\int_a^c f(x) d x+\int_c^d f(x) d x+\int_d^b f(x) d x \quad \text { where } a

Let $\mathrm{I}_1=\int_1^2(|x-1|+|x-2|+|x-3|) d x$

On this interval $(1,2)$ (for example taking $x=1.3$; ( $x-1$ ) is positive, $(x-2)$ is negative and $(x-3)$ is negative and hence $|x-1|=(x-1),|x-2|=-(x-2)$ and $|x-3|=-(x-3))$.




Therefore $\mathrm{I}_1=\int_1^2((x-1)-(x-2)-(x-3)) d x$


$ \begin{aligned} & =\int_1^2(x-1-x+2-x+3) d x=\int_1^2(4-x) d x \\ & =\left(4 x-\frac{x^2}{2}\right)_1^2=(8-2)-\left(4-\frac{1}{2}\right) \\ & =6-4+\frac{1}{2}=2+\frac{1}{2}=\frac{5}{2} \end{aligned} $


Let $\mathrm{I}_2=\int_2^3(|x-1|+|x-2|+|x-3|) d x$

On this interval $(2,3)$ (for example taking $x=2.8 ;(x-1)$ is positive, $(x-2)$ is positive and $(x-3)$ is negative and hence $|x-1|=x-1,|x-2|=x-2$ and $|x-3|=-(x-3)$ )

Therefore $\mathrm{I}_2=\int_2^3\left((x-1+x-2-(x-3)) d x=\int_2^3(2 x-3-x+3) d x\right.$


$ =\int_2^3 x d x=\left(\frac{x^2}{2}\right)_2^3=\frac{9}{2}-\frac{4}{2}=\frac{5}{2} $


Let $\mathrm{I}_3=\int_3^4(|x-1|+|x-2|+|x-3|) d x$

On this interval (3,4), (for example taking $x=3.4$; $(x-1)$ is positive, $(x-2)$ is positive and $(x-3)$ is positive and hence

$|x-1|=x-1,|x-2|=x-2$ and $|x-3|=x-3)$ )

Therefore $\mathrm{I}_3=\int_3^4(x-1+x-2+x-3) d x=\int_3^4(3 x-6) d x$


$ \begin{aligned} & =\left(\frac{3 x^2}{2}-6 x\right)_3^4=(24-24)-\left(\frac{27}{2}-18\right) \\ & =0-\left(\frac{27-36}{2}\right)=-\left(-\frac{9}{2}\right)=\frac{9}{2} \end{aligned} $


Substituting values of $\mathrm{I}_1, \mathrm{I}_2, \mathrm{I}_3$ from (iii), (iv) and (v) back into (ii),


$ I=\frac{5}{2}+\frac{5}{2}+\frac{9}{2}=\frac{19}{2} . $


Prove the following (Exercises 34 to 40):

32. $\int_1^3 \frac{d x}{x^2(x+1)}=\frac{2}{3}+\log \frac{2}{3}$
Sol.

Let $\mathrm{I}=\int_1^3 \frac{d x}{x^2(x+1)}=\int_1^3 \frac{1}{x^2(x+1)} d x$


Let integrand $\frac{1}{x^2(x+1)}=\frac{\mathrm{A}}{x}+\frac{\mathrm{B}}{x^2}+\frac{\mathrm{C}}{x+1}$

(Partial Fraction Decomposition)

Multiplying both sides by the L.C.M. $=x^2(x+1)$


$ 1=\mathrm{A} x(x+1)+\mathrm{B}(x+1)+\mathrm{C} x^2 $




$ \Rightarrow 1=\mathrm{A} x^2+\mathrm{A} x+\mathrm{B} x+\mathrm{B}+\mathrm{C} x^2 $


Equating coefficients of $x^2, x$ and constant terms on both sides,

$\boldsymbol{x}^{\mathbf{2}}$ :


$ \begin{gathered} A+C=0 \\ A+B=0 \end{gathered} $

$\boldsymbol{x} \boldsymbol{:}$


$ \mathrm{B}=1 $


Constants:


We now solve (iii), (iv), (v) to determine A, B, C.

Substituting $\mathrm{B}=1$ from ( $v$ ) back into (iv), $\mathrm{A}+1=0$ or $\mathrm{A}=-1$

Substituting $\mathrm{A}=-1$ back into (iii), $-1+\mathrm{C}=0 \quad \Rightarrow \mathrm{C}=1$

Substituting values of A, B, C back into (ii),


$ \begin{aligned} & \frac{1}{x^2(x+1)}=\frac{-1}{x}+\frac{1}{x^2}+\frac{1}{x+1} \\ \therefore & \operatorname{From}(i), \mathrm{I}=\int_1^3 \frac{d x}{x^2(x+1)} \\ = & -\int_1^3 \frac{1}{x} d x+\int_1^3 \frac{1}{x^2} d x+\int_1^3 \frac{1}{x+1} d x \\ = & -(\log |x|)_1^3+\int_1^3 x^{-2} d x+(\log |x+1|)_1^3 \\ = & -(\log |3|-\log |1|)+\left(\frac{x^{-1}}{-1}\right)_1^3+(\log |4|-\log |2|) \\ = & -\log 3+0-\left(\frac{1}{x}\right)_1^3+\log 4-\log 2 \\ = & -\log 3-\left(\frac{1}{3}-1\right)+\log 2^2-\log 2 \\ = & -\log 3-\left(\frac{1-3}{3}\right)+2 \log 2-\log 2 \\ = & -\log 3+\frac{2}{3}+\log 2=\frac{2}{3}+\log 2-\log 3 \\ = & \frac{2}{3}+\log \frac{2}{3} . \end{aligned} $
33. $\int_0^1 x e^x d x=1$
Sol.

$\int_0^1 x e^x$

I II

Applying Product Rule of definite Integration


$ \begin{aligned} & \left(\int \mathrm{I} . \mathrm{II} d x=\left(\mathrm{I} \int \mathrm{II} d x\right)_a^b-\int_a^b\left(\frac{d}{d x}(\mathrm{I}) \int \mathrm{II} d x\right) d x\right) \\ = & \left(x e^x \int_0^1-\int_0^1 1 . e^x d x\right. \\ = & e-0-\int_0^1 e^x d x=e-\left(e^x\right)_0^1=e-\left(e-e^0\right)=e-e+e^0=1 \end{aligned} $
34. $\int_{-1}^1 x^{17} \cos ^4 x d x=0$
Sol.

Let $\mathrm{I}=\int_{-1}^1 x^{17} \cos ^4 x d x$


Here the integrand $f(x)=x^{17} \cos ^4 x$

$\therefore \quad f(-x)=(-x)^{17} \cos ^4(-x)$


$ =-x^{17} \cos ^4 x=-f(x) $

$\therefore f(x)$ is an odd function of $x$.

Therefore, from (i), $\mathrm{I}=\int_{-1}^1 x^{17} \cos ^4 x d x=0$

$\left[\because \quad\right.$ If $f(x)$ is an odd function of $x$, then $\left.\int_{-a}^a f(x) d x=0\right]$

35. $\int_0^{\frac{\pi}{2}} \sin ^3 x d x=\frac{2}{3}$
Sol.

$\int_0^{\frac{\pi}{2}} \sin ^3 x d x=\int_0^{\frac{\pi}{2}} \frac{1}{4}(3 \sin x-\sin 3 x) d x$


$ \begin{aligned} & {\left[\because \sin 3 \mathrm{~A}=3 \sin \mathrm{~A}-4 \sin ^3 \mathrm{~A} \Rightarrow \sin ^3 \mathrm{~A}=\frac{1}{4}(3 \sin \mathrm{~A}-\sin 3 \mathrm{~A})\right] } \\ = & \frac{1}{4}\left[3(-\cos x)-\left(-\frac{\cos 3 x}{3}\right)\right]_0^{\pi / 2}=\frac{1}{4}\left(-3 \cos x+\frac{1}{3} \cos 3 x\right)_0^{\pi / 2} \\ = & \frac{1}{4}\left[\left(-3 \cos \frac{\pi}{2}+\frac{1}{3} \cos \frac{3 \pi}{2}\right)-\left(-3 \cos 0+\frac{1}{3} \cos 0\right)\right] \\ = & \frac{1}{4}\left[-3 \times 0+\frac{1}{3} \times 0+3 \times 1-\frac{1}{3} \times 1\right]=\frac{1}{4}\left(3-\frac{1}{3}\right) \\ = & \frac{1}{4} \times \frac{8}{3}=\frac{2}{3} . \\ & \quad\left[\because \cos \frac{3 \pi}{2}=\cos 270^{\circ}=\cos \left(180^{\circ}+90^{\circ}\right)=-\cos 90^{\circ}=0\right] \end{aligned} $
36. $\int_0^{\frac{\pi}{4}} 2 \tan ^3 x d x=1-\log 2$
Sol.

Let $\mathrm{I}=\int_0^{\frac{\pi}{4}} 2 \tan ^3 x d x=2 \int_0^{\frac{\pi}{4}} \tan x \cdot \tan ^2 x d x$

Replacing $\tan ^2 x$ by ( $\sec ^2 x-1$ ) in the integrand,


$ \begin{aligned} \mathrm{I} & =2 \int_0^{\frac{\pi}{4}} \tan x\left(\sec ^2 x-1\right) d x=2\left[\int_0^{\frac{\pi}{4}}\left(\tan x \sec ^2 x-\tan x\right) d x\right] \\ & =2\left[\int_0^{\frac{\pi}{4}} \tan x \sec ^2 x d x-\int_0^{\frac{\pi}{4}} \tan x d x\right] \end{aligned} $


Let $\mathrm{I}_1=\int_0^{\frac{\pi}{4}} \tan x \sec ^2 x d x$




Put $\tan x=t$. Therefore $\sec ^2 x=\frac{d t}{d x} \quad \therefore \quad \sec ^2 x d x=d t$

Updating the limits of integration:

When $x=0, t=\tan x=\tan 0=0$

When $x=\frac{\pi}{4}, t=\tan \frac{\pi}{4}=1$


$ \therefore \mathrm{I}_1=\int_0^1 t d t=\left(\frac{t^2}{2}\right)_0^1=\frac{1}{2}-0=\frac{1}{2} $


Substituting this value of $\mathrm{I}_1$ back into (i),


$ \begin{aligned} I & =2\left[\frac{1}{2}-(\log |\sec x|)_0^{\pi / 4}\right]=1-2\left(\log \sec \frac{\pi}{4}-\log \sec 0\right) \\ & =1-2(\log \sqrt{2}-\log 1)=1-2\left(\log 2^{1 / 2}-0\right) \\ & =1-2\left(\frac{1}{2} \log 2\right)=1-\log 2 \end{aligned} $
37. $\int_0^1 \sin ^{-1} x d x=\frac{\pi}{2}-1$
Sol.

Put $\boldsymbol{x}=\boldsymbol{\operatorname { s i n }} \theta$. Differentiating both sides $d x=\cos \theta d \theta$

Updating the limits of integration:

When $x=0, \theta=0$,

When $x=1, \sin \theta=1$ and therefore $\theta=\frac{\pi}{2}$


$ \therefore \quad \int_0^1 \sin ^{-1} x d x=\int_0^{\frac{\pi}{2}} \underset{\mathrm{I}}{\theta} \cos \theta d \theta $


Applying integration by parts


$ \begin{aligned} & =[\theta \sin \theta]_0^{\pi / 2}-\int_0^{\frac{\pi}{2}} 1 \cdot \sin \theta d \theta=\left(\frac{\pi}{2}-0\right)+[\cos \theta]_0^{\pi / 2} \\ & =\frac{\pi}{2}+\left(\cos \frac{\pi}{2}-\cos 0\right)=\frac{\pi}{2}+(0-1)=\frac{\pi}{2}-1 \end{aligned} $
38. Choose the correct answer: $\int \frac{d x}{e^x+e^{-x}}$ is equal to (A) $\tan ^{-1}\left(e^x\right)+c$ (B) $\tan ^{-1}\left(e^{-x}\right)+c$ (C) $\log \left(e^x-e^{-x}\right)+c$ (D) $\log \left(e^x+e^{-x}\right)+c$
Sol.

Let $\mathrm{I}=\int \frac{d x}{e^x+e^{-x}}=\int \frac{1}{e^x+\left(\frac{1}{e^x}\right)} d x$


$ =\int \frac{1}{\left(\frac{e^{2 x}+1}{e^x}\right)} d x=\int \frac{e^x}{e^{2 x}+1} d x $


$ \left[\because \quad e^x \cdot e^x=e^{x+x}=e^{2 x}\right] $




Put $e^x=t$.


$ \left[\because \quad \text { For } \int f\left(e^x\right) d x, \text { put } e^x=t\right] $


Therefore $e^x=\frac{d t}{d x}$. Therefore $e^x d x=d t$


$ \begin{aligned} \therefore \quad \text { From }(i), \mathrm{I} & =\int \frac{d t}{t^2+1}=\tan ^{-1} t+c \\ & =\tan ^{-1}\left(e^x\right)+c \end{aligned} $

Hence, Option (A) is the correct answer.

39. Choose the correct answer: $ \int \frac{\cos 2 x}{(\sin x+\cos x)^2} d x \text { is equal to } $ (A) $\frac{-1}{\sin x+\cos x}+c$ (B) $\log |\sin x+\cos x|+c$ (C) $\log |\sin x-\cos x|+c$ (D) $\frac{1}{(\sin x+\cos x)^2}$.
Sol.

Let $\mathrm{I}=\int \frac{\cos 2 x}{(\sin x+\cos x)^2} d x=\int \frac{\cos ^2 x-\sin ^2 x}{(\sin x+\cos x)^2} d x$


$ \begin{aligned} & =\int \frac{(\cos x+\sin x)(\cos x-\sin x)}{(\sin x+\cos x)(\sin x+\cos x)} d x=\int \frac{\cos x-\sin x}{\sin x+\cos x} d x \\ & \quad=\log |\sin x+\cos x|+c .\left[\because \int \frac{f^{\prime}(x)}{f(x)} d x=\log |f(x)|+c\right] \end{aligned} $


OR

Put denominator $\sin x+\cos x=t$.

Hence, Option (B) is the correct answer.

40. Choose the correct answer: If $f(a+b-x)=f(x)$, then $\int_a^b x f(x) d x$ is equal to (A) $\frac{a+b}{2} \int_a^b f(b-x) d x$ (B) $\frac{a+b}{2} \int_a^b f(b+x) d x$ (C) $\frac{b-a}{2} \int_a^b f(x) d x$ (D) $\frac{a+b}{2} \int_a^b f(x) d x$.
Sol.

Given: $f(a+b-x)=f(x)$


Let $\mathrm{I}=\int_a^b x f(x) d x$


Replace $x$ with ( $a+b-x$ ) in the right-hand integrand (ii).


$ \mathrm{I}=\int_a^b(a+b-x) f(a+b-x) d x $

$\left[\because\right.$ By Property of definite integrals, $\left.\int_a^b f(x) d x=\int_a^b f(a+b-x) d x\right]$




Putting $f(a+b-x)=f(x)$ from (i) in integrand of (iii),


$ \mathrm{I}=\int_a^b f(a+b-x) f(x) d x $


Adding (ii) and (iv), we have $2 \mathrm{I}=\int_a^b[x f(x)+(a+b-x) f(x)] d x$


$ 2 \mathrm{I}=\int_a^b(x+a+b-x) f(x) d x=\int_a^b(a+b) f(x) d x=(a+b) \int_a^b f(x) d x $


Dividing both sides by 2, $\mathrm{I}=\left(\frac{a+b}{2}\right) \int_a^b f(x) d x$

or $\int_a^b x f(x) d x=\left(\frac{a+b}{2}\right) \int_a^b f(x) d x$

Hence, Option (D) is the correct answer.

Test Your Mathematical Logic

Complete the Chapter 1 quiz to unlock your performance badge.

/10

Get ready to be challenged

Thank you for answering the multiple choice test


Integrals Class 12 (120701)


General Instruction:

1. There are 10 MCQ's in the Test.

2. Passing %age is 50.

3. After time gets over, test will be submitted itself.

1 / 10

If \(F(x) = \int_{0}^{x} f(t) dt\), then according to the Fundamental Theorem of Calculus,  F'(x)  is equal to:

a) f(x)

b) F(x)

c) \(\int_{0}^{x} f'(t) dt\)

d) \(\frac{d}{dx} \int_{0}^{x} f(t) dt\)

2 / 10

 Integration by parts is most useful when dealing with:

a) Exponential functions

b) Trigonometric functions

c) Polynomial functions

d) Rational functions

3 / 10

Which of the following statements best describes integration as the inverse process of differentiation?

a) Integration finds the derivative of a function.

b) Integration finds the area under a curve.

c) Integration finds the original function given its derivative.

d) Integration finds the slope of a tangent line.

4 / 10

If f(x) is an odd function, then the integral \(\int_{-a}^{a} f(x) dx\) is equal to:

a) 0

b) \( 2\int_{0}^{a} f(x) dx\)

c) \( \int_{-a}^{0} f(x) dx\)

d) \( \int_{0}^{a} f(x) dx\)

5 / 10

Which property of definite integrals allows us to split the integral of a sum into the sum of integrals?

a) Linearity

b) Associativity

c) Commutativity

d) Distributivity

6 / 10

The definite integral of \(e^x \) from 0 to 1 is equal to:

a) \(e^{-1}\)

b) \(e + 1\)

c) \(e^2 – 1\)

d) \( e^2 + 1\)

7 / 10

The integral \( \int \frac{1}{1+x^2} dx\) can be evaluated using:

a) Trigonometric substitution

b) Partial fractions

c) Integration by parts

d) Substitution

8 / 10

Which method is typically used to evaluate integrals of products of functions?

a) Substitution

b) Partial fractions

c) Integration by parts

d) Trigonometric substitution

9 / 10

The integral of \(\frac{1}{x^2}\) with respect to x is:

a) \(\ln|x| + C\)

b) \(-\frac{1}{x} + C\)

c) \(\frac{1}{x} + C\)

d) \(-\ln|x| + C\)

10 / 10

The integral of \( \sin(x) \cos(x)\) with respect to x is:

a) \(\frac{1}{2}\sin^2(x) + C \)

b) \(-\frac{1}{2}\cos^2(x) + C\)

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

d) \(\frac{1}{2}\cos^2(x) + C\)

Your score is

0%

Please rate this quiz

Thank you for answering the multiple choice test

Pos.NameScoreDuration
There is no data yet

Download Assignments, DPP’s here

Get the editable Word files and premium DPPs for this chapter.

error: Content is protected !!