Integration by Parts

RS Aggarwal Class 12 Maths Solutions Objective Questions II — Integration by Parts (Chapter 13)

RS Aggarwal, Class 12 Mathematics — Chapter 13, Methods of Integration, Objective Questions II, Questions 1 to 56. All 56 questions solved.

Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.

These 56 multiple-choice questions are almost entirely integration by parts. Questions 1 to 13 and 35 to 37 are the basic products of $x$ or a logarithm with an exponential or trigonometric function, 14 to 23 use a substitution first, 24 to 34 and 39 to 42 involve inverse trigonometric functions (several simplify by a trigonometric substitution before parts), and 43 to 56 are the special form $e^x\{f(x)+f'(x)\}$.

Key insight. For a product, choose $u$ by the order inverse trigonometric, logarithm, algebraic, trigonometric, exponential, then use $\int u\,dv=uv-\int v\,du$. When the integrand is $e^x$ times a bracket in which one term is the derivative of the other, there is no work to do: $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)+C$. Every option can be checked by differentiating it.

Question 1

Find $\int x e^{x}\,dx$.

(a) $e^{x}(1-x)+C$
(b) $e^{x}(x+1)+C$
(c) $e^{x}(x-1)+C$
(d) none of these

Solution. Take $u=x$ and $dv=e^{x}dx$, so $v=e^{x}$. Then $\int xe^{x}dx=xe^{x}-\int e^{x}dx=xe^{x}-e^{x}=e^{x}(x-1)$.

(c) $e^{x}(x-1)+C$

Question 2

Find $\int x e^{2x}\,dx$.

(a) $\frac{1}{2}xe^{2x}+\frac{1}{4}e^{2x}+C$
(b) $\frac{1}{2}xe^{2x}-\frac{1}{4}e^{2x}+C$
(c) $2xe^{2x}+4e^{2x}+C$
(d) none of these

Solution. Take $u=x$, $dv=e^{2x}dx$, so $v=\tfrac12e^{2x}$. Then $\int xe^{2x}dx=\tfrac12xe^{2x}-\tfrac12\int e^{2x}dx=\tfrac12xe^{2x}-\tfrac14e^{2x}$.

(b) $\frac{1}{2}xe^{2x}-\frac{1}{4}e^{2x}+C$

Question 3

Find $\int x \cos 2x\,dx$.

(a) $\frac{1}{2}x\sin 2x+\frac{1}{4}\cos 2x+C$
(b) $\frac{1}{2}x\sin 2x-\frac{1}{4}\cos 2x+C$
(c) $2x\sin 2x+4\cos 2x+C$
(d) none of these

Solution. Take $u=x$, $dv=\cos2x\,dx$, so $v=\tfrac12\sin2x$. Then $\int x\cos2x\,dx=\tfrac12x\sin2x-\tfrac12\int\sin2x\,dx=\tfrac12x\sin2x+\tfrac14\cos2x$.

(a) $\frac{1}{2}x\sin 2x+\frac{1}{4}\cos 2x+C$

Question 4

Find $\int x \sec^{2}x\,dx$.

(a) $x\tan x-\log|\cos x|+C$
(b) $x\tan x+\log|\cos x|+C$
(c) $x\tan x+\log|\sec x|+C$
(d) none of these

Solution. Take $u=x$, $dv=\sec^2x\,dx$, so $v=\tan x$. Then $\int x\sec^2x\,dx=x\tan x-\int\tan x\,dx=x\tan x+\log|\cos x|$, because $\int\tan x\,dx=-\log|\cos x|$.

(b) $x\tan x+\log|\cos x|+C$

Question 5

Find $\int x \sin 2x\,dx$.

(a) $\frac{1}{2}x\cos 2x+\frac{1}{4}\sin 2x+C$
(b) $-\frac{1}{2}x\cos 2x-\frac{1}{4}\sin 2x+C$
(c) $-\frac{1}{2}x\cos 2x+\frac{1}{4}\sin 2x+C$
(d) none of these

Solution. Take $u=x$, $dv=\sin2x\,dx$, so $v=-\tfrac12\cos2x$. Then $\int x\sin2x\,dx=-\tfrac12x\cos2x+\tfrac12\int\cos2x\,dx=-\tfrac12x\cos2x+\tfrac14\sin2x$.

(c) $-\frac{1}{2}x\cos 2x+\frac{1}{4}\sin 2x+C$

Question 6

Find $\int x \log x \, dx$.

(a) $x \log x + \frac{1}{2}x^2 + C$
(b) $\frac{1}{2}x^2 \log x + \frac{1}{4}x^2 + C$
(c) $\frac{1}{2}x^2 \log x – \frac{1}{4}x^2 + C$
(d) none of these

Solution. Here $\log x$ is the part that gets simpler on differentiating, so take $u=\log x$, $dv=x\,dx$, $v=\tfrac12x^2$. Then $\int x\log x\,dx=\tfrac12x^2\log x-\int\tfrac12x^2\cdot\tfrac1x\,dx=\tfrac12x^2\log x-\tfrac14x^2$.

(c) $\frac{1}{2}x^2 \log x – \frac{1}{4}x^2 + C$

Question 7

Find $\int x \operatorname{cosec}^2 x \, dx$.

(a) $x \cot x – \log|\sin x| + C$
(b) $-x \cot x + \log|\sin x| + C$
(c) $x \tan x – \log|\sec x| + C$
(d) none of these

