Optimal. Leaf size=80 \[ -\frac{(2 A+B) \tan ^{-1}\left (\frac{\sqrt{35} (2-x)}{\sqrt{10 x^2-22 x+13}}\right )}{\sqrt{35}}-\frac{(A+B) \tanh ^{-1}\left (\frac{\sqrt{35} (1-x)}{2 \sqrt{10 x^2-22 x+13}}\right )}{2 \sqrt{35}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.288736, antiderivative size = 89, normalized size of antiderivative = 1.11, number of steps used = 5, number of rules used = 4, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125 \[ -\frac{(2 A+B) \tan ^{-1}\left (\frac{\sqrt{35} (2-x)}{\sqrt{10 x^2-22 x+13}}\right )}{\sqrt{35}}-\frac{(A+B) \tanh ^{-1}\left (\frac{\sqrt{35} (-x (A+B)+A+B)}{2 \sqrt{10 x^2-22 x+13} (A+B)}\right )}{2 \sqrt{35}} \]
Antiderivative was successfully verified.
[In] Int[(B + A*x)/((17 - 18*x + 5*x^2)*Sqrt[13 - 22*x + 10*x^2]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 22.7356, size = 105, normalized size = 1.31 \[ \frac{\sqrt{35} \left (A + B\right ) \operatorname{atanh}{\left (\frac{\sqrt{35} \left (- 140 A - 140 B + x \left (140 A + 140 B\right )\right )}{280 \left (A + B\right ) \sqrt{10 x^{2} - 22 x + 13}} \right )}}{70} - \frac{\sqrt{35} \left (2 A + B\right ) \operatorname{atan}{\left (\frac{\sqrt{35} \left (2240 A + 1120 B + x \left (- 1120 A - 560 B\right )\right )}{560 \left (2 A + B\right ) \sqrt{10 x^{2} - 22 x + 13}} \right )}}{35} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((A*x+B)/(5*x**2-18*x+17)/(10*x**2-22*x+13)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 4.38478, size = 1149, normalized size = 14.36 \[ \frac{((8-2 i) A+(4-2 i) B) \tan ^{-1}\left (\frac{4 \left ((300+2800 i) x^3-(1900+11640 i) x^2+(3811+15444 i) x-(2494+6746 i)\right ) A^2+(4+8 i) B \left ((1240+320 i) x^3-(5354+1092 i) x^2+(7427+942 i) x-(3439+76 i)\right ) A+(2+4 i) B^2 \left ((645+110 i) x^3-(2827+336 i) x^2+(3955+186 i) x-(1843-92 i)\right )}{\left ((-4800+2800 i) x^3+10 \left ((34+17 i) \sqrt{35} \sqrt{10 x^2-22 x+13}+(1969-892 i)\right ) x^2-\left ((1054+357 i) \sqrt{35} \sqrt{10 x^2-22 x+13}+(25633-9460 i)\right ) x+(748+187 i) \sqrt{35} \sqrt{10 x^2-22 x+13}+(10987-3210 i)\right ) A^2+B \left ((-4225+4200 i) x^3+(10+5 i) \left (36 \sqrt{35} \sqrt{10 x^2-22 x+13}+(828-1871 i)\right ) x^2-\left ((1116+378 i) \sqrt{35} \sqrt{10 x^2-22 x+13}+(22801-16808 i)\right ) x+(792+198 i) \sqrt{35} \sqrt{10 x^2-22 x+13}+(9519-6362 i)\right ) A+(1+2 i) B^2 \left ((395+610 i) x^3+(4-3 i) \left (10 \sqrt{35} \sqrt{10 x^2-22 x+13}+(80-549 i)\right ) x^2+\left ((1540+3036 i)-(104-103 i) \sqrt{35} \sqrt{10 x^2-22 x+13}\right ) x+(66-77 i) \sqrt{35} \sqrt{10 x^2-22 x+13}-(608+1208 i)\right )}\right )+((-2+8 i) A-(2-4 i) B) \tanh ^{-1}\left (\frac{\left ((-1400+12175 i) x^3+(5990-39425 i) x^2-(8096-43289 i) x+(3594-15991 i)\right ) A^2+(4+2 i) B \left ((955+3310 i) x^3-(2993+11256 i) x^2+(3185+12882 i) x-(1147+4952 i)\right ) A+(2+i) B^2 \left ((355+2110 i) x^3-(1073+7336 i) x^2+(1085+8506 i) x-(367+3288 i)\right )}{2 \left (\left ((4800+2800 i) x^3-10 i \left ((17+34 i) \sqrt{35} \sqrt{10 x^2-22 x+13}+(892-1969 i)\right ) x^2+\left ((25633+9460 i)-(1054-357 i) \sqrt{35} \sqrt{10 x^2-22 x+13}\right ) x+(1-4 i) \left ((88+165 i) \sqrt{35} \sqrt{10 x^2-22 x+13}+(109-2774 i)\right )\right ) A^2+B \left ((4225+4200 i) x^3+(10-5 i) \left (36 \sqrt{35} \sqrt{10 x^2-22 x+13}-(828+1871 i)\right ) x^2+\left ((22801+16808 i)-(1116-378 i) \sqrt{35} \sqrt{10 x^2-22 x+13}\right ) x+(792-198 i) \sqrt{35} \sqrt{10 x^2-22 x+13}-(9519+6362 i)\right ) A+(2+i) B^2 \left ((610+395 i) x^3+(3-4 i) \left (10 \sqrt{35} \sqrt{10 x^2-22 x+13}-(80+549 i)\right ) x^2+\left ((3036+1540 i)-(103-104 i) \sqrt{35} \sqrt{10 x^2-22 x+13}\right ) x+(77-66 i) \sqrt{35} \sqrt{10 x^2-22 x+13}-(1208+608 i)\right )\right )}\right )-2 A \log \left (i \left (5 x^2-18 x+17\right )\right )-2 B \log \left (i \left (5 x^2-18 x+17\right )\right )+(1-4 i) A \log \left ((1+2 i) \left ((-25-1350 i) x^2-70 i \sqrt{35} \sqrt{10 x^2-22 x+13} x+(118+2844 i) x+68 i \sqrt{35} \sqrt{10 x^2-22 x+13}-(127+1566 i)\right )\right )+(1-2 i) B \log \left ((1+2 i) \left ((-25-1350 i) x^2-70 i \sqrt{35} \sqrt{10 x^2-22 x+13} x+(118+2844 i) x+68 i \sqrt{35} \sqrt{10 x^2-22 x+13}-(127+1566 i)\right )\right )+(1+4 i) A \log \left ((2+i) \left ((1350+25 i) x^2+70 \sqrt{35} \sqrt{10 x^2-22 x+13} x-(2844+118 i) x-68 \sqrt{35} \sqrt{10 x^2-22 x+13}+(1566+127 i)\right )\right )+(1+2 i) B \log \left ((2+i) \left ((1350+25 i) x^2+70 \sqrt{35} \sqrt{10 x^2-22 x+13} x-(2844+118 i) x-68 \sqrt{35} \sqrt{10 x^2-22 x+13}+(1566+127 i)\right )\right )}{8 \sqrt{35}} \]
Antiderivative was successfully verified.
[In] Integrate[(B + A*x)/((17 - 18*x + 5*x^2)*Sqrt[13 - 22*x + 10*x^2]),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.039, size = 192, normalized size = 2.4 \[{\frac{\sqrt{35}}{70}\sqrt{{\frac{ \left ( -2+x \right ) ^{2}}{ \left ( 1-x \right ) ^{2}}}+9} \left ({\it Artanh} \left ({\frac{2\,\sqrt{35}}{35}\sqrt{{\frac{ \left ( -2+x \right ) ^{2}}{ \left ( 1-x \right ) ^{2}}}+9}} \right ) A-4\,\arctan \left ({\frac{\sqrt{35} \left ( -2+x \right ) }{1-x}{\frac{1}{\sqrt{{\frac{ \left ( -2+x \right ) ^{2}}{ \left ( 1-x \right ) ^{2}}}+9}}}} \right ) A+{\it Artanh} \left ({\frac{2\,\sqrt{35}}{35}\sqrt{{\frac{ \left ( -2+x \right ) ^{2}}{ \left ( 1-x \right ) ^{2}}}+9}} \right ) B-2\,\arctan \left ({\frac{\sqrt{35} \left ( -2+x \right ) }{1-x}{\frac{1}{\sqrt{{\frac{ \left ( -2+x \right ) ^{2}}{ \left ( 1-x \right ) ^{2}}}+9}}}} \right ) B \right ){\frac{1}{\sqrt{{1 \left ({\frac{ \left ( -2+x \right ) ^{2}}{ \left ( 1-x \right ) ^{2}}}+9 \right ) \left ( 1+{\frac{-2+x}{1-x}} \right ) ^{-2}}}}} \left ( 1+{\frac{-2+x}{1-x}} \right ) ^{-1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((A*x+B)/(5*x^2-18*x+17)/(10*x^2-22*x+13)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{A x + B}{\sqrt{10 \, x^{2} - 22 \, x + 13}{\left (5 \, x^{2} - 18 \, x + 17\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((A*x + B)/(sqrt(10*x^2 - 22*x + 13)*(5*x^2 - 18*x + 17)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((A*x + B)/(sqrt(10*x^2 - 22*x + 13)*(5*x^2 - 18*x + 17)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{A x + B}{\left (5 x^{2} - 18 x + 17\right ) \sqrt{10 x^{2} - 22 x + 13}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((A*x+B)/(5*x**2-18*x+17)/(10*x**2-22*x+13)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((A*x + B)/(sqrt(10*x^2 - 22*x + 13)*(5*x^2 - 18*x + 17)),x, algorithm="giac")
[Out]