3.17.96 4x2+2x4+(24x+5x212x34x4)log(4)+(3624x+14x2+12x3+2x4)log2(4)x4+(6x32x4)log(4)+(9x2+6x3+x4)log2(4)dx

Optimal. Leaf size=24 4x+2xxx+(3+x)log(4)

________________________________________________________________________________________

Rubi [B]  time = 0.31, antiderivative size = 58, normalized size of antiderivative = 2.42, number of steps used = 5, number of rules used = 5, integrand size = 98, number of rulesintegrand size = 0.051, Rules used = {1680, 12, 1814, 21, 8} 2x12(1log(4))log(4)x(4+4log2(4)5log(4))x(1log(4))(x(1log(4))3log(4))

Antiderivative was successfully verified.

[In]

Int[(-4*x^2 + 2*x^4 + (24*x + 5*x^2 - 12*x^3 - 4*x^4)*Log[4] + (-36 - 24*x + 14*x^2 + 12*x^3 + 2*x^4)*Log[4]^2
)/(x^4 + (-6*x^3 - 2*x^4)*Log[4] + (9*x^2 + 6*x^3 + x^4)*Log[4]^2),x]

[Out]

2*x - (12*(1 - Log[4])*Log[4] - x*(4 - 5*Log[4] + 4*Log[4]^2))/(x*(x*(1 - Log[4]) - 3*Log[4])*(1 - Log[4]))

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 12

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

Rule 21

Int[(u_.)*((a_) + (b_.)*(v_))^(m_.)*((c_) + (d_.)*(v_))^(n_.), x_Symbol] :> Dist[(b/d)^m, Int[u*(c + d*v)^(m +
 n), x], x] /; FreeQ[{a, b, c, d, n}, x] && EqQ[b*c - a*d, 0] && IntegerQ[m] && ( !IntegerQ[n] || SimplerQ[c +
 d*x, a + b*x])

Rule 1680

Int[(Pq_)*(Q4_)^(p_), x_Symbol] :> With[{a = Coeff[Q4, x, 0], b = Coeff[Q4, x, 1], c = Coeff[Q4, x, 2], d = Co
eff[Q4, x, 3], e = Coeff[Q4, x, 4]}, Subst[Int[SimplifyIntegrand[(Pq /. x -> -(d/(4*e)) + x)*(a + d^4/(256*e^3
) - (b*d)/(8*e) + (c - (3*d^2)/(8*e))*x^2 + e*x^4)^p, x], x], x, d/(4*e) + x] /; EqQ[d^3 - 4*c*d*e + 8*b*e^2,
0] && NeQ[d, 0]] /; FreeQ[p, x] && PolyQ[Pq, x] && PolyQ[Q4, x, 4] &&  !IGtQ[p, 0]

Rule 1814

