Optimal. Leaf size=26 \[ \frac {1}{2} \left (5 x^3+(24-x) \left (1+4 \log \left (1+x^2\right )\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 30, normalized size of antiderivative = 1.15, number of steps used = 10, number of rules used = 7, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.180, Rules used = {6725, 1810, 635, 203, 260, 2448, 321} \begin {gather*} \frac {5 x^3}{2}-2 x \log \left (x^2+1\right )+48 \log \left (x^2+1\right )-\frac {x}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 260
Rule 321
Rule 635
Rule 1810
Rule 2448
Rule 6725
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-1+192 x+6 x^2+15 x^4}{2 \left (1+x^2\right )}-2 \log \left (1+x^2\right )\right ) \, dx\\ &=\frac {1}{2} \int \frac {-1+192 x+6 x^2+15 x^4}{1+x^2} \, dx-2 \int \log \left (1+x^2\right ) \, dx\\ &=-2 x \log \left (1+x^2\right )+\frac {1}{2} \int \left (-9+15 x^2+\frac {8 (1+24 x)}{1+x^2}\right ) \, dx+4 \int \frac {x^2}{1+x^2} \, dx\\ &=-\frac {x}{2}+\frac {5 x^3}{2}-2 x \log \left (1+x^2\right )-4 \int \frac {1}{1+x^2} \, dx+4 \int \frac {1+24 x}{1+x^2} \, dx\\ &=-\frac {x}{2}+\frac {5 x^3}{2}-4 \tan ^{-1}(x)-2 x \log \left (1+x^2\right )+4 \int \frac {1}{1+x^2} \, dx+96 \int \frac {x}{1+x^2} \, dx\\ &=-\frac {x}{2}+\frac {5 x^3}{2}+48 \log \left (1+x^2\right )-2 x \log \left (1+x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [C] time = 0.03, size = 48, normalized size = 1.85 \begin {gather*} \frac {1}{2} \left (-x+5 x^3-8 \tan ^{-1}(x)+(96-4 i) \log (i-x)+(96+4 i) \log (i+x)-4 x \log \left (1+x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 20, normalized size = 0.77 \begin {gather*} \frac {5}{2} \, x^{3} - 2 \, {\left (x - 24\right )} \log \left (x^{2} + 1\right ) - \frac {1}{2} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 26, normalized size = 1.00 \begin {gather*} \frac {5}{2} \, x^{3} - 2 \, x \log \left (x^{2} + 1\right ) - \frac {1}{2} \, x + 48 \, \log \left (x^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 27, normalized size = 1.04
method | result | size |
default | \(\frac {5 x^{3}}{2}-\frac {x}{2}+48 \ln \left (x^{2}+1\right )-2 x \ln \left (x^{2}+1\right )\) | \(27\) |
norman | \(\frac {5 x^{3}}{2}-\frac {x}{2}+48 \ln \left (x^{2}+1\right )-2 x \ln \left (x^{2}+1\right )\) | \(27\) |
risch | \(\frac {5 x^{3}}{2}-\frac {x}{2}+48 \ln \left (x^{2}+1\right )-2 x \ln \left (x^{2}+1\right )\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.54, size = 26, normalized size = 1.00 \begin {gather*} \frac {5}{2} \, x^{3} - 2 \, x \log \left (x^{2} + 1\right ) - \frac {1}{2} \, x + 48 \, \log \left (x^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.20, size = 27, normalized size = 1.04 \begin {gather*} 48\,\ln \left (x^2+1\right )-x\,\left (2\,\ln \left (x^2+1\right )+\frac {1}{2}\right )+\frac {5\,x^3}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 27, normalized size = 1.04 \begin {gather*} \frac {5 x^{3}}{2} - 2 x \log {\left (x^{2} + 1 \right )} - \frac {x}{2} + 48 \log {\left (x^{2} + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________