Optimal. Leaf size=38 \[ \frac{\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.0238798, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {1029, 206} \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{35} (1-x)}{2 \sqrt{10 x^2-22 x+13}}\right )}{2 \sqrt{35}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1029
Rule 206
Rubi steps
\begin{align*} \int \frac{-2+x}{\left (17-18 x+5 x^2\right ) \sqrt{13-22 x+10 x^2}} \, dx &=8 \operatorname{Subst}\left (\int \frac{1}{64-140 x^2} \, dx,x,\frac{2-2 x}{\sqrt{13-22 x+10 x^2}}\right )\\ &=\frac{\tanh ^{-1}\left (\frac{\sqrt{35} (1-x)}{2 \sqrt{13-22 x+10 x^2}}\right )}{2 \sqrt{35}}\\ \end{align*}
Mathematica [C] time = 0.0391635, size = 76, normalized size = 2. \[ \frac{i \left (\tan ^{-1}\left (\frac{(2-18 i)-(1-18 i) x}{\sqrt{35} \sqrt{10 x^2-22 x+13}}\right )+i \tanh ^{-1}\left (\frac{(18-i) x-(18-2 i)}{\sqrt{35} \sqrt{10 x^2-22 x+13}}\right )\right )}{4 \sqrt{35}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.01, size = 94, normalized size = 2.5 \begin{align*} -{\frac{\sqrt{35}}{70}\sqrt{{\frac{ \left ( -2+x \right ) ^{2}}{ \left ( 1-x \right ) ^{2}}}+9}{\it Artanh} \left ({\frac{2\,\sqrt{35}}{35}\sqrt{{\frac{ \left ( -2+x \right ) ^{2}}{ \left ( 1-x \right ) ^{2}}}+9}} \right ){\frac{1}{\sqrt{{ \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}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x - 2}{\sqrt{10 \, x^{2} - 22 \, x + 13}{\left (5 \, x^{2} - 18 \, x + 17\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.10608, size = 254, normalized size = 6.68 \begin{align*} \frac{1}{280} \, \sqrt{35} \log \left (\frac{11225 \, x^{4} - 47220 \, x^{3} - 8 \, \sqrt{35}{\left (75 \, x^{3} - 233 \, x^{2} + 245 \, x - 87\right )} \sqrt{10 \, x^{2} - 22 \, x + 13} + 75534 \, x^{2} - 54372 \, x + 14849}{25 \, x^{4} - 180 \, x^{3} + 494 \, x^{2} - 612 \, x + 289}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x - 2}{\left (5 x^{2} - 18 x + 17\right ) \sqrt{10 x^{2} - 22 x + 13}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]