RI/2021/JC2/Prelim/P1/Q03

(a) Find $\int x \tan ^{-1} x d x$

[3]

(b) (i) Using the substitution $u=\frac{1}{x}$, or otherwise, find $\int \frac{\sin \left(\frac{1}{x}\right)}{x^2} \mathrm{~d} x$.

[2]

(ii) Given that $n$ is a positive integer, evaluate the integral $\pi \int_{\frac{1}{(n+1) \pi}}^{\frac{1}{n \pi}} \frac{\sin \left(\frac{1}{x}\right)}{x^2} \mathrm{~d} x$, giving your answer in the form $a \pi$, where the possible values of $a$ are to be determined.

[3]