3.41.40 6+5x+2x2+xlog(x2)xdx

Optimal. Leaf size=19 4+3x+x2(3x)log(x2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 17, normalized size of antiderivative = 0.89, number of steps used = 5, number of rules used = 2, integrand size = 20, number of rulesintegrand size = 0.100, Rules used = {14, 2295} x2+xlog(x2)+3x6log(x)

Antiderivative was successfully verified.

[In]

Int[(-6 + 5*x + 2*x^2 + x*Log[x^2])/x,x]

[Out]

3*x + x^2 - 6*Log[x] + x*Log[x^2]

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rubi steps

integral=(6+5x+2x2x+log(x2))dx=6+5x+2x2xdx+log(x2)dx=2x+xlog(x2)+(56x+2x)dx=3x+x26log(x)+xlog(x2)

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 17, normalized size = 0.89 3x+x26log(x)+xlog(x2)

Antiderivative was successfully verified.

[In]

Integrate[(-6 + 5*x + 2*x^2 + x*Log[x^2])/x,x]

[Out]

3*x + x^2 - 6*Log[x] + x*Log[x^2]

________________________________________________________________________________________

fricas [A]  time = 0.98, size = 15, normalized size = 0.79 x2+(x3)log(x2)+3x

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x*log(x^2)+2*x^2+5*x-6)/x,x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.15, size = 17, normalized size = 0.89 x2+xlog(x2)+3x6log(x)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x*log(x^2)+2*x^2+5*x-6)/x,x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.02, size = 18, normalized size = 0.95




method result size



default 3x+x26ln(x)+xln(x2) 18
norman 3x+x26ln(x)+xln(x2) 18
risch 3x+x26ln(x)+xln(x2) 18



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*ln(x^2)+2*x^2+5*x-6)/x,x,method=_RETURNVERBOSE)

[Out]

3*x+x^2-6*ln(x)+x*ln(x^2)

________________________________________________________________________________________

maxima [A]  time = 0.37, size = 17, normalized size = 0.89 x2+xlog(x2)+3x6log(x)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x*log(x^2)+2*x^2+5*x-6)/x,x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 3.01, size = 19, normalized size = 1.00 3x3ln(x2)+xln(x2)+x2

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((5*x + x*log(x^2) + 2*x^2 - 6)/x,x)

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.10, size = 17, normalized size = 0.89 x2+xlog(x2)+3x6log(x)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x*ln(x**2)+2*x**2+5*x-6)/x,x)

[Out]

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

________________________________________________________________________________________