Optimal. Leaf size=12 \[ \frac{2}{x+2}+\log (x+2) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0129833, antiderivative size = 12, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 7, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143 \[ \frac{2}{x+2}+\log (x+2) \]
Antiderivative was successfully verified.
[In] Int[x/(2 + x)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 1.1107, size = 8, normalized size = 0.67 \[ \log{\left (x + 2 \right )} + \frac{2}{x + 2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x/(2+x)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00479015, size = 12, normalized size = 1. \[ \frac{2}{x+2}+\log (x+2) \]
Antiderivative was successfully verified.
[In] Integrate[x/(2 + x)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.005, size = 13, normalized size = 1.1 \[ 2\, \left ( 2+x \right ) ^{-1}+\ln \left ( 2+x \right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x/(2+x)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.32288, size = 16, normalized size = 1.33 \[ \frac{2}{x + 2} + \log \left (x + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x/(x + 2)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.19678, size = 22, normalized size = 1.83 \[ \frac{{\left (x + 2\right )} \log \left (x + 2\right ) + 2}{x + 2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x/(x + 2)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.078056, size = 8, normalized size = 0.67 \[ \log{\left (x + 2 \right )} + \frac{2}{x + 2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x/(2+x)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.19873, size = 18, normalized size = 1.5 \[ \frac{2}{x + 2} +{\rm ln}\left ({\left | x + 2 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x/(x + 2)^2,x, algorithm="giac")
[Out]