Optimal. Leaf size=142 \[ -\frac {4 \sqrt {x} \sqrt {d+e x^2}}{9 \sqrt {e}}+\frac {2}{3} x^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )+\frac {2 d^{3/4} \left (\sqrt {d}+\sqrt {e} x\right ) \sqrt {\frac {d+e x^2}{\left (\sqrt {d}+\sqrt {e} x\right )^2}} F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{e} \sqrt {x}}{\sqrt [4]{d}}\right )|\frac {1}{2}\right )}{9 e^{3/4} \sqrt {d+e x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 142, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {6356, 327, 335,
226} \begin {gather*} \frac {2 d^{3/4} \left (\sqrt {d}+\sqrt {e} x\right ) \sqrt {\frac {d+e x^2}{\left (\sqrt {d}+\sqrt {e} x\right )^2}} F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{e} \sqrt {x}}{\sqrt [4]{d}}\right )|\frac {1}{2}\right )}{9 e^{3/4} \sqrt {d+e x^2}}-\frac {4 \sqrt {x} \sqrt {d+e x^2}}{9 \sqrt {e}}+\frac {2}{3} x^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 226
Rule 327
Rule 335
Rule 6356
Rubi steps
\begin {align*} \int \sqrt {x} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right ) \, dx &=\frac {2}{3} x^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )-\frac {1}{3} \left (2 \sqrt {e}\right ) \int \frac {x^{3/2}}{\sqrt {d+e x^2}} \, dx\\ &=-\frac {4 \sqrt {x} \sqrt {d+e x^2}}{9 \sqrt {e}}+\frac {2}{3} x^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )+\frac {(2 d) \int \frac {1}{\sqrt {x} \sqrt {d+e x^2}} \, dx}{9 \sqrt {e}}\\ &=-\frac {4 \sqrt {x} \sqrt {d+e x^2}}{9 \sqrt {e}}+\frac {2}{3} x^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )+\frac {(4 d) \text {Subst}\left (\int \frac {1}{\sqrt {d+e x^4}} \, dx,x,\sqrt {x}\right )}{9 \sqrt {e}}\\ &=-\frac {4 \sqrt {x} \sqrt {d+e x^2}}{9 \sqrt {e}}+\frac {2}{3} x^{3/2} \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )+\frac {2 d^{3/4} \left (\sqrt {d}+\sqrt {e} x\right ) \sqrt {\frac {d+e x^2}{\left (\sqrt {d}+\sqrt {e} x\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{e} \sqrt {x}}{\sqrt [4]{d}}\right )|\frac {1}{2}\right )}{9 e^{3/4} \sqrt {d+e x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.20, size = 135, normalized size = 0.95 \begin {gather*} \frac {2}{9} \sqrt {x} \left (-\frac {2 \sqrt {d+e x^2}}{\sqrt {e}}+3 x \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )\right )+\frac {4 \sqrt {d} \sqrt {\frac {i \sqrt {d}}{\sqrt {e}}} \sqrt {1+\frac {d}{e x^2}} x F\left (\left .i \sinh ^{-1}\left (\frac {\sqrt {\frac {i \sqrt {d}}{\sqrt {e}}}}{\sqrt {x}}\right )\right |-1\right )}{9 \sqrt {d+e x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.24, size = 0, normalized size = 0.00 \[\int \sqrt {x}\, \arctanh \left (\frac {x \sqrt {e}}{\sqrt {e \,x^{2}+d}}\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.10, size = 188, normalized size = 1.32 \begin {gather*} \frac {3 \, {\left (x \cosh \left (\frac {1}{2}\right )^{2} + 2 \, x \cosh \left (\frac {1}{2}\right ) \sinh \left (\frac {1}{2}\right ) + x \sinh \left (\frac {1}{2}\right )^{2}\right )} \sqrt {x} \log \left (\frac {2 \, x^{2} \cosh \left (\frac {1}{2}\right )^{2} + 4 \, x^{2} \cosh \left (\frac {1}{2}\right ) \sinh \left (\frac {1}{2}\right ) + 2 \, x^{2} \sinh \left (\frac {1}{2}\right )^{2} + 2 \, {\left (x \cosh \left (\frac {1}{2}\right ) + x \sinh \left (\frac {1}{2}\right )\right )} \sqrt {\frac {{\left (x^{2} + d\right )} \cosh \left (\frac {1}{2}\right ) + {\left (x^{2} - d\right )} \sinh \left (\frac {1}{2}\right )}{\cosh \left (\frac {1}{2}\right ) - \sinh \left (\frac {1}{2}\right )}} + d}{d}\right ) - 4 \, \sqrt {x} \sqrt {\frac {{\left (x^{2} + d\right )} \cosh \left (\frac {1}{2}\right ) + {\left (x^{2} - d\right )} \sinh \left (\frac {1}{2}\right )}{\cosh \left (\frac {1}{2}\right ) - \sinh \left (\frac {1}{2}\right )}} {\left (\cosh \left (\frac {1}{2}\right ) + \sinh \left (\frac {1}{2}\right )\right )} + 4 \, d {\rm weierstrassPInverse}\left (-\frac {4 \, d}{\cosh \left (\frac {1}{2}\right )^{2} + 2 \, \cosh \left (\frac {1}{2}\right ) \sinh \left (\frac {1}{2}\right ) + \sinh \left (\frac {1}{2}\right )^{2}}, 0, x\right )}{9 \, {\left (\cosh \left (\frac {1}{2}\right )^{2} + 2 \, \cosh \left (\frac {1}{2}\right ) \sinh \left (\frac {1}{2}\right ) + \sinh \left (\frac {1}{2}\right )^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {x} \operatorname {atanh}{\left (\frac {\sqrt {e} x}{\sqrt {d + e x^{2}}} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \sqrt {x}\,\mathrm {atanh}\left (\frac {\sqrt {e}\,x}{\sqrt {e\,x^2+d}}\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________