integraleAug 30, 2026

Evaluate an integral involving arctan⁡\arctan and a square root

I
idriss-bado
Member · Research discussion
Votes
3
Answers
2
Views
7
3

Exercise Evaluate exactly the integral

I=∫−12arctan⁡ ⁣(2−x2)1+x2 dx. I=\int_{-1}^{\sqrt2} \frac{\arctan\!\left(\sqrt{2-x^2}\right)} {1+x^2}\,dx.

Replies

2 answers
2
I
idriss-bado
Research member
Aug 30, 2026

Solution

Set

h(x)=arctan⁡ ⁣(2−x2)1+x2. h(x)=\frac{\arctan\!\left(\sqrt{2-x^2}\right)}{1+x^2}.

Since hh is even, we have

I=∫01h(x) dx+∫02h(x) dx. I = \int_0^1 h(x)\,dx + \int_0^{\sqrt2} h(x)\,dx.

Let

K=∫01h(x) dx,J=∫02h(x) dx. K=\int_0^1 h(x)\,dx, \qquad J=\int_0^{\sqrt2} h(x)\,dx.

Thus

I=K+J. I=K+J.

We first evaluate JJ. More generally, define

F(a)=∫0aarctan⁡ ⁣(a2−x2)1+x2 dx,a>0. F(a) = \int_0^a \frac{\arctan\!\left(\sqrt{a^2-x^2}\right)} {1+x^2}\,dx, \qquad a>0.

Differentiating with respect to aa, the boundary term vanishes since arctan⁡(0)=0\arctan(0)=0, and therefore

F′(a)=a∫0adx(1+x2)(1+a2−x2)a2−x2. F'(a) = a\int_0^a \frac{dx} {(1+x^2)(1+a^2-x^2)\sqrt{a^2-x^2}}.

Using

x=asin⁡θ,0≤θ≤π2, x=a\sin\theta, \qquad 0\leq \theta\leq \frac{\pi}{2},

we obtain

F′(a)=a∫0π/2dθ(1+a2sin⁡2θ)(1+a2cos⁡2θ). F'(a) = a\int_0^{\pi/2} \frac{d\theta} {(1+a^2\sin^2\theta)(1+a^2\cos^2\theta)}.

Now

(1+a2sin⁡2θ)(1+a2cos⁡2θ)=1+a2+a44sin⁡2(2θ). (1+a^2\sin^2\theta)(1+a^2\cos^2\theta) = 1+a^2+\frac{a^4}{4}\sin^2(2\theta).

Hence, using the standard integral

∫0π/2duA+Bsin⁡2u=π2A(A+B), \int_0^{\pi/2}\frac{du}{A+B\sin^2u} = \frac{\pi}{2\sqrt{A(A+B)}},

we get

F′(a)=πa(a2+2)1+a2. F'(a) = \frac{\pi a}{(a^2+2)\sqrt{1+a^2}}.

Since F(0)=0F(0)=0,

F(a)=π∫0at dt(t2+2)1+t2. F(a) = \pi\int_0^a \frac{t\,dt}{(t^2+2)\sqrt{1+t^2}}.

Put

u=1+t2. u=\sqrt{1+t^2}.

Then

du=t dt1+t2,t2+2=u2+1, du=\frac{t\,dt}{\sqrt{1+t^2}}, \qquad t^2+2=u^2+1,

so

F(a)=π∫11+a2du1+u2. F(a) = \pi\int_1^{\sqrt{1+a^2}} \frac{du}{1+u^2}.

Therefore

F(a)=π(arctan⁡1+a2−π4). F(a) = \pi\left( \arctan\sqrt{1+a^2}-\frac{\pi}{4} \right).

Taking a=2a=\sqrt2, we find

J=F(2)=π(π3−π4)=π212. J=F(\sqrt2) = \pi\left(\frac{\pi}{3}-\frac{\pi}{4}\right) = \frac{\pi^2}{12}.

It remains to determine KK.

Using

arctan⁡y=∫0ydt1+t2, \arctan y=\int_0^y\frac{dt}{1+t^2},

we may write

J=∬Qdx dy(1+x2)(1+y2), J = \iint_Q \frac{dx\,dy}{(1+x^2)(1+y^2)},

where

Q={(x,y)∈R2:x≥0, y≥0, x2+y2≤2}. Q= \left\{ (x,y)\in\mathbb R^2: x\geq0,\ y\geq0,\ x^2+y^2\leq2 \right\}.

Inside QQ, consider the square

C=[0,1]×[0,1]. C=[0,1]\times[0,1].

Its weighted area is

∬Cdx dy(1+x2)(1+y2)=(∫01dx1+x2)2=(π4)2=π216. \iint_C \frac{dx\,dy}{(1+x^2)(1+y^2)} = \left(\int_0^1\frac{dx}{1+x^2}\right)^2 = \left(\frac{\pi}{4}\right)^2 = \frac{\pi^2}{16}.

The two remaining parts of QQ,

{x>1}and{y>1}, \{x>1\} \qquad\text{and}\qquad \{y>1\},

have equal weighted areas by the symmetry x↔yx\leftrightarrow y.

If LL denotes either of these two equal contributions, then

J=π216+2L. J=\frac{\pi^2}{16}+2L.

On the other hand, KK corresponds to the part of QQ with 0≤x≤10\leq x\leq1, hence

K=π216+L. K=\frac{\pi^2}{16}+L.

Consequently,

K=12(J+π216). K = \frac12\left( J+\frac{\pi^2}{16} \right).

Thus

I=J+K=12(3J+π216). I=J+K = \frac12\left( 3J+\frac{\pi^2}{16} \right).

Since

J=π212, J=\frac{\pi^2}{12},

