Optimal. Leaf size=54 \[ \frac {\sqrt {x-1}}{8 x^2}-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {3 \sqrt {x-1}}{16 x}+\frac {3}{16} \tan ^{-1}\left (\sqrt {x-1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5270, 12, 51, 63, 203} \[ \frac {\sqrt {x-1}}{8 x^2}-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {3 \sqrt {x-1}}{16 x}+\frac {3}{16} \tan ^{-1}\left (\sqrt {x-1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 51
Rule 63
Rule 203
Rule 5270
Rubi steps
\begin {align*} \int \frac {\sec ^{-1}\left (\sqrt {x}\right )}{x^3} \, dx &=-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {1}{2} \int \frac {1}{2 \sqrt {-1+x} x^3} \, dx\\ &=-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {1}{4} \int \frac {1}{\sqrt {-1+x} x^3} \, dx\\ &=\frac {\sqrt {-1+x}}{8 x^2}-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {3}{16} \int \frac {1}{\sqrt {-1+x} x^2} \, dx\\ &=\frac {\sqrt {-1+x}}{8 x^2}+\frac {3 \sqrt {-1+x}}{16 x}-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {3}{32} \int \frac {1}{\sqrt {-1+x} x} \, dx\\ &=\frac {\sqrt {-1+x}}{8 x^2}+\frac {3 \sqrt {-1+x}}{16 x}-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {3}{16} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+x}\right )\\ &=\frac {\sqrt {-1+x}}{8 x^2}+\frac {3 \sqrt {-1+x}}{16 x}-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}+\frac {3}{16} \tan ^{-1}\left (\sqrt {-1+x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 55, normalized size = 1.02 \[ \sqrt {\frac {x-1}{x}} \left (\frac {1}{8 x^{3/2}}+\frac {3}{16 \sqrt {x}}\right )-\frac {\sec ^{-1}\left (\sqrt {x}\right )}{2 x^2}-\frac {3}{16} \sin ^{-1}\left (\frac {1}{\sqrt {x}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.69, size = 29, normalized size = 0.54 \[ \frac {{\left (3 \, x^{2} - 8\right )} \operatorname {arcsec}\left (\sqrt {x}\right ) + {\left (3 \, x + 2\right )} \sqrt {x - 1}}{16 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 44, normalized size = 0.81 \[ \frac {3 \, \sqrt {-\frac {1}{x} + 1}}{16 \, \sqrt {x}} + \frac {\sqrt {-\frac {1}{x} + 1}}{8 \, x^{\frac {3}{2}}} - \frac {\arccos \left (\frac {1}{\sqrt {x}}\right )}{2 \, x^{2}} + \frac {3}{16} \, \arccos \left (\frac {1}{\sqrt {x}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 57, normalized size = 1.06 \[ -\frac {\mathrm {arcsec}\left (\sqrt {x}\right )}{2 x^{2}}+\frac {\sqrt {x -1}\, \left (-3 \arctan \left (\frac {1}{\sqrt {x -1}}\right ) x^{2}+3 x \sqrt {x -1}+2 \sqrt {x -1}\right )}{16 \sqrt {\frac {x -1}{x}}\, x^{\frac {5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.44, size = 80, normalized size = 1.48 \[ \frac {3 \, x^{\frac {3}{2}} {\left (-\frac {1}{x} + 1\right )}^{\frac {3}{2}} + 5 \, \sqrt {x} \sqrt {-\frac {1}{x} + 1}}{16 \, {\left (x^{2} {\left (\frac {1}{x} - 1\right )}^{2} - 2 \, x {\left (\frac {1}{x} - 1\right )} + 1\right )}} - \frac {\operatorname {arcsec}\left (\sqrt {x}\right )}{2 \, x^{2}} + \frac {3}{16} \, \arctan \left (\sqrt {x} \sqrt {-\frac {1}{x} + 1}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\mathrm {acos}\left (\frac {1}{\sqrt {x}}\right )}{x^3} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 53.24, size = 144, normalized size = 2.67 \[ \frac {\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}}{4} - \frac {\operatorname {asec}{\left (\sqrt {x} \right )}}{2 x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________