# more integrals

• September 1st 2009, 07:40 PM
Random Variable
more integrals
$\int \sin (101x) \sin^{99} x \ dx$

$\int_{0}^{1} \frac{\tan^{-1} x}{1+x} \ dx$
• September 2nd 2009, 05:48 AM
halbard
If $y=\sin(100x)\sin^{100}x$ then $y'=100\cos(100x)\sin^{100}x+100\sin(100x)\sin^{99} x\,\cos x$ $=100[\sin(100x)\cos x+\cos(100x)\sin x]\sin^{99}x=100\sin(101x)\sin^{99}x$, which quickly leads to the answer.

Consider the integral $I=\int_0^1\frac{\ln(1+x)}{1+x^2}\mathrm dx$. Substitute $x=\frac{1-u}{1+u}$ so that $\mathrm dx=-\frac2{(1+u)^2}\mathrm du$. Also $1+x=\frac2{1+u}$ and $1+x^2=\frac{2(1+u^2)}{(1+u)^2}$.

Then $I=\int_0^1\frac{\ln\bigl(\frac2{1+u}\bigr)}{1+u^2} \mathrm du=\int_0^1\frac{\ln 2-\ln(1+u)}{1+u^2}\mathrm du=\int_0^1\frac{\ln 2}{1+u^2}\mathrm du-I=\frac\pi4\ln 2-I$. Thus $I=\frac\pi8\ln 2$.

Thus $\int_0^1\frac{\tan^{-1}x}{1+x}\mathrm dx=\Bigl[\tan^{-1}x\ln(1+x)\Bigr]_0^1-\int_0^1\frac{\ln(1+x)}{1+x^2}\mathrm dx=\frac\pi4\ln2-I=\frac\pi8\ln2$.
• September 2nd 2009, 10:24 AM
Random Variable
Quote:

If $y=\sin(100x)\sin^{100}x$ then $y'=100\cos(100x)\sin^{100}x+100\sin(100x)\sin^{99} x\,\cos x$ $=100[\sin(100x)\cos x+\cos(100x)\sin x]\sin^{99}x=100\sin(101x)\sin^{99}x$, which quickly leads to the answer.
How did you know that an antiderivative would have that general form (i.e. $A \sin (100x) \sin^{100}x + C$)?
• September 3rd 2009, 06:57 PM
Random Variable
This is what I would have done for the first integral:

$\int \sin (101x) \sin^{99}x \ dx = \text{Im} \int e^{i101x}\Big(\frac{e^{ix}-e^{-ix}}{2i}\Big)^{99} dx$

$\int e^{i101x}\Big(\frac{e^{ix}-e^{-ix}}{2i}\Big)^{99} dx = \frac{i}{2^{99}} \int e^{i101x}(e^{ix}-e^{-ix})^{99} \ dx =$ $\frac{i}{2^{99}} \int e^{2ix}(e^{2ix}-1)^{99} \ dx$

let $u = e^{2ix}-1$

then $du = 2ie^{2ix}$

$= \frac{1}{2^{100}} \int u ^{99} \ du = \frac{1}{2^{100}} \frac{u^{100}}{100} + C = \frac{1}{2^{100}}\frac{(e^{2ix}-1)^{100}}{100} + C$

$= \frac{1}{100} \Big(\frac{e^{2ix}-1}{2}\Big)^{100} + C = \frac{1}{100} \ e^{i100x} \Big(\frac{e^{ix}-e^{-ix}}{2}\Big)^{100} + C$

$= \frac{1}{100} \ e^{i100x} \Big(\frac{e^{ix}-e^{-ix}}{2i}\Big)^{100} + C = \frac{e^{i100x} \sin^{100} x}{100} + C$

$\text{Im} \Big(\frac{e^{i100x} \sin^{100} x}{100}\Big) = \frac{\sin (100x) \sin^{100} x}{100}$

so $\int \sin (101x) \sin^{99}x \ dx = \frac{\sin (100x) \sin^{100} x}{100} + C$