3

Find $$\int_0^2 \arctan(\pi x)-\arctan(x)\, \mathrm dx$$

The hint is also given : Re-write the Integrand as an Integral

I think we have to Re-write this single integral as a double integral and then do something.

Any one any ideas

Holy cow
  • 1,395
  • When you tried the hint, what did you get? Where were your particular difficulties? – Clayton Nov 26 '14 at 18:34
  • 1
    Technically this can be done with no hint: $\int \arctan x = x \arctan x - \frac{1}{2} \log \left ( x^2+1 \right ) + C$, by a straightforward integration by parts. – Ian Nov 26 '14 at 18:45
  • http://math.stackexchange.com/questions/1005422/evaluate-int-02-tan-1-pi-x-tan-1-x-mathrmdx/1006135#1006135 – tired Nov 26 '14 at 18:46

3 Answers3

6

I think the hint is

$$\arctan\pi x -\arctan x=\int_x^{\pi x}\frac{du}{1+u^2}$$

Be careful with how you handle the variables.

Timbuc
  • 34,191
5

We'll generalize it a bit$$I(\alpha )=\int_0^2 \arctan(\alpha x)\, \mathrm ddx$$ And we have $I(0)=0$

$$I'(\alpha )=\int_0^2 \frac{x}{1+\alpha ^2x^2}\, \mathrm dx=\left[\frac{1}{2\alpha ^2}\ln (1+\alpha ^2x^2)\right]_0^2=\frac{\ln(1+4\alpha ^2)}{2\alpha ^2}$$

$$\begin{align} I(\alpha )&=2\arctan(2\alpha )-\frac{\ln(4\alpha ^2+1)}{2\alpha }+c\\ &=2\arctan(2\alpha )-\frac{\ln(4\alpha ^2+1)}{2\alpha }\\ \end{align}$$

$$\large I(\alpha )=2\arctan(2\alpha )-\frac{\ln(4\alpha ^2+1)}{2\alpha }$$

And Finally use

$$\int_0^2\arctan(\pi x)-\arctan( x)\, \mathrm dx=I(\pi)-I(1)$$

To get

$$\begin{align} \int_0^2\arctan(\pi x)-\arctan( x)\, \mathrm dx&=\frac{1}{2}\left[4\arctan(2\pi )-\frac{\ln(4\pi^2+1)}{\pi}-4\arctan(2)+\ln(5)\right]\\ &\approx 0.8274\\ \end{align}$$

Aditya Hase
  • 8,851
2

$\displaystyle \arctan\pi x -\arctan x=\int_x^{\pi x}\frac{du}{1+u^2}=\int_1^{\pi} \dfrac{x}{1+x^2u^2}du$

Therefore:

$I=\displaystyle \int_0^2 \arctan(\pi x)-\arctan(x)\, \mathrm{ dx}=\int_0^2\int_1^{\pi} \dfrac{x}{1+x^2u^2}\mathrm{ dx}\mathrm{ du}=\int_1^{\pi}\Big(\int_0^2\dfrac{x}{1+x^2u^2}\mathrm{ dx}\Big)\mathrm{ du}$

$\displaystyle \int_0^2\dfrac{x}{1+x^2u^2}\mathrm{ dx}=\dfrac{1}{2u^2}\Big[\ln(1+x^2u^2)\Big]_0^2=\dfrac{\ln(1+4u^2)}{2u^2}$

Therefore:

$I=\displaystyle \int_1^{\pi} \dfrac{\ln(1+4u^2)}{2u^2}\mathrm{ du}=\Big[-\dfrac{1}{2u}\ln(1+4u^2)\Big]_1^{\pi}+\int_1^{\pi}\dfrac{8u}{1+4u^2}\times\dfrac{1}{2u}\mathrm{ du}$

$I=\displaystyle \dfrac{1}{2}\ln 5-\dfrac{1}{2\pi}\ln(1+4\pi^2)+\Big[2\arctan (2u)\Big]_1^{\pi}$

$I=\dfrac{1}{2}\ln 5-\dfrac{1}{2\pi}\ln(1+4\pi^2)+2\arctan(2\pi)-2\arctan 2$

FDP
  • 13,647