Optimal. Leaf size=38 \[ -\frac {x e^{\text {sech}^{-1}(a x)}}{3 a^2}+\frac {1}{3} x^3 e^{\text {sech}^{-1}(a x)}+\frac {x^2}{6 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 52, normalized size of antiderivative = 1.37, number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {6335, 30, 74} \[ -\frac {\sqrt {1-a x}}{3 a^3 \sqrt {\frac {1}{a x+1}}}+\frac {x^2}{6 a}+\frac {1}{3} x^3 e^{\text {sech}^{-1}(a x)} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 30
Rule 74
Rule 6335
Rubi steps
\begin {align*} \int e^{\text {sech}^{-1}(a x)} x^2 \, dx &=\frac {1}{3} e^{\text {sech}^{-1}(a x)} x^3+\frac {\int x \, dx}{3 a}+\frac {\left (\sqrt {\frac {1}{1+a x}} \sqrt {1+a x}\right ) \int \frac {x}{\sqrt {1-a x} \sqrt {1+a x}} \, dx}{3 a}\\ &=\frac {x^2}{6 a}+\frac {1}{3} e^{\text {sech}^{-1}(a x)} x^3-\frac {\sqrt {1-a x}}{3 a^3 \sqrt {\frac {1}{1+a x}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 48, normalized size = 1.26 \[ \frac {3 a^2 x^2+2 (a x-1) \sqrt {\frac {1-a x}{a x+1}} (a x+1)^2}{6 a^3} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.76, size = 54, normalized size = 1.42 \[ \frac {3 \, a x^{2} + 2 \, {\left (a^{2} x^{3} - x\right )} \sqrt {\frac {a x + 1}{a x}} \sqrt {-\frac {a x - 1}{a x}}}{6 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 54, normalized size = 1.42 \[ \frac {\sqrt {-\frac {a x -1}{a x}}\, x \sqrt {\frac {a x +1}{a x}}\, \left (a^{2} x^{2}-1\right )}{3 a^{2}}+\frac {x^{2}}{2 a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 38, normalized size = 1.00 \[ \frac {x^{2}}{2 \, a} + \frac {{\left (a^{2} x^{2} - 1\right )} \sqrt {a x + 1} \sqrt {-a x + 1}}{3 \, a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.43, size = 55, normalized size = 1.45 \[ \sqrt {\frac {1}{a\,x}-1}\,\left (\frac {x^3\,\sqrt {\frac {1}{a\,x}+1}}{3}-\frac {x\,\sqrt {\frac {1}{a\,x}+1}}{3\,a^2}\right )+\frac {x^2}{2\,a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int x\, dx + \int a x^{2} \sqrt {-1 + \frac {1}{a x}} \sqrt {1 + \frac {1}{a x}}\, dx}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________