3.85.96 (10+2x2)log(5+x2x)+(5+x2)log2(5+x2x)20+4x2dx

Optimal. Leaf size=23 14x(log(8)x+log2(5x+x))

________________________________________________________________________________________

Rubi [A]  time = 0.88, antiderivative size = 17, normalized size of antiderivative = 0.74, number of steps used = 35, number of rules used = 15, integrand size = 47, number of rulesintegrand size = 0.319, Rules used = {6725, 2528, 2523, 388, 203, 2526, 12, 446, 72, 4848, 2391, 4920, 4854, 2402, 2315} 14xlog2(x2+5x)

Antiderivative was successfully verified.

[In]

Int[((-10 + 2*x^2)*Log[(5 + x^2)/x] + (5 + x^2)*Log[(5 + x^2)/x]^2)/(20 + 4*x^2),x]

[Out]

(x*Log[(5 + x^2)/x]^2)/4

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

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]

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 388

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

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 2315

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[PolyLog[2, 1 - c*x]/e, x] /; FreeQ[{c, d, e}, x] &
& EqQ[e + c*d, 0]

Rule 2391

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> -Simp[PolyLog[2, -(c*e*x^n)]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 2402

Int[Log[(c_.)/((d_) + (e_.)*(x_))]/((f_) + (g_.)*(x_)^2), x_Symbol] :> -Dist[e/g, Subst[Int[Log[2*d*x]/(1 - 2*
d*x), x], x, 1/(d + e*x)], x] /; FreeQ[{c, d, e, f, g}, x] && EqQ[c, 2*d] && EqQ[e^2*f + d^2*g, 0]

Rule 2523

Int[((a_.) + Log[(c_.)*(RFx_)^(p_.)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*Log[c*RFx^p])^n, x] - Dist[b*n*p
, Int[SimplifyIntegrand[(x*(a + b*Log[c*RFx^p])^(n - 1)*D[RFx, x])/RFx, x], x], x] /; FreeQ[{a, b, c, p}, x] &
& RationalFunctionQ[RFx, x] && IGtQ[n, 0]

Rule 2526

Int[Log[(c_.)*(RFx_)^(n_.)]/((d_) + (e_.)*(x_)^2), x_Symbol] :> With[{u = IntHide[1/(d + e*x^2), x]}, Simp[u*L
og[c*RFx^n], x] - Dist[n, Int[SimplifyIntegrand[(u*D[RFx, x])/RFx, x], x], x]] /; FreeQ[{c, d, e, n}, x] && Ra
tionalFunctionQ[RFx, x] &&  !PolynomialQ[RFx, x]

Rule 2528

Int[((a_.) + Log[(c_.)*(RFx_)^(p_.)]*(b_.))^(n_.)*(RGx_), x_Symbol] :> With[{u = ExpandIntegrand[(a + b*Log[c*
RFx^p])^n, RGx, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[{a, b, c, p}, x] && RationalFunctionQ[RFx, x] && RationalF
unctionQ[RGx, x] && IGtQ[n, 0]

Rule 4848

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> Simp[a*Log[x], x] + (Dist[(I*b)/2, Int[Log[1 - I*c*x
]/x, x], x] - Dist[(I*b)/2, Int[Log[1 + I*c*x]/x, x], x]) /; FreeQ[{a, b, c}, x]

Rule 4854

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[((a + b*ArcTan[c*x])^p*Lo
g[2/(1 + (e*x)/d)])/e, x] + Dist[(b*c*p)/e, Int[((a + b*ArcTan[c*x])^(p - 1)*Log[2/(1 + (e*x)/d)])/(1 + c^2*x^
2), x], x] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[p, 0] && EqQ[c^2*d^2 + e^2, 0]

Rule 4920

Int[(((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*(x_))/((d_) + (e_.)*(x_)^2), x_Symbol] :> -Simp[(I*(a + b*ArcTan
[c*x])^(p + 1))/(b*e*(p + 1)), x] - Dist[1/(c*d), Int[(a + b*ArcTan[c*x])^p/(I - c*x), x], x] /; FreeQ[{a, b,
c, d, e}, x] && EqQ[e, c^2*d] && IGtQ[p, 0]

Rule 6725

Int[(u_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> With[{v = RationalFunctionExpand[u/(a + b*x^n), x]}, Int[v, x]
 /; SumQ[v]] /; FreeQ[{a, b}, x] && IGtQ[n, 0]

Rubi steps

integral=((5+x2)log(5+x2x)2(5+x2)+14log2(5+x2x))dx=14log2(5+x2x)dx+12(5+x2)log(5+x2x)5+x2dx=14xlog2(5+x2x)12(5+x2)log(5+x2x)5+x2dx+12(log(5+x2x)10log(5+x2x)5+x2)dx=14xlog2(5+x2x)+12log(5+x2x)dx12(log(5+x2x)10log(5+x2x)5+x2)dx5log(5+x2x)5+x2dx=12xlog(5+x2x)5tan1(x5)log(5+x2x)+14xlog2(5+x2x)125+x25+x2dx12log(5+x2x)dx+5(5+x2)tan1(x5)5x(5+x2)dx+5log(5+x2x)5+x2dx=x2+14xlog2(5+x2x)+125+x25+x2dx+515+x2dx5(5+x2)tan1(x5)5x(5+x2)dx+5(5+x2)tan1(x5)x(5+x2)dx=5tan1(x5)+14xlog2(5+x2x)515+x2dx5(5+x2)tan1(x5)x(5+x2)dx+5(tan1(x5)x+2xtan1(x5)5+x2)dx=14xlog2(5+x2x)5tan1(x5)xdx5(tan1(x5)x+2xtan1(x5)5+x2)dx+(25)xtan1(x5)5+x2dx=i5tan1(x5)2+14xlog2(5+x2x)2tan1(x5)ix5dx12(i5)log(1ix5)xdx+12(i5)log(1+ix5)xdx+5tan1(x5)xdx(25)xtan1(x5)5+x2dx=25tan1(x5)log(255+ix)+14xlog2(5+x2x)12i5Li2(ix5)+12i5Li2(ix5)+2tan1(x5)ix5dx+2log(21+ix5)1+x25dx+12(i5)log(1ix5)xdx12(i5)log(1+ix5)xdx=14xlog2(5+x2x)2log(21+ix5)1+x25dx(2i5)Subst(log(2x)12xdx,x,11+ix5)=14xlog2(5+x2x)i5Li2(1255+ix)+(2i5)Subst(log(2x)12xdx,x,11+ix5)=14xlog2(5+x2x)

________________________________________________________________________________________

Mathematica [A]  time = 0.26, size = 17, normalized size = 0.74 14xlog2(5+x2x)

Antiderivative was successfully verified.

[In]

Integrate[((-10 + 2*x^2)*Log[(5 + x^2)/x] + (5 + x^2)*Log[(5 + x^2)/x]^2)/(20 + 4*x^2),x]

[Out]

(x*Log[(5 + x^2)/x]^2)/4

________________________________________________________________________________________

fricas [A]  time = 0.53, size = 15, normalized size = 0.65 14xlog(x2+5x)2

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.18, size = 15, normalized size = 0.65 14xlog(x2+5x)2

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.36, size = 16, normalized size = 0.70




method result size



norman xln(x2+5x)24 16
risch xln(x2+5x)24 16



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.70, size = 30, normalized size = 1.30 14xlog(x2+5)212xlog(x2+5)log(x)+14xlog(x)2

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*x*log(x^2 + 5)^2 - 1/2*x*log(x^2 + 5)*log(x) + 1/4*x*log(x)^2

________________________________________________________________________________________

mupad [B]  time = 5.96, size = 15, normalized size = 0.65 xln(x2+5x)24

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((log((x^2 + 5)/x)*(2*x^2 - 10) + log((x^2 + 5)/x)^2*(x^2 + 5))/(4*x^2 + 20),x)

[Out]

(x*log((x^2 + 5)/x)^2)/4

________________________________________________________________________________________

sympy [A]  time = 0.18, size = 12, normalized size = 0.52 xlog(x2+5x)24

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((x**2+5)*ln((x**2+5)/x)**2+(2*x**2-10)*ln((x**2+5)/x))/(4*x**2+20),x)

[Out]

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

________________________________________________________________________________________