Showing posts with label Definite Integration. Show all posts
Showing posts with label Definite Integration. Show all posts

Definite Integration

Evaluate: $\;$ $\displaystyle \int_{2}^{3} \dfrac{x^3 + 1}{x \left(x - 1\right)} \; dx$


Let $\;$ $I = \displaystyle \int_{2}^{3} \dfrac{x^3 + 1}{x \left(x - 1\right)} \; dx$

$\begin{aligned} i.e. \; I & = \int_{2}^{3} \dfrac{\left(x - 1\right) \left(x^2 + x + 1\right)}{x \left(x - 1\right)} \; dx \;\;\; \left[\text{Note: } a^3 - b^3 = \left(a - b\right) \left(a^2 + ab + b^2\right)\right] \\\\ & = \int_{2}^{3} \dfrac{x^2 + x + 1}{x} \; dx \\\\ & = \int_{2}^{3} x \; dx + \int_{2}^{3} dx + \int_{2}^{3} \dfrac{1}{x} \; dx \\\\ & = \left[\dfrac{x^2}{2}\right]_{2}^{3} + \left[x\right]_{2}^{3} + \left[\log x\right]_{2}^{3} \\\\ & = \dfrac{1}{2} \left(3^2 - 2^2\right) + \left(3 - 2\right) + \log 3 - \log 2 \\\\ & = \dfrac{7}{2} + \log \left(\dfrac{3}{2}\right) \end{aligned}$

Definite Integration

Prove that $\displaystyle \int \limits_{0}^{\frac{\pi}{2}} \left[2 \log \left(\sin x\right) - \log \left(\sin 2x\right)\right] \; dx = - \dfrac{\pi}{2} \log \left(2\right)$


Let $I = \displaystyle \int \limits_{0}^{\frac{\pi}{2}} \left[2 \log \left(\sin x\right) - \log \left(\sin 2x\right)\right] \; dx$ $\;\;\; \cdots \; (1)$

Now,

$\begin{aligned} 2 \log \left(\sin x\right) - \log \left(\sin 2x\right) & = \log \left(\sin^2 x\right) - \log \left(2 \sin x \cos x\right) \\\\ & = \log \left(\dfrac{\sin^2 x}{2 \sin x \cos x}\right) \\\\ & \hspace{3em} \left[\text{Note: } \log \left(C\right) - \log \left(D\right) = \log \left(\dfrac{C}{D}\right)\right] \\\\ & = \log \left(\dfrac{\sin x}{2 \cos x}\right) \\\\ & = \log \left(\dfrac{\tan x}{2}\right) \\\\ & = \log \left(\tan x\right) - \log \left(2\right) \;\;\; \cdots \; (2) \end{aligned}$

$\therefore$ $\;$ In view of equation $(2)$, equation $(1)$ can be written as

$I = \displaystyle \int \limits_{0}^{\frac{\pi}{2}} \log \left(\tan x\right) \; dx - \int \limits_{0}^{\frac{\pi}{2}} \log \left(2\right) \; dx$ $\;\;\; \cdots \; (3)$

$\begin{aligned} \text{Let } I_1 & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\tan x\right) \; dx \;\;\; \cdots \; (4) \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left[\tan \left(\dfrac{\pi}{2} - x\right)\right] \; dx \hspace{3em} \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(a - x\right) \; dx\right] \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\cot x\right) \; dx \;\;\; \cdots \; (5) \end{aligned}$

Adding equations $(4)$ and $(5)$ gives

$\begin{aligned} 2 I_1 & = \int \limits_{0}^{\frac{\pi}{2}} \left[\log \left(\tan x\right) + \log \left(\cot x\right)\right] \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\tan x \times \cot x\right) \; dx \hspace{3em} \left[\text{Note: } \log C + \log D = \log \left(C \cdot D\right)\right] \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(1\right) \; dx = 0 \end{aligned}$

$\implies$ $I_1 = 0$ $\;\;\; \cdots \; (6)$

$\begin{aligned} \text{Let } I_2 & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(2\right) \; dx \\\\ & = \log \left(2\right) \times \left[x\right]_{0}^{\pi / 2} \end{aligned}$

i.e. $I_2 = \dfrac{\pi}{2} \log \left(2\right)$ $\;\;\; \cdots \; (7)$

$\therefore$ $\;$ In view of equations $(6)$ and $(7)$, equation $(3)$ becomes

$I = 0 - \dfrac{\pi}{2} \log \left(2\right) = - \dfrac{\pi}{2} \log \left(2\right)$ $\hspace{2em}$ Hence proved

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\frac{\pi}{2}} \left|\sin x - \cos x\right| \; dx$


Let $I = \displaystyle \int \limits_{0}^{\frac{\pi}{2}} \left|\sin x - \cos x\right| \; dx$ $\;\;\; \cdots \; (1)$

$\text{Now, } \left|\sin x - \cos x\right| = \begin{cases} \cos x - \sin x, & 0 < x < \dfrac{\pi}{4} \\\\ \sin x - \cos x, & \dfrac{\pi}{4} < x < \dfrac{\pi}{2} \end{cases}$ $\;\;\; \cdots \; (2)$

$\therefore$ $\;$ In view of equation $(2)$, equation $(1)$ can be written as

$\begin{aligned} I & = \int \limits_{0}^{\frac{\pi}{4}} \left(\cos x - \sin x\right) \; dx + \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \left(\sin x - \cos x\right) \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{4}} \cos x \; dx - \int \limits_{0}^{\frac{\pi}{4}} \sin x \; dx + \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \sin x \; dx - \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \cos x \; dx \\\\ & = \left[\sin x\right]_{0}^{\pi / 4} + \left[\cos x\right]_{0}^{\pi / 4} - \left[\cos x\right]_{\pi / 4}^{\pi / 2} - \left[\sin x\right]_{\pi / 4}^{\pi / 2} \\\\ & = \sin \left(\dfrac{\pi}{4}\right) - \sin \left(0\right) + \cos \left(\dfrac{\pi}{4}\right) - \cos \left(0\right) \\\\ & \hspace{5em} - \cos \left(\dfrac{\pi}{2}\right) + \cos \left(\dfrac{\pi}{4}\right) - \sin \left(\dfrac{\pi}{2}\right) + \sin \left(\dfrac{\pi}{4}\right) \\\\ & = \dfrac{1}{\sqrt{2}} - 0 + \dfrac{1}{\sqrt{2}} - 1 - 0 + \dfrac{1}{\sqrt{2}} - 1 + \dfrac{1}{\sqrt{2}} \\\\ & = \dfrac{4}{\sqrt{2}} - 2 \\\\ & = 2 \sqrt{2} - 2 = 2 \left(\sqrt{2} - 1\right) \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\pi} \dfrac{x^2 \; \sin x \; dx}{\left(2x - \pi\right) \left(1 + \cos^2 x\right)}$


$\begin{aligned} \text{Let } I & = \int \limits_{0}^{\pi} \dfrac{x^2 \; \sin x \; dx}{\left(2x - \pi\right) \left(1 + \cos^2 x\right)} \;\;\; \cdots \; (1) \\\\ & = \int \limits_{0}^{\pi} \dfrac{\left(\pi - x\right)^2 \; \sin \left(\pi - x\right) \; dx}{\left\{2 \left(\pi - x\right) - \pi \right\} \left\{1 + \left[\cos \left(\pi - x\right)\right]^2 \right\}} \\\\ & \hspace{2em} \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(a - x\right) \; dx\right] \\\\ & = \int \limits_{0}^{\pi} \dfrac{\left(\pi^2 - 2 \pi x + x^2\right) \; \sin x \; dx}{\left(\pi - 2x\right) \left(1 + \cos^2 x\right)} \;\;\; \cdots \; (2) \end{aligned}$

$\therefore$ $\;$ Adding equations $(1)$ and $(2)$ gives

