Optimal. Leaf size=72 \[ -\frac {2 \sqrt {1+\frac {1}{c^2 x^2}} x}{3 c^4}+\frac {x^2}{2 c^3}+\frac {\sqrt {1+\frac {1}{c^2 x^2}} x^3}{3 c^2}-\frac {\log \left (1+c^2 x^2\right )}{2 c^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.238, Rules used = {6477, 277, 197,
272, 45} \begin {gather*} \frac {x^2}{2 c^3}+\frac {x^3 \sqrt {\frac {1}{c^2 x^2}+1}}{3 c^2}-\frac {\log \left (c^2 x^2+1\right )}{2 c^5}-\frac {2 x \sqrt {\frac {1}{c^2 x^2}+1}}{3 c^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 197
Rule 272
Rule 277
Rule 6477
Rubi steps
\begin {align*} \int \frac {e^{\text {csch}^{-1}(c x)} x^4}{1+c^2 x^2} \, dx &=\frac {\int \frac {x^2}{\sqrt {1+\frac {1}{c^2 x^2}}} \, dx}{c^2}+\frac {\int \frac {x^3}{1+c^2 x^2} \, dx}{c}\\ &=\frac {\sqrt {1+\frac {1}{c^2 x^2}} x^3}{3 c^2}-\frac {2 \int \frac {1}{\sqrt {1+\frac {1}{c^2 x^2}}} \, dx}{3 c^4}+\frac {\text {Subst}\left (\int \frac {x}{1+c^2 x} \, dx,x,x^2\right )}{2 c}\\ &=-\frac {2 \sqrt {1+\frac {1}{c^2 x^2}} x}{3 c^4}+\frac {\sqrt {1+\frac {1}{c^2 x^2}} x^3}{3 c^2}+\frac {\text {Subst}\left (\int \left (\frac {1}{c^2}-\frac {1}{c^2 \left (1+c^2 x\right )}\right ) \, dx,x,x^2\right )}{2 c}\\ &=-\frac {2 \sqrt {1+\frac {1}{c^2 x^2}} x}{3 c^4}+\frac {x^2}{2 c^3}+\frac {\sqrt {1+\frac {1}{c^2 x^2}} x^3}{3 c^2}-\frac {\log \left (1+c^2 x^2\right )}{2 c^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 64, normalized size = 0.89 \begin {gather*} \frac {c x \left (-4 \sqrt {1+\frac {1}{c^2 x^2}}+3 c x+2 c^2 \sqrt {1+\frac {1}{c^2 x^2}} x^2\right )-3 \log \left (1+c^2 x^2\right )}{6 c^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(124\) vs.
\(2(60)=120\).
time = 0.83, size = 125, normalized size = 1.74
method | result | size |
default | \(\frac {\sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, x \left (\left (\frac {c^{2} x^{2}+1}{c^{2}}\right )^{\frac {3}{2}} c^{2}-3 \sqrt {-\frac {\left (-c^{2} x +\sqrt {-c^{2}}\right ) \left (c^{2} x +\sqrt {-c^{2}}\right )}{c^{4}}}\right )}{3 c^{4} \sqrt {\frac {c^{2} x^{2}+1}{c^{2}}}}+\frac {\frac {x^{2}}{2 c^{2}}-\frac {\ln \left (c^{2} x^{2}+1\right )}{2 c^{4}}}{c}\) | \(125\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 49, normalized size = 0.68 \begin {gather*} \frac {x^{2}}{2 \, c^{3}} + \frac {\sqrt {c^{2} x^{2} + 1} {\left (c^{2} x^{2} - 2\right )}}{3 \, c^{5}} - \frac {\log \left (c^{2} x^{2} + 1\right )}{2 \, c^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 58, normalized size = 0.81 \begin {gather*} \frac {3 \, c^{2} x^{2} + 2 \, {\left (c^{3} x^{3} - 2 \, c x\right )} \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - 3 \, \log \left (c^{2} x^{2} + 1\right )}{6 \, c^{5}} \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*} \frac {\int \frac {x^{3}}{c^{2} x^{2} + 1}\, dx + \int \frac {c x^{4} \sqrt {1 + \frac {1}{c^{2} x^{2}}}}{c^{2} x^{2} + 1}\, dx}{c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 85, normalized size = 1.18 \begin {gather*} -\frac {\log \left (c^{2} x^{2} + 1\right )}{2 \, c^{5}} + \frac {2 \, {\left | c \right |} \mathrm {sgn}\left (x\right )}{3 \, c^{6}} + \frac {2 \, {\left (c^{2} x^{2} + 1\right )}^{\frac {3}{2}} c^{12} {\left | c \right |} \mathrm {sgn}\left (x\right ) - 6 \, \sqrt {c^{2} x^{2} + 1} c^{12} {\left | c \right |} \mathrm {sgn}\left (x\right ) + 3 \, {\left (c^{2} x^{2} + 1\right )} c^{13}}{6 \, c^{18}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.35, size = 61, normalized size = 0.85 \begin {gather*} \frac {x^3\,\sqrt {\frac {1}{c^2\,x^2}+1}}{3\,c^2}-\frac {2\,x\,\sqrt {\frac {1}{c^2\,x^2}+1}}{3\,c^4}-\frac {\ln \left (c^2\,x^2+1\right )-c^2\,x^2}{2\,c^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________