Optimal. Leaf size=41 \[ \frac {\sqrt {x-1}}{2 x^2}+\frac {3 \sqrt {x-1}}{4 x}+\frac {3}{4} \tan ^{-1}\left (\sqrt {x-1}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {51, 63, 203} \[ \frac {\sqrt {x-1}}{2 x^2}+\frac {3 \sqrt {x-1}}{4 x}+\frac {3}{4} \tan ^{-1}\left (\sqrt {x-1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 51
Rule 63
Rule 203
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {-1+x} x^3} \, dx &=\frac {\sqrt {-1+x}}{2 x^2}+\frac {3}{4} \int \frac {1}{\sqrt {-1+x} x^2} \, dx\\ &=\frac {\sqrt {-1+x}}{2 x^2}+\frac {3 \sqrt {-1+x}}{4 x}+\frac {3}{8} \int \frac {1}{\sqrt {-1+x} x} \, dx\\ &=\frac {\sqrt {-1+x}}{2 x^2}+\frac {3 \sqrt {-1+x}}{4 x}+\frac {3}{4} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+x}\right )\\ &=\frac {\sqrt {-1+x}}{2 x^2}+\frac {3 \sqrt {-1+x}}{4 x}+\frac {3}{4} \tan ^{-1}\left (\sqrt {-1+x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.00, size = 22, normalized size = 0.54 \[ 2 \sqrt {x-1} \, _2F_1\left (\frac {1}{2},3;\frac {3}{2};1-x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.02, size = 32, normalized size = 0.78 \[ \frac {\sqrt {x-1} (3 x+2)}{4 x^2}+\frac {3}{4} \tan ^{-1}\left (\sqrt {x-1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.50, size = 28, normalized size = 0.68 \[ \frac {3 \, x^{2} \arctan \left (\sqrt {x - 1}\right ) + {\left (3 \, x + 2\right )} \sqrt {x - 1}}{4 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.61, size = 29, normalized size = 0.71 \[ \frac {3 \, {\left (x - 1\right )}^{\frac {3}{2}} + 5 \, \sqrt {x - 1}}{4 \, x^{2}} + \frac {3}{4} \, \arctan \left (\sqrt {x - 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.32, size = 30, normalized size = 0.73
method | result | size |
derivativedivides | \(\frac {3 \arctan \left (\sqrt {-1+x}\right )}{4}+\frac {\sqrt {-1+x}}{2 x^{2}}+\frac {3 \sqrt {-1+x}}{4 x}\) | \(30\) |
default | \(\frac {3 \arctan \left (\sqrt {-1+x}\right )}{4}+\frac {\sqrt {-1+x}}{2 x^{2}}+\frac {3 \sqrt {-1+x}}{4 x}\) | \(30\) |
risch | \(\frac {3 x^{2}-x -2}{4 x^{2} \sqrt {-1+x}}+\frac {3 \arctan \left (\sqrt {-1+x}\right )}{4}\) | \(30\) |
trager | \(\frac {\left (2+3 x \right ) \sqrt {-1+x}}{4 x^{2}}+\frac {3 \RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (\frac {2 \RootOf \left (\textit {\_Z}^{2}+1\right ) \sqrt {-1+x}+x -2}{x}\right )}{8}\) | \(46\) |
meijerg | \(\frac {\sqrt {-\mathrm {signum}\left (-1+x \right )}\, \left (\frac {\sqrt {\pi }\, \left (-7 x^{2}+8 x +8\right )}{16 x^{2}}-\frac {\sqrt {\pi }\, \left (12 x +8\right ) \sqrt {1-x}}{16 x^{2}}-\frac {3 \sqrt {\pi }\, \ln \left (\frac {1}{2}+\frac {\sqrt {1-x}}{2}\right )}{4}+\frac {3 \left (\frac {7}{6}-2 \ln \relax (2)+\ln \relax (x )+i \pi \right ) \sqrt {\pi }}{8}-\frac {\sqrt {\pi }}{2 x^{2}}-\frac {\sqrt {\pi }}{2 x}\right )}{\sqrt {\pi }\, \sqrt {\mathrm {signum}\left (-1+x \right )}}\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.37, size = 38, normalized size = 0.93 \[ \frac {3 \, {\left (x - 1\right )}^{\frac {3}{2}} + 5 \, \sqrt {x - 1}}{4 \, {\left ({\left (x - 1\right )}^{2} + 2 \, x - 1\right )}} + \frac {3}{4} \, \arctan \left (\sqrt {x - 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 29, normalized size = 0.71 \[ \frac {3\,\mathrm {atan}\left (\sqrt {x-1}\right )}{4}+\frac {3\,\sqrt {x-1}}{4\,x}+\frac {\sqrt {x-1}}{2\,x^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 3.08, size = 131, normalized size = 3.20 \[ \begin {cases} \frac {3 i \operatorname {acosh}{\left (\frac {1}{\sqrt {x}} \right )}}{4} - \frac {3 i}{4 \sqrt {x} \sqrt {-1 + \frac {1}{x}}} + \frac {i}{4 x^{\frac {3}{2}} \sqrt {-1 + \frac {1}{x}}} + \frac {i}{2 x^{\frac {5}{2}} \sqrt {-1 + \frac {1}{x}}} & \text {for}\: \frac {1}{\left |{x}\right |} > 1 \\- \frac {3 \operatorname {asin}{\left (\frac {1}{\sqrt {x}} \right )}}{4} + \frac {3}{4 \sqrt {x} \sqrt {1 - \frac {1}{x}}} - \frac {1}{4 x^{\frac {3}{2}} \sqrt {1 - \frac {1}{x}}} - \frac {1}{2 x^{\frac {5}{2}} \sqrt {1 - \frac {1}{x}}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________