Int[(Pq_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> With[{Q = PolynomialQuotient[Pq, a + b*x^2, x], f = Coeff[P
olynomialRemainder[Pq, a + b*x^2, x], x, 0], g = Coeff[PolynomialRemainder[Pq, a + b*x^2, x], x, 1]}, Simp[((a
*g - b*f*x)*(a + b*x^2)^(p + 1))/(2*a*b*(p + 1)), x] + Dist[1/(2*a*(p + 1)), Int[(a + b*x^2)^(p + 1)*ExpandToS
um[2*a*(p + 1)*Q + f*(2*p + 3), x], x], x]] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] && LtQ[p, -1]

Rubi steps

integral=Subst(2(16x4(1log(4))49log2(4)(810log(4)log2(4))+24x(1log(4))log(4)(411log(4)+4log2(4))8x2(1log(4))2(45log(4)+13log2(4)))(4x2(1+log(4))29log2(4))2dx,x,x+6log(4)+6log2(4)4(12log(4)+log2(4)))=2Subst(16x4(1log(4))49log2(4)(810log(4)log2(4))+24x(1log(4))log(4)(411log(4)+4log2(4))8x2(1log(4))2(45log(4)+13log2(4))(4x2(1+log(4))29log2(4))2dx,x,x+6log(4)+6log2(4)4(12log(4)+log2(4)))=12(1log(4))log(4)x(45log(4)+4log2(4))x(x(1log(4))3log(4))(1log(4))+Subst(72x2(1log(4))2log2(4)162log4(4)4x2(1+log(4))29log2(4)dx,x,x+6log(4)+6log2(4)4(12log(4)+log2(4)))9log2(4)=12(1log(4))log(4)x(45log(4)+4log2(4))x(x(1log(4))3log(4))(1log(4))+2Subst(1dx,x,x+6log(4)+6log2(4)4(12log(4)+log2(4)))=2x12(1log(4))log(4)x(45log(4)+4log2(4))x(x(1log(4))3log(4))(1log(4))

________________________________________________________________________________________

Mathematica [B]  time = 0.09, size = 97, normalized size = 4.04 2x+36log2(4)xlog2(64)+36log4(4)24log3(4)(3+log(64))log(4)log(64)(24+5log(64))+log2(4)(36+48log(64)14log2(64))+2log2(64)(2+log2(64))(1+log(4))log2(64)(x(1+log(4))+log(64))

Antiderivative was successfully verified.

[In]

Integrate[(-4*x^2 + 2*x^4 + (24*x + 5*x^2 - 12*x^3 - 4*x^4)*Log[4] + (-36 - 24*x + 14*x^2 + 12*x^3 + 2*x^4)*Lo
g[4]^2)/(x^4 + (-6*x^3 - 2*x^4)*Log[4] + (9*x^2 + 6*x^3 + x^4)*Log[4]^2),x]

[Out]

2*x + (36*Log[4]^2)/(x*Log[64]^2) + (36*Log[4]^4 - 24*Log[4]^3*(3 + Log[64]) - Log[4]*Log[64]*(24 + 5*Log[64])
 + Log[4]^2*(36 + 48*Log[64] - 14*Log[64]^2) + 2*Log[64]^2*(2 + Log[64]^2))/((-1 + Log[4])*Log[64]^2*(x*(-1 +
Log[4]) + Log[64]))

________________________________________________________________________________________

fricas [B]  time = 0.87, size = 79, normalized size = 3.29 2(x3+4(x3+3x2+2x+6)log(2)2(4x3+6x2+5x+12)log(2)+2x)4(x2+3x)log(2)2+x22(2x2+3x)log(2)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((4*(2*x^4+12*x^3+14*x^2-24*x-36)*log(2)^2+2*(-4*x^4-12*x^3+5*x^2+24*x)*log(2)+2*x^4-4*x^2)/(4*(x^4+6
*x^3+9*x^2)*log(2)^2+2*(-2*x^4-6*x^3)*log(2)+x^4),x, algorithm="fricas")

[Out]

2*(x^3 + 4*(x^3 + 3*x^2 + 2*x + 6)*log(2)^2 - (4*x^3 + 6*x^2 + 5*x + 12)*log(2) + 2*x)/(4*(x^2 + 3*x)*log(2)^2
 + x^2 - 2*(2*x^2 + 3*x)*log(2))

________________________________________________________________________________________

giac [B]  time = 0.23, size = 87, normalized size = 3.62 2(4xlog(2)24xlog(2)+x)4log(2)24log(2)+1+2(8xlog(2)25xlog(2)+24log(2)2+2x12log(2))(2x2log(2)x2+6xlog(2))(2log(2)1)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((4*(2*x^4+12*x^3+14*x^2-24*x-36)*log(2)^2+2*(-4*x^4-12*x^3+5*x^2+24*x)*log(2)+2*x^4-4*x^2)/(4*(x^4+6
*x^3+9*x^2)*log(2)^2+2*(-2*x^4-6*x^3)*log(2)+x^4),x, algorithm="giac")

[Out]

2*(4*x*log(2)^2 - 4*x*log(2) + x)/(4*log(2)^2 - 4*log(2) + 1) + 2*(8*x*log(2)^2 - 5*x*log(2) + 24*log(2)^2 + 2
*x - 12*log(2))/((2*x^2*log(2) - x^2 + 6*x*log(2))*(2*log(2) - 1))

________________________________________________________________________________________

maple [A]  time = 0.11, size = 37, normalized size = 1.54




method result size



default 2x+6ln(2)(2ln(2)1)(2xln(2)+6ln(2)x)+4x 37
risch 2x+2(8ln(2)25ln(2)+2)x2ln(2)1+24ln(2)x(2xln(2)+6ln(2)x) 52
norman (28ln(2)2+5ln(2)2)x23ln(2)+(4ln(2)2)x3+24ln(2)x(2xln(2)+6ln(2)x) 56
gosper 12x3ln(2)2+28x2ln(2)26x3ln(2)+5x2ln(2)+72ln(2)22x23x(2xln(2)+6ln(2)x)ln(2) 69



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((4*(2*x^4+12*x^3+14*x^2-24*x-36)*ln(2)^2+2*(-4*x^4-12*x^3+5*x^2+24*x)*ln(2)+2*x^4-4*x^2)/(4*(x^4+6*x^3+9*x
^2)*ln(2)^2+2*(-2*x^4-6*x^3)*ln(2)+x^4),x,method=_RETURNVERBOSE)

[Out]

2*x+6*ln(2)/(2*ln(2)-1)/(2*x*ln(2)+6*ln(2)-x)+4/x

________________________________________________________________________________________

maxima [B]  time = 0.38, size = 64, normalized size = 2.67 2x+2((8log(2)25log(2)+2)x+24log(2)212log(2))(4log(2)24log(2)+1)x2+6(2log(2)2log(2))x

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((4*(2*x^4+12*x^3+14*x^2-24*x-36)*log(2)^2+2*(-4*x^4-12*x^3+5*x^2+24*x)*log(2)+2*x^4-4*x^2)/(4*(x^4+6
*x^3+9*x^2)*log(2)^2+2*(-2*x^4-6*x^3)*log(2)+x^4),x, algorithm="maxima")

[Out]

2*x + 2*((8*log(2)^2 - 5*log(2) + 2)*x + 24*log(2)^2 - 12*log(2))/((4*log(2)^2 - 4*log(2) + 1)*x^2 + 6*(2*log(
2)^2 - log(2))*x)

________________________________________________________________________________________

mupad [B]  time = 1.37, size = 303, normalized size = 12.62 16ln(2)24ln(16)+4x(4ln(2)2ln(16)+1)+x(8ln(2)2ln(256)+2)4ln(2)2ln(16)+1atanh((12ln(2)ln(16)12ln(2)+2x(4ln(2)2ln(16)+1)224ln(2)2ln(16)+24ln(2)248ln(2)3+96ln(2)4)(5ln(2)2ln(16)5ln(2)ln(16)44ln(2)2ln(16)+18ln(2)2ln(256)+20ln(2)3+2ln(16)2)3ln(2)ln(16)4ln(2)(4ln(2)2ln(16)+1)(20ln(2)8ln(16)20ln(2)ln(16)176ln(2)2ln(16)+72ln(2)2ln(256)+80ln(2)3+8ln(16)2))(5ln(2)2ln(16)5ln(2)ln(16)44ln(2)2ln(16)+18ln(2)2ln(256)+20ln(2)3+2ln(16)2)3ln(2)ln(16)4ln(2)(4ln(2)2ln(16)+1)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((4*log(2)^2*(14*x^2 - 24*x + 12*x^3 + 2*x^4 - 36) + 2*log(2)*(24*x + 5*x^2 - 12*x^3 - 4*x^4) - 4*x^2 + 2*x
^4)/(4*log(2)^2*(9*x^2 + 6*x^3 + x^4) - 2*log(2)*(6*x^3 + 2*x^4) + x^4),x)

[Out]

(16*log(2)^2 - 4*log(16) + 4)/(x*(4*log(2)^2 - log(16) + 1)) + (x*(8*log(2)^2 - log(256) + 2))/(4*log(2)^2 - l
og(16) + 1) - (atanh(((12*log(2)*log(16) - 12*log(2) + 2*x*(4*log(2)^2 - log(16) + 1)^2 - 24*log(2)^2*log(16)
+ 24*log(2)^2 - 48*log(2)^3 + 96*log(2)^4)*(5*log(2) - 2*log(16) - 5*log(2)*log(16) - 44*log(2)^2*log(16) + 18
*log(2)^2*log(256) + 20*log(2)^3 + 2*log(16)^2))/(3*log(2)*(log(16) - 4*log(2))^(1/2)*(4*log(2)^2 - log(16) +
1)*(20*log(2) - 8*log(16) - 20*log(2)*log(16) - 176*log(2)^2*log(16) + 72*log(2)^2*log(256) + 80*log(2)^3 + 8*
log(16)^2)))*(5*log(2) - 2*log(16) - 5*log(2)*log(16) - 44*log(2)^2*log(16) + 18*log(2)^2*log(256) + 20*log(2)
^3 + 2*log(16)^2))/(3*log(2)*(log(16) - 4*log(2))^(1/2)*(4*log(2)^2 - log(16) + 1))

________________________________________________________________________________________

sympy [B]  time = 1.22, size = 60, normalized size = 2.50 2x+x(10log(2)+4+16log(2)2)24log(2)+48log(2)2x2(4log(2)+1+4log(2)2)+x(6log(2)+12log(2)2)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((4*(2*x**4+12*x**3+14*x**2-24*x-36)*ln(2)**2+2*(-4*x**4-12*x**3+5*x**2+24*x)*ln(2)+2*x**4-4*x**2)/(4
*(x**4+6*x**3+9*x**2)*ln(2)**2+2*(-2*x**4-6*x**3)*ln(2)+x**4),x)

[Out]

2*x + (x*(-10*log(2) + 4 + 16*log(2)**2) - 24*log(2) + 48*log(2)**2)/(x**2*(-4*log(2) + 1 + 4*log(2)**2) + x*(
-6*log(2) + 12*log(2)**2))

________________________________________________________________________________________