Integral of $$$x^{2} \operatorname{atan}{\left(\sqrt{x} \right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int x^{2} \operatorname{atan}{\left(\sqrt{x} \right)}\, dx$$$.
Solution
For the integral $$$\int{x^{2} \operatorname{atan}{\left(\sqrt{x} \right)} d x}$$$, use integration by parts $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$.
Let $$$\operatorname{u}=\operatorname{atan}{\left(\sqrt{x} \right)}$$$ and $$$\operatorname{dv}=x^{2} dx$$$.
Then $$$\operatorname{du}=\left(\operatorname{atan}{\left(\sqrt{x} \right)}\right)^{\prime }dx=\frac{1}{2 \sqrt{x} \left(x + 1\right)} dx$$$ (steps can be seen ») and $$$\operatorname{v}=\int{x^{2} d x}=\frac{x^{3}}{3}$$$ (steps can be seen »).
The integral becomes
$${\color{red}{\int{x^{2} \operatorname{atan}{\left(\sqrt{x} \right)} d x}}}={\color{red}{\left(\operatorname{atan}{\left(\sqrt{x} \right)} \cdot \frac{x^{3}}{3}-\int{\frac{x^{3}}{3} \cdot \frac{1}{2 \sqrt{x} \left(x + 1\right)} d x}\right)}}={\color{red}{\left(\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \int{\frac{x^{\frac{5}{2}}}{6 x + 6} d x}\right)}}$$
Simplify the integrand:
$$\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - {\color{red}{\int{\frac{x^{\frac{5}{2}}}{6 x + 6} d x}}} = \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - {\color{red}{\int{\frac{x^{\frac{5}{2}}}{6 \left(x + 1\right)} d x}}}$$
Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=\frac{1}{6}$$$ and $$$f{\left(x \right)} = \frac{x^{\frac{5}{2}}}{x + 1}$$$:
$$\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - {\color{red}{\int{\frac{x^{\frac{5}{2}}}{6 \left(x + 1\right)} d x}}} = \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - {\color{red}{\left(\frac{\int{\frac{x^{\frac{5}{2}}}{x + 1} d x}}{6}\right)}}$$
Let $$$u=\sqrt{x}$$$.
Then $$$du=\left(\sqrt{x}\right)^{\prime }dx = \frac{1}{2 \sqrt{x}} dx$$$ (steps can be seen »), and we have that $$$\frac{dx}{\sqrt{x}} = 2 du$$$.
The integral can be rewritten as
$$\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \frac{{\color{red}{\int{\frac{x^{\frac{5}{2}}}{x + 1} d x}}}}{6} = \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \frac{{\color{red}{\int{\frac{2 u^{6}}{u^{2} + 1} d u}}}}{6}$$
Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=2$$$ and $$$f{\left(u \right)} = \frac{u^{6}}{u^{2} + 1}$$$:
$$\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \frac{{\color{red}{\int{\frac{2 u^{6}}{u^{2} + 1} d u}}}}{6} = \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \frac{{\color{red}{\left(2 \int{\frac{u^{6}}{u^{2} + 1} d u}\right)}}}{6}$$
Since the degree of the numerator is not less than the degree of the denominator, perform polynomial long division (steps can be seen »):
$$\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \frac{{\color{red}{\int{\frac{u^{6}}{u^{2} + 1} d u}}}}{3} = \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \frac{{\color{red}{\int{\left(u^{4} - u^{2} + 1 - \frac{1}{u^{2} + 1}\right)d u}}}}{3}$$
Integrate term by term:
$$\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \frac{{\color{red}{\int{\left(u^{4} - u^{2} + 1 - \frac{1}{u^{2} + 1}\right)d u}}}}{3} = \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} - \frac{{\color{red}{\left(\int{1 d u} - \int{u^{2} d u} + \int{u^{4} d u} - \int{\frac{1}{u^{2} + 1} d u}\right)}}}{3}$$
Apply the constant rule $$$\int c\, du = c u$$$ with $$$c=1$$$:
$$\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\int{u^{2} d u}}{3} - \frac{\int{u^{4} d u}}{3} + \frac{\int{\frac{1}{u^{2} + 1} d u}}{3} - \frac{{\color{red}{\int{1 d u}}}}{3} = \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\int{u^{2} d u}}{3} - \frac{\int{u^{4} d u}}{3} + \frac{\int{\frac{1}{u^{2} + 1} d u}}{3} - \frac{{\color{red}{u}}}{3}$$
Apply the power rule $$$\int u^{n}\, du = \frac{u^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ with $$$n=4$$$:
$$- \frac{u}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\int{u^{2} d u}}{3} + \frac{\int{\frac{1}{u^{2} + 1} d u}}{3} - \frac{{\color{red}{\int{u^{4} d u}}}}{3}=- \frac{u}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\int{u^{2} d u}}{3} + \frac{\int{\frac{1}{u^{2} + 1} d u}}{3} - \frac{{\color{red}{\frac{u^{1 + 4}}{1 + 4}}}}{3}=- \frac{u}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\int{u^{2} d u}}{3} + \frac{\int{\frac{1}{u^{2} + 1} d u}}{3} - \frac{{\color{red}{\left(\frac{u^{5}}{5}\right)}}}{3}$$
Apply the power rule $$$\int u^{n}\, du = \frac{u^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ with $$$n=2$$$:
$$- \frac{u^{5}}{15} - \frac{u}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\int{\frac{1}{u^{2} + 1} d u}}{3} + \frac{{\color{red}{\int{u^{2} d u}}}}{3}=- \frac{u^{5}}{15} - \frac{u}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\int{\frac{1}{u^{2} + 1} d u}}{3} + \frac{{\color{red}{\frac{u^{1 + 2}}{1 + 2}}}}{3}=- \frac{u^{5}}{15} - \frac{u}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\int{\frac{1}{u^{2} + 1} d u}}{3} + \frac{{\color{red}{\left(\frac{u^{3}}{3}\right)}}}{3}$$
The integral of $$$\frac{1}{u^{2} + 1}$$$ is $$$\int{\frac{1}{u^{2} + 1} d u} = \operatorname{atan}{\left(u \right)}$$$:
$$- \frac{u^{5}}{15} + \frac{u^{3}}{9} - \frac{u}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{{\color{red}{\int{\frac{1}{u^{2} + 1} d u}}}}{3} = - \frac{u^{5}}{15} + \frac{u^{3}}{9} - \frac{u}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{{\color{red}{\operatorname{atan}{\left(u \right)}}}}{3}$$
Recall that $$$u=\sqrt{x}$$$:
$$\frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\operatorname{atan}{\left({\color{red}{u}} \right)}}{3} - \frac{{\color{red}{u}}}{3} + \frac{{\color{red}{u}}^{3}}{9} - \frac{{\color{red}{u}}^{5}}{15} = \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\operatorname{atan}{\left({\color{red}{\sqrt{x}}} \right)}}{3} - \frac{{\color{red}{\sqrt{x}}}}{3} + \frac{{\color{red}{\sqrt{x}}}^{3}}{9} - \frac{{\color{red}{\sqrt{x}}}^{5}}{15}$$
Therefore,
$$\int{x^{2} \operatorname{atan}{\left(\sqrt{x} \right)} d x} = - \frac{x^{\frac{5}{2}}}{15} + \frac{x^{\frac{3}{2}}}{9} - \frac{\sqrt{x}}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\operatorname{atan}{\left(\sqrt{x} \right)}}{3}$$
Add the constant of integration:
$$\int{x^{2} \operatorname{atan}{\left(\sqrt{x} \right)} d x} = - \frac{x^{\frac{5}{2}}}{15} + \frac{x^{\frac{3}{2}}}{9} - \frac{\sqrt{x}}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\operatorname{atan}{\left(\sqrt{x} \right)}}{3}+C$$
Answer
$$$\int x^{2} \operatorname{atan}{\left(\sqrt{x} \right)}\, dx = \left(- \frac{x^{\frac{5}{2}}}{15} + \frac{x^{\frac{3}{2}}}{9} - \frac{\sqrt{x}}{3} + \frac{x^{3} \operatorname{atan}{\left(\sqrt{x} \right)}}{3} + \frac{\operatorname{atan}{\left(\sqrt{x} \right)}}{3}\right) + C$$$A