Solution. Take $u=x$, $dv=\operatorname{cosec}^2x\,dx$, so $v=-\cot x$. Then $\int x\operatorname{cosec}^2x\,dx=-x\cot x+\int\cot x\,dx=-x\cot x+\log|\sin x|$.

(b) $-x \cot x + \log|\sin x| + C$

Question 8

Find $\int x \sin x \cos x \, dx$.

(a) $-\frac{1}{4}x \sin 2x + \frac{1}{8}\cos 2x + C$
(b) $\frac{1}{4}x \cos 2x – \frac{1}{8}\sin 2x + C$
(c) $\frac{1}{2}x \sin 2x + \frac{1}{4}\cos 2x + C$
(d) $-\frac{1}{4}x \cos 2x + \frac{1}{8}\sin 2x + C$

Solution. Use $\sin x\cos x=\tfrac12\sin2x$, so the integral is $\tfrac12\int x\sin2x\,dx$. With $u=x$, $dv=\sin2x\,dx$ we get $\int x\sin2x\,dx=-\tfrac12x\cos2x+\tfrac14\sin2x$. Halving gives $-\tfrac14x\cos2x+\tfrac18\sin2x$.

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

Question 9

Find $\int x \cos^2 x \, dx$.

(a) $\frac{x^2}{4} – \frac{x\sin 2x}{4} + \frac{\cos 2x}{8} + C$
(b) $\frac{x^2}{4} + \frac{x\sin 2x}{4} + \frac{\cos 2x}{8} + C$
(c) $\frac{x^2}{4} + \frac{x\sin 2x}{4} – \frac{\cos 2x}{8} + C$
(d) none of these

Solution. Write $\cos^2x=\tfrac12(1+\cos2x)$. Then $\int x\cos^2x\,dx=\tfrac12\int x\,dx+\tfrac12\int x\cos2x\,dx=\tfrac{x^2}{4}+\tfrac12\left(\tfrac12x\sin2x+\tfrac14\cos2x\right)$, the second integral coming from parts with $u=x$.

(b) $\frac{x^2}{4} + \frac{x\sin 2x}{4} + \frac{\cos 2x}{8} + C$

Question 10

Find $\int \frac{\log x}{x^2} \, dx$.

(a) $-\frac{1}{x}(\log x + 1) + C$
(b) $\frac{1}{x}(\log x – 1) + C$
(c) $\frac{1}{x}(\log x + 1) + C$
(d) none of these

Solution. Take $u=\log x$, $dv=x^{-2}dx$, so $v=-\tfrac1x$. Then $\int\dfrac{\log x}{x^2}dx=-\dfrac{\log x}{x}+\int\dfrac1{x^2}dx=-\dfrac{\log x}{x}-\dfrac1x=-\dfrac1x(\log x+1)$.

(a) $-\frac{1}{x}(\log x + 1) + C$

Question 11

Find $\int \log x \, dx$.

(a) $\frac{1}{x} + C$
(b) $\frac{1}{2}(\log x)^2 + C$
(c) $x(\log x + 1) + C$
(d) $x(\log x – 1) + C$

Solution. Treat the integrand as $\log x\cdot1$ and take $u=\log x$, $dv=dx$. Then $\int\log x\,dx=x\log x-\int x\cdot\tfrac1x\,dx=x\log x-x=x(\log x-1)$.

(d) $x(\log x – 1) + C$

Question 12

Evaluate $\int \log_{10} x \, dx$ (the base of the logarithm is 10).

(a) $\frac{1}{x}\log_e 10 + C$
(b) $\frac{1}{x}\log_{10} e + C$
(c) $x(\log x – 1)\log_e 10 + C$
(d) $x(\log x – 1)\log_{10} e + C$

Solution. Change the base: $\log_{10}x=\log x\cdot\log_{10}e$, and $\log_{10}e$ is a constant. By the previous result $\int\log x\,dx=x(\log x-1)$, so the integral is $x(\log x-1)\log_{10}e$.

(d) $x(\log x – 1)\log_{10} e + C$

Question 13

Find $\int (\log x)^2 \, dx$.

(a) $\frac{2\log x}{x} + C$
(b) $\frac{1}{3}(\log x)^3 + C$
(c) $x(\log x)^2 – 2x\log x + 2x + C$
(d) $x(\log x)^2 + 2x\log x – 2x + C$

Solution. Take $u=(\log x)^2$, $dv=dx$: $\int(\log x)^2dx=x(\log x)^2-\int x\cdot\dfrac{2\log x}{x}dx=x(\log x)^2-2\int\log x\,dx$. Since $\int\log x\,dx=x\log x-x$, the result is $x(\log x)^2-2x\log x+2x$.

(c) $x(\log x)^2 – 2x\log x + 2x + C$

Question 14

Find $\int e^{\sqrt{x}} \, dx$.

(a) $e^{\sqrt{x}} + \sqrt{x} + C$
(b) $\frac{1}{2}e^{\sqrt{x}}(\sqrt{x}+1) + C$
(c) $2e^{\sqrt{x}}(\sqrt{x}-1) + C$
(d) none of these

Solution. Put $\sqrt x=t$, so $x=t^2$ and $dx=2t\,dt$. Then $\int e^{\sqrt x}dx=2\int te^{t}dt=2e^{t}(t-1)$ by parts, which is $2e^{\sqrt x}(\sqrt x-1)$.

(c) $2e^{\sqrt{x}}(\sqrt{x}-1) + C$

Question 15

Find $\int \cos\sqrt{x} \, dx$.

