Optimal. Leaf size=16 \[ 2 \sqrt{x}-2 \tan ^{-1}\left (\sqrt{x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0030161, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {50, 63, 203} \[ 2 \sqrt{x}-2 \tan ^{-1}\left (\sqrt{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 203
Rubi steps
\begin{align*} \int \frac{\sqrt{x}}{1+x} \, dx &=2 \sqrt{x}-\int \frac{1}{\sqrt{x} (1+x)} \, dx\\ &=2 \sqrt{x}-2 \operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sqrt{x}\right )\\ &=2 \sqrt{x}-2 \tan ^{-1}\left (\sqrt{x}\right )\\ \end{align*}
Mathematica [A] time = 0.0033632, size = 16, normalized size = 1. \[ 2 \sqrt{x}-2 \tan ^{-1}\left (\sqrt{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 13, normalized size = 0.8 \begin{align*} -2\,\arctan \left ( \sqrt{x} \right ) +2\,\sqrt{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.40177, size = 16, normalized size = 1. \begin{align*} 2 \, \sqrt{x} - 2 \, \arctan \left (\sqrt{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.91908, size = 42, normalized size = 2.62 \begin{align*} 2 \, \sqrt{x} - 2 \, \arctan \left (\sqrt{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.149241, size = 14, normalized size = 0.88 \begin{align*} 2 \sqrt{x} - 2 \operatorname{atan}{\left (\sqrt{x} \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.04868, size = 16, normalized size = 1. \begin{align*} 2 \, \sqrt{x} - 2 \, \arctan \left (\sqrt{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]