3.165 \(\int \frac{b+2 c x^2}{b x+c x^3} \, dx\)

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

[Out]

Log[x] + Log[b + c*x^2]/2

_______________________________________________________________________________________

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

Antiderivative was successfully verified.

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

[Out]

Log[x] + Log[b + c*x^2]/2

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 11.1592, size = 15, normalized size = 1. \[ \frac{\log{\left (x^{2} \right )}}{2} + \frac{\log{\left (b + c x^{2} \right )}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

log(x**2)/2 + log(b + c*x**2)/2

_______________________________________________________________________________________

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

Antiderivative was successfully verified.

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

[Out]

Log[x] + Log[b + c*x^2]/2

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

1/2*ln(c*x^2+b)+ln(x)

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

1/2*log(c*x^2 + b) + log(x)

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

1/2*log(c*x^2 + b) + log(x)

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

log(x) + log(b/c + x**2)/2

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.26215, size = 24, normalized size = 1.6 \[ \frac{1}{2} \,{\rm ln}\left (x^{2}\right ) + \frac{1}{2} \,{\rm ln}\left ({\left | c x^{2} + b \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

1/2*ln(x^2) + 1/2*ln(abs(c*x^2 + b))