(a) $\sin\sqrt{x} + \cos\sqrt{x} + C$
(b) $\frac{1}{2}(\sqrt{x}\sin\sqrt{x} – \cos\sqrt{x}) + C$
(c) $2[\sqrt{x}\sin\sqrt{x} + \cos\sqrt{x}] + C$
(d) none of these

Solution. Put $\sqrt x=t$, $dx=2t\,dt$, giving $2\int t\cos t\,dt$. By parts, $\int t\cos t\,dt=t\sin t+\cos t$, so the integral is $2\left[\sqrt x\sin\sqrt x+\cos\sqrt x\right]$.

(c) $2[\sqrt{x}\sin\sqrt{x} + \cos\sqrt{x}] + C$

Question 16

Find $\int \cos(\log x) \, dx$.

(a) $\frac{x}{2}[\cos(\log x) – \sin(\log x)] + C$
(b) $\frac{x}{2}[\cos(\log x) + \sin(\log x)] + C$
(c) $2x[\cos(\log x) + \sin(\log x)] + C$
(d) $2x[\cos(\log x) – \sin(\log x)] + C$

Solution. Let $I=\int\cos(\log x)dx$. Parts with $u=\cos(\log x)$, $dv=dx$ gives $I=x\cos(\log x)+\int\sin(\log x)dx$. Parts again on the last integral gives $\int\sin(\log x)dx=x\sin(\log x)-I$. Hence $I=x\cos(\log x)+x\sin(\log x)-I$, so $2I=x[\cos(\log x)+\sin(\log x)]$.

(b) $\frac{x}{2}[\cos(\log x) + \sin(\log x)] + C$

Question 17

Find $\int \sec^3 x \, dx$.

(a) $\frac{1}{2}\{\sec x\tan x – \log|\sec x + \tan x|\} + C$
(b) $\frac{1}{2}\{\sec x\tan x + \log|\sec x + \tan x|\} + C$
(c) $2\{\sec x\tan x + \log|\sec x + \tan x|\} + C$
(d) none of these

Solution. Let $I=\int\sec^3x\,dx=\int\sec x\cdot\sec^2x\,dx$. Parts gives $I=\sec x\tan x-\int\sec x\tan^2x\,dx=\sec x\tan x-\int\sec^3x\,dx+\int\sec x\,dx$. So $2I=\sec x\tan x+\log|\sec x+\tan x|$ and $I$ is half of that.

(b) $\frac{1}{2}\{\sec x\tan x + \log|\sec x + \tan x|\} + C$

Question 18

Find $\int \left\{\frac{1}{\log x} – \frac{1}{(\log x)^2}\right\} dx$.

(a) $x\log x + C$
(b) $\frac{x}{\log x} + C$
(c) $x + \frac{1}{\log x} + C$
(d) none of these

Solution. By parts, $\int\dfrac{dx}{\log x}=\dfrac{x}{\log x}+\int\dfrac{dx}{(\log x)^2}$, so subtracting the second integral leaves $\dfrac{x}{\log x}$. Check: $\dfrac{d}{dx}\dfrac{x}{\log x}=\dfrac1{\log x}-\dfrac1{(\log x)^2}$.

(b) $\frac{x}{\log x} + C$

Question 19

Find $\int 2x^3 e^{x^2} \, dx$.

(a) $e^{x^2}(x^2-1) + C$
(b) $e^{x^2}(x^2+1) + C$
(c) $e^{x^2}(x+1) + C$
(d) none of these

Solution. Write $2x^3=x^2\cdot2x$ and put $x^2=t$, so $2x\,dx=dt$. The integral becomes $\int te^{t}dt=e^{t}(t-1)=e^{x^2}(x^2-1)$.

(a) $e^{x^2}(x^2-1) + C$

Question 20

Find $\int (x 2^x) \, dx$.

(a) $\frac{2^x}{(\log 2)}(x + \log 2) + C$
(b) $\frac{2^x}{(\log 2)^2}(x\log 2 – 1) + C$
(c) $\frac{x\cdot2^x}{(\log 2)} + \frac{2^x}{(\log 2)^2} + C$
(d) none of these

Solution. Take $u=x$, $dv=2^xdx$, so $v=\dfrac{2^x}{\log2}$. Then $\int x2^xdx=\dfrac{x2^x}{\log2}-\dfrac1{\log2}\int2^xdx=\dfrac{x2^x}{\log2}-\dfrac{2^x}{(\log2)^2}=\dfrac{2^x}{(\log2)^2}(x\log2-1)$.

(b) $\frac{2^x}{(\log 2)^2}(x\log 2 – 1) + C$

Question 21

Find $\int x\cot^2 x\,dx$.

(a) $-x\cot x+\dfrac{x^2}{2}+\log|\sin x|+C$
(b) $-x\cot x-\dfrac{x^2}{2}+\log|\sin x|+C$
(c) $-x\cot x+\dfrac{x^2}{2}-\log|\sin x|+C$
(d) none of these

Solution. Use $\cot^2x=\operatorname{cosec}^2x-1$. Then $\int x\cot^2x\,dx=\int x\operatorname{cosec}^2x\,dx-\int x\,dx$. The first part is $-x\cot x+\log|\sin x|$ by parts, and the second is $\tfrac{x^2}2$.

(b) $-x\cot x-\dfrac{x^2}{2}+\log|\sin x|+C$

Question 22

Find $\int \sin\sqrt{x}\,dx$.

