Optimal. Leaf size=50 \[ \frac{x^2}{10 a^3}+\frac{\log \left (1-a^2 x^2\right )}{10 a^5}+\frac{x^4}{20 a}+\frac{1}{5} x^5 \coth ^{-1}(a x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0371068, antiderivative size = 50, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {5917, 266, 43} \[ \frac{x^2}{10 a^3}+\frac{\log \left (1-a^2 x^2\right )}{10 a^5}+\frac{x^4}{20 a}+\frac{1}{5} x^5 \coth ^{-1}(a x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5917
Rule 266
Rule 43
Rubi steps
\begin{align*} \int x^4 \coth ^{-1}(a x) \, dx &=\frac{1}{5} x^5 \coth ^{-1}(a x)-\frac{1}{5} a \int \frac{x^5}{1-a^2 x^2} \, dx\\ &=\frac{1}{5} x^5 \coth ^{-1}(a x)-\frac{1}{10} a \operatorname{Subst}\left (\int \frac{x^2}{1-a^2 x} \, dx,x,x^2\right )\\ &=\frac{1}{5} x^5 \coth ^{-1}(a x)-\frac{1}{10} a \operatorname{Subst}\left (\int \left (-\frac{1}{a^4}-\frac{x}{a^2}-\frac{1}{a^4 \left (-1+a^2 x\right )}\right ) \, dx,x,x^2\right )\\ &=\frac{x^2}{10 a^3}+\frac{x^4}{20 a}+\frac{1}{5} x^5 \coth ^{-1}(a x)+\frac{\log \left (1-a^2 x^2\right )}{10 a^5}\\ \end{align*}
Mathematica [A] time = 0.0081977, size = 50, normalized size = 1. \[ \frac{x^2}{10 a^3}+\frac{\log \left (1-a^2 x^2\right )}{10 a^5}+\frac{x^4}{20 a}+\frac{1}{5} x^5 \coth ^{-1}(a x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.035, size = 49, normalized size = 1. \begin{align*}{\frac{{x}^{5}{\rm arccoth} \left (ax\right )}{5}}+{\frac{{x}^{4}}{20\,a}}+{\frac{{x}^{2}}{10\,{a}^{3}}}+{\frac{\ln \left ( ax-1 \right ) }{10\,{a}^{5}}}+{\frac{\ln \left ( ax+1 \right ) }{10\,{a}^{5}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.958241, size = 62, normalized size = 1.24 \begin{align*} \frac{1}{5} \, x^{5} \operatorname{arcoth}\left (a x\right ) + \frac{1}{20} \, a{\left (\frac{a^{2} x^{4} + 2 \, x^{2}}{a^{4}} + \frac{2 \, \log \left (a^{2} x^{2} - 1\right )}{a^{6}}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.57557, size = 122, normalized size = 2.44 \begin{align*} \frac{2 \, a^{5} x^{5} \log \left (\frac{a x + 1}{a x - 1}\right ) + a^{4} x^{4} + 2 \, a^{2} x^{2} + 2 \, \log \left (a^{2} x^{2} - 1\right )}{20 \, a^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.79828, size = 54, normalized size = 1.08 \begin{align*} \begin{cases} \frac{x^{5} \operatorname{acoth}{\left (a x \right )}}{5} + \frac{x^{4}}{20 a} + \frac{x^{2}}{10 a^{3}} + \frac{\log{\left (a x + 1 \right )}}{5 a^{5}} - \frac{\operatorname{acoth}{\left (a x \right )}}{5 a^{5}} & \text{for}\: a \neq 0 \\\frac{i \pi x^{5}}{10} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{4} \operatorname{arcoth}\left (a x\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]