Optimal. Leaf size=18 \[ x \sec ^{-1}\left (\sqrt {x}\right )-\sqrt {x-1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5268, 12, 32} \[ x \sec ^{-1}\left (\sqrt {x}\right )-\sqrt {x-1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 32
Rule 5268
Rubi steps
\begin {align*} \int \sec ^{-1}\left (\sqrt {x}\right ) \, dx &=x \sec ^{-1}\left (\sqrt {x}\right )-\int \frac {1}{2 \sqrt {-1+x}} \, dx\\ &=x \sec ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \int \frac {1}{\sqrt {-1+x}} \, dx\\ &=-\sqrt {-1+x}+x \sec ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 18, normalized size = 1.00 \[ x \sec ^{-1}\left (\sqrt {x}\right )-\sqrt {x-1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.93, size = 14, normalized size = 0.78 \[ x \operatorname {arcsec}\left (\sqrt {x}\right ) - \sqrt {x - 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.13, size = 41, normalized size = 2.28 \[ x \arccos \left (\frac {1}{\sqrt {x}}\right ) - \frac {1}{2} \, \sqrt {x} {\left (\sqrt {-\frac {1}{x} + 1} - 1\right )} + \frac {1}{2 \, \sqrt {x} {\left (\sqrt {-\frac {1}{x} + 1} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 25, normalized size = 1.39 \[ x \,\mathrm {arcsec}\left (\sqrt {x}\right )-\frac {x -1}{\sqrt {\frac {x -1}{x}}\, \sqrt {x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.33, size = 21, normalized size = 1.17 \[ x \operatorname {arcsec}\left (\sqrt {x}\right ) - \sqrt {x} \sqrt {-\frac {1}{x} + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.15, size = 21, normalized size = 1.17 \[ x\,\mathrm {acos}\left (\frac {1}{\sqrt {x}}\right )-\sqrt {x}\,\sqrt {1-\frac {1}{x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 4.42, size = 29, normalized size = 1.61 \[ x \operatorname {asec}{\left (\sqrt {x} \right )} - \frac {\begin {cases} 2 \sqrt {x - 1} & \text {for}\: \left |{x}\right | > 1 \\2 i \sqrt {1 - x} & \text {otherwise} \end {cases}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________