(a) $-\sqrt{x}\cos\sqrt{x}+C$
(b) $-\sqrt{x}\cos\sqrt{x}-2\sin\sqrt{x}-C$
(c) $-2\sqrt{x}\cos\sqrt{x}+2\sin\sqrt{x}+C$
(d) none of these

Solution. Put $\sqrt x=t$, $dx=2t\,dt$, giving $2\int t\sin t\,dt=2(-t\cos t+\sin t)$ by parts, that is $-2\sqrt x\cos\sqrt x+2\sin\sqrt x$.

(c) $-2\sqrt{x}\cos\sqrt{x}+2\sin\sqrt{x}+C$

Question 23

Find $\int e^{\sin x}\sin 2x\,dx$.

(a) $(2\sin x)e^{\sin x}+C$
(b) $(2\cos x)e^{\sin x}+C$
(c) $2e^{\sin x}(\sin x+1)+C$
(d) $2e^{\sin x}(\sin x-1)+C$

Solution. Write $\sin2x=2\sin x\cos x$ and put $\sin x=t$, $\cos x\,dx=dt$. The integral is $2\int te^{t}dt=2e^{t}(t-1)=2e^{\sin x}(\sin x-1)$.

(d) $2e^{\sin x}(\sin x-1)+C$

Question 24

Find $\int \dfrac{\sin^{-1}x}{(1-x^2)^{3/2}}\,dx$.

(a) $\dfrac{\sin^{-1}x}{\sqrt{1-x^2}}-\dfrac12\log|1-x^2|+C$
(b) $x\sin^{-1}x+\dfrac12\log|1-x^2|+C$
(c) $\dfrac{x\sin^{-1}x}{\sqrt{1-x^2}}+\dfrac12\log|1-x^2|+C$
(d) none of these

Solution. Take $u=\sin^{-1}x$, $dv=(1-x^2)^{-3/2}dx$. Since $\dfrac{d}{dx}\dfrac{x}{\sqrt{1-x^2}}=(1-x^2)^{-3/2}$, we have $v=\dfrac{x}{\sqrt{1-x^2}}$. Then the integral is $\dfrac{x\sin^{-1}x}{\sqrt{1-x^2}}-\int\dfrac{x}{1-x^2}dx=\dfrac{x\sin^{-1}x}{\sqrt{1-x^2}}+\tfrac12\log|1-x^2|$.

(c) $\dfrac{x\sin^{-1}x}{\sqrt{1-x^2}}+\dfrac12\log|1-x^2|+C$

Question 25

Find $\int \dfrac{x\tan^{-1}x}{(1+x^2)^{3/2}}\,dx$.

(a) $\dfrac{\tan^{-1}x}{\sqrt{1+x^2}}-\dfrac{x}{\sqrt{1+x^2}}+C$
(b) $\dfrac{-\tan^{-1}x}{\sqrt{1+x^2}}+\dfrac{x}{\sqrt{1+x^2}}+C$
(c) $\dfrac{x\tan^{-1}x}{\sqrt{1+x^2}}+\dfrac12\log\left|\dfrac{x}{\sqrt{1+x^2}}\right|+C$
(d) none of these

Solution. Take $u=\tan^{-1}x$, $dv=\dfrac{x}{(1+x^2)^{3/2}}dx$, so $v=-\dfrac1{\sqrt{1+x^2}}$. Then the integral is $-\dfrac{\tan^{-1}x}{\sqrt{1+x^2}}+\int\dfrac{dx}{(1+x^2)^{3/2}}$, and $\int\dfrac{dx}{(1+x^2)^{3/2}}=\dfrac{x}{\sqrt{1+x^2}}$ (put $x=\tan\theta$). The result is $\dfrac{x-\tan^{-1}x}{\sqrt{1+x^2}}$.

(b) $\dfrac{-\tan^{-1}x}{\sqrt{1+x^2}}+\dfrac{x}{\sqrt{1+x^2}}+C$

Question 26

Find $\int x\tan^{-1}x\,dx$.

(a) $\dfrac12\tan^{-1}x+\log(1+x^2)-\dfrac12x+C$
(b) $\dfrac12x^2\tan^{-1}x+\dfrac12x+C$
(c) $\dfrac12(1+x^2)\tan^{-1}x-\dfrac12x+C$
(d) none of these

Solution. Take $u=\tan^{-1}x$, $dv=x\,dx$. Then the integral is $\tfrac12x^2\tan^{-1}x-\tfrac12\int\dfrac{x^2}{1+x^2}dx=\tfrac12x^2\tan^{-1}x-\tfrac12(x-\tan^{-1}x)=\tfrac12(1+x^2)\tan^{-1}x-\tfrac12x$.

(c) $\dfrac12(1+x^2)\tan^{-1}x-\dfrac12x+C$

Question 27

Find $\int \tan^{-1}\sqrt{x}\,dx$.

(a) $(x-1)\tan^{-1}\sqrt{x}+\sqrt{x}+C$
(b) $(x+1)\tan^{-1}\sqrt{x}-\sqrt{x}+C$
(c) $\dfrac12\sqrt{x}\tan^{-1}\sqrt{x}-\dfrac12\sqrt{x}+C$
(d) none of these

Solution. Put $\sqrt x=t$, $dx=2t\,dt$, giving $2\int t\tan^{-1}t\,dt$. From the previous kind of integral, $\int t\tan^{-1}t\,dt=\tfrac12(1+t^2)\tan^{-1}t-\tfrac12t$. Doubling and returning to $x$ gives $(1+x)\tan^{-1}\sqrt x-\sqrt x$.