$\begin{aligned} 2 I & = \int \limits_{0}^{\pi} \left[\dfrac{x^2 \; \sin x}{\left(2x - \pi\right) \left(1 + \cos^2 x\right)} + \dfrac{\left(\pi^2 - 2 \pi x + x^2\right) \; \sin x}{\left(\pi - 2x\right) \left(1 + \cos^2 x\right)}\right] \; dx \\\\ & = \int \limits_{0}^{\pi} \left[\dfrac{x^2 \; \sin x - \left(\pi^2 - 2 \pi x + x^2\right) \; \sin x}{\left(2x - \pi\right) \left(1 + \cos^2 x\right)}\right] \; dx \\\\ & = \int \limits_{0}^{\pi} \dfrac{\left(2 \pi x - \pi^2\right) \sin x}{\left(2x - \pi\right) \left(1 + \cos^2 x\right)} \; dx \\\\ & = \int \limits_{0}^{\pi} \dfrac{\pi \left(2x - \pi\right) \sin x}{\left(2x - \pi\right) \left(1 + \cos^2 x\right)} \; dx \\\\ & = \pi \int \limits_{0}^{\pi} \dfrac{\sin x \; dx}{1 + \cos^2 x} \;\;\; \cdots \; (3) \end{aligned}$

Let $\cos x = u$ $\;\;\; \cdots \; (4)$

Differentiating equation $(4)$ gives

$- \sin x \; dx = du$ $\implies$ $\sin x \; dx = - du$ $\;\;\; \cdots \; (4a)$

$\text{When } \begin{cases} x = 0, & u = \cos \left(0\right) = 1 \\ x = \pi, & u = \cos \left(\pi\right) = -1 \end{cases}$ $\;\;\; \cdots \; (4b)$

$\therefore$ $\;$ In view of equations $(4)$, $(4a)$ and $(4b)$, equation $(3)$ can be written as

$2 I = \pi \displaystyle \int \limits_{1}^{-1} \dfrac{-du}{1 + u^2}$

$\begin{aligned} \text{i.e. } I & = \dfrac{\pi}{2} \int \limits_{-1}^{1} \dfrac{du}{1 + u^2} \hspace{3em} \left[\text{Note: } \int \limits_{b}^{a} -dx = \int \limits_{a}^{b} dx\right] \\\\ & = \dfrac{\pi}{2} \left[\tan^{-1} \left(u\right)\right]_{-1}^{1} \\\\ & = \dfrac{\pi}{2} \left[\tan^{-1} \left(1\right) - \tan^{-1} \left(-1\right)\right] \\\\ & = \dfrac{\pi}{2} \left[\dfrac{\pi}{4} - \left(\dfrac{- \pi}{4}\right)\right] \\\\ & = \dfrac{\pi}{2} \times \dfrac{\pi}{2} = \dfrac{\pi^2}{4} \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{1} \dfrac{\log \left(1 + t\right)}{1 + t^2} \; dt$


Let $I = \displaystyle \int \limits_{0}^{1} \dfrac{\log \left(1 + t\right)}{1 + t^2} \; dt$ $\;\;\; \cdots \; (1)$

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

$\implies$ $t = \tan \left(x\right)$ $\;\;\; \cdots \; (2a)$

Differentiating equation $(2)$ gives

$\dfrac{dt}{1 + t^2} = dx$ $\;\;\; \cdots \; (2b)$

$\text{When } \begin{cases} t = 0, & x = \tan^{-1} \left(0\right) = 0 \\ t = 1, & x = \tan^{-1} \left(1\right) = \dfrac{\pi}{4} \end{cases}$ $\;\;\; \cdots \; (2c)$

$\therefore$ $\;$ In view of equations $(2)$, $(2a)$, $(2b)$ and $(2c)$, equation $(1)$ can be written as

$\begin{aligned} I & = \int \limits_{0}^{\frac{\pi}{4}} \log \left[1 + \tan x\right] \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{4}} \log \left[1 + \tan \left(\dfrac{\pi}{4} - x\right)\right] \; dx \;\;\; \cdots \; (3) \hspace{1em} \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(a - x\right) \; dx\right] \end{aligned}$

$\begin{aligned} \text{Now, } \tan\left(\dfrac{\pi}{4} - x\right) & = \dfrac{\tan \left(\dfrac{\pi}{4}\right) - \tan \left(x\right)}{1 + \tan \left(\dfrac{\pi}{4}\right) \times \tan \left(x\right)} \\\\ & = \dfrac{1 - \tan \left(x\right)}{1 + \tan \left(x\right)} \\\\ \therefore \; 1 + \tan \left(\dfrac{\pi}{4} - x\right) & = 1 + \dfrac{1 - \tan \left(x\right)}{1 + \tan \left(x\right)} \\\\ & = \dfrac{1 + \tan \left(x\right) + 1 - \tan \left(x\right)}{1 + \tan \left(x\right)} \\\\ & = \dfrac{2}{1 + \tan x} \;\;\; \cdots \; (4) \end{aligned}$

$\therefore$ $\;$ In view of equation $(4)$ equation $(3)$ becomes

$I = \displaystyle \int \limits_{0}^{\frac{\pi}{4}} \log \left[\dfrac{2}{1 + \tan x}\right] \; dx$

i.e. $I = \displaystyle \int \limits_{0}^{\frac{\pi}{4}} \log \left(2\right) \; dx - \int \limits_{0}^{\frac{\pi}{4}} \log \left(1 + \tan x\right) \; dx$

i.e. $I = \log \left(2\right) \displaystyle \int \limits_{0}^{\frac{\pi}{4}} dx - I$

i.e. $2 I = \log \left(2\right) \times \left[x\right]_{0}^{\pi / 4}$

i.e. $2 I = \dfrac{\pi}{4} \log \left(2\right)$

i.e. $I = \dfrac{\pi}{8} \log \left(2\right)$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\frac{\pi}{4}} \dfrac{\sin^2 x}{1 + \sin x \cos x} \; dx$


Let $I = \displaystyle \int \limits_{0}^{\frac{\pi}{4}} \dfrac{\sin^2 x}{1 + \sin x \cos x} \; dx$ $\;\;\; \cdots \; (1)$

Now, $\tan x = \dfrac{\sin x}{\cos x}$ $\implies$ $\sin x = \tan x \cos x$ $\implies$ $\sin x = \dfrac{\tan x}{\sec x}$ $\;\;\; \cdots \; (2a)$

and $\cos x = \dfrac{1}{\sec x}$ $\;\;\; \cdots \; (2b)$

$\therefore$ $\;$ In view of equations $(2a)$ and $(2b)$, equation $(1)$ becomes

$\begin{aligned} I & = \int \limits_{0}^{\frac{\pi}{4}} \dfrac{\tan^2 x / sec^2 x}{1 + \dfrac{\tan x}{\sec x} \times \dfrac{1}{\sec x}} \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{4}} \dfrac{\tan^2 x}{\sec^2 x + \tan x} \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{4}} \dfrac{\tan^2 x}{1 + \tan^2 x + \tan x} \; dx \;\;\; \cdots \; (3) \end{aligned}$

Let $\tan x = u$ $\;\;\; \cdots \; (4)$

Differentiating equation $(4)$ gives

$\sec^2 x \; dx = du$

$\implies$ $dx = \dfrac{du}{\sec^2 x} = \dfrac{du}{1 + \tan^2 x} = \dfrac{du}{1 + u^2}$ $\;\;\; \cdots \; (4a)$

$\text{When } \begin{cases} x = 0, & u = \tan \left(0\right) = 0 \\ x = \dfrac{\pi}{4}, & u = \tan \left(\dfrac{\pi}{4}\right) = 1 \end{cases}$ $\;\;\; \cdots \; (4b)$

$\therefore$ $\;$ In view of equations $(4)$, $(4a)$ and $(4b)$, equation $(3)$ becomes

$I = \displaystyle \int \limits_{0}^{1} \dfrac{u^2 \; du}{\left(1 + u + u^2\right) \left(1 + u^2\right)}$ $\;\;\; \cdots \; (5)$

Let $\dfrac{u^2}{\left(1 + u^2\right) \left(1 + u + u^2\right)} = \dfrac{Au + B}{1 + u^2} + \dfrac{Cu + D}{1 + u + u^2}$ $\;\;\; \cdots \; (6)$

i.e. $u^2 = \left(A u + B\right) \left(1 + u + u^2\right) + \left(C u + D\right) \left(1 + u^2\right)$

