First simplify \(\displaystyle \sin^{-1}(\cos x)\); this is where the domain matters. Write \(\displaystyle \cos x=\sin\left(\dfrac{\pi}{2}-x\right)\). The identity \(\displaystyle \sin^{-1}(\sin\theta)=\theta\) is valid only when \(\displaystyle \theta\) lies in the principal range \(\displaystyle \left[-\dfrac{\pi}{2},\dfrac{\pi}{2}\right]\), and \(\displaystyle \dfrac{\pi}{2}-x\) lies there exactly when \(\displaystyle 0\le x\le\pi\). So, for \(\displaystyle x\in[0,\pi]\),
\[\sin^{-1}(\cos x)=\sin^{-1}\!\left(\sin\left(\frac{\pi}{2}-x\right)\right)=\frac{\pi}{2}-x.\]
Integrating this linear function,
\[\int\sin^{-1}(\cos x)\,dx=\int\left(\frac{\pi}{2}-x\right)dx=\frac{\pi x}{2}-\frac{x^{2}}{2}+\mathrm{C}.\]
Final answer: \(\displaystyle \dfrac{\pi x}{2}-\dfrac{x^{2}}{2}+\mathrm{C}\), on \(\displaystyle 0\le x\le\pi\) (outside that interval the simplification, and hence the formula, changes).
Exercise 22
cos(x−a)cos(x−b)1
Not cross-checked
This solution has not been cross-checked against the answer printed in NCERT.
The two angles differ by a constant: \(\displaystyle (x-b)-(x-a)=a-b\). Multiply and divide by \(\displaystyle \sin(a-b)\) (a non-zero constant when \(\displaystyle a\neq b\)) and expand it as the sine of that difference:
\[\sin(a-b)=\sin\big[(x-b)-(x-a)\big]=\sin(x-b)\cos(x-a)-\cos(x-b)\sin(x-a).\]
Dividing this equation by \(\displaystyle \cos(x-a)\cos(x-b)\) gives
\[\frac{\sin(a-b)}{\cos(x-a)\cos(x-b)}=\tan(x-b)-\tan(x-a),\]
so
\[\frac{1}{\cos(x-a)\cos(x-b)}=\frac{1}{\sin(a-b)}\big[\tan(x-b)-\tan(x-a)\big].\]
Now integrate, using \(\displaystyle \int\tan(x-k)\,dx=-\log|\cos(x-k)|\):
\[\int\frac{dx}{\cos(x-a)\cos(x-b)}=\frac{1}{\sin(a-b)}\Big[-\log|\cos(x-b)|+\log|\cos(x-a)|\Big]+\mathrm{C}.\]
Final answer: \(\displaystyle \dfrac{1}{\sin(a-b)}\log\left|\dfrac{\cos(x-a)}{\cos(x-b)}\right|+\mathrm{C}\).
Choose the correct answer in Exercises $\displaystyle 23$ and 24.
Exercise 23
∫sin2xcos2xsin2x−cos2xdx is equal to (A) tanx+cotx+C (B) tanx+cosecx+C (C) −tanx+cotx+C (D) tanx+secx+C
Not cross-checked
This solution has not been cross-checked against the answer printed in NCERT.
NCERT’s answer
A
Split the single fraction into two and cancel in each:
\[\frac{\sin^{2}x-\cos^{2}x}{\sin^{2}x\cos^{2}x}=\frac{\sin^{2}x}{\sin^{2}x\cos^{2}x}-\frac{\cos^{2}x}{\sin^{2}x\cos^{2}x}=\frac{1}{\cos^{2}x}-\frac{1}{\sin^{2}x}=\sec^{2}x-\mathrm{cosec}^{2}x.\]
Use \(\displaystyle \int\sec^{2}x\,dx=\tan x\) and \(\displaystyle \int\mathrm{cosec}^{2}x\,dx=-\cot x\); the second minus sign meets that one and gives a plus:
\[\int\left(\sec^{2}x-\mathrm{cosec}^{2}x\right)dx=\tan x-(-\cot x)+\mathrm{C}=\tan x+\cot x+\mathrm{C}.\]
Final answer: option (A), \(\displaystyle \tan x+\cot x+\mathrm{C}\).
This solution has not been cross-checked against the answer printed in NCERT.
NCERT’s answer
B
Read the numerator as a derivative. By the product rule,
\[\frac{d}{dx}\left(x e^{x}\right)=e^{x}+x e^{x}=e^{x}(1+x),\]
which is exactly the numerator, and the angle in the denominator is that same \(\displaystyle x e^{x}\).
Substitute \(\displaystyle t=x e^{x}\), so \(\displaystyle dt=e^{x}(1+x)\,dx\):
\[\int\frac{e^{x}(1+x)}{\cos^{2}\left(x e^{x}\right)}\,dx=\int\frac{dt}{\cos^{2}t}=\int\sec^{2}t\,dt=\tan t+\mathrm{C}.\]
Putting \(\displaystyle t=x e^{x}\) back:
Final answer: option (B), \(\displaystyle \tan\left(x e^{x}\right)+\mathrm{C}\).