(b) $(x+1)\tan^{-1}\sqrt{x}-\sqrt{x}+C$

Question 28

Find $\int \cos^{-1}x\,dx$.

(a) $x\cos^{-1}x-\sqrt{1-x^2}+C$
(b) $x\cos^{-1}x+\sqrt{1-x^2}+C$
(c) $x\sin^{-1}x-\sqrt{1-x^2}+C$
(d) none of these

Solution. Take $u=\cos^{-1}x$, $dv=dx$. Then $\int\cos^{-1}x\,dx=x\cos^{-1}x+\int\dfrac{x}{\sqrt{1-x^2}}dx=x\cos^{-1}x-\sqrt{1-x^2}$.

(a) $x\cos^{-1}x-\sqrt{1-x^2}+C$

Question 29

Find $\int \tan^{-1}x\,dx$.

(a) $x\tan^{-1}x+\dfrac12\log|1+x^2|+C$
(b) $x\tan^{-1}x-\dfrac12\log|1+x^2|+C$
(c) $-x\tan^{-1}x+\dfrac12\log|1+x^2|+C$
(d) none of these

Solution. Take $u=\tan^{-1}x$, $dv=dx$. Then $\int\tan^{-1}x\,dx=x\tan^{-1}x-\int\dfrac{x}{1+x^2}dx=x\tan^{-1}x-\tfrac12\log(1+x^2)$.

(b) $x\tan^{-1}x-\dfrac12\log|1+x^2|+C$

Question 30

Find $\int \sec^{-1}x\,dx$.

(a) $x\sec^{-1}x+\log|x+\sqrt{x^2-1}|+C$
(b) $x\sec^{-1}x-\log|x+\sqrt{x^2-1}|+C$
(c) $x\sec^{-1}x+\log|x-\sqrt{x^2-1}|+C$
(d) none of these

Solution. Take $u=\sec^{-1}x$, $dv=dx$. Since $\dfrac{d}{dx}\sec^{-1}x=\dfrac1{x\sqrt{x^2-1}}$, the integral is $x\sec^{-1}x-\int\dfrac{dx}{\sqrt{x^2-1}}=x\sec^{-1}x-\log|x+\sqrt{x^2-1}|$. (Option (c) is the same function, since $x-\sqrt{x^2-1}=\dfrac1{x+\sqrt{x^2-1}}$, so $\log|x-\sqrt{x^2-1}|=-\log|x+\sqrt{x^2-1}|$; we give the form in (b).)

(b) $x\sec^{-1}x-\log|x+\sqrt{x^2-1}|+C$

Question 31

Find $\int \sin^{-1}(3x-4x^3)\,dx$.

(a) $3\left[x\sin^{-1}x+\sqrt{1-x^2}\right]+C$
(b) $3\left[x\sin^{-1}x-\sqrt{1-x^2}\right]+C$
(c) $\dfrac{3x^2}{2}+C$
(d) none of these

Solution. With $x=\sin\theta$, $3x-4x^3=\sin3\theta$, so $\sin^{-1}(3x-4x^3)=3\sin^{-1}x$ for $|x|\le\tfrac12$. Then $3\int\sin^{-1}x\,dx=3\left[x\sin^{-1}x+\sqrt{1-x^2}\right]$, using $\int\sin^{-1}x\,dx=x\sin^{-1}x+\sqrt{1-x^2}$.

(a) $3\left[x\sin^{-1}x+\sqrt{1-x^2}\right]+C$

Question 32

Find $\int \sin^{-1}\left(\dfrac{2x}{1+x^2}\right)dx$.

(a) $2x\tan^{-1}x+\log|1+x^2|+C$
(b) $2x\tan^{-1}x-\log|1+x^2|+C$
(c) $2x\sin^{-1}x+\log|1+x^2|+C$
(d) none of these

Solution. With $x=\tan\theta$, $\dfrac{2x}{1+x^2}=\sin2\theta$, so the integrand is $2\tan^{-1}x$ for $|x|\le1$. Then $2\int\tan^{-1}x\,dx=2x\tan^{-1}x-\log(1+x^2)$.

(b) $2x\tan^{-1}x-\log|1+x^2|+C$

Question 33

Find $\int \tan^{-1}\sqrt{\dfrac{1-x}{1+x}}\,dx$.

(a) $\dfrac12x(\cos^{-1}x)+\dfrac12\sqrt{1-x^2}+C$
(b) $\dfrac12x(\sin^{-1}x)+\dfrac12\sqrt{1-x^2}+C$
(c) $\dfrac12x(\cos^{-1}x)-\dfrac12\sqrt{1-x^2}+C$
(d) none of these

Solution. Put $x=\cos2\theta$. Then $\dfrac{1-x}{1+x}=\tan^2\theta$, so $\tan^{-1}\sqrt{\dfrac{1-x}{1+x}}=\theta=\tfrac12\cos^{-1}x$. Hence the integral is $\tfrac12\int\cos^{-1}x\,dx=\tfrac12x\cos^{-1}x-\tfrac12\sqrt{1-x^2}$.

(c) $\dfrac12x(\cos^{-1}x)-\dfrac12\sqrt{1-x^2}+C$

Question 34

Find $\int \tan^{-1}\left(\dfrac{3x-x^3}{1-3x^2}\right)dx$.