i.e. $u^2 = Au + Au^2 + Au^3 + B + Bu + Bu^2 + Cu + Cu^3 + D + Du^2$

i.e. $u^2 = u^3 \left(A + C\right) + u^2 \left(A + B + D\right) + u \left(A + B + D\right) + \left(B + D\right)$

Comparing the coefficient of $u^3$ term gives

$A + C = 0$ $\;\;\; \cdots \; (6a)$

Comparing the coefficient of $u^2$ term gives

$A + B + D = 1$ $\;\;\; \cdots \; (6b)$

Comparing the coefficient of $u$ term gives

$A + B + C = 0$ $\;\;\; \cdots \; (6c)$

Comparing the constant term gives

$B + D = 0$ $\;\;\; \cdots \; (6d)$

We have from equations $(6b)$ and $(6d)$, $A = 1$

Substituting the value of A in equation $(6a)$ gives $C = - A = -1$

Substituting the values of A and C in equation $(6c)$ gives $1 + B - 1 = 0$ $\implies$ $B = 0$

Substituting the value of B in equation $(6d)$ gives $D = 0$

$\therefore$ $\;$ Substituting the values of A, B, C and D, equation $(6)$ we have,

$\dfrac{u^2}{\left(1 + u^2\right) \left(1 + u + u^2\right)} = \dfrac{u}{1 + u^2} - \dfrac{u}{1 + u + u^2}$ $\;\;\; \cdots \; (7)$

$\therefore$ $\;$ In view of equation $(7)$ equation $(5)$ can be written as

$\begin{aligned} I & = \int \limits_{0}^{1} \dfrac{u \; du}{u^2 + 1} - \int \limits_{0}^{1} \dfrac{u \; du}{u^2 + u + 1} \\\\ & = I_1 - I_2 \;\;\; \cdots \; (8) \end{aligned}$

Consider $I_1 = \displaystyle \int \limits_{0}^{1} \dfrac{u \; du}{u^2 + 1}$ $\;\;\; \cdots \; (9)$

Let $u^2 + 1 = t$ $\;\;\; \cdots \; (10)$

Differentiating equation $(10)$ gives

$2 u \; du = dt$ $\implies$ $u \; du = \dfrac{dt}{2}$ $\;\;\; \cdots \; (10a)$

$\text{When } \begin{cases} u = 0, & t = 1 \\ u = 1, & t = 2 \end{cases}$ $\;\;\; \cdots \; (10b)$

$\therefore$ $\;$ In view of equations $(10)$, $(10a)$ and $(10b)$, equation $(9)$ becomes

$\begin{aligned} I_1 & = \dfrac{1}{2} \int \limits_{1}^{2} \dfrac{dt}{t} \\\\ & = \dfrac{1}{2} \left[\log \left|t\right|\right]_{1}^{2} \\\\ & = \dfrac{1}{2} \left[\log \left(2\right) - \log \left(1\right)\right] \\\\ & = \dfrac{1}{2} \log \left(2\right) \;\;\; \cdots \; (11) \end{aligned}$

$\begin{aligned} \text{Consider } I_2 & = \int \limits_{0}^{1} \dfrac{u \; du}{u^2 + u + 1} \\\\ & = \dfrac{1}{2} \int \limits_{0}^{1} \dfrac{2 u \; du}{u^2 + u + 1} \\\\ & = \dfrac{1}{2} \left[\int \limits_{0}^{1} \dfrac{2u + 1}{u^2 + u + 1} \; du - \int \limits_{0}^{1} \dfrac{du}{u^2 + u + 1}\right] \;\;\; \cdots \; (12) \end{aligned}$

Consider $I_3 = \displaystyle \int \limits_{0}^{1} \dfrac{2u + 1}{u^2 + u + 1} \; du$ $\;\;\; \cdots \; (13)$

Let $u^2 + u + 1 = m$ $\;\;\; \cdots \; (14)$

Differentiating equation $(14)$ gives

$\left(2u + 1\right) \; du = dm$ $\;\;\; \cdots \; (14a)$

$\text{When } \begin{cases} u = 0, & m = 1 \\ u = 1, & m = 3 \end{cases}$ $\;\;\; \cdots \; (14b)$

$\therefore$ $\;$ In view of equations $(14)$, $(14a)$ and $(14b)$, equation $(13)$ becomes

$\begin{aligned} I_3 & = \int \limits_{1}^{3} \dfrac{dm}{m} \\\\ & = \left[\log \left|m\right|\right]_{1}^{3} \\\\ & = \log \left(3\right) - \log \left(1\right) \\\\ & = \log \left(3\right) \;\;\; \cdots \; (15) \end{aligned}$

$\begin{aligned} \text{Consider } I_4 & = \int \limits_{0}^{1} \dfrac{du}{u^2 + u + 1} \\\\ & = \int \limits_{0}^{1} \dfrac{du}{\left(u^2 + u + \dfrac{1}{4}\right) + 1 - \dfrac{1}{4}} \\\\ & = \int \limits_{0}^{1} \dfrac{du}{\left(u + \dfrac{1}{2}\right)^2 + \left(\dfrac{\sqrt{3}}{2}\right)^2} \\\\ & = \dfrac{2}{\sqrt{3}} \left[\tan^{-1} \left(\dfrac{u + \dfrac{1}{2}}{\dfrac{\sqrt{3}}{2}}\right)\right]_{0}^{1} \\\\ & \hspace{3em} \left[\text{Note: } \int \limits_{p}^{q} \dfrac{dx}{x^2 + a^2} = \dfrac{1}{a} \left[\tan^{-1} \left(\dfrac{x}{a}\right)\right]_{p}^{q}\right] \\\\ & = \dfrac{2}{\sqrt{3}} \left[\tan^{-1} \left(\dfrac{2u + 1}{\sqrt{3}}\right)\right]_{0}^{1} \\\\ & = \dfrac{2}{\sqrt{3}} \left[\tan^{-1} \left(\dfrac{3}{\sqrt{3}}\right) - \tan^{-1} \left(\dfrac{1}{\sqrt{3}}\right)\right]_{0}^{1} \\\\ & = \dfrac{2}{\sqrt{3}} \left[\dfrac{\pi}{3} - \dfrac{\pi}{6}\right] \\\\ & = \dfrac{2}{\sqrt{3}} \times \dfrac{\pi}{6} = \dfrac{\pi}{3 \sqrt{3}} \;\;\; \cdots \; (16) \end{aligned}$

$\therefore$ $\;$ In view of equations $(15)$ and $(16)$, equation $(12)$ becomes

$I_2 = \dfrac{1}{2} \left[\log \left(3\right) - \dfrac{\pi}{3 \sqrt{3}}\right] = \dfrac{1}{2} \log \left(3\right) - \dfrac{\pi}{6 \sqrt{3}}$ $\;\;\; \cdots \; (17)$

$\therefore$ $\;$ In view of equations $(11)$ and $(17)$, equation $(8)$ becomes

$\begin{aligned} I & = \dfrac{1}{2} \log \left(2\right) - \dfrac{1}{2} \log \left(3\right) + \dfrac{\pi}{6 \sqrt{3}} \\\\ & = \dfrac{\pi}{6 \sqrt{3}} - \dfrac{1}{2} \log \left(\dfrac{3}{2}\right) \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\frac{\pi}{4}} \dfrac{dx}{a^2 \cos^2 x - b^2 \sin^2 x}$ $\hspace{3em}$ $\left(a > b > 0\right)$


$\begin{aligned} \text{Let } I & = \int \limits_{0}^{\frac{\pi}{4}} \dfrac{dx}{a^2 \cos^2 x - b^2 \sin^2 x} \\\\ & = \int \limits_{0}^{\frac{\pi}{4}} \dfrac{\dfrac{dx}{\cos^2 x}}{a^2 - \dfrac{b^2 \sin^2 x}{\cos^2 x}} \\\\ & = \int \limits_{0}^{\frac{\pi}{4}} \dfrac{\sec^2 x \; dx}{a^2 - b^2 \tan^2 x} \\\\ & = \dfrac{1}{b^2} \int \limits_{0}^{\frac{\pi}{4}} \dfrac{\sec^2 x \; dx}{\dfrac{a^2}{b^2} - \tan^2 x} \;\;\; \cdots \; (1) \end{aligned}$

