Optimal. Leaf size=49 \[ \frac{1003 \log \left (x^2-10 x+26\right )}{1025}+\frac{22 \log \left (x^2-2 x+17\right )}{1025}-\frac{15033 \tan ^{-1}(5-x)}{1025}-\frac{4607 \tan ^{-1}\left (\frac{x-1}{4}\right )}{4100} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.290272, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 5, integrand size = 36, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.139 \[ \frac{1003 \log \left (x^2-10 x+26\right )}{1025}+\frac{22 \log \left (x^2-2 x+17\right )}{1025}-\frac{15033 \tan ^{-1}(5-x)}{1025}-\frac{4607 \tan ^{-1}\left (\frac{x-1}{4}\right )}{4100} \]
Antiderivative was successfully verified.
[In] Int[(-35 + 70*x - 4*x^2 + 2*x^3)/((26 - 10*x + x^2)*(17 - 2*x + x^2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 82.3177, size = 46, normalized size = 0.94 \[ \frac{1003 \log{\left (x^{2} - 10 x + 26 \right )}}{1025} + \frac{22 \log{\left (x^{2} - 2 x + 17 \right )}}{1025} - \frac{4607 \operatorname{atan}{\left (\frac{x}{4} - \frac{1}{4} \right )}}{4100} + \frac{15033 \operatorname{atan}{\left (x - 5 \right )}}{1025} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((2*x**3-4*x**2+70*x-35)/(x**2-10*x+26)/(x**2-2*x+17),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0229319, size = 49, normalized size = 1. \[ \frac{1003 \log \left (x^2-10 x+26\right )}{1025}+\frac{22 \log \left (x^2-2 x+17\right )}{1025}-\frac{15033 \tan ^{-1}(5-x)}{1025}-\frac{4607 \tan ^{-1}\left (\frac{x-1}{4}\right )}{4100} \]
Antiderivative was successfully verified.
[In] Integrate[(-35 + 70*x - 4*x^2 + 2*x^3)/((26 - 10*x + x^2)*(17 - 2*x + x^2)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 38, normalized size = 0.8 \[{\frac{15033\,\arctan \left ( -5+x \right ) }{1025}}-{\frac{4607}{4100}\arctan \left ( -{\frac{1}{4}}+{\frac{x}{4}} \right ) }+{\frac{1003\,\ln \left ({x}^{2}-10\,x+26 \right ) }{1025}}+{\frac{22\,\ln \left ({x}^{2}-2\,x+17 \right ) }{1025}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((2*x^3-4*x^2+70*x-35)/(x^2-10*x+26)/(x^2-2*x+17),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.887453, size = 50, normalized size = 1.02 \[ \frac{15033}{1025} \, \arctan \left (x - 5\right ) - \frac{4607}{4100} \, \arctan \left (\frac{1}{4} \, x - \frac{1}{4}\right ) + \frac{22}{1025} \, \log \left (x^{2} - 2 \, x + 17\right ) + \frac{1003}{1025} \, \log \left (x^{2} - 10 \, x + 26\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*x^3 - 4*x^2 + 70*x - 35)/((x^2 - 2*x + 17)*(x^2 - 10*x + 26)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.255186, size = 50, normalized size = 1.02 \[ \frac{15033}{1025} \, \arctan \left (x - 5\right ) - \frac{4607}{4100} \, \arctan \left (\frac{1}{4} \, x - \frac{1}{4}\right ) + \frac{22}{1025} \, \log \left (x^{2} - 2 \, x + 17\right ) + \frac{1003}{1025} \, \log \left (x^{2} - 10 \, x + 26\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*x^3 - 4*x^2 + 70*x - 35)/((x^2 - 2*x + 17)*(x^2 - 10*x + 26)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.627449, size = 46, normalized size = 0.94 \[ \frac{1003 \log{\left (x^{2} - 10 x + 26 \right )}}{1025} + \frac{22 \log{\left (x^{2} - 2 x + 17 \right )}}{1025} - \frac{4607 \operatorname{atan}{\left (\frac{x}{4} - \frac{1}{4} \right )}}{4100} + \frac{15033 \operatorname{atan}{\left (x - 5 \right )}}{1025} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*x**3-4*x**2+70*x-35)/(x**2-10*x+26)/(x**2-2*x+17),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.261597, size = 50, normalized size = 1.02 \[ \frac{15033}{1025} \, \arctan \left (x - 5\right ) - \frac{4607}{4100} \, \arctan \left (\frac{1}{4} \, x - \frac{1}{4}\right ) + \frac{22}{1025} \,{\rm ln}\left (x^{2} - 2 \, x + 17\right ) + \frac{1003}{1025} \,{\rm ln}\left (x^{2} - 10 \, x + 26\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*x^3 - 4*x^2 + 70*x - 35)/((x^2 - 2*x + 17)*(x^2 - 10*x + 26)),x, algorithm="giac")
[Out]