
for all
![x\in[0,\pi]](https://tex.z-dn.net/?f=x%5Cin%5B0%2C%5Cpi%5D)
, while

for

and

for

. So you already know that

over the second half of the interval.
In the first half,

is an increasing function, from

to

. Meanwhile

is a decreasing function, from

to

. Therefore there must be a point between 0 and

where the two curves intersect. So we find it:

So we know that

in

, and

in
![\left(\arctan\dfrac52,\pi\right]](https://tex.z-dn.net/?f=%5Cleft%28%5Carctan%5Cdfrac52%2C%5Cpi%5Cright%5D)
.
The area between the curves is then