Optimal. Leaf size=13 \[ -z+\frac {z^3}{3}+\tan ^{-1}(z) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {308, 209}
\begin {gather*} \frac {z^3}{3}-z+\tan ^{-1}(z) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 308
Rubi steps
\begin {align*} \int \frac {z^4}{1+z^2} \, dz &=\int \left (-1+z^2+\frac {1}{1+z^2}\right ) \, dz\\ &=-z+\frac {z^3}{3}+\int \frac {1}{1+z^2} \, dz\\ &=-z+\frac {z^3}{3}+\tan ^{-1}(z)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 13, normalized size = 1.00 \begin {gather*} -z+\frac {z^3}{3}+\tan ^{-1}(z) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.75, size = 11, normalized size = 0.85 \begin {gather*} -z+\frac {z^3}{3}+\text {ArcTan}\left [z\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 12, normalized size = 0.92
method | result | size |
default | \(-z +\frac {z^{3}}{3}+\arctan \left (z \right )\) | \(12\) |
risch | \(-z +\frac {z^{3}}{3}+\arctan \left (z \right )\) | \(12\) |
meijerg | \(-\frac {z \left (-5 z^{2}+15\right )}{15}+\arctan \left (z \right )\) | \(14\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.36, size = 11, normalized size = 0.85 \begin {gather*} \frac {1}{3} \, z^{3} - z + \arctan \left (z\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.31, size = 11, normalized size = 0.85 \begin {gather*} \frac {1}{3} \, z^{3} - z + \arctan \left (z\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 8, normalized size = 0.62 \begin {gather*} \frac {z^{3}}{3} - z + \operatorname {atan}{\left (z \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 12, normalized size = 0.92 \begin {gather*} \frac {1}{3} z^{3}-z+\arctan z \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 11, normalized size = 0.85 \begin {gather*} \mathrm {atan}\left (z\right )-z+\frac {z^3}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________