Optimal. Leaf size=18 \[ \frac {2}{5} \tan ^{-1}\left (\frac {1}{5} \sqrt {-25+2 x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {65, 209}
\begin {gather*} \frac {2}{5} \text {ArcTan}\left (\frac {1}{5} \sqrt {2 x-25}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 209
Rubi steps
\begin {align*} \int \frac {1}{x \sqrt {-25+2 x}} \, dx &=\text {Subst}\left (\int \frac {1}{\frac {25}{2}+\frac {x^2}{2}} \, dx,x,\sqrt {-25+2 x}\right )\\ &=\frac {2}{5} \tan ^{-1}\left (\frac {1}{5} \sqrt {-25+2 x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 18, normalized size = 1.00 \begin {gather*} \frac {2}{5} \tan ^{-1}\left (\frac {1}{5} \sqrt {-25+2 x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 13, normalized size = 0.72
method | result | size |
derivativedivides | \(\frac {2 \arctan \left (\frac {\sqrt {-25+2 x}}{5}\right )}{5}\) | \(13\) |
default | \(\frac {2 \arctan \left (\frac {\sqrt {-25+2 x}}{5}\right )}{5}\) | \(13\) |
trager | \(-\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (\frac {\RootOf \left (\textit {\_Z}^{2}+1\right ) x +5 \sqrt {-25+2 x}-25 \RootOf \left (\textit {\_Z}^{2}+1\right )}{x}\right )}{5}\) | \(40\) |
meijerg | \(\frac {\sqrt {-\mathrm {signum}\left (x -\frac {25}{2}\right )}\, \left (\left (-\ln \left (2\right )+\ln \left (x \right )-2 \ln \left (5\right )+i \pi \right ) \sqrt {\pi }-2 \sqrt {\pi }\, \ln \left (\frac {1}{2}+\frac {\sqrt {1-\frac {2 x}{25}}}{2}\right )\right )}{5 \sqrt {\pi }\, \sqrt {\mathrm {signum}\left (x -\frac {25}{2}\right )}}\) | \(57\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.16, size = 12, normalized size = 0.67 \begin {gather*} \frac {2}{5} \, \arctan \left (\frac {1}{5} \, \sqrt {2 \, x - 25}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.78, size = 12, normalized size = 0.67 \begin {gather*} \frac {2}{5} \, \arctan \left (\frac {1}{5} \, \sqrt {2 \, x - 25}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.43, size = 44, normalized size = 2.44 \begin {gather*} \begin {cases} \frac {2 i \operatorname {acosh}{\left (\frac {5 \sqrt {2}}{2 \sqrt {x}} \right )}}{5} & \text {for}\: \frac {1}{\left |{x}\right |} > \frac {2}{25} \\- \frac {2 \operatorname {asin}{\left (\frac {5 \sqrt {2}}{2 \sqrt {x}} \right )}}{5} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.03, size = 12, normalized size = 0.67 \begin {gather*} \frac {2}{5} \, \arctan \left (\frac {1}{5} \, \sqrt {2 \, x - 25}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.15, size = 12, normalized size = 0.67 \begin {gather*} \frac {2\,\mathrm {atan}\left (\frac {\sqrt {2\,x-25}}{5}\right )}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________