Optimal. Leaf size=151 \[ -\frac{e^{-3 a/2} \log \left (e^a x^2-\sqrt{2} e^{a/2} x+1\right )}{2 \sqrt{2}}+\frac{e^{-3 a/2} \log \left (e^a x^2+\sqrt{2} e^{a/2} x+1\right )}{2 \sqrt{2}}+\frac{e^{-3 a/2} \tan ^{-1}\left (1-\sqrt{2} e^{a/2} x\right )}{\sqrt{2}}-\frac{e^{-3 a/2} \tan ^{-1}\left (\sqrt{2} e^{a/2} x+1\right )}{\sqrt{2}}+\frac{x^3}{3} \]
[Out]
________________________________________________________________________________________
Rubi [F] time = 0.0216819, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int x^2 \tanh (a+2 \log (x)) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
Rubi steps
\begin{align*} \int x^2 \tanh (a+2 \log (x)) \, dx &=\int x^2 \tanh (a+2 \log (x)) \, dx\\ \end{align*}
Mathematica [C] time = 0.251108, size = 64, normalized size = 0.42 \[ \frac{1}{6} \left (3 (\cosh (2 a)-\sinh (2 a)) \text{RootSum}\left [\text{$\#$1}^4 \sinh (a)+\text{$\#$1}^4 \cosh (a)-\sinh (a)+\cosh (a)\& ,\frac{\log (x)-\log (x-\text{$\#$1})}{\text{$\#$1}}\& \right ]+2 x^3\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.022, size = 37, normalized size = 0.3 \begin{align*}{\frac{{x}^{3}}{3}}-{\frac{{{\rm e}^{-2\,a}}}{2}\sum _{{\it \_R}={\it RootOf} \left ({{\rm e}^{2\,a}}{{\it \_Z}}^{4}+1 \right ) }{\frac{\ln \left ( x-{\it \_R} \right ) }{{\it \_R}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.79862, size = 173, normalized size = 1.15 \begin{align*} \frac{1}{3} \, x^{3} - \frac{1}{2} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (2 \, x e^{a} + \sqrt{2} e^{\left (\frac{1}{2} \, a\right )}\right )} e^{\left (-\frac{1}{2} \, a\right )}\right ) e^{\left (-\frac{3}{2} \, a\right )} - \frac{1}{2} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (2 \, x e^{a} - \sqrt{2} e^{\left (\frac{1}{2} \, a\right )}\right )} e^{\left (-\frac{1}{2} \, a\right )}\right ) e^{\left (-\frac{3}{2} \, a\right )} + \frac{1}{4} \, \sqrt{2} e^{\left (-\frac{3}{2} \, a\right )} \log \left (x^{2} e^{a} + \sqrt{2} x e^{\left (\frac{1}{2} \, a\right )} + 1\right ) - \frac{1}{4} \, \sqrt{2} e^{\left (-\frac{3}{2} \, a\right )} \log \left (x^{2} e^{a} - \sqrt{2} x e^{\left (\frac{1}{2} \, a\right )} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.51188, size = 506, normalized size = 3.35 \begin{align*} \frac{1}{3} \, x^{3} + \sqrt{2} \arctan \left (-\sqrt{2} x e^{\left (\frac{1}{2} \, a\right )} + \sqrt{2} \sqrt{\sqrt{2} x e^{\left (-\frac{1}{2} \, a\right )} + x^{2} + e^{\left (-a\right )}} e^{\left (\frac{1}{2} \, a\right )} - 1\right ) e^{\left (-\frac{3}{2} \, a\right )} + \sqrt{2} \arctan \left (-\sqrt{2} x e^{\left (\frac{1}{2} \, a\right )} + \sqrt{2} \sqrt{-\sqrt{2} x e^{\left (-\frac{1}{2} \, a\right )} + x^{2} + e^{\left (-a\right )}} e^{\left (\frac{1}{2} \, a\right )} + 1\right ) e^{\left (-\frac{3}{2} \, a\right )} + \frac{1}{4} \, \sqrt{2} e^{\left (-\frac{3}{2} \, a\right )} \log \left (\sqrt{2} x e^{\left (-\frac{1}{2} \, a\right )} + x^{2} + e^{\left (-a\right )}\right ) - \frac{1}{4} \, \sqrt{2} e^{\left (-\frac{3}{2} \, a\right )} \log \left (-\sqrt{2} x e^{\left (-\frac{1}{2} \, a\right )} + x^{2} + e^{\left (-a\right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \tanh{\left (a + 2 \log{\left (x \right )} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2002, size = 166, normalized size = 1.1 \begin{align*} \frac{1}{3} \, x^{3} - \frac{1}{2} \, \sqrt{2} \arctan \left (\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} e^{\left (-\frac{1}{2} \, a\right )} + 2 \, x\right )} e^{\left (\frac{1}{2} \, a\right )}\right ) e^{\left (-\frac{3}{2} \, a\right )} - \frac{1}{2} \, \sqrt{2} \arctan \left (-\frac{1}{2} \, \sqrt{2}{\left (\sqrt{2} e^{\left (-\frac{1}{2} \, a\right )} - 2 \, x\right )} e^{\left (\frac{1}{2} \, a\right )}\right ) e^{\left (-\frac{3}{2} \, a\right )} + \frac{1}{4} \, \sqrt{2} e^{\left (-\frac{3}{2} \, a\right )} \log \left (\sqrt{2} x e^{\left (-\frac{1}{2} \, a\right )} + x^{2} + e^{\left (-a\right )}\right ) - \frac{1}{4} \, \sqrt{2} e^{\left (-\frac{3}{2} \, a\right )} \log \left (-\sqrt{2} x e^{\left (-\frac{1}{2} \, a\right )} + x^{2} + e^{\left (-a\right )}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]