(a) $3x\tan^{-1}x+\dfrac32\log(1+x^2)+C$
(b) $3x\tan^{-1}x-\dfrac32\log(1+x^2)+C$
(c) $3x\cos^{-1}x-\dfrac32\sqrt{1-x^2}+C$
(d) $3x\sin^{-1}x+\dfrac32\sqrt{1-x^2}+C$

Solution. With $x=\tan\theta$, $\dfrac{3x-x^3}{1-3x^2}=\tan3\theta$, so the integrand is $3\tan^{-1}x$ for $|x|<\tfrac1{\sqrt3}$. Then $3\int\tan^{-1}x\,dx=3x\tan^{-1}x-\tfrac32\log(1+x^2)$.

(b) $3x\tan^{-1}x-\dfrac32\log(1+x^2)+C$

Question 35

Find $\int x^2\cos x\,dx$.

(a) $x^2\sin x+2x\cos x-2\sin x+C$
(b) $2x\cos x-x\sin x+2\sin x+C$
(c) $x^2\sin x-2x\sin x+2\sin x+C$
(d) none of these

Solution. Take $u=x^2$, $dv=\cos x\,dx$: $\int x^2\cos x\,dx=x^2\sin x-2\int x\sin x\,dx$. Parts again gives $\int x\sin x\,dx=-x\cos x+\sin x$. So the result is $x^2\sin x+2x\cos x-2\sin x$.

(a) $x^2\sin x+2x\cos x-2\sin x+C$

Question 36

Find $\int \sin x\log(\cos x)\,dx$.

(a) $\cos x\log(\cos x)-\cos x+C$
(b) $-\cos x\log(\cos x)+\cos x+C$
(c) $\cos x\log(\cos x)+\cos x+C$
(d) none of these

Solution. Put $\cos x=t$, so $\sin x\,dx=-dt$. The integral becomes $-\int\log t\,dt=-(t\log t-t)=-\cos x\log(\cos x)+\cos x$.

(b) $-\cos x\log(\cos x)+\cos x+C$

Question 37

Find $\int x \sin x \cos x \, dx$.

(a) $-\frac{1}{4}x\cos 2x + \frac{1}{8}\sin 2x + C$
(b) $\frac{1}{4}x\cos 2x + \frac{1}{8}\sin 2x + C$
(c) $\frac{1}{4}x\cos 2x – \frac{1}{8}\sin 2x + C$
(d) none of these

Solution. Since $\sin x\cos x=\tfrac12\sin2x$, the integral is $\tfrac12\int x\sin2x\,dx$. Parts with $u=x$ gives $\tfrac12\left(-\tfrac12x\cos2x+\tfrac14\sin2x\right)=-\tfrac14x\cos2x+\tfrac18\sin2x$.

(a) $-\frac{1}{4}x\cos 2x + \frac{1}{8}\sin 2x + C$

Question 38

Find $\int x^3 \cos x^2 \, dx$.

(a) $x^2\sin x^2 + \cos x^2 + C$
(b) $\frac{1}{2}x^2\sin x^2 + \frac{1}{2}\cos x^2 + C$
(c) $-\frac{1}{2}x^2\sin x^2 + \frac{1}{2}\cos x^2 + C$
(d) none of these

Solution. Write $x^3\cos x^2=x^2\cdot x\cos x^2$ and put $x^2=t$, $x\,dx=\tfrac12dt$. The integral is $\tfrac12\int t\cos t\,dt=\tfrac12(t\sin t+\cos t)=\tfrac12x^2\sin x^2+\tfrac12\cos x^2$.

(b) $\frac{1}{2}x^2\sin x^2 + \frac{1}{2}\cos x^2 + C$

Question 39

Find $\int \cos^{-1}\left(\frac{1-x^2}{1+x^2}\right) dx$.

(a) $2x\tan^{-1}x + \log(1+x^2) + C$
(b) $-2x\tan^{-1}x – 2\log(1+x^2) + C$
(c) $2x\tan^{-1}x – \log(1+x^2) + C$
(d) none of these

Solution. With $x=\tan\theta$ (for $x\ge0$), $\dfrac{1-x^2}{1+x^2}=\cos2\theta$, so the integrand is $2\tan^{-1}x$. Then $2\int\tan^{-1}x\,dx=2x\tan^{-1}x-\log(1+x^2)$.

(c) $2x\tan^{-1}x – \log(1+x^2) + C$

Question 40

Find $\int x\tan^{-1}x \, dx$.

(a) $\frac{1}{2}(x^2+1)\tan^{-1}x – \frac{1}{2}x + C$
(b) $\frac{1}{2}(x^2-1)\tan^{-1}x – \frac{1}{2}x + C$
(c) $\frac{1}{2}(x^2+1)\tan^{-1}x + \frac{1}{2}x + C$
(d) none of these

Solution. Take $u=\tan^{-1}x$, $dv=x\,dx$: the integral is $\tfrac12x^2\tan^{-1}x-\tfrac12\int\left(1-\dfrac1{1+x^2}\right)dx=\tfrac12x^2\tan^{-1}x-\tfrac12x+\tfrac12\tan^{-1}x=\tfrac12(x^2+1)\tan^{-1}x-\tfrac12x$.

(a) $\frac{1}{2}(x^2+1)\tan^{-1}x – \frac{1}{2}x + C$

Question 41

Find $\int \sin(\log x)\, dx$.

(a) $\frac{1}{2}x\sin\log x + \frac{1}{2}x\cos(\log x) + C$
(b) $\frac{1}{2}x\sin\log x – \frac{1}{2}x\cos(\log x) + C$
(c) $-\frac{1}{2}x\sin(\log x) + \frac{1}{2}x\cos(\log x) + C$
(d) none of these

