Optimal. Leaf size=36 \[ \frac{2 x^2 \sinh (x)}{\sqrt{\cosh (x)}}-8 x \sqrt{\cosh (x)}-16 i E\left (\left .\frac{i x}{2}\right |2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0941286, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {3316, 2639} \[ \frac{2 x^2 \sinh (x)}{\sqrt{\cosh (x)}}-8 x \sqrt{\cosh (x)}-16 i E\left (\left .\frac{i x}{2}\right |2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3316
Rule 2639
Rubi steps
\begin{align*} \int \left (\frac{x^2}{\cosh ^{\frac{3}{2}}(x)}+x^2 \sqrt{\cosh (x)}\right ) \, dx &=\int \frac{x^2}{\cosh ^{\frac{3}{2}}(x)} \, dx+\int x^2 \sqrt{\cosh (x)} \, dx\\ &=-8 x \sqrt{\cosh (x)}+\frac{2 x^2 \sinh (x)}{\sqrt{\cosh (x)}}+8 \int \sqrt{\cosh (x)} \, dx\\ &=-8 x \sqrt{\cosh (x)}-16 i E\left (\left .\frac{i x}{2}\right |2\right )+\frac{2 x^2 \sinh (x)}{\sqrt{\cosh (x)}}\\ \end{align*}
Mathematica [C] time = 0.179557, size = 76, normalized size = 2.11 \[ \frac{4 \sqrt{\cosh (x)} (\sinh (x)+\cosh (x)) \left (8 \, _2F_1\left (-\frac{1}{4},\frac{1}{2};\frac{3}{4};-e^{2 x}\right ) (\sinh (x)-\cosh (x)) \sqrt{\sinh (2 x)+\cosh (2 x)+1}+x^2 \sinh (x)-4 (x-2) \cosh (x)\right )}{e^{2 x}+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.063, size = 0, normalized size = 0. \begin{align*} \int{{x}^{2} \left ( \cosh \left ( x \right ) \right ) ^{-{\frac{3}{2}}}}+{x}^{2}\sqrt{\cosh \left ( x \right ) }\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \sqrt{\cosh \left (x\right )} + \frac{x^{2}}{\cosh \left (x\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \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^{2} \sqrt{\cosh \left (x\right )} + \frac{x^{2}}{\cosh \left (x\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]