3.192 \(\int \frac{2 x+x^2}{4+3 x^2+x^3} \, dx\)

Optimal. Leaf size=15 \[ \frac{1}{3} \log \left (x^3+3 x^2+4\right ) \]

[Out]

Log[4 + 3*x^2 + x^3]/3

_______________________________________________________________________________________

Rubi [A]  time = 0.00740857, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05 \[ \frac{1}{3} \log \left (x^3+3 x^2+4\right ) \]

Antiderivative was successfully verified.

[In]  Int[(2*x + x^2)/(4 + 3*x^2 + x^3),x]

[Out]

Log[4 + 3*x^2 + x^3]/3

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 1.83027, size = 12, normalized size = 0.8 \[ \frac{\log{\left (x^{3} + 3 x^{2} + 4 \right )}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((x**2+2*x)/(x**3+3*x**2+4),x)

[Out]

log(x**3 + 3*x**2 + 4)/3

_______________________________________________________________________________________

Mathematica [A]  time = 0.00699195, size = 15, normalized size = 1. \[ \frac{1}{3} \log \left (x^3+3 x^2+4\right ) \]

Antiderivative was successfully verified.

[In]  Integrate[(2*x + x^2)/(4 + 3*x^2 + x^3),x]

[Out]

Log[4 + 3*x^2 + x^3]/3

_______________________________________________________________________________________

Maple [A]  time = 0.002, size = 14, normalized size = 0.9 \[{\frac{\ln \left ({x}^{3}+3\,{x}^{2}+4 \right ) }{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((x^2+2*x)/(x^3+3*x^2+4),x)

[Out]

1/3*ln(x^3+3*x^2+4)

_______________________________________________________________________________________

Maxima [A]  time = 1.34131, size = 18, normalized size = 1.2 \[ \frac{1}{3} \, \log \left (x^{3} + 3 \, x^{2} + 4\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((x^2 + 2*x)/(x^3 + 3*x^2 + 4),x, algorithm="maxima")

[Out]

1/3*log(x^3 + 3*x^2 + 4)

_______________________________________________________________________________________

Fricas [A]  time = 0.195751, size = 18, normalized size = 1.2 \[ \frac{1}{3} \, \log \left (x^{3} + 3 \, x^{2} + 4\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((x^2 + 2*x)/(x^3 + 3*x^2 + 4),x, algorithm="fricas")

[Out]

1/3*log(x^3 + 3*x^2 + 4)

_______________________________________________________________________________________

Sympy [A]  time = 0.080698, size = 12, normalized size = 0.8 \[ \frac{\log{\left (x^{3} + 3 x^{2} + 4 \right )}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((x**2+2*x)/(x**3+3*x**2+4),x)

[Out]

log(x**3 + 3*x**2 + 4)/3

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.209547, size = 19, normalized size = 1.27 \[ \frac{1}{3} \,{\rm ln}\left ({\left | x^{3} + 3 \, x^{2} + 4 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((x^2 + 2*x)/(x^3 + 3*x^2 + 4),x, algorithm="giac")

[Out]

1/3*ln(abs(x^3 + 3*x^2 + 4))