Let $\tan x = u$ $\;\;\; \cdots \; (2)$

Differentiating equation $(2)$ gives

$\sec^2 x \; dx = du$ $\;\;\; \cdots \; (2a)$

$\text{When } \begin{cases} x = 0, & u = \tan \left(0\right) = 0 \\ x = \dfrac{\pi}{4}, & u = \tan \left(\dfrac{\pi}{4}\right) = 1 \end{cases}$ $\;\;\; \cdots \; (2b)$

$\therefore$ $\;$ In view of equations $(2)$, $(2a)$ and $(2b)$, equation $(1)$ becomes

$\begin{aligned} I & = \dfrac{1}{b^2} \int \limits_{0}^{1} \dfrac{du}{\dfrac{a^2}{b^2} - u^2} \\\\ & = \dfrac{1}{b^2} \int \limits_{0}^{1} \dfrac{du}{\left(a / b\right)^2 - \left(u\right)^2} \\\\ & = \dfrac{1}{b^2} \times \dfrac{b}{2a} \left[\log \left|\dfrac{\dfrac{a}{b} + u}{\dfrac{a}{b} - u}\right|\right]_{0}^{1} \hspace{3em} \left[\text{Note: }\int \limits_{p}^{q} \dfrac{dx}{a^2 - x^2} = \dfrac{1}{2a} \left[\log\left|\dfrac{a + x}{a - x}\right|\right]_{p}^{q}\right] \\\\ & = \dfrac{1}{2ab} \left[\log \left|\dfrac{\dfrac{a}{b} + 1}{\dfrac{a}{b} - 1}\right| - \log \left|\dfrac{a / b}{a / b}\right|\right] \\\\ & = \dfrac{1}{2ab} \log \left|\dfrac{a + b}{a - b}\right| \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\frac{\pi}{2}} \log \left(\cos x\right) \; dx$


$\begin{aligned} \text{Let } I & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\cos x\right) \; dx \;\;\; \cdots \; (1) \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left[\cos \left(\dfrac{\pi}{2} - x\right)\right] \; dx \hspace{3em} \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(a - x\right) \; dx\right] \\\\ \text{i.e. } I & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\sin x\right) \; dx \;\;\; \cdots \; (2) \end{aligned}$ Adding equations $(1)$ and $(2)$ gives

$\begin{aligned} 2 I & = \int \limits_{0}^{\frac{\pi}{2}} \left[\log \left(\cos x\right) + \log \left(\sin x\right)\right] \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\cos x \cdot \sin x\right) \; dx \hspace{3em} \left[\text{Note: } \log C + \log D = \log \left(C \cdot D\right)\right]\\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\dfrac{2 \sin x \cos x}{2}\right) \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\dfrac{\sin 2x}{2}\right) \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\sin 2x\right) \; dx - \int \limits_{0}^{\frac{\pi}{2}} \log \left(2\right) \; dx \hspace{3em} \left[\text{Note: } \log C - \log D = \log \left(\dfrac{C}{D}\right)\right] \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\sin 2x\right) \; dx - \log \left(2\right) \times \left[x\right]_{0}^{\pi / 2} \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(\sin 2x\right) \; dx - \dfrac{\pi}{2} \; \log \left(2\right) \;\;\; \cdots \; (3) \end{aligned}$ Let $I_1 = \displaystyle \int \limits_{0}^{\frac{\pi}{2}} \log \left(\sin 2x\right) \; dx$ $\;\;\; \cdots \; (4)$

Let $2x = u$ $\;\;\; \cdots \; (5)$

Differentiating equation $(5)$ gives

$2 \; dx = du$ $\implies$ $dx = \dfrac{du}{2}$ $\;\;\; \cdots \; (5a)$

$\text{When } \begin{cases} x = 0, & u = 0 \\ x = \dfrac{\pi}{2}, & u = \pi \end{cases}$ $\;\;\; \cdots \; (5b)$

$\therefore$ $\;$ In view of equations $(5)$, $(5a)$ and $(5b)$, equation $(4)$ can be written as

$I_1 = \dfrac{1}{2} \displaystyle \int \limits_{0}^{\pi} \log \left(\sin u\right) \; du$ $\;\;\; \cdots \; (6)$

Since $\log \left[\sin \left(\pi - u\right)\right] = \log \left(\sin u\right)$

$\implies$ $\displaystyle \int \limits_{0}^{\pi} \log \left(\sin u\right) \; du = 2 \int \limits_{0}^{\frac{\pi}{2}} \log \left(\sin u\right) \; du$ $\;\;\; \cdots \; (7)$

$\therefore$ $\;$ In view of equation $(7)$ equation $(6)$ becomes

$\begin{aligned} I_1 & = \dfrac{1}{2} \times 2 \int \limits_{0}^{\frac{\pi}{2}} \log \left(\sin u\right) \; du \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(sin u\right) \; du \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \log \left(sin x\right) \; dx \hspace{3em} \left[\text{Note: Definite integral is independent of variable}\right] \\\\ & = I \hspace{3em} \left[\text{By equation }(2)\right] \;\;\; \cdots \; (8) \end{aligned}$

$\therefore$ $\;$ In view of equation $(8)$, equation $(3)$ becomes

$2 I = I - \dfrac{\pi}{2} \log \left(2\right)$

i.e. $I = - \dfrac{\pi}{2} \log \left(2\right)$

Definite Integration

Prove that $\displaystyle \int \limits_{0}^{\pi} x \; f\left(\sin x\right) \; dx = \dfrac{\pi}{2} \int \limits_{0}^{\pi} f \left(\sin x\right) \; dx$. Hence evaluate $\displaystyle \int \limits_{0}^{\pi} \dfrac{x}{1 + \sin x} \; dx$


$\begin{aligned} \text{Let } I & = \displaystyle \int \limits_{0}^{\pi} x \; f\left(\sin x\right) \; dx \;\;\; \cdots \; (1) \\\\ & = \int \limits_{0}^{\pi} \left(\pi - x\right) f \left[\sin \left(\pi - x\right)\right] \; dx \hspace{3em} \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(a - x\right) \; dx\right] \\\\ & = \int \limits_{0}^{\pi} \left(\pi - x\right) f \left(\sin x\right) \; dx \\\\ & = \pi \int \limits_{0}^{\pi} f \left(\sin x\right) \; dx - \int \limits_{0}^{\pi} x \; f \left(\sin x\right) \; dx \\\\ & = \pi \int \limits_{0}^{\pi} f \left(\sin x\right) \; dx - I \end{aligned}$

i.e. $2 I = \pi \displaystyle \int \limits_{0}^{\pi} f \left(\sin x\right) \; dx$

$\therefore$ $\;$ $I = \dfrac{\pi}{2} \displaystyle \int \limits_{0}^{\pi} f \left(\sin x\right) \; dx$ $\;\;\; \cdots \; (2)$ $\hspace{3em}$ Hence proved

$\begin{aligned} \text{Now, } \int \limits_{0}^{\pi} \dfrac{x}{1 + \sin x} \; dx & = \dfrac{\pi}{2} \int \limits_{0}^{\pi} \dfrac{1}{1 + \sin x} \; dx \;\;\; \left[\text{by equation } (2)\right] \\\\ & = \dfrac{\pi}{2} \int \limits_{0}^{\pi} \dfrac{1 - \sin x}{1 - \sin^2 x} \; dx \\\\ & = \dfrac{\pi}{2} \int \limits_{0}^{\pi} \dfrac{1 - \sin x}{\cos^2 x} \; dx \\\\ & = \dfrac{\pi}{2} \int \limits_{0}^{\pi} \sec^2 x \; dx - \dfrac{\pi}{2} \int \limits_{0}^{\pi} \sec x \; \tan x \; dx \\\\ & = \dfrac{\pi}{2} \left\{\left[\tan x\right]_{0}^{\pi} - \left[\sec x\right]_{0}^{\pi} \right\} \\\\ & = \dfrac{\pi}{2} \left\{\left[\tan \pi - \tan 0\right] - \left[\sec \pi - \sec 0\right] \right\} \\\\ & = \dfrac{\pi}{2} \left\{0 - \left(- 1 - 1\right) \right\} = \pi \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\sin^2 x}{\sin x + \cos x} \; dx$


