Optimal. Leaf size=91 \[ -\frac {d^2 \sqrt {d+e x^2}}{5 e^{5/2}}-\frac {\left (d+e x^2\right )^{5/2}}{25 e^{5/2}}+\frac {2 d \left (d+e x^2\right )^{3/2}}{15 e^{5/2}}+\frac {1}{5} x^5 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {6221, 266, 43} \[ -\frac {d^2 \sqrt {d+e x^2}}{5 e^{5/2}}-\frac {\left (d+e x^2\right )^{5/2}}{25 e^{5/2}}+\frac {2 d \left (d+e x^2\right )^{3/2}}{15 e^{5/2}}+\frac {1}{5} x^5 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 266
Rule 6221
Rubi steps
\begin {align*} \int x^4 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right ) \, dx &=\frac {1}{5} x^5 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )-\frac {1}{5} \sqrt {e} \int \frac {x^5}{\sqrt {d+e x^2}} \, dx\\ &=\frac {1}{5} x^5 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )-\frac {1}{10} \sqrt {e} \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {d+e x}} \, dx,x,x^2\right )\\ &=\frac {1}{5} x^5 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )-\frac {1}{10} \sqrt {e} \operatorname {Subst}\left (\int \left (\frac {d^2}{e^2 \sqrt {d+e x}}-\frac {2 d \sqrt {d+e x}}{e^2}+\frac {(d+e x)^{3/2}}{e^2}\right ) \, dx,x,x^2\right )\\ &=-\frac {d^2 \sqrt {d+e x^2}}{5 e^{5/2}}+\frac {2 d \left (d+e x^2\right )^{3/2}}{15 e^{5/2}}-\frac {\left (d+e x^2\right )^{5/2}}{25 e^{5/2}}+\frac {1}{5} x^5 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 68, normalized size = 0.75 \[ \frac {1}{5} x^5 \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )-\frac {\sqrt {d+e x^2} \left (8 d^2-4 d e x^2+3 e^2 x^4\right )}{75 e^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 77, normalized size = 0.85 \[ \frac {15 \, e^{3} x^{5} \log \left (\frac {2 \, e x^{2} + 2 \, \sqrt {e x^{2} + d} \sqrt {e} x + d}{d}\right ) - 2 \, {\left (3 \, e^{2} x^{4} - 4 \, d e x^{2} + 8 \, d^{2}\right )} \sqrt {e x^{2} + d} \sqrt {e}}{150 \, e^{3}} \]
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: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.03, size = 176, normalized size = 1.93 \[ \frac {x^{5} \arctanh \left (\frac {x \sqrt {e}}{\sqrt {e \,x^{2}+d}}\right )}{5}+\frac {e^{\frac {3}{2}} \left (\frac {x^{6} \sqrt {e \,x^{2}+d}}{7 e}-\frac {6 d \left (\frac {x^{4} \sqrt {e \,x^{2}+d}}{5 e}-\frac {4 d \left (\frac {x^{2} \sqrt {e \,x^{2}+d}}{3 e}-\frac {2 d \sqrt {e \,x^{2}+d}}{3 e^{2}}\right )}{5 e}\right )}{7 e}\right )}{5 d}-\frac {\sqrt {e}\, \left (\frac {x^{4} \left (e \,x^{2}+d \right )^{\frac {3}{2}}}{7 e}-\frac {4 d \left (\frac {x^{2} \left (e \,x^{2}+d \right )^{\frac {3}{2}}}{5 e}-\frac {2 d \left (e \,x^{2}+d \right )^{\frac {3}{2}}}{15 e^{2}}\right )}{7 e}\right )}{5 d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.33, size = 127, normalized size = 1.40 \[ \frac {1}{5} \, x^{5} \operatorname {artanh}\left (\frac {\sqrt {e} x}{\sqrt {e x^{2} + d}}\right ) - \frac {15 \, {\left (e x^{2} + d\right )}^{\frac {7}{2}} - 42 \, {\left (e x^{2} + d\right )}^{\frac {5}{2}} d + 35 \, {\left (e x^{2} + d\right )}^{\frac {3}{2}} d^{2}}{525 \, d e^{\frac {5}{2}}} + \frac {5 \, {\left (e x^{2} + d\right )}^{\frac {7}{2}} - 21 \, {\left (e x^{2} + d\right )}^{\frac {5}{2}} d + 35 \, {\left (e x^{2} + d\right )}^{\frac {3}{2}} d^{2} - 35 \, \sqrt {e x^{2} + d} d^{3}}{175 \, d e^{\frac {5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^4\,\mathrm {atanh}\left (\frac {\sqrt {e}\,x}{\sqrt {e\,x^2+d}}\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.94, size = 90, normalized size = 0.99 \[ \begin {cases} - \frac {8 d^{2} \sqrt {d + e x^{2}}}{75 e^{\frac {5}{2}}} + \frac {4 d x^{2} \sqrt {d + e x^{2}}}{75 e^{\frac {3}{2}}} + \frac {x^{5} \operatorname {atanh}{\left (\frac {\sqrt {e} x}{\sqrt {d + e x^{2}}} \right )}}{5} - \frac {x^{4} \sqrt {d + e x^{2}}}{25 \sqrt {e}} & \text {for}\: e \neq 0 \\0 & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________