### 3.123 $$\int \frac{x^2 (b+2 c x^3)}{b x^3+c x^6} \, dx$$

Optimal. Leaf size=16 $\frac{1}{3} \log \left (b x^3+c x^6\right )$

[Out]

Log[b*x^3 + c*x^6]/3

________________________________________________________________________________________

Rubi [A]  time = 0.0295228, antiderivative size = 15, normalized size of antiderivative = 0.94, number of steps used = 4, number of rules used = 3, integrand size = 25, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.12, Rules used = {1584, 446, 72} $\frac{1}{3} \log \left (b+c x^3\right )+\log (x)$

Antiderivative was successfully veriﬁed.

[In]

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

[Out]

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

Rule 1584

Int[(u_.)*(x_)^(m_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(m + n*p)*(a + b*x^(q -
p))^n, x] /; FreeQ[{a, b, m, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rule 446

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] &&
NeQ[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rule 72

Int[((e_.) + (f_.)*(x_))^(p_.)/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Int[ExpandIntegrand[(
e + f*x)^p/((a + b*x)*(c + d*x)), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && IntegerQ[p]

Rubi steps

\begin{align*} \int \frac{x^2 \left (b+2 c x^3\right )}{b x^3+c x^6} \, dx &=\int \frac{b+2 c x^3}{x \left (b+c x^3\right )} \, dx\\ &=\frac{1}{3} \operatorname{Subst}\left (\int \frac{b+2 c x}{x (b+c x)} \, dx,x,x^3\right )\\ &=\frac{1}{3} \operatorname{Subst}\left (\int \left (\frac{1}{x}+\frac{c}{b+c x}\right ) \, dx,x,x^3\right )\\ &=\log (x)+\frac{1}{3} \log \left (b+c x^3\right )\\ \end{align*}

Mathematica [A]  time = 0.0070442, size = 15, normalized size = 0.94 $\frac{1}{3} \log \left (b+c x^3\right )+\log (x)$

Antiderivative was successfully veriﬁed.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [A]  time = 0.006, size = 14, normalized size = 0.9 \begin{align*} \ln \left ( x \right ) +{\frac{\ln \left ( c{x}^{3}+b \right ) }{3}} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(2*c*x^3+b)/(c*x^6+b*x^3),x)

[Out]

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

________________________________________________________________________________________

Maxima [A]  time = 1.202, size = 23, normalized size = 1.44 \begin{align*} \frac{1}{3} \, \log \left (c x^{3} + b\right ) + \frac{1}{3} \, \log \left (x^{3}\right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Fricas [A]  time = 1.16842, size = 39, normalized size = 2.44 \begin{align*} \frac{1}{3} \, \log \left (c x^{3} + b\right ) + \log \left (x\right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [A]  time = 0.348128, size = 12, normalized size = 0.75 \begin{align*} \log{\left (x \right )} + \frac{\log{\left (\frac{b}{c} + x^{3} \right )}}{3} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(2*c*x**3+b)/(c*x**6+b*x**3),x)

[Out]

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

________________________________________________________________________________________

Giac [A]  time = 1.12081, size = 20, normalized size = 1.25 \begin{align*} \frac{1}{3} \, \log \left ({\left | c x^{3} + b \right |}\right ) + \log \left ({\left | x \right |}\right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*log(abs(c*x^3 + b)) + log(abs(x))