Optimal. Leaf size=13 \[ \frac {x}{\sqrt {2 x+x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {1976, 650}
\begin {gather*} \frac {x}{\sqrt {x^2+2 x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 650
Rule 1976
Rubi steps
\begin {align*} \int \frac {x}{(x (2+x))^{3/2}} \, dx &=\int \frac {x}{\left (2 x+x^2\right )^{3/2}} \, dx\\ &=\frac {x}{\sqrt {2 x+x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 11, normalized size = 0.85 \begin {gather*} \frac {x}{\sqrt {x (2+x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(28\) vs.
\(2(11)=22\).
time = 0.22, size = 29, normalized size = 2.23
method | result | size |
risch | \(\frac {x}{\sqrt {x \left (x +2\right )}}\) | \(10\) |
gosper | \(\frac {x^{2} \left (x +2\right )}{\left (x \left (x +2\right )\right )^{\frac {3}{2}}}\) | \(15\) |
trager | \(\frac {\sqrt {x^{2}+2 x}}{x +2}\) | \(16\) |
meijerg | \(\frac {\sqrt {2}\, \sqrt {x}}{2 \sqrt {1+\frac {x}{2}}}\) | \(16\) |
default | \(-\frac {1}{\sqrt {x^{2}+2 x}}+\frac {2 x +2}{2 \sqrt {x^{2}+2 x}}\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 11, normalized size = 0.85 \begin {gather*} \frac {x}{\sqrt {x^{2} + 2 \, x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 18, normalized size = 1.38 \begin {gather*} \frac {x + \sqrt {x^{2} + 2 \, x} + 2}{x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\left (x \left (x + 2\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.30, size = 18, normalized size = 1.38 \begin {gather*} \frac {2}{x - \sqrt {x^{2} + 2 \, x} + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.52, size = 13, normalized size = 1.00 \begin {gather*} \frac {\sqrt {x\,\left (x+2\right )}}{x+2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________