Optimal. Leaf size=31 \[ \frac {1}{3} \tanh ^{-1}(x)+\frac {1}{3} \tanh ^{-1}(2 x)-\frac {\tanh ^{-1}\left (\frac {2 x}{\sqrt {3}}\right )}{\sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2057, 207} \[ \frac {1}{3} \tanh ^{-1}(x)+\frac {1}{3} \tanh ^{-1}(2 x)-\frac {\tanh ^{-1}\left (\frac {2 x}{\sqrt {3}}\right )}{\sqrt {3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 207
Rule 2057
Rubi steps
\begin {align*} \int \frac {1}{3-19 x^2+32 x^4-16 x^6} \, dx &=\int \left (-\frac {1}{3 \left (-1+x^2\right )}+\frac {2}{-3+4 x^2}-\frac {2}{3 \left (-1+4 x^2\right )}\right ) \, dx\\ &=-\left (\frac {1}{3} \int \frac {1}{-1+x^2} \, dx\right )-\frac {2}{3} \int \frac {1}{-1+4 x^2} \, dx+2 \int \frac {1}{-3+4 x^2} \, dx\\ &=\frac {1}{3} \tanh ^{-1}(x)+\frac {1}{3} \tanh ^{-1}(2 x)-\frac {\tanh ^{-1}\left (\frac {2 x}{\sqrt {3}}\right )}{\sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 62, normalized size = 2.00 \[ \frac {1}{6} \left (-\log \left (2 x^2-3 x+1\right )+\log \left (2 x^2+3 x+1\right )+\sqrt {3} \log \left (\sqrt {3}-2 x\right )-\sqrt {3} \log \left (2 x+\sqrt {3}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.88, size = 56, normalized size = 1.81 \[ \frac {1}{6} \, \sqrt {3} \log \left (\frac {4 \, x^{2} - 4 \, \sqrt {3} x + 3}{4 \, x^{2} - 3}\right ) + \frac {1}{6} \, \log \left (2 \, x^{2} + 3 \, x + 1\right ) - \frac {1}{6} \, \log \left (2 \, x^{2} - 3 \, x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.28, size = 62, normalized size = 2.00 \[ \frac {1}{6} \, \sqrt {3} \log \left (\frac {{\left | 8 \, x - 4 \, \sqrt {3} \right |}}{{\left | 8 \, x + 4 \, \sqrt {3} \right |}}\right ) + \frac {1}{6} \, \log \left ({\left | 2 \, x + 1 \right |}\right ) - \frac {1}{6} \, \log \left ({\left | 2 \, x - 1 \right |}\right ) + \frac {1}{6} \, \log \left ({\left | x + 1 \right |}\right ) - \frac {1}{6} \, \log \left ({\left | x - 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 42, normalized size = 1.35 \[ -\frac {\sqrt {3}\, \arctanh \left (\frac {2 \sqrt {3}\, x}{3}\right )}{3}-\frac {\ln \left (x -1\right )}{6}-\frac {\ln \left (2 x -1\right )}{6}+\frac {\ln \left (x +1\right )}{6}+\frac {\ln \left (2 x +1\right )}{6} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.05, size = 54, normalized size = 1.74 \[ \frac {1}{6} \, \sqrt {3} \log \left (\frac {2 \, x - \sqrt {3}}{2 \, x + \sqrt {3}}\right ) + \frac {1}{6} \, \log \left (2 \, x + 1\right ) - \frac {1}{6} \, \log \left (2 \, x - 1\right ) + \frac {1}{6} \, \log \left (x + 1\right ) - \frac {1}{6} \, \log \left (x - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 27, normalized size = 0.87 \[ \frac {\mathrm {atanh}\left (\frac {x}{4608\,\left (\frac {x^2}{6912}+\frac {1}{13824}\right )}\right )}{3}-\frac {\sqrt {3}\,\mathrm {atanh}\left (\frac {2\,\sqrt {3}\,x}{3}\right )}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.15, size = 63, normalized size = 2.03 \[ \frac {\sqrt {3} \log {\left (x - \frac {\sqrt {3}}{2} \right )}}{6} - \frac {\sqrt {3} \log {\left (x + \frac {\sqrt {3}}{2} \right )}}{6} - \frac {\log {\left (x^{2} - \frac {3 x}{2} + \frac {1}{2} \right )}}{6} + \frac {\log {\left (x^{2} + \frac {3 x}{2} + \frac {1}{2} \right )}}{6} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________