Optimal. Leaf size=33 \[ -2 x+2 \sqrt {\frac {2}{3}} \tan ^{-1}\left (\sqrt {\frac {3}{2}} x\right )+x \log \left (2+3 x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {2498, 327, 209}
\begin {gather*} 2 \sqrt {\frac {2}{3}} \text {ArcTan}\left (\sqrt {\frac {3}{2}} x\right )+x \log \left (3 x^2+2\right )-2 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 327
Rule 2498
Rubi steps
\begin {align*} \int \log \left (2+3 x^2\right ) \, dx &=x \log \left (2+3 x^2\right )-6 \int \frac {x^2}{2+3 x^2} \, dx\\ &=-2 x+x \log \left (2+3 x^2\right )+4 \int \frac {1}{2+3 x^2} \, dx\\ &=-2 x+2 \sqrt {\frac {2}{3}} \tan ^{-1}\left (\sqrt {\frac {3}{2}} x\right )+x \log \left (2+3 x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 33, normalized size = 1.00 \begin {gather*} -2 x+2 \sqrt {\frac {2}{3}} \tan ^{-1}\left (\sqrt {\frac {3}{2}} x\right )+x \log \left (2+3 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 27, normalized size = 0.82
method | result | size |
default | \(-2 x +x \ln \left (3 x^{2}+2\right )+\frac {2 \arctan \left (\frac {x \sqrt {6}}{2}\right ) \sqrt {6}}{3}\) | \(27\) |
risch | \(-2 x +x \ln \left (3 x^{2}+2\right )+\frac {2 \arctan \left (\frac {x \sqrt {6}}{2}\right ) \sqrt {6}}{3}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.17, size = 26, normalized size = 0.79 \begin {gather*} x \log \left (3 \, x^{2} + 2\right ) + \frac {2}{3} \, \sqrt {6} \arctan \left (\frac {1}{2} \, \sqrt {6} x\right ) - 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.66, size = 32, normalized size = 0.97 \begin {gather*} \frac {2}{3} \, \sqrt {3} \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {3} \sqrt {2} x\right ) + x \log \left (3 \, x^{2} + 2\right ) - 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 31, normalized size = 0.94 \begin {gather*} x \log {\left (3 x^{2} + 2 \right )} - 2 x + \frac {2 \sqrt {6} \operatorname {atan}{\left (\frac {\sqrt {6} x}{2} \right )}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 26, normalized size = 0.79 \begin {gather*} x \log \left (3 \, x^{2} + 2\right ) + \frac {2}{3} \, \sqrt {6} \arctan \left (\frac {1}{2} \, \sqrt {6} x\right ) - 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 26, normalized size = 0.79 \begin {gather*} \frac {2\,\sqrt {6}\,\mathrm {atan}\left (\frac {\sqrt {6}\,x}{2}\right )}{3}-2\,x+x\,\ln \left (3\,x^2+2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________