Optimal. Leaf size=27 \[ -\frac {1}{3} \left (1+x^2\right )^{3/2}+\frac {1}{5} \left (1+x^2\right )^{5/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {272, 45}
\begin {gather*} \frac {1}{5} \left (x^2+1\right )^{5/2}-\frac {1}{3} \left (x^2+1\right )^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 272
Rubi steps
\begin {align*} \int x^3 \sqrt {1+x^2} \, dx &=\frac {1}{2} \text {Subst}\left (\int x \sqrt {1+x} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (-\sqrt {1+x}+(1+x)^{3/2}\right ) \, dx,x,x^2\right )\\ &=-\frac {1}{3} \left (1+x^2\right )^{3/2}+\frac {1}{5} \left (1+x^2\right )^{5/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 20, normalized size = 0.74 \begin {gather*} \frac {1}{15} \left (1+x^2\right )^{3/2} \left (-2+3 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 23, normalized size = 0.85
method | result | size |
gosper | \(\frac {\left (x^{2}+1\right )^{\frac {3}{2}} \left (3 x^{2}-2\right )}{15}\) | \(17\) |
risch | \(\frac {\left (3 x^{4}+x^{2}-2\right ) \sqrt {x^{2}+1}}{15}\) | \(20\) |
trager | \(\left (\frac {1}{5} x^{4}+\frac {1}{15} x^{2}-\frac {2}{15}\right ) \sqrt {x^{2}+1}\) | \(21\) |
default | \(\frac {x^{2} \left (x^{2}+1\right )^{\frac {3}{2}}}{5}-\frac {2 \left (x^{2}+1\right )^{\frac {3}{2}}}{15}\) | \(23\) |
meijerg | \(-\frac {-\frac {8 \sqrt {\pi }}{15}+\frac {4 \sqrt {\pi }\, \left (x^{2}+1\right )^{\frac {3}{2}} \left (-3 x^{2}+2\right )}{15}}{4 \sqrt {\pi }}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.11, size = 22, normalized size = 0.81 \begin {gather*} \frac {1}{5} \, {\left (x^{2} + 1\right )}^{\frac {3}{2}} x^{2} - \frac {2}{15} \, {\left (x^{2} + 1\right )}^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.79, size = 19, normalized size = 0.70 \begin {gather*} \frac {1}{15} \, {\left (3 \, x^{4} + x^{2} - 2\right )} \sqrt {x^{2} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.14, size = 37, normalized size = 1.37 \begin {gather*} \frac {x^{4} \sqrt {x^{2} + 1}}{5} + \frac {x^{2} \sqrt {x^{2} + 1}}{15} - \frac {2 \sqrt {x^{2} + 1}}{15} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.13, size = 19, normalized size = 0.70 \begin {gather*} \frac {1}{5} \, {\left (x^{2} + 1\right )}^{\frac {5}{2}} - \frac {1}{3} \, {\left (x^{2} + 1\right )}^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 20, normalized size = 0.74 \begin {gather*} \sqrt {x^2+1}\,\left (\frac {x^4}{5}+\frac {x^2}{15}-\frac {2}{15}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________