$\begin{aligned} \text{Let } I & = \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\sin^2 x}{\sin x + \cos x} \; dx \;\;\; \cdots \; (1) \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\left[\sin \left(\dfrac{\pi}{2} - x\right)\right]^2}{\sin \left(\dfrac{\pi}{2} - x\right) + \cos \left(\dfrac{\pi}{2} - x\right)} \; dx \\\\ & \hspace{3em} \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(x - a\right) \; dx\right] \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\cos^2 x}{\cos x + \sin x} \; dx \;\;\; \cdots \; (2) \end{aligned}$

Adding equations $(1)$ and $(2)$ gives

$2 I = \displaystyle \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\sin^2 x + \cos^2 x}{\sin x + \cos x} \; dx$

i.e. $I = \dfrac{1}{2} \displaystyle \int \limits_{0}^{\frac{\pi}{2}} \dfrac{1}{\sin x + \cos x} \; dx$ $\;\;\; \cdots \; (3)$

Let $\tan \left(\dfrac{x}{2}\right) = u$ $\;\;\; \cdots \; (4)$

Differentiating equation $(4)$ gives

$\dfrac{1}{2} \sec^2 \left(\dfrac{x}{2}\right) \; dx = du$

i.e. $dx = \dfrac{2 \; du}{\sec^2 \left(\dfrac{x}{2}\right)} = \dfrac{2 \; du}{1 + \tan^2 \left(\dfrac{x}{2}\right)} = \dfrac{2 \; du}{1 + u^2}$ $\;\;\; \cdots \; (4a)$

Now, $\sin x = \dfrac{2 \tan \left(\dfrac{x}{2}\right)}{1 + \tan^2 \left(\dfrac{x}{2}\right)} = \dfrac{2 u}{1 + u^2}$ $\;\;\; \cdots \; (4b)$

and $\cos x = \dfrac{1 - \tan^2 \left(\dfrac{x}{2}\right)}{1 + \tan^2 \left(\dfrac{x}{2}\right)} = \dfrac{1 - u^2}{1 + u^2}$ $\;\;\; \cdots \; (4c)$

$\text{When } \begin{cases} x = 0, & u = \tan 0 = 0 \\ x = \dfrac{\pi}{2}, & u = \tan \left(\dfrac{\pi}{4}\right) = 1 \end{cases}$ $\;\;\; \cdots \; (4d)$

$\therefore$ $\;$ In view of equations $(4)$, $(4a)$, $(4b)$, $(4c)$ and $(4d)$, equation $(3)$ can be written as

$\begin{aligned} I & = \dfrac{1}{2} \int \limits_{0}^{1} \dfrac{\dfrac{2 \; du}{1 + u^2}}{\dfrac{2 u}{1 + u^2} + \dfrac{1 - u^2}{1 + u^2}} \\\\ & = \int \limits_{0}^{1} \dfrac{du}{1 + 2u - u^2} \\\\ & = - \int \limits_{0}^{1} \dfrac{du}{\left(u^2 - 2u + 1\right) -1 -1} \\\\ & = - \int \limits_{0}^{1} \dfrac{du}{\left(u - 1\right)^2 - 2} \\\\ & = \int \limits_{0}^{1} \dfrac{du}{\left(\sqrt{2}\right)^2 - \left(u - 1\right)^2} \\\\ & = \dfrac{1}{2 \sqrt{2}} \left[\log \left|\dfrac{\sqrt{2} + u - 1}{\sqrt{2} - u + 1}\right|\right]_{0}^{1} \hspace{3em} \left[\text{Note: } \int \dfrac{dx}{a^2 - x^2} = \dfrac{1}{2a} \log \left|\dfrac{a + x}{a - x}\right| + c\right] \\\\ & = \dfrac{1}{2 \sqrt{2}} \left[\log \left|\dfrac{\sqrt{2} + 1 - 1}{\sqrt{2} - 1 + 1}\right| - \log \left|\dfrac{\sqrt{2} + 0 - 1}{\sqrt{2} - 0 + 1}\right|\right] \\\\ & = \dfrac{1}{2 \sqrt{2}} \left[\log 1 - \log \left|\dfrac{\sqrt{2} - 1}{\sqrt{2} + 1}\right|\right] \\\\ & = \dfrac{1}{2 \sqrt{2}} \left[0 + \log \left|\dfrac{\sqrt{2} + 1}{\sqrt{2} - 1}\right|\right] \\\\ & = \dfrac{1}{2 \sqrt{2}} \log \left|\dfrac{\left(\sqrt{2} + 1\right)^2}{2 - 1}\right| \\\\ & = \dfrac{1}{2 \sqrt{2}} \log \left|\left(\sqrt{2} + 1\right)^2\right| \\\\ & = \dfrac{1}{2 \sqrt{2}} \times 2 \log \left|\sqrt{2} + 1\right| \\\\ & = \dfrac{1}{\sqrt{2}} \log \left|\sqrt{2} + 1\right| \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\pi} \dfrac{x \sin x \; dx}{1 + \cos^2 x}$


$\begin{aligned} \text{Let } I & = \displaystyle \int \limits_{0}^{\pi} \dfrac{x \sin x \; dx}{1 + \cos^2 x} \\\\ & = \displaystyle \int \limits_{0}^{\pi} \dfrac{\left(\pi - x\right) \sin \left(\pi - x\right) \; dx}{1 + \cos^2 \left(\pi - x\right)} \hspace{3em} \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(x - a\right) \; dx\right] \\\\ & = \displaystyle \int \limits_{0}^{\pi} \dfrac{\left(\pi - x\right) \sin x \; dx}{1 + \left(- \cos x\right)^2} \\\\ & = \pi \displaystyle \int \limits_{0}^{\pi} \dfrac{\sin x \; dx}{1 + \cos^2 x} - \displaystyle \int \limits_{0}^{\pi} \dfrac{x \sin x \; dx}{1 + \cos^2 x} \\\\ & = \pi \displaystyle \int \limits_{0}^{\pi} \dfrac{\sin x \; dx}{1 + \cos^2 x} - I \\\\ \text{i.e. } 2 I & = \pi \displaystyle \int \limits_{0}^{\pi} \dfrac{\sin x \; dx}{1 + \cos^2 x} \\\\ & = \pi I_1 \;\;\; \cdots \; (1) \end{aligned}$

Consider $I_1 = \displaystyle \int \limits_{0}^{\pi} \dfrac{\sin x \; dx}{1 + \cos^2 x}$ $\;\;\; \cdots \; (2)$

Let $\cos x = u$ $\;\;\; \cdots \; (3)$

Differentiating equation $(3)$ gives

$- \sin x \; dx = du$ $\;\;\; \cdots \; (3a)$

$\text{When } \begin{cases} x = 0, & u = \cos 0 = 1 \\ x = \pi, & u = \cos \pi = - 1 \end{cases}$ $\;\;\; \cdots \; (3b)$

$\therefore$ $\;$ In view of equations $(3)$, $(3a)$ and $(3b)$, equation $(2)$ becomes

$\begin{aligned} I_1 & = \int \limits_{1}^{-1} \dfrac{- du}{1 + u^2} \\\\ & = \int \limits_{-1}^{1} \dfrac{du}{1 + u^2} \hspace{3em} \left[\text{Note: } - \int \limits_{b}^{a} f \left(x\right) \; dx = + \int \limits_{a}^{b} f \left(x\right) \; dx\right] \\\\ & = \left[\tan^{-1} u\right]_{-1}^{1} \\\\ & = \tan^{-1} \left(1\right) - \tan^{-1} \left(- 1\right) \\\\ & = \dfrac{\pi}{4} - \left(\dfrac{- \pi}{4}\right) = \dfrac{\pi}{2} \;\;\; \cdots \; (4) \end{aligned}$

Substituting equation $(4)$ in equation $(1)$ gives

$2 I = \pi \times \dfrac{\pi}{2}$

$\implies$ $I = \dfrac{\pi^2}{4}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\pi} \dfrac{x}{1 + x} \; dx$


