Optimal. Leaf size=263 \[ \frac{1}{4} \sqrt{\frac{3}{13}} \tan ^{-1}\left (\frac{-5 x^2+12 x+8}{\sqrt{39} x^2}\right )-\frac{1}{8} \sqrt{\frac{235 \sqrt{517}-5167}{40326}} \log \left (\left (\frac{4}{x}+3\right )^2-\sqrt{2 \left (19+\sqrt{517}\right )} \left (\frac{4}{x}+3\right )+\sqrt{517}\right )+\frac{1}{8} \sqrt{\frac{235 \sqrt{517}-5167}{40326}} \log \left (\left (\frac{4}{x}+3\right )^2+\sqrt{2 \left (19+\sqrt{517}\right )} \left (\frac{4}{x}+3\right )+\sqrt{517}\right )-\frac{1}{4} \sqrt{\frac{5167+235 \sqrt{517}}{40326}} \tan ^{-1}\left (\frac{\frac{8}{x}-\sqrt{2 \left (19+\sqrt{517}\right )}+6}{\sqrt{2 \left (\sqrt{517}-19\right )}}\right )-\frac{1}{4} \sqrt{\frac{5167+235 \sqrt{517}}{40326}} \tan ^{-1}\left (\frac{\frac{8}{x}+\sqrt{2 \left (19+\sqrt{517}\right )}+6}{\sqrt{2 \left (\sqrt{517}-19\right )}}\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.1466, antiderivative size = 263, normalized size of antiderivative = 1., number of steps used = 16, number of rules used = 9, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.409 \[ \frac{1}{4} \sqrt{\frac{3}{13}} \tan ^{-1}\left (\frac{-5 x^2+12 x+8}{\sqrt{39} x^2}\right )-\frac{1}{8} \sqrt{\frac{235 \sqrt{517}-5167}{40326}} \log \left (\left (\frac{4}{x}+3\right )^2-\sqrt{2 \left (19+\sqrt{517}\right )} \left (\frac{4}{x}+3\right )+\sqrt{517}\right )+\frac{1}{8} \sqrt{\frac{235 \sqrt{517}-5167}{40326}} \log \left (\left (\frac{4}{x}+3\right )^2+\sqrt{2 \left (19+\sqrt{517}\right )} \left (\frac{4}{x}+3\right )+\sqrt{517}\right )-\frac{1}{4} \sqrt{\frac{5167+235 \sqrt{517}}{40326}} \tan ^{-1}\left (\frac{\frac{8}{x}-\sqrt{2 \left (19+\sqrt{517}\right )}+6}{\sqrt{2 \left (\sqrt{517}-19\right )}}\right )-\frac{1}{4} \sqrt{\frac{5167+235 \sqrt{517}}{40326}} \tan ^{-1}\left (\frac{\frac{8}{x}+\sqrt{2 \left (19+\sqrt{517}\right )}+6}{\sqrt{2 \left (\sqrt{517}-19\right )}}\right ) \]
Antiderivative was successfully verified.
[In] Int[(8 + 24*x + 8*x^2 - 15*x^3 + 8*x^4)^(-1),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 89.2643, size = 372, normalized size = 1.41 \[ \frac{\sqrt{1034} \left (- 32 \sqrt{517} + 288\right ) \log{\left (\sqrt{2} \left (- \frac{3}{16} - \frac{1}{4 x}\right ) \sqrt{19 + \sqrt{517}} + \left (\frac{3}{4} + \frac{1}{x}\right )^{2} + \frac{\sqrt{517}}{16} \right )}}{264704 \sqrt{19 + \sqrt{517}}} - \frac{\sqrt{1034} \left (- 32 \sqrt{517} + 288\right ) \log{\left (\sqrt{2} \left (\frac{3}{16} + \frac{1}{4 x}\right ) \sqrt{19 + \sqrt{517}} + \left (\frac{3}{4} + \frac{1}{x}\right )^{2} + \frac{\sqrt{517}}{16} \right )}}{264704 \sqrt{19 + \sqrt{517}}} + \frac{\sqrt{39} \operatorname{atan}{\left (\sqrt{39} \left (\frac{8 \left (\frac{3}{4} + \frac{1}{x}\right )^{2}}{39} - \frac{19}{78}\right ) \right )}}{52} - \frac{\sqrt{517} \left (- \frac{\sqrt{2} \sqrt{19 + \sqrt{517}} \left (- 64 \sqrt{517} + 576\right )}{8} + 144 \sqrt{2} \sqrt{19 + \sqrt{517}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \left (3 + \frac{\sqrt{38 + 2 \sqrt{517}}}{2} + \frac{4}{x}\right )}{\sqrt{-19 + \sqrt{517}}} \right )}}{33088 \sqrt{-19 + \sqrt{517}} \sqrt{19 + \sqrt{517}}} - \frac{\sqrt{517} \left (- \frac{\sqrt{2} \sqrt{19 + \sqrt{517}} \left (- 64 \sqrt{517} + 576\right )}{8} + 144 \sqrt{2} \sqrt{19 + \sqrt{517}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \left (- \frac{\sqrt{38 + 2 \sqrt{517}}}{2} + 3 + \frac{4}{x}\right )}{\sqrt{-19 + \sqrt{517}}} \right )}}{33088 \sqrt{-19 + \sqrt{517}} \sqrt{19 + \sqrt{517}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(8*x**4-15*x**3+8*x**2+24*x+8),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.0158968, size = 55, normalized size = 0.21 \[ \text{RootSum}\left [8 \text{$\#$1}^4-15 \text{$\#$1}^3+8 \text{$\#$1}^2+24 \text{$\#$1}+8\&,\frac{\log (x-\text{$\#$1})}{32 \text{$\#$1}^3-45 \text{$\#$1}^2+16 \text{$\#$1}+24}\&\right ] \]
Antiderivative was successfully verified.
[In] Integrate[(8 + 24*x + 8*x^2 - 15*x^3 + 8*x^4)^(-1),x]
[Out]
_______________________________________________________________________________________
Maple [C] time = 0.007, size = 49, normalized size = 0.2 \[ \sum _{{\it \_R}={\it RootOf} \left ( 8\,{{\it \_Z}}^{4}-15\,{{\it \_Z}}^{3}+8\,{{\it \_Z}}^{2}+24\,{\it \_Z}+8 \right ) }{\frac{\ln \left ( x-{\it \_R} \right ) }{32\,{{\it \_R}}^{3}-45\,{{\it \_R}}^{2}+16\,{\it \_R}+24}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(8*x^4-15*x^3+8*x^2+24*x+8),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{8 \, x^{4} - 15 \, x^{3} + 8 \, x^{2} + 24 \, x + 8}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(8*x^4 - 15*x^3 + 8*x^2 + 24*x + 8),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(8*x^4 - 15*x^3 + 8*x^2 + 24*x + 8),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 3.04575, size = 41, normalized size = 0.16 \[ \operatorname{RootSum}{\left (50326848 t^{4} + 765960 t^{2} + 12753 t + 64, \left ( t \mapsto t \log{\left (\frac{100785893208 t^{3}}{4758335} - \frac{1430512512 t^{2}}{4758335} + \frac{72982352521 t}{223641745} + x + \frac{2270349121}{1789133960} \right )} \right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(8*x**4-15*x**3+8*x**2+24*x+8),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{8 \, x^{4} - 15 \, x^{3} + 8 \, x^{2} + 24 \, x + 8}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(8*x^4 - 15*x^3 + 8*x^2 + 24*x + 8),x, algorithm="giac")
[Out]