Optimal. Leaf size=79 \[ -\frac {\sqrt {e} \sqrt {d+e x^2}}{12 d x^3}+\frac {e^{3/2} \sqrt {d+e x^2}}{6 d^2 x}-\frac {\tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{4 x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {6356, 277, 270}
\begin {gather*} \frac {e^{3/2} \sqrt {d+e x^2}}{6 d^2 x}-\frac {\tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{4 x^4}-\frac {\sqrt {e} \sqrt {d+e x^2}}{12 d x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 277
Rule 6356
Rubi steps
\begin {align*} \int \frac {\tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{x^5} \, dx &=-\frac {\tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{4 x^4}+\frac {1}{4} \sqrt {e} \int \frac {1}{x^4 \sqrt {d+e x^2}} \, dx\\ &=-\frac {\sqrt {e} \sqrt {d+e x^2}}{12 d x^3}-\frac {\tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{4 x^4}-\frac {e^{3/2} \int \frac {1}{x^2 \sqrt {d+e x^2}} \, dx}{6 d}\\ &=-\frac {\sqrt {e} \sqrt {d+e x^2}}{12 d x^3}+\frac {e^{3/2} \sqrt {d+e x^2}}{6 d^2 x}-\frac {\tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{4 x^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 63, normalized size = 0.80 \begin {gather*} \frac {\sqrt {e} x \sqrt {d+e x^2} \left (-d+2 e x^2\right )-3 d^2 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{12 d^2 x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 62, normalized size = 0.78
method | result | size |
default | \(-\frac {\arctanh \left (\frac {x \sqrt {e}}{\sqrt {e \,x^{2}+d}}\right )}{4 x^{4}}+\frac {e^{\frac {3}{2}} \sqrt {e \,x^{2}+d}}{4 d^{2} x}-\frac {\sqrt {e}\, \left (e \,x^{2}+d \right )^{\frac {3}{2}}}{12 d^{2} x^{3}}\) | \(62\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 61, normalized size = 0.77 \begin {gather*} \frac {\sqrt {x^{2} e + d} e^{\frac {3}{2}}}{4 \, d^{2} x} - \frac {{\left (x^{2} e + d\right )}^{\frac {3}{2}} e^{\frac {1}{2}}}{12 \, d^{2} x^{3}} - \frac {\operatorname {artanh}\left (\frac {x e^{\frac {1}{2}}}{\sqrt {x^{2} e + d}}\right )}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 176 vs.
\(2 (61) = 122\).
time = 0.35, size = 176, normalized size = 2.23 \begin {gather*} -\frac {3 \, d^{2} \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 ) - 2 \, {\left (2 \, x^{3} \cosh \left (\frac {1}{2}\right )^{3} + 6 \, x^{3} \cosh \left (\frac {1}{2}\right ) \sinh \left (\frac {1}{2}\right )^{2} + 2 \, x^{3} \sinh \left (\frac {1}{2}\right )^{3} - d x \cosh \left (\frac {1}{2}\right ) + {\left (6 \, x^{3} \cosh \left (\frac {1}{2}\right )^{2} - d x\right )} \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 )}}}{24 \, d^{2} x^{4}} \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 \frac {\operatorname {atanh}{\left (\frac {\sqrt {e} x}{\sqrt {d + e x^{2}}} \right )}}{x^{5}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \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 \frac {\mathrm {atanh}\left (\frac {\sqrt {e}\,x}{\sqrt {e\,x^2+d}}\right )}{x^5} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________