Integration by Parts — Question 9

PDF ↗

Question 9

Evaluate ∫−11xarctan⁡(x)dx.\int_{-1}^{1}x\arctan(x)\,dx. Before using integration by parts, exploit the symmetry of the integrand to simplify the calculation.

Original worksheet page 1: question and worked solution for 1-1-009
Show solutionHide solution

Question 9 – Solution

Let f(x)=xarctan⁡(x).f(x)=x\arctan(x). Both xx and arctan⁡(x)\arctan(x) are odd functions. Therefore, their product is even: f(−x)=(−x)arctan⁡(−x)=(−x)(−arctan⁡(x))=xarctan⁡(x)=f(x).\begin{align*} f(-x) &=(-x)\arctan(-x) \\ &=(-x)\bigl(-\arctan(x)\bigr) \\ &=x\arctan(x)=f(x). \end{align*} Consequently, ∫−11xarctan⁡(x)dx=2∫01xarctan⁡(x)dx.\int_{-1}^{1}x\arctan(x)\,dx =2\int_0^1x\arctan(x)\,dx. \tag{1}

Now use integration by parts on the integral over [0,1][0,1]. Choose u=arctan⁡(x),dv=xdx,du=11+x2dx,v=x22.u=\arctan(x),\quad dv=x\,dx, \qquad du=\frac{1}{1+x^2}\,dx,\quad v=\frac{x^2}{2}. Then ∫01xarctan⁡(x)dx=x22arctan(x)|01−12∫01x21+x2dx.\begin{align*} \int_0^1x\arctan(x)\,dx &=\left.\frac{x^2}{2}\arctan(x)\right|_0^1 -\frac12\int_0^1\frac{x^2}{1+x^2}\,dx. \end{align*} Multiplying by 22 as in equation (1) gives ∫−11xarctan⁡(x)dx=x2arctan(x)|01−∫01x21+x2dx.\begin{align*} \int_{-1}^{1}x\arctan(x)\,dx &=\left.x^2\arctan(x)\right|_0^1 -\int_0^1\frac{x^2}{1+x^2}\,dx. \tag{2} \end{align*}

For the remaining integral, rewrite the integrand: x21+x2=(1+x2)−11+x2=1−11+x2.\frac{x^2}{1+x^2} =\frac{(1+x^2)-1}{1+x^2} =1-\frac{1}{1+x^2}. Therefore, ∫01x21+x2dx=∫01(1−11+x2)dx=[x−arctan(x)]01=1−π4.\begin{align*} \int_0^1\frac{x^2}{1+x^2}\,dx &=\int_0^1\left(1-\frac{1}{1+x^2}\right)\,dx \\ &=\left[x-\arctan(x)\right]_0^1 \\ &=1-\frac{\pi}{4}. \end{align*} The boundary term in equation (2) is x2arctan(x)|01=12arctan⁡(1)−02arctan⁡(0)=π4.\left.x^2\arctan(x)\right|_0^1 =1^2\arctan(1)-0^2\arctan(0) =\frac{\pi}{4}. Substituting both results into equation (2), ∫−11xarctan⁡(x)dx=π4−(1−π4)=π2−1.\begin{align*} \int_{-1}^{1}x\arctan(x)\,dx &=\frac{\pi}{4}-\left(1-\frac{\pi}{4}\right) \\ &=\frac{\pi}{2}-1. \end{align*} Thus, ∫−11xarctan⁡(x)dx=π2−1.\boxed{\displaystyle \int_{-1}^{1}x\arctan(x)\,dx=\frac{\pi}{2}-1}. The answer is positive, as expected, because the even integrand is nonnegative on [−1,1][-1,1].

Original worksheet page 2: question and worked solution for 1-1-009

Original worksheet layout. Use Enlarge or open the PDF for a closer view.