$\begin{aligned} \text{Let } I & = \displaystyle \int \limits_{0}^{\pi} \dfrac{x}{1 + x} \; dx \;\;\; \cdots \; (1) \\\\ & = \displaystyle \int \limits_{0}^{\pi} \dfrac{\pi - x}{1 + \sin \left(\pi - x\right)} \; dx \hspace{3em} \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(x - a\right) \; dx\right] \\\\ & = \int \limits_{0}^{\pi} \dfrac{\pi - x}{1 + \sin x} \; dx \;\;\; \cdots \; (2) \end{aligned}$

Adding equations $(1)$ and $(2)$ gives

$\begin{aligned} 2 I & = \int \limits_{0}^{\pi} \dfrac{x + \pi - x}{1 + \sin x} \; dx \\\\ & = \pi \int \limits_{0}^{\pi} \dfrac{dx}{1 + \sin x} \\\\ & = \pi \int \limits_{0}^{\pi} \dfrac{1 - \sin x}{1 - \sin^2 x} \; dx \\\\ & = \pi \int \limits_{0}^{\pi} \dfrac{1 - \sin x}{\cos^2 x} \; dx \end{aligned}$

$\begin{aligned} \implies I & = \dfrac{\pi}{2} \left\{\int \limits_{0}^{\pi} \dfrac{1}{\cos^2 x} \; dx - \int \limits_{0}^{\pi} \dfrac{\sin x}{\cos^2 x} \; dx \right\} \\\\ & = \dfrac{\pi}{2} \left\{\int \limits_{0}^{\pi} \sec^2 x \; dx - \int \limits_{0}^{\pi} \sec x \; \tan x \; dx \right\} \\\\ & = \dfrac{\pi}{2} \left\{\left[\tan x\right]_{0}^{\pi} - \left[\sec x\right]_{0}^{\pi} \right\} \\\\ & = \dfrac{\pi}{2} \left[\tan \pi - \tan 0 - \sec \pi + \sec 0\right] \\\\ & = \dfrac{\pi}{2} \left[0 - 0 + 1 + 1\right] \\\\ & = \dfrac{\pi}{2} \times 2 = \pi \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} \dfrac{1}{1 + \sqrt{\cot x}} \; dx$


$\begin{aligned} \text{Let } I & = \displaystyle \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} \dfrac{1}{1 + \sqrt{\cot x}} \; dx \;\;\; \cdots \; (1) \\\\ & = \displaystyle \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} \dfrac{1}{1 + \sqrt{\cot \left(\dfrac{\pi}{6} + \dfrac{\pi}{3} - x\right)}} \; dx \\\\ & \left[\text{Note: } \int \limits_{a}^{b} f\left(x\right) \; dx = \int \limits_{a}^{b} f \left(a + b - x\right) \; dx\right] \\\\ & = \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} \dfrac{1}{1 + \sqrt{\cot \left(\dfrac{\pi}{2} - x\right)}} \; dx \\\\ & = \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} \dfrac{1}{1 + \sqrt{\tan x}} \; dx \\\\ & = \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} \dfrac{1}{1 + \dfrac{1}{\sqrt{\cot x}}} \; dx \\\\ & = \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} \dfrac{\sqrt{\cot x}}{\sqrt{\cot x} + 1} \; dx \;\;\; \cdots \; (2) \end{aligned}$

Adding equations $(1)$ and $(2)$ gives

$2 I = \displaystyle \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} \dfrac{1 + \sqrt{\cot x}}{1 + \sqrt{\cot x}} \; dx$

i.e. $2 I = \int \limits_{\frac{\pi}{6}}^{\frac{\pi}{3}} dx = \left[x\right]_{\pi / 6}^{\pi / 3} = \dfrac{\pi}{3} - \dfrac{\pi}{6} = \dfrac{\pi}{6}$

$\implies$ $I = \dfrac{\pi}{12}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\sqrt{\sin x}}{\sqrt{\cos x} + \sqrt{\sin x}} \; dx$


$\begin{aligned} \text{Let } I & = \displaystyle \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\sqrt{\sin x}}{\sqrt{\cos x} + \sqrt{\sin x}} \; dx \;\;\; \cdots \; (1) \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\sqrt{\sin \left(\dfrac{\pi}{2} - x\right)}}{\sqrt{\cos \left(\dfrac{\pi}{2} - x\right)}+ \sqrt{\sin \left(\dfrac{\pi}{2} - x\right)}} \; dx \\\\ & \left[\text{Note: } \int \limits_{0}^{a} f\left(x\right) \; dx = \int \limits_{0}^{a} f\left(x - a\right) \; dx\right] \\\\ \text{i.e. } I & = \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\sqrt{\cos x}}{\sqrt{\sin x} + \sqrt{\cos x}} \; dx \;\;\; \cdots \; (2) \end{aligned}$

Adding equations $(1)$ and $(2)$ gives

$\begin{aligned} 2 I & = \int \limits_{0}^{\frac{\pi}{2}} \dfrac{\sqrt{\sin x} + \sqrt{\cos x}}{\sqrt{\sin x} + \sqrt{\cos x}} \; dx \\\\ & = \int \limits_{0}^{\frac{\pi}{2}} dx \\\\ & = \left[x\right]_{0}^{\pi / 2} = \dfrac{\pi}{2} \end{aligned}$

$\implies$ $I = \dfrac{\pi}{4}$

Definite Integration

If $\displaystyle \int \limits_{0}^{a} \sqrt{x} \; dx = 2 a \int \limits_{0}^{\frac{\pi}{2}} \sin^3 x \; dx$, then obtain $\displaystyle \int \limits_{a}^{a + 1} x \; dx$


$\displaystyle \int \limits_{0}^{a} \; \sqrt{x} \; dx = \dfrac{2}{3} \left[x^{3/2}\right]_{0}^{a} = \dfrac{2}{3} a^{3/2}$ $\;\;\; \cdots \; (1)$

$\begin{aligned} \int \limits_{0}^{\frac{\pi}{2}} \sin^3 x \; dx & = \int \limits_{0}^{\frac{\pi}{2}} \left(\dfrac{3 \sin x - \sin 3x}{4}\right) \; dx \hspace{3em} \left[\text{Note: }\sin 3 \theta = 3 \sin \theta - 4 \sin^3 \theta \right] \\\\ & = \dfrac{3}{4} \int \limits_{0}^{\frac{\pi}{2}} \sin x \; dx - \dfrac{1}{4} \int \limits_{0}^{\frac{\pi}{2}} \sin 3x \; dx \\\\ & = \dfrac{3}{4} \left[- \cos x\right]_{0}^{\pi / 2} - \dfrac{1}{4} \left[\dfrac{- \cos 3x}{3}\right]_{0}^{\pi / 2} \\\\ & = - \dfrac{3}{4} \left(0 - 1\right) + \dfrac{1}{12} \left(0 - 1\right) \\\\ & = \dfrac{3}{4} - \dfrac{1}{12} = \dfrac{2}{3} \;\;\; \cdots \; (2) \end{aligned}$

$\therefore$ $\;$ As per the question, we have from equations $(1)$ and $(2)$,

$\dfrac{2}{3} a^{3/2} = 2 a \times \dfrac{2}{3} = \dfrac{4a}{3}$

i.e. $a^{3/2 - 1} = 2$

i.e. $a^{1/2} = 2$ $\implies$ $a = 4$ $\;\;\; \cdots \; (3)$

$\therefore$ $\;$ In view of equation $(3)$ we have

$\displaystyle \int \limits_{a}^{a+1} x \; dx = \int \limits_{4}^{5} x \; dx = \left[\dfrac{x^2}{2}\right]_{4}^{5} = \dfrac{1}{2} \left(25 - 16\right) = \dfrac{9}{2}$

Definite Integration

If $\displaystyle \int \limits_{\sqrt{2}}^{k} \dfrac{dx}{x \sqrt{x^2 - 1}} \; dx = \dfrac{\pi}{12}$, obtain k.


Let $I = \displaystyle \int \limits_{\sqrt{2}}^{k} \dfrac{dx}{x \sqrt{x^2 - 1}} \; dx$ $\;\;\; \cdots \; (1)$