we finally obtain

I=12(π24+π216)=5π232. I = \frac12 \left( \frac{\pi^2}{4} + \frac{\pi^2}{16} \right) = \boxed{\frac{5\pi^2}{32}}.
2
I
idriss-bado
Research member
Aug 30, 2026

Alternative solution

We use the identity

arctan⁡u=∫0udy1+y2. \arctan u=\int_0^u \frac{dy}{1+y^2}.

Hence

I=∫−12∫02−x2dy dx(1+x2)(1+y2). I = \int_{-1}^{\sqrt2} \int_0^{\sqrt{2-x^2}} \frac{dy\,dx}{(1+x^2)(1+y^2)}.

Thus II is the weighted area of the region

R={(x,y):x2+y2≤2,y≥0,x≥−1}, R= \left\{ (x,y):x^2+y^2\le 2,\quad y\ge0,\quad x\ge-1 \right\},

with weight

w(x,y)=1(1+x2)(1+y2). w(x,y)=\frac1{(1+x^2)(1+y^2)}.

Let

Q={(x,y):x≥0, y≥0, x2+y2≤2} Q=\{(x,y):x\ge0,\ y\ge0,\ x^2+y^2\le2\}

be the quarter disk, and denote

J=∬Qw(x,y) dx dy. J=\iint_Q w(x,y)\,dx\,dy.

We first compute JJ.

Using polar coordinates

x=rcos⁡θ,y=rsin⁡θ, x=r\cos\theta,\qquad y=r\sin\theta,

we obtain

J=∫02∫0π/2r dθ dr(1+r2cos⁡2θ)(1+r2sin⁡2θ). J= \int_0^{\sqrt2} \int_0^{\pi/2} \frac{r\,d\theta\,dr} {(1+r^2\cos^2\theta)(1+r^2\sin^2\theta)}.

Now observe that

1(1+r2cos⁡2θ)(1+r2sin⁡2θ) \frac{1} {(1+r^2\cos^2\theta)(1+r^2\sin^2\theta)}

can be written as

12+r2(11+r2cos⁡2θ+11+r2sin⁡2θ), \frac1{2+r^2} \left( \frac1{1+r^2\cos^2\theta} + \frac1{1+r^2\sin^2\theta} \right),

because

(1+r2cos⁡2θ)+(1+r2sin⁡2θ)=2+r2. (1+r^2\cos^2\theta)+(1+r^2\sin^2\theta) =2+r^2.

Therefore

∫0π/2dθ(1+r2cos⁡2θ)(1+r2sin⁡2θ)=22+r2∫0π/2dθ1+r2sin⁡2θ. \int_0^{\pi/2} \frac{d\theta} {(1+r^2\cos^2\theta)(1+r^2\sin^2\theta)} = \frac{2}{2+r^2} \int_0^{\pi/2} \frac{d\theta}{1+r^2\sin^2\theta}.

Using the classical formula

∫0π/2dθ1+r2sin⁡2θ=π21+r2, \int_0^{\pi/2} \frac{d\theta}{1+r^2\sin^2\theta} = \frac{\pi}{2\sqrt{1+r^2}},

we get

J=π∫02r dr(r2+2)1+r2. J = \pi \int_0^{\sqrt2} \frac{r\,dr}{(r^2+2)\sqrt{1+r^2}}.

Set

u=1+r2. u=\sqrt{1+r^2}.

Then

du=r dr1+r2,r2+2=u2+1. du=\frac{r\,dr}{\sqrt{1+r^2}}, \qquad r^2+2=u^2+1.

Thus

J=π∫13du1+u2. J = \pi\int_1^{\sqrt3}\frac{du}{1+u^2}.

Hence

J=π(arctan⁡3−arctan⁡1)=π(π3−π4), J = \pi\left( \arctan\sqrt3-\arctan1 \right) = \pi\left( \frac{\pi}{3}-\frac{\pi}{4} \right),

so

J=π212. \boxed{J=\frac{\pi^2}{12}}.

It remains to recover II from JJ.

Inside the quarter disk QQ, consider the unit square

S=[0,1]×[0,1]. S=[0,1]\times[0,1].

Its weighted area is

A=∬Sw(x,y) dx dy=(∫01dx1+x2)2. A = \iint_S w(x,y)\,dx\,dy = \left( \int_0^1\frac{dx}{1+x^2} \right)^2.

Therefore

A=(π4)2=π216. A= \left(\frac{\pi}{4}\right)^2 = \frac{\pi^2}{16}.

The remaining part Q∖SQ\setminus S consists of two regions which are interchanged by

(x,y)⟼(y,x). (x,y)\longmapsto(y,x).

Since the weight w(x,y)w(x,y) is also symmetric in xx and yy, these two regions have the same weighted area.

Call this common value CC. Then

J=A+2C, J=A+2C,

and hence

C=J−A2. C=\frac{J-A}{2}.

Now the part of RR with −1≤x≤0-1\le x\le0 is, after the reflection x↦−xx\mapsto -x, exactly the part of QQ with 0≤x≤10\le x\le1.

Its weighted area is therefore

A+C. A+C.

Consequently

I=J+A+C. I=J+A+C.

Using

C=J−A2, C=\frac{J-A}{2},

we find

I=J+A+J−A2=3J+A2. I = J+A+\frac{J-A}{2} = \frac{3J+A}{2}.

Finally,

I=12(3π212+π216). I = \frac12 \left( 3\frac{\pi^2}{12} + \frac{\pi^2}{16} \right).

Therefore

I=5π232. \boxed{ I=\frac{5\pi^2}{32} }.

Your answer

You need a verified account to contribute. Create an account or log in to join the discussion.