Let \(\displaystyle I=\displaystyle\int e^{2x}\sin x\,dx\). Apply parts twice; the original integral reappears and is then solved for algebraically.
First, with \(\displaystyle \sin x\) as the first function and \(\displaystyle e^{2x}\) as the second:
\[I = \frac{e^{2x}}{2}\sin x-\frac12\int e^{2x}\cos x\,dx\]
Apply parts to the new integral, again with the trigonometric factor first:
\[\int e^{2x}\cos x\,dx = \frac{e^{2x}}{2}\cos x+\frac12\int e^{2x}\sin x\,dx = \frac{e^{2x}}{2}\cos x+\frac{I}{2}\]
Substituting back:
\[I = \frac{e^{2x}}{2}\sin x-\frac{e^{2x}}{4}\cos x-\frac{I}{4}\quad\Rightarrow\quad \frac{5I}{4} = \frac{e^{2x}}{4}\left(2\sin x-\cos x\right)\]
\[I = \frac{e^{2x}}{5}\left(2\sin x-\cos x\right)+\mathrm{C}\]
Final answer: \(\displaystyle \dfrac{e^{2x}}{5}\left(2\sin x-\cos x\right)+\mathrm{C}\).
Exercise 22
sin−1(1+x22x)
Not cross-checked
This solution has not been cross-checked against the answer printed in NCERT.
NCERT’s answer
\(\displaystyle 2 x \tan ^{-1} x-\log \left(1+x^{2}\right)+\mathrm{C}\)
First simplify the inverse function. Put \(\displaystyle x=\tan\theta\), i.e. \(\displaystyle \theta=\tan^{-1}x\in\left(-\dfrac{\pi}{2},\dfrac{\pi}{2}\right)\). Then
\[\frac{2x}{1+x^{2}} = \frac{2\tan\theta}{1+\tan^{2}\theta} = \sin 2\theta\]
Now \(\displaystyle \sin^{-1}(\sin 2\theta)=2\theta\) only when \(\displaystyle 2\theta\in\left[-\dfrac{\pi}{2},\dfrac{\pi}{2}\right]\), i.e. \(\displaystyle \theta\in\left[-\dfrac{\pi}{4},\dfrac{\pi}{4}\right]\), i.e. \(\displaystyle -1\le x\le 1\). This range check is the step that decides the answer; taking it as \(\displaystyle 2\tan^{-1}x\) for all \(\displaystyle x\) is wrong.
For \(\displaystyle -1\le x\le 1\),
\[\int\sin^{-1}\left(\frac{2x}{1+x^{2}}\right)dx = 2\int\tan^{-1}x\,dx = 2\left[x\tan^{-1}x-\frac12\log\left(1+x^{2}\right)\right]+\mathrm{C}\]
using Question 13.
Final answer: \(\displaystyle 2x\tan^{-1}x-\log\left(1+x^{2}\right)+\mathrm{C}\), for \(\displaystyle -1\le x\le 1\). (Outside that range the identity changes to \(\displaystyle \pi-2\tan^{-1}x\) for \(\displaystyle x>1\) and \(\displaystyle -\pi-2\tan^{-1}x\) for \(\displaystyle x<-1\), giving \(\displaystyle \pi x-2x\tan^{-1}x+\log\left(1+x^{2}\right)+\mathrm{C}\) and \(\displaystyle -\pi x-2x\tan^{-1}x+\log\left(1+x^{2}\right)+\mathrm{C}\) respectively.)
Choose the correct answer in Exercises $\displaystyle 23$ and 24.
This solution has not been cross-checked against the answer printed in NCERT.
NCERT’s answer
A
This is a substitution, not integration by parts: the factor \(\displaystyle x^{2}\) is (up to a constant) the derivative of the exponent \(\displaystyle x^{3}\).
Put \(\displaystyle t=x^{3}\), so \(\displaystyle dt=3x^{2}dx\), i.e. \(\displaystyle x^{2}dx=\dfrac{dt}{3}\).
\[\int x^{2}e^{x^{3}}dx = \frac13\int e^{t}\,dt = \frac13 e^{t}+\mathrm{C} = \frac13 e^{x^{3}}+\mathrm{C}\]
Check by differentiating: \(\displaystyle \dfrac{d}{dx}\left(\dfrac13 e^{x^{3}}\right)=\dfrac13 e^{x^{3}}\cdot 3x^{2}=x^{2}e^{x^{3}}\).
Final answer: option (A), \(\displaystyle \dfrac13 e^{x^{3}}+\mathrm{C}\).