Put $x = \sec \theta$ $\;\;\; \cdots \; (2)$

Differentiating equation $(2)$ gives

$dx = \sec \theta \tan \theta \; d\theta$ $\;\;\; \cdots \; (2a)$

From equation $(2)$, $\theta = \sec^{-1}x$

$\therefore \; \text{When } \begin{cases} x = \sqrt{2}, & \theta = \sec^{-1} \left(\sqrt{2}\right) = \dfrac{\pi}{4} \\ x = k, & \theta = \sec^{-1} \left(k\right) \end{cases}$ $\;\;\; \cdots \; (2b)$

$\therefore$ $\;$ In view of equations $(2)$, $(2a)$ and $(2b)$, equation $(1)$ can be written as

$\begin{aligned} I & = \int \limits_{\frac{\pi}{4}}^{\sec^{-1} \left(k\right)} \dfrac{\sec \theta \; \tan \theta \; d \theta}{\sec \theta \; \sqrt{\sec^2 \theta - 1}} \\\\ & = \int \limits_{\frac{\pi}{4}}^{\sec^{-1} \left(k\right)} d \theta \\\\ & = \left[\theta\right]_{\pi / 4}^{\sec^{-1} \left(k\right)} \\\\ & = \sec^{-1} \left(k\right) - \dfrac{\pi}{4} \;\;\; \cdots \; (3) \end{aligned}$

Given $I = \dfrac{\pi}{12}$ $\;\;\; \cdots \; (4)$

$\therefore$ $\;$ We have from equations $(3)$ and $(4)$,

$\sec^{-1} \left(k\right) - \dfrac{\pi}{4} = \dfrac{\pi}{12}$

i.e. $\sec^{-1} \left(k\right) = \dfrac{\pi}{12} + \dfrac{\pi}{4} = \dfrac{\pi}{3}$

$\implies$ $k = \sec \left(\dfrac{\pi}{3}\right) = 2$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{2 \pi} \left|\cos x\right| \; dx$


Let $I = \displaystyle \int \limits_{0}^{2 \pi} \left|\cos x\right| \; dx$ $\;\;\; \cdots \; (1)$

$\left|\cos x\right| = \begin{cases} + \cos x, & 0 < x < \dfrac{\pi}{2} \\ - \cos x, & \dfrac{\pi}{2} < x < \dfrac{3 \pi}{2} \\ + \cos x, & \dfrac{3 \pi}{2} < x < 2 \pi \end{cases}$ $\;\;\; \cdots \; (2)$

$\therefore$ $\;$ In view of equation $(2)$, equation $(1)$ can be written as

$\begin{aligned} I & = \int \limits_{0}^{\frac{\pi}{2}} \cos x \; dx - \int \limits_{\frac{\pi}{2}}^{\frac{3 \pi}{2}} \cos x \; dx + \int \limits_{\frac{3 \pi}{2}}^{2 \pi} \cos x \; dx \\\\ & = \left[\sin x\right]_{0}^{\pi / 2} - \left[\sin x\right]_{\pi / 2}^{3 \pi / 2} + \left[\sin x\right]_{3 \pi / 2}^{2 \pi} \\\\ & = \left[\sin \left(\dfrac{\pi}{2}\right) - \sin 0\right] - \left[\sin \left(\dfrac{3 \pi}{2}\right) - \sin \left(\dfrac{\pi}{2}\right)\right] + \left[\sin \left(2 \pi\right) - \sin \left(\dfrac{3 \pi}{2}\right)\right] \\\\ & = \left(1 - 0\right) - \left(- 1 - 1\right) + \left(0 + 1\right) \\\\ & = 4 \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \cos \left(2x\right) \cdot \log \left(\sin x\right) \; dx$


$\begin{aligned} \text{Let } I & = \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \cos \left(2x\right) \cdot \log \left(\sin 2x\right) \; dx \\\\ & \left[\begin{aligned} \text{Note: }& \int \limits_{a}^{b} u\; v \; dx = \left[u \int v \; dx\right]_{a}^{b} - \int \limits_{a}^{b} \left\{\int v \; dx \times \dfrac{d}{dx} \left(du\right) \right\} \; dx \\\\ & \text{Here } u = \log \left(\sin x\right); \; v = \cos \left(2x\right) \end{aligned}\right] \\\\ & = \left[\log \left(\sin x\right) \int \cos \left(2x\right) \; dx\right]_{\frac{\pi}{4}}^{\frac{\pi}{2}} - \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \left\{\int \cos \left(2x\right) \times \dfrac{d}{dx} \left[\log \left(\sin x\right)\right] \right\} \; dx \\\\ & = \left[\dfrac{1}{2} \sin \left(2x\right) \; \log \left(\sin x\right)\right]_{\pi / 4}^{\pi / 2} - \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \dfrac{\sin \left(2x\right)}{2} \times \dfrac{1}{\sin x} \times \cos x \; dx \\\\ & = \dfrac{1}{2} \left[\sin \left(\pi\right) \; \log \left|\sin \left(\dfrac{\pi}{2}\right)\right| - \sin \left(\dfrac{\pi}{2}\right) \; \log \left|\sin \left(\dfrac{\pi}{4}\right)\right|\right] \\ & \hspace{10em} - \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \dfrac{2 \sin x \cos x \times \cos x}{2 \sin x} \; dx \\\\ & = \dfrac{1}{2} \left[0 - 1 \times \log \left|\dfrac{1}{\sqrt{2}}\right|\right] - \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \cos^2 x \; dx \\\\ & = \dfrac{1}{2} \log \left|\sqrt{2}\right| - \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \left(\dfrac{1 + \cos 2x}{2}\right) \; dx \\\\ & = \dfrac{1}{4} \log 2 - \dfrac{1}{2} \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} dx - \dfrac{1}{2} \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \cos 2x \; dx \\\\ & = \dfrac{1}{4} \log 2 - \dfrac{1}{2} \left[x\right]_{\pi / 4}^{\pi / 2} - \dfrac{1}{2} \left[\dfrac{\sin 2x}{2}\right]_{\pi / 4}^{\pi / 2} \\\\ & = \dfrac{1}{4} \log 2 - \dfrac{1}{2} \left[\dfrac{\pi}{2} - \dfrac{\pi}{4}\right] - \dfrac{1}{4} \left[\sin \left(\pi\right) - \sin \left(\dfrac{\pi}{2}\right)\right] \\\\ & = \dfrac{1}{4} \log 2 - \dfrac{\pi}{8} - \dfrac{1}{4} \left[0 - 1\right] \\\\ & = \dfrac{1}{4} \log 2 - \dfrac{\pi}{8} + \dfrac{1}{4} \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{1} \sqrt{\dfrac{1 - x}{1 + x}} \; dx$


Let $I = \displaystyle \int \limits_{0}^{1} \sqrt{\dfrac{1 - x}{1 + x}} \; dx$ $\;\;\; \cdots \; (1)$

Let $1 + x = u$ $\;\;\; \cdots \; (2)$

Differentiating equation $(2)$ gives

$dx = du$ $\;\;\; \cdots \; (2a)$

$\text{When } \begin{cases} x = 0, & u = 1 + 0 = 1 \\ x = 1, & u = 1 + 1 = 2 \end{cases}$ $\;\;\; \cdots \; (2b)$

Also, from equation $(2)$, $x = u - 1$

$\therefore$ $\;$ $1 - x = 2 - u$ $\;\;\; \cdots \; (2c)$

$\therefore$ $\;$ In view of equations $(2)$, $(2a)$, $(2b)$ and $(2c)$, equation $(1)$ can be written as

$I = \displaystyle \int \limits_{1}^{2} \dfrac{\sqrt{2 - u}}{\sqrt{u}} \; du$ $\;\;\; \cdots \; (3)$

Let $\sqrt{u} = v$ $\;\;\; \cdots \; (4)$

Differentiating equation $(4)$ gives

$\dfrac{1}{2 \sqrt{u}} \; du = dv$

$\implies$ $\dfrac{du}{\sqrt{u}} = 2 \; dv$ $\;\;\; \cdots \; (4a)$