Solution. Let $I=\int\sin(\log x)dx$. Parts gives $I=x\sin(\log x)-\int\cos(\log x)dx$, and parts on that gives $\int\cos(\log x)dx=x\cos(\log x)+I$. So $I=x\sin(\log x)-x\cos(\log x)-I$, giving $I=\tfrac12x\sin(\log x)-\tfrac12x\cos(\log x)$.

(b) $\frac{1}{2}x\sin\log x – \frac{1}{2}x\cos(\log x) + C$

Question 42

Find $\int (\sin^{-1}x)^2 \, dx$.

(a) $\frac{2\sin^{-1}x}{\sqrt{1-x^2}} + C$
(b) $\frac{1}{3}(\sin^{-1}x)^3 + \frac{1}{\sqrt{1-x^2}} + C$
(c) $x(\sin^{-1}x)^2 + (\sin^{-1}x)\sqrt{1-x^2} + 2x + C$
(d) $x(\sin^{-1}x)^2 + 2(\sin^{-1}x)\sqrt{1-x^2} – 2x + C$

Solution. Take $u=(\sin^{-1}x)^2$, $dv=dx$: $\int(\sin^{-1}x)^2dx=x(\sin^{-1}x)^2-2\int\dfrac{x\sin^{-1}x}{\sqrt{1-x^2}}dx$. For the last integral take $u=\sin^{-1}x$, $dv=\dfrac{x}{\sqrt{1-x^2}}dx$, $v=-\sqrt{1-x^2}$: it equals $-\sqrt{1-x^2}\sin^{-1}x+x$. So the result is $x(\sin^{-1}x)^2+2\sqrt{1-x^2}\sin^{-1}x-2x$.

(d) $x(\sin^{-1}x)^2 + 2(\sin^{-1}x)\sqrt{1-x^2} – 2x + C$

Question 43

Find $\int e^x\left\{\frac{1}{x}-\frac{1}{x^2}\right\} dx$.

(a) $e^x\left\{\log x + \frac{1}{x}\right\} + C$
(b) $xe^x – e^x + C$
(c) $e^x\cdot\frac{1}{x} + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\tfrac1x$ and $f'(x)=-\tfrac1{x^2}$, so the bracket is exactly $f+f’$ and the integral is $\dfrac{e^x}{x}$.

(c) $e^x\cdot\frac{1}{x} + C$

Question 44

Find $\int e^x\left(\frac{1}{x^2}-\frac{2}{x^3}\right) dx$.

(a) $\frac{-e^x}{x^2} + C$
(b) $\frac{e^x}{x^2} + C$
(c) $e^x\left(\frac{-1}{x}+\frac{1}{x^2}\right) + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\tfrac1{x^2}$ and $f'(x)=-\tfrac2{x^3}$, so the bracket is exactly $f+f’$ and the integral is $\dfrac{e^x}{x^2}$.

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

Question 45

Find $\int e^x\left\{\sin^{-1}x+\frac{1}{\sqrt{1-x^2}}\right\} dx$.

(a) $e^x\cdot\frac{1}{\sqrt{1-x^2}} + C$
(b) $e^x\sin^{-1}x + C$
(c) $\frac{-e^x}{\sin^{-1}x} + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\sin^{-1}x$ and $f'(x)=\tfrac1{\sqrt{1-x^2}}$, so the bracket is exactly $f+f’$ and the integral is $e^x\sin^{-1}x$.

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

Question 46

Find $\int e^x(\tan x+\log\sec x)\, dx$.

(a) $e^x\log\sec x + C$
(b) $e^x\tan x + C$
(c) $e^x(\log\cos x) + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\log\sec x$ and $f'(x)=\tan x$, so the bracket is exactly $f+f’$ and the integral is $e^x\log\sec x$. The bracket is written as $\tan x+\log\sec x=f’+f$.

(a) $e^x\log\sec x + C$

Question 47

Find $\int e^x(\cot x+\log\sin x)\, dx$.

(a) $e^x\cot x + C$
(b) $e^x\log\sin x + C$
(c) $e^x\sin x + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\log\sin x$ and $f'(x)=\cot x$, so the bracket is exactly $f+f’$ and the integral is $e^x\log\sin x$.

(b) $e^x\log\sin x + C$

Question 48

Find $\int e^x[\sec x+\log(\sec x+\tan x)]\, dx$.

(a) $e^x\log(\sec x+\tan x) + C$
(b) $e^x\sec x + C$
(c) $e^x\log\tan x + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\log(\sec x+\tan x)$ and $f'(x)=\sec x$, so the bracket is exactly $f+f’$ and the integral is $e^x\log(\sec x+\tan x)$.

(a) $e^x\log(\sec x+\tan x) + C$

Question 49

Find $\int e^x\left\{\tan^{-1}x+\frac{1}{(1+x^2)}\right\} dx$.

(a) $e^x\cdot\frac{1}{(1+x^2)} + C$
(b) $e^x\tan^{-1}x + C$
(c) $-e^x\cot^{-1}x + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\tan^{-1}x$ and $f'(x)=\tfrac1{1+x^2}$, so the bracket is exactly $f+f’$ and the integral is $e^x\tan^{-1}x$.

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

Question 50

Find $\int e^x(\tan x-\log\cos x)\, dx$.

