Optimal. Leaf size=14 \[ 2 \sqrt{x-1}+2 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.117406, antiderivative size = 14, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.045, Rules used = {6688} \[ 2 \sqrt{x-1}+2 \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6688
Rubi steps
\begin{align*} \int \frac{2 \sqrt{-1+x}+x}{\sqrt{-1+x} x} \, dx &=\int \left (\frac{1}{\sqrt{-1+x}}+\frac{2}{x}\right ) \, dx\\ &=2 \sqrt{-1+x}+2 \log (x)\\ \end{align*}
Mathematica [A] time = 0.0057806, size = 14, normalized size = 1. \[ 2 \sqrt{x-1}+2 \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 13, normalized size = 0.9 \begin{align*} 2\,\ln \left ( x \right ) +2\,\sqrt{x-1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.71893, size = 16, normalized size = 1.14 \begin{align*} 2 \, \sqrt{x - 1} + 2 \, \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.74099, size = 35, normalized size = 2.5 \begin{align*} 2 \, \sqrt{x - 1} + 2 \, \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.138341, size = 12, normalized size = 0.86 \begin{align*} 2 \sqrt{x - 1} + 2 \log{\left (x \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18945, size = 16, normalized size = 1.14 \begin{align*} 2 \, \sqrt{x - 1} + 2 \, \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]