$\text{When } \begin{cases} u = 1, & v = \sqrt{1} = 1 \\ u = 2, & v = \sqrt{2} \end{cases}$ $\;\;\; \cdots \; (4b)$

Also, from equation $(4)$, $u = v^2$ $\;\;\; \cdots \; (4c)$

$\therefore$ $\;$ In view of equations $(4)$, $(4a)$, $(4b)$ and $(4c)$, equation $(3)$ can be written as

$I = 2 \displaystyle \int \limits_{1}^{\sqrt{2}} \sqrt{2 - v^2} \; dv$ $\;\;\; \cdots \; (5)$

Let $v = \sqrt{2} \sin \theta$ $\;\;\; \cdots \; (6)$

Differentiating equation $(6)$ gives

$dv = \sqrt{2} \cos \theta \; d \theta$ $\;\;\; \cdots \; (6a)$

$\text{When } \begin{cases} v = 1, & \theta = \sin^{-1} \left(\dfrac{1}{\sqrt{2}}\right) = \dfrac{\pi}{4} \\ v = \sqrt{2}, & \theta = \sin^{-1} \left(\dfrac{\sqrt{2}}{\sqrt{2}}\right) = \dfrac{\pi}{2} \end{cases}$ $\;\;\; \cdots \; (6b)$

Also, from equation $(6)$, $\theta = \sin^{-1} \left(\dfrac{v}{\sqrt{2}}\right)$ $\;\;\; \cdots \; (6c)$

$\therefore$ $\;$ In view of equations $(6)$, $(6a)$, $(6b)$ and $(6c)$, equation $(5)$ can be written as

$\begin{aligned} I & = 2 \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \sqrt{2 - 2 \sin^2 \theta} \times \sqrt{2} \cos \theta \; d \theta \\\\ & = 2 \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \sqrt{2} \left(\sqrt{1 - \sin^2 \theta}\right) \times \sqrt{2} \cos \theta \; d \theta \\\\ & = 4 \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \cos \theta \times \cos \theta \; d \theta \\\\ & = 4 \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \cos^2 \theta \; d \theta \\\\ & = 4 \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \left(\dfrac{1 + \cos 2 \theta}{2}\right) \; d \theta \\\\ & = 2 \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} d \theta + 2 \int \limits_{\frac{\pi}{4}}^{\frac{\pi}{2}} \cos 2 \theta \; d \theta \\\\ & = 2 \left[\theta\right]_{\pi / 4}^{\pi / 2} + 2 \left[\dfrac{\sin 2 \theta}{2}\right]_{\pi / 4}^{\pi / 2} \\\\ & = 2 \left[\dfrac{\pi}{2} - \dfrac{\pi}{4}\right] + \left[\sin \left(\pi\right) - \sin \left(\dfrac{\pi}{2}\right)\right] \\\\ & = \dfrac{\pi}{2} + \left(0 - 1\right) \\\\ & = \dfrac{\pi}{2} - 1 \end{aligned}$

Definite Integration

Evaluate $\displaystyle \int \limits_{0}^{1} \sin^{-1} \left(\sqrt{\dfrac{x}{x + 1}}\right) \; dx$


$\begin{aligned} \text{Let } I & = \int \limits_{0}^{1} \sin^{-1} \left(\sqrt{\dfrac{x}{x + 1}}\right) \; dx \\\\ & \left[\begin{aligned} \text{Note: }& \int \limits_{a}^{b} u\; v \; dx = \left[u \int v \; dx\right]_{a}^{b} - \int \limits_{a}^{b} \left\{\int v \; dx \times \dfrac{d}{dx} \left(du\right) \right\} \; dx \\\\ & \text{Here } u = \sin^{-1} \left(\sqrt{\dfrac{x}{x + 1}}\right); \; v = 1 \end{aligned}\right] \\\\ & = \left[\sin^{-1} \left(\sqrt{\dfrac{x}{x + 1}}\right) \int dx\right]_{0}^{1} \\ & \hspace{5em} - \int \limits_{0}^{1} \left\{\int dx \times \dfrac{d}{dx} \left[\sin^{-1} \left(\sqrt{\dfrac{x}{x + 1}}\right)\right] \right\} \; dx \;\;\; \cdots \; (1) \end{aligned}$

$\begin{aligned} \text{Now, } \dfrac{d}{dx} \left[\sin^{-1} \left(\sqrt{\dfrac{x}{x + 1}}\right)\right] & = \dfrac{1}{\sqrt{1 - \dfrac{x}{x + 1}}} \times \dfrac{d}{dx} \left(\sqrt{\dfrac{x}{x + 1}}\right) \\\\ & = \sqrt{x + 1} \times \left(\dfrac{\sqrt{x + 1} \times \dfrac{1}{2 \sqrt{x}} - \sqrt{x} \times \dfrac{1}{2 \sqrt{x + 1}}}{x + 1}\right) \\\\ & = \sqrt{x + 1} \times \left(\dfrac{x + 1 - x}{2 \left(x + 1\right) \sqrt{x} \sqrt{x + 1}}\right) \\\\ & = \dfrac{1}{2 \left(x + 1\right) \sqrt{x}} \;\;\; \cdots \; (2) \end{aligned}$

$\therefore$ $\;$ In view of equation $(2)$, equation $(1)$ becomes

$\begin{aligned} I & = \left[x \; \sin^{-1} \left(\sqrt{\dfrac{x}{x + 1}}\right)\right]_{0}^{1} - \dfrac{1}{2} \int \limits_{0}^{1} \dfrac{x \; dx}{\left(x + 1\right) \sqrt{x}} \\\\ & = 1 \times \sin^{-1} \left(\sqrt{\dfrac{1}{2}}\right) - 0 - \dfrac{1}{2} \int \limits_{0}^{1} \dfrac{x \; dx}{\left(x + 1\right) \sqrt{x}} \;\;\; \cdots \; (3) \end{aligned}$

Consider $\displaystyle \int \limits_{0}^{1} \dfrac{\sqrt{x}}{x + 1} \; dx$ $\;\;\; \cdots \; (4)$

Put $\sqrt{x} = u$ $\;\;\; \cdots \; (5)$

Differentiating equation $(5)$ gives

$\dfrac{1}{2 \sqrt{x}} \; dx = du$ $\implies$ $dx = 2 \sqrt{x} \; du = 2 u \; du$ $\;\;\; \cdots \; (5a)$

$\text{When } \begin{cases} x = 0, & u = \sqrt{0} = 0 \\ x = 1, & u = \sqrt{1} = 1 \end{cases}$ $\;\;\; \cdots \; (5b)$

$\therefore$ $\;$ In view of equations $(5)$, $(5a)$ and $(5b)$, equation $(4)$ becomes

$\begin{aligned} \int \limits_{0}{1} \dfrac{\sqrt{x}}{x + 1} \; dx & = \int \limits_{0}^{1} \dfrac{u \times 2u}{u^2 + 1} \; du \\\\ & = 2 \int \limits_{0}^{1} \dfrac{u^2}{u^2 + 1} \; du \\\\ & = 2 \left[\int \limits_{0}^{1} \dfrac{u^2 + 1}{u^2 + 1} \; du - \int \limits_{0}^{1} \dfrac{du}{u^2 + 1}\right] \\\\ & = 2 \left[\int \limits_{0}^{1} du - \int \limits_{0}^{1} \dfrac{du}{u^2 + 1}\right] \\\\ & = 2 \left\{\left[u\right]_{0}^{1} - \left[\tan^{-1} u\right]_{0}^{1} \right\} \\\\ & = 2 \left[1 - 0 - \tan^{-1} \left(1\right) + \tan^{-1} \left(0\right)\right] \\\\ & = 2 \left[1 - \dfrac{\pi}{4}\right] \\\\ & = 2 - \dfrac{\pi}{2} \;\;\; \cdots \; (6) \end{aligned}$

$\therefore$ $\;$ Substituting equation $(6)$ in equation $(3)$ gives

$\begin{aligned} I & = \dfrac{\pi}{4} - \dfrac{1}{2} \left(2 - \dfrac{\pi}{2}\right) \\\\ & = \dfrac{\pi}{4} - 1 + \dfrac{\pi}{4} = \dfrac{\pi}{2} - 1 \end{aligned}$