(a) $e^x\tan x + C$
(b) $e^x\log\cos x + C$
(c) $e^x\log\sec x + C$
(d) none of these

Solution. Since $-\log\cos x=\log\sec x$, take $f(x)=\log\sec x$, so $f'(x)=\tan x$. The bracket is $f’+f$, and by $\int e^x\{f+f’\}dx=e^xf$ the integral is $e^x\log\sec x$.

(c) $e^x\log\sec x + C$

Question 51

Find $\int e^x(\cot x – \operatorname{cosec}^2 x)\,dx$.

(a) $-e^x \operatorname{cosec}^2 x + C$
(b) $e^x \cot x + C$
(c) $-e^x \cot x + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\cot x$ and $f'(x)=-\operatorname{cosec}^2x$, so the bracket is exactly $f+f’$ and the integral is $e^x\cot x$.

(b) $e^x \cot x + C$

Question 52

Find $\int e^x(\sin x + \cos x)\,dx$.

(a) $e^x \sin x + C$
(b) $e^x \cos x + C$
(c) $e^x \tan x + C$
(d) none of these

Solution. Use $\int e^x\{f(x)+f'(x)\}dx=e^xf(x)$. Here $f(x)=\sin x$ and $f'(x)=\cos x$, so the bracket is exactly $f+f’$ and the integral is $e^x\sin x$.

(a) $e^x \sin x + C$

Question 53

Find $\int e^x \sec x(1+\tan x)\,dx$.

(a) $e^x(1+\tan x) + C$
(b) $e^x \sec x + C$
(c) $e^x \tan x + C$
(d) none of these

Solution. Expand: $\sec x(1+\tan x)=\sec x+\sec x\tan x$. With $f(x)=\sec x$, $f'(x)=\sec x\tan x$, so the bracket is $f+f’$ and the integral is $e^x\sec x$.

(b) $e^x \sec x + C$

Question 54

Find $\int e^x\left(\dfrac{1+x\log x}{x}\right)dx$.

(a) $e^x \cdot \dfrac{1}{x} + C$
(b) $e^x \log x + C$
(c) $x e^x \log x + C$
(d) none of these

Solution. Split $\dfrac{1+x\log x}{x}=\log x+\dfrac1x$. With $f(x)=\log x$, $f'(x)=\tfrac1x$, the bracket is $f+f’$, so the integral is $e^x\log x$.

(b) $e^x \log x + C$

Question 55

Find $\int e^x \cdot \dfrac{x}{(1+x)^2}\,dx$.

(a) $e^x \cdot \dfrac{1}{(1+x)} + C$
(b) $e^x \cdot \dfrac{1}{x} + C$
(c) $e^x \cdot \dfrac{x}{(1+x)} + C$
(d) none of these

Solution. Write $\dfrac{x}{(1+x)^2}=\dfrac{(1+x)-1}{(1+x)^2}=\dfrac1{1+x}-\dfrac1{(1+x)^2}$. With $f=\dfrac1{1+x}$, $f’=-\dfrac1{(1+x)^2}$, so the integral is $\dfrac{e^x}{1+x}$.

(a) $e^x \cdot \dfrac{1}{(1+x)} + C$

Question 56

Find $\int e^x\left(\dfrac{1+\sin x}{1+\cos x}\right)dx$.

(a) $e^x \sin\dfrac{x}{2} + C$
(b) $e^x \cos\dfrac{x}{2} + C$
(c) $e^x \tan\dfrac{x}{2} + C$
(d) none of these

Solution. Use $1+\cos x=2\cos^2\tfrac x2$ and $1+\sin x$ with $\sin x=2\sin\tfrac x2\cos\tfrac x2$: $\dfrac{1+\sin x}{1+\cos x}=\tfrac12\sec^2\tfrac x2+\tan\tfrac x2$. With $f=\tan\tfrac x2$, $f’=\tfrac12\sec^2\tfrac x2$, the integral is $e^x\tan\tfrac x2$.

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

Common mistakes

  • Dropping the factor from the inner function: in $\int xe^{2x}dx$ the antiderivative of $e^{2x}$ is $\tfrac12e^{2x}$, not $e^{2x}$, and in $\int x\sin2x\,dx$ the second integral brings a further $\tfrac12$ and gives $\tfrac14\sin2x$.
  • Choosing $u$ the wrong way round, for example $u=x$ in $\int x\log x\,dx$, which makes the integral harder, instead of $u=\log x$.
  • Sign slips in $\int\sin$ and $\int\cos$ by parts: $\int\sin2x\,dx=-\tfrac12\cos2x$, so the $-$ sign carries into $-\tfrac12x\cos2x$.
  • In the $e^x\{f+f’\}$ questions, forgetting to match the pair first. If the bracket is $\tan x-\log\cos x$, write $-\log\cos x=\log\sec x$ so that $f=\log\sec x$ and $f’=\tan x$; otherwise the signs look wrong.
  • For $\int\cos(\log x)dx$ and $\int\sin(\log x)dx$, stopping after one round of parts. The original integral reappears and must be moved to the left-hand side, giving the factor $\tfrac12$.
  • Using the inverse-trigonometric simplifications outside their ranges: $\sin^{-1}(3x-4x^3)=3\sin^{-1}x$ only for $|x|\le\tfrac12$.

Practise next

Try the remaining questions of Exercise 13C and the earlier Objective Questions I in this chapter, which use the same by-parts and $e^x\{f+f’\}$ ideas with a different mix of functions.

Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full

Subscribe