Integration by Substitution and Standard Forms

RS Aggarwal Class 12 Maths Solutions Exercise 15B — Integration Using Partial Fractions

RS Aggarwal, Class 12 Mathematics — Integration Using Partial Fractions, Exercise 15B. All 40 questions solved.

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

Exercise 15B is a mixed set that needs no partial fractions: it practises the basic toolkit that comes before them. Questions 1 to 3 are direct power and trigonometric rules, 4 to 17 and 26 to 34 are substitutions, 18 to 25 use an identity or by-parts trick, and 35 to 40 apply the standard square-root forms.

Key insight. Look first for a function whose derivative also appears in the integrand (the pattern $\int\dfrac{f'(x)}{f(x)}dx=\log|f(x)|$ or $\int f(u)\,du$ after $u=g(x)$). If none is visible, rewrite with an identity so that one appears. Every answer can be checked by differentiating it.

Question 1

Evaluate: $\int x^{-6}\,dx$

Solution. Power rule with exponent $-6$: raise it by one to $-5$ and divide by $-5$. $\int x^{-6}dx=\dfrac{x^{-5}}{-5}$.

$$-\dfrac{1}{5x^5}+C$$

Question 2

Evaluate: $\int\left(\sqrt{x}+\frac{1}{\sqrt{x}}\right)dx$

Solution. Write $\dfrac1{\sqrt x}=x^{-1/2}$ and integrate each term by the power rule: $\int x^{1/2}dx=\tfrac23x^{3/2}$ and $\int x^{-1/2}dx=2x^{1/2}$.

$$\dfrac23x^{3/2}+2\sqrt x+C$$

Question 3

Evaluate: $\int \sin 3x\,dx$

Solution. The inner function is $3x$, so divide by its derivative $3$: $\int\sin 3x\,dx=-\dfrac{\cos3x}{3}$.

$$-\dfrac13\cos3x+C$$

Question 4

Evaluate: $\int\frac{x^2}{(1+x^3)}dx$

Solution. The numerator $x^2$ is one third of the derivative $3x^2$ of the denominator $1+x^3$. Put $u=1+x^3$, $du=3x^2dx$, giving $\dfrac13\int\dfrac{du}{u}=\dfrac13\log|u|$.

$$\dfrac13\log|1+x^3|+C$$

Question 5

Evaluate: $\int\frac{2\cos x}{3\sin^2x}dx$

Solution. Take out the constants and put $u=\sin x$, so $du=\cos x\,dx$. Then $\dfrac23\int u^{-2}du=-\dfrac{2}{3u}=-\dfrac{2}{3\sin x}$, which is $-\dfrac23\operatorname{cosec}x$.

$$-\dfrac23\operatorname{cosec}x+C$$

Question 6

Evaluate: $\int\frac{(3\sin\phi-2)\cos\phi}{(5-\cos^2\phi-4\sin\phi)}d\phi$

Solution. The denominator simplifies: $5-\cos^2\phi-4\sin\phi=4+\sin^2\phi-4\sin\phi=(\sin\phi-2)^2$. Put $u=\sin\phi$, $du=\cos\phi\,d\phi$, so the integral is $\int\dfrac{3u-2}{(u-2)^2}du$. Write $3u-2=3(u-2)+4$, giving $\int\left[\dfrac{3}{u-2}+\dfrac{4}{(u-2)^2}\right]du=3\log|u-2|-\dfrac{4}{u-2}$.

$$3\log|\sin\phi-2|-\dfrac{4}{\sin\phi-2}+C$$

Question 7

Evaluate: $\int\sin^2x\,dx$

Solution. Lower the power with $\sin^2x=\dfrac{1-\cos2x}{2}$. Then $\int\dfrac{1-\cos2x}{2}dx=\dfrac x2-\dfrac{\sin2x}{4}$.

$$\dfrac x2-\dfrac{\sin2x}{4}+C$$

Question 8

Evaluate: $\int\frac{(\log x)^2}{x}dx$

Solution. Put $u=\log x$, so $du=\dfrac{dx}{x}$. The integral becomes $\int u^2du=\dfrac{u^3}{3}$.

$$\dfrac13(\log x)^3+C$$

Question 9

Evaluate: $\int\frac{(x+1)(x+\log x)^2}{x}dx$

Solution. Note $\dfrac{x+1}{x}=1+\dfrac1x$ is the derivative of $u=x+\log x$. So the integral is $\int u^2du=\dfrac{u^3}{3}$.

$$\dfrac13(x+\log x)^3+C$$

Question 10

Evaluate: $\int\frac{\sin x}{(1+\cos x)}dx$

Solution. The numerator $\sin x$ is minus the derivative of the denominator $1+\cos x$. With $u=1+\cos x$, $du=-\sin x\,dx$, we get $-\int\dfrac{du}{u}=-\log|u|$.

$$-\log|1+\cos x|+C$$

Question 11

Evaluate: $\int\frac{(1+\tan x)}{(1-\tan x)}dx$

Solution. Change to sines and cosines: $\dfrac{1+\tan x}{1-\tan x}=\dfrac{\cos x+\sin x}{\cos x-\sin x}$. The numerator is minus the derivative of the denominator ($\tfrac{d}{dx}(\cos x-\sin x)=-\sin x-\cos x$). So the integral is $-\log|\cos x-\sin x|$.

$$-\log|\cos x-\sin x|+C$$

Question 12

Evaluate: $\int\frac{(1-\cot x)}{(1+\cot x)}dx$

Solution. Change to sines and cosines: $\dfrac{1-\cot x}{1+\cot x}=\dfrac{\sin x-\cos x}{\sin x+\cos x}$. The numerator is minus the derivative of the denominator, because $\tfrac d{dx}(\sin x+\cos x)=\cos x-\sin x$. So the integral is $-\log|\sin x+\cos x|$.

$$-\log|\sin x+\cos x|+C$$

Question 13

Evaluate: $\int\frac{(1+\cot x)}{(x+\log\sin x)}dx$

Solution. The derivative of $x+\log\sin x$ is $1+\cot x$, exactly the numerator. So the integral is $\log|x+\log\sin x|$.

$$\log|x+\log\sin x|+C$$

Question 14

Evaluate: $\int\frac{(1-\sin2x)}{(x+\cos^2x)}dx$

Solution. The derivative of $x+\cos^2x$ is $1-2\sin x\cos x=1-\sin2x$, which is the numerator. So the integral is $\log|x+\cos^2x|$.

$$\log|x+\cos^2x|+C$$

Question 15

Evaluate: $\int\frac{\sec^2(\log x)}{x}dx$

Solution. Put $u=\log x$, $du=\dfrac{dx}{x}$. Then $\int\sec^2u\,du=\tan u$.

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

Question 16

Evaluate: $\int\frac{\sin(2\tan^{-1}x)}{(1+x^2)}dx$

Solution. Put $u=\tan^{-1}x$, so $du=\dfrac{dx}{1+x^2}$. Then $\int\sin2u\,du=-\dfrac{\cos2u}{2}$.

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

Question 17

Evaluate: $\int\frac{\tan x\sec^2x}{(1-\tan^2x)}dx$

Solution. Put $u=\tan x$, $du=\sec^2x\,dx$. The integral becomes $\int\dfrac{u}{1-u^2}du$. With $v=1-u^2$, $dv=-2u\,du$, this is $-\dfrac12\log|v|$.

$$-\dfrac12\log|1-\tan^2x|+C$$

Question 18

Evaluate: $\int\frac{(x^4+1)}{(x^2+1)}dx$

Solution. Divide: $x^4+1=(x^2+1)(x^2-1)+2$, so the integrand is $x^2-1+\dfrac{2}{x^2+1}$. Integrate term by term.

$$\dfrac{x^3}{3}-x+2\tan^{-1}x+C$$

Question 19

Evaluate: $\int\tan^{-1}\sqrt{\frac{1-\sin x}{1+\sin x}}dx$

Solution. Write $1-\sin x=\left(\cos\tfrac x2-\sin\tfrac x2\right)^2$ and $1+\sin x=\left(\cos\tfrac x2+\sin\tfrac x2\right)^2$, so the square root is $\dfrac{\cos\frac x2-\sin\frac x2}{\cos\frac x2+\sin\frac x2}=\dfrac{1-\tan\frac x2}{1+\tan\frac x2}=\tan\left(\dfrac\pi4-\dfrac x2\right)$. Hence $\tan^{-1}$ of it is $\dfrac\pi4-\dfrac x2$ (for $x$ near $0$, where the angle lies in the principal range), and $\int\left(\dfrac\pi4-\dfrac x2\right)dx=\dfrac{\pi x}{4}-\dfrac{x^2}{4}$.

$$\dfrac{\pi x}{4}-\dfrac{x^2}{4}+C$$

Question 20

Evaluate: $\int\log(1+x^2)\,dx$

Solution. Integrate by parts with $u=\log(1+x^2)$ and $dv=dx$: $x\log(1+x^2)-\int\dfrac{2x^2}{1+x^2}dx$. Write $\dfrac{2x^2}{1+x^2}=2-\dfrac{2}{1+x^2}$, so the last integral is $2x-2\tan^{-1}x$.

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

Question 21

Evaluate: $\int\cos x\cos3x\,dx$

Solution. Convert the product to a sum: $\cos x\cos3x=\tfrac12(\cos4x+\cos2x)$. Integrating gives $\tfrac12\left(\dfrac{\sin4x}{4}+\dfrac{\sin2x}{2}\right)$.

$$\dfrac{\sin4x}{8}+\dfrac{\sin2x}{4}+C$$

Question 22

Evaluate: $\int\sin3x\sin x\,dx$

Solution. Convert the product to a difference: $\sin3x\sin x=\tfrac12(\cos2x-\cos4x)$. Integrating gives $\tfrac12\left(\dfrac{\sin2x}{2}-\dfrac{\sin4x}{4}\right)$.

$$\dfrac{\sin2x}{4}-\dfrac{\sin4x}{8}+C$$

Question 23

Evaluate: $\int\frac{xe^x}{(x+1)^2}dx$

Solution. Split $x=(x+1)-1$: $\dfrac{xe^x}{(x+1)^2}=e^x\left[\dfrac1{x+1}-\dfrac1{(x+1)^2}\right]$. This has the form $e^x[f(x)+f'(x)]$ with $f=\dfrac1{x+1}$, $f’=-\dfrac1{(x+1)^2}$, so the integral is $e^xf(x)$.

$$\dfrac{e^x}{x+1}+C$$

Question 24

Evaluate: $\int e^x\{\tan x-\log\cos x\}dx$

Solution. Take $f(x)=-\log\cos x$, so $f'(x)=\tan x$. The integrand is $e^x[f'(x)+f(x)]$, hence the integral is $e^xf(x)$.

$$-e^x\log\cos x+C$$

Question 25

Evaluate: $\int\frac{dx}{(1-\sin x)}$

Solution. Multiply top and bottom by $1+\sin x$: $\dfrac{1+\sin x}{1-\sin^2x}=\dfrac{1+\sin x}{\cos^2x}=\sec^2x+\sec x\tan x$. Integrate each term.

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

Question 26

Evaluate: $\int x\cos x^2\,dx$

Solution. Put $u=x^2$, $du=2x\,dx$. Then $\tfrac12\int\cos u\,du=\tfrac12\sin u$.

$$\dfrac12\sin x^2+C$$

Question 27

Evaluate: $\int \dfrac{\cot x}{\sqrt{\sin x}}\,dx$

Solution. Write $\dfrac{\cot x}{\sqrt{\sin x}}=\dfrac{\cos x}{\sin^{3/2}x}$ and put $u=\sin x$. Then $\int u^{-3/2}du=-2u^{-1/2}$.

$$-\dfrac{2}{\sqrt{\sin x}}+C$$

Question 28

Evaluate: $\int \dfrac{\sec^2 x}{\operatorname{cosec}^2 x}\,dx$

Solution. Since $\dfrac{\sec^2x}{\operatorname{cosec}^2x}=\dfrac{\sin^2x}{\cos^2x}=\tan^2x=\sec^2x-1$, the integral is $\tan x-x$.

$$\tan x-x+C$$

Question 29

Evaluate: $\int \sin^{-1}(\cos x)\,dx$

Solution. For $x$ in $[0,\pi]$, $\cos x=\sin\left(\dfrac\pi2-x\right)$ with $\dfrac\pi2-x$ in the principal range, so $\sin^{-1}(\cos x)=\dfrac\pi2-x$. Then $\int\left(\dfrac\pi2-x\right)dx=\dfrac{\pi x}{2}-\dfrac{x^2}{2}$.

$$\dfrac{\pi x}{2}-\dfrac{x^2}{2}+C$$

Question 30

Evaluate: $\int \dfrac{dx}{(\sqrt{x+2}+\sqrt{x+1})}$

Solution. Rationalise by multiplying by $\sqrt{x+2}-\sqrt{x+1}$; the denominator becomes $(x+2)-(x+1)=1$. So the integrand is $\sqrt{x+2}-\sqrt{x+1}$, and each term follows the power rule.

$$\dfrac23(x+2)^{3/2}-\dfrac23(x+1)^{3/2}+C$$

Question 31

Evaluate: $\int 2^x\,dx$

Solution. The standard result $\int a^xdx=\dfrac{a^x}{\log a}$ with $a=2$.

$$\dfrac{2^x}{\log2}+C$$

Question 32

Evaluate: $\int \dfrac{(1+\tan x)}{(x+\log \sec x)}\,dx$

Solution. The derivative of $x+\log\sec x$ is $1+\tan x$, which is the numerator. So the integral is $\log|x+\log\sec x|$.

$$\log|x+\log\sec x|+C$$

Question 33

Evaluate: $\int \dfrac{\sec^2(\log x)}{x}\,dx$

Solution. Put $u=\log x$, $du=\dfrac{dx}{x}$. Then $\int\sec^2u\,du=\tan u$.

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

Question 34

Evaluate: $\int (2x+1)\left(\sqrt{x^2+x+1}\right)dx$

Solution. The factor $2x+1$ is the derivative of $x^2+x+1$. With $u=x^2+x+1$ the integral is $\int u^{1/2}du=\tfrac23u^{3/2}$.

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

Question 35

Evaluate: $\int \dfrac{dx}{\sqrt{9x^2+16}}$

Solution. Factor out $9$: $\sqrt{9x^2+16}=3\sqrt{x^2+\tfrac{16}{9}}$. Using $\int\dfrac{dx}{\sqrt{x^2+a^2}}=\log\left|x+\sqrt{x^2+a^2}\right|$ with $a=\tfrac43$, the integral is $\dfrac13\log\left|x+\sqrt{x^2+\tfrac{16}9}\right|$, which differs from the form below only by a constant.

$$\dfrac13\log\left|3x+\sqrt{9x^2+16}\right|+C$$

Question 36

Evaluate: $\int \dfrac{dx}{\sqrt{4-9x^2}}$

Solution. Write $\sqrt{4-9x^2}=3\sqrt{\tfrac49-x^2}$, so with $a=\tfrac23$ the standard result $\int\dfrac{dx}{\sqrt{a^2-x^2}}=\sin^{-1}\dfrac xa$ gives $\dfrac13\sin^{-1}\dfrac{3x}{2}$.

$$\dfrac13\sin^{-1}\dfrac{3x}{2}+C$$

Question 37

Evaluate: $\int \dfrac{dx}{\sqrt{4x^2-25}}$

Solution. Write $\sqrt{4x^2-25}=2\sqrt{x^2-\tfrac{25}4}$ and use $\int\dfrac{dx}{\sqrt{x^2-a^2}}=\log\left|x+\sqrt{x^2-a^2}\right|$ with $a=\tfrac52$. This gives $\dfrac12\log\left|x+\sqrt{x^2-\tfrac{25}4}\right|$, equal to the form below up to a constant.

$$\dfrac12\log\left|2x+\sqrt{4x^2-25}\right|+C$$

Question 38

Evaluate: $\int \sqrt{4-x^2}\,dx$

Solution. Use $\int\sqrt{a^2-x^2}dx=\dfrac x2\sqrt{a^2-x^2}+\dfrac{a^2}2\sin^{-1}\dfrac xa$ with $a=2$, so $\dfrac{a^2}{2}=2$.

$$\dfrac x2\sqrt{4-x^2}+2\sin^{-1}\dfrac x2+C$$

Question 39

Evaluate: $\int \sqrt{9+x^2}\,dx$

Solution. Use $\int\sqrt{x^2+a^2}dx=\dfrac x2\sqrt{x^2+a^2}+\dfrac{a^2}2\log\left|x+\sqrt{x^2+a^2}\right|$ with $a=3$, so $\dfrac{a^2}2=\dfrac92$.

$$\dfrac x2\sqrt{9+x^2}+\dfrac92\log\left|x+\sqrt{9+x^2}\right|+C$$

Question 40

Evaluate: $\int \sqrt{x^2-16}\,dx$

Solution. Use $\int\sqrt{x^2-a^2}dx=\dfrac x2\sqrt{x^2-a^2}-\dfrac{a^2}2\log\left|x+\sqrt{x^2-a^2}\right|$ with $a=4$, so $\dfrac{a^2}2=8$.

$$\dfrac x2\sqrt{x^2-16}-8\log\left|x+\sqrt{x^2-16}\right|+C$$

Common mistakes

  • Forgetting the inner derivative: $\int\sin3x\,dx$ is $-\tfrac13\cos3x$, not $-\cos3x$; likewise Q26 needs the $\tfrac12$ from $d(x^2)=2x\,dx$.
  • In Q11 and Q12 the sign of the logarithm depends on whether the numerator is the derivative of the denominator or its negative; differentiate the denominator before writing the answer.
  • Writing $\int\dfrac{dx}{\sqrt{9x^2+16}}$ as $\log\left|3x+\sqrt{9x^2+16}\right|$ without the factor $\tfrac13$ (Q35, Q37).
  • Treating $\tan^{-1}\sqrt{\dfrac{1-\sin x}{1+\sin x}}$ (Q19) or $\sin^{-1}(\cos x)$ (Q29) as unsimplifiable; each collapses to a linear function of $x$.

Practise next

Exercise 15A, the previous exercise of this chapter, applies partial fractions to rational functions; try it once the substitutions above feel automatic.

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

Subscribe