3.41.71 1+3x+2x2x+2x2dx

Optimal. Leaf size=15 5+x+log(6x(1+2x)e5)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 10, normalized size of antiderivative = 0.67, number of steps used = 3, number of rules used = 2, integrand size = 22, number of rulesintegrand size = 0.091, Rules used = {1593, 893} x+log(12x)+log(x)

Antiderivative was successfully verified.

[In]

Int[(-1 + 3*x + 2*x^2)/(-x + 2*x^2),x]

[Out]

x + Log[1 - 2*x] + Log[x]

Rule 893

Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))^(n_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :
> Int[ExpandIntegrand[(d + e*x)^m*(f + g*x)^n*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] &
& NeQ[e*f - d*g, 0] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && IntegerQ[p] && ((EqQ[p, 1] && I
ntegersQ[m, n]) || (ILtQ[m, 0] && ILtQ[n, 0]))

Rule 1593

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

Rubi steps

integral=1+3x+2x2x(1+2x)dx=(1+1x+21+2x)dx=x+log(12x)+log(x)

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 10, normalized size = 0.67 x+log(12x)+log(x)

Antiderivative was successfully verified.

[In]

Integrate[(-1 + 3*x + 2*x^2)/(-x + 2*x^2),x]

[Out]

x + Log[1 - 2*x] + Log[x]

________________________________________________________________________________________

fricas [A]  time = 0.57, size = 12, normalized size = 0.80 x+log(2x2x)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*x^2+3*x-1)/(2*x^2-x),x, algorithm="fricas")

[Out]

x + log(2*x^2 - x)

________________________________________________________________________________________

giac [A]  time = 0.21, size = 12, normalized size = 0.80 x+log(|2x1|)+log(|x|)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*x^2+3*x-1)/(2*x^2-x),x, algorithm="giac")

[Out]

x + log(abs(2*x - 1)) + log(abs(x))

________________________________________________________________________________________

maple [A]  time = 0.07, size = 11, normalized size = 0.73




method result size



default x+ln(2x1)+ln(x) 11
norman x+ln(2x1)+ln(x) 11
risch x+ln(2x2x) 13
meijerg ln(x)+ln(2)+iπ+ln(12x)+x 17



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*x^2+3*x-1)/(2*x^2-x),x,method=_RETURNVERBOSE)

[Out]

x+ln(2*x-1)+ln(x)

________________________________________________________________________________________

maxima [A]  time = 0.37, size = 10, normalized size = 0.67 x+log(2x1)+log(x)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*x^2+3*x-1)/(2*x^2-x),x, algorithm="maxima")

[Out]

x + log(2*x - 1) + log(x)

________________________________________________________________________________________

mupad [B]  time = 3.08, size = 10, normalized size = 0.67 x+ln(x(2x1))

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(3*x + 2*x^2 - 1)/(x - 2*x^2),x)

[Out]

x + log(x*(2*x - 1))

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 8, normalized size = 0.53 x+log(2x2x)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((2*x**2+3*x-1)/(2*x**2-x),x)

[Out]

x + log(2*x**2 - x)

________________________________________________________________________________________