Optimal. Leaf size=31 \[ -\frac {3 x^2}{4}+\frac {1}{2} \log \left (1+x^2\right )+\frac {1}{2} x^2 \log \left (x+x^3\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {2605, 455, 45}
\begin {gather*} -\frac {3 x^2}{4}+\frac {1}{2} \log \left (x^2+1\right )+\frac {1}{2} x^2 \log \left (x^3+x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 455
Rule 2605
Rubi steps
\begin {align*} \int x \log \left (x+x^3\right ) \, dx &=\frac {1}{2} x^2 \log \left (x+x^3\right )-\frac {1}{2} \int \frac {x \left (1+3 x^2\right )}{1+x^2} \, dx\\ &=\frac {1}{2} x^2 \log \left (x+x^3\right )-\frac {1}{4} \text {Subst}\left (\int \frac {1+3 x}{1+x} \, dx,x,x^2\right )\\ &=\frac {1}{2} x^2 \log \left (x+x^3\right )-\frac {1}{4} \text {Subst}\left (\int \left (3-\frac {2}{1+x}\right ) \, dx,x,x^2\right )\\ &=-\frac {3 x^2}{4}+\frac {1}{2} \log \left (1+x^2\right )+\frac {1}{2} x^2 \log \left (x+x^3\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 31, normalized size = 1.00 \begin {gather*} -\frac {3 x^2}{4}+\frac {1}{2} \log \left (1+x^2\right )+\frac {1}{2} x^2 \log \left (x+x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 26, normalized size = 0.84
method | result | size |
default | \(-\frac {3 x^{2}}{4}+\frac {\ln \left (x^{2}+1\right )}{2}+\frac {x^{2} \ln \left (x^{3}+x \right )}{2}\) | \(26\) |
risch | \(-\frac {3 x^{2}}{4}+\frac {\ln \left (x^{2}+1\right )}{2}+\frac {x^{2} \ln \left (x^{3}+x \right )}{2}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 25, normalized size = 0.81 \begin {gather*} \frac {1}{2} \, x^{2} \log \left (x^{3} + x\right ) - \frac {3}{4} \, x^{2} + \frac {1}{2} \, \log \left (x^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 25, normalized size = 0.81 \begin {gather*} \frac {1}{2} \, x^{2} \log \left (x^{3} + x\right ) - \frac {3}{4} \, x^{2} + \frac {1}{2} \, \log \left (x^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.11, size = 26, normalized size = 0.84 \begin {gather*} \frac {x^{2} \log {\left (x^{3} + x \right )}}{2} - \frac {3 x^{2}}{4} + \frac {\log {\left (x^{2} + 1 \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 6.01, size = 25, normalized size = 0.81 \begin {gather*} \frac {1}{2} \, x^{2} \log \left (x^{3} + x\right ) - \frac {3}{4} \, x^{2} + \frac {1}{2} \, \log \left (x^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.41, size = 25, normalized size = 0.81 \begin {gather*} \frac {\ln \left (x^2+1\right )}{2}+\frac {x^2\,\ln \left (x^3+x\right )}{2}-\frac {3\,x^2}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________