3.57.83 \(\int \frac {-e^3 x^2-x^3+(3 e^3 x^2+4 x^3) \log (\frac {-1+e^4}{12 x})}{\log (4)} \, dx\) [5683]

Optimal. Leaf size=26 \[ \frac {x^3 \left (e^3+x\right ) \log \left (\frac {-1+e^4}{12 x}\right )}{\log (4)} \]

[Out]

1/2*x^3*(exp(3)+x)*ln(1/12*(exp(4)-1)/x)/ln(2)

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 31, normalized size of antiderivative = 1.19, number of steps used = 6, number of rules used = 4, integrand size = 47, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.085, Rules used = {12, 1607, 45, 2371} \begin {gather*} \frac {\left (x^4+e^3 x^3\right ) \log \left (-\frac {1-e^4}{12 x}\right )}{\log (4)} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

((E^3*x^3 + x^4)*Log[-1/12*(1 - E^4)/x])/Log[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 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 1607

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]

Rule 2371

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*(x_)^(m_.)*((d_) + (e_.)*(x_)^(r_.))^(q_.), x_Symbol] :> With[{u = I
ntHide[x^m*(d + e*x^r)^q, x]}, Simp[u*(a + b*Log[c*x^n]), x] - Dist[b*n, Int[SimplifyIntegrand[u/x, x], x], x]
] /; FreeQ[{a, b, c, d, e, n, r}, x] && IGtQ[q, 0] && IGtQ[m, 0]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \left (-e^3 x^2-x^3+\left (3 e^3 x^2+4 x^3\right ) \log \left (\frac {-1+e^4}{12 x}\right )\right ) \, dx}{\log (4)}\\ &=-\frac {e^3 x^3}{3 \log (4)}-\frac {x^4}{4 \log (4)}+\frac {\int \left (3 e^3 x^2+4 x^3\right ) \log \left (\frac {-1+e^4}{12 x}\right ) \, dx}{\log (4)}\\ &=-\frac {e^3 x^3}{3 \log (4)}-\frac {x^4}{4 \log (4)}+\frac {\int x^2 \left (3 e^3+4 x\right ) \log \left (\frac {-1+e^4}{12 x}\right ) \, dx}{\log (4)}\\ &=-\frac {e^3 x^3}{3 \log (4)}-\frac {x^4}{4 \log (4)}+\frac {\left (e^3 x^3+x^4\right ) \log \left (-\frac {1-e^4}{12 x}\right )}{\log (4)}+\frac {\int x^2 \left (e^3+x\right ) \, dx}{\log (4)}\\ &=-\frac {e^3 x^3}{3 \log (4)}-\frac {x^4}{4 \log (4)}+\frac {\left (e^3 x^3+x^4\right ) \log \left (-\frac {1-e^4}{12 x}\right )}{\log (4)}+\frac {\int \left (e^3 x^2+x^3\right ) \, dx}{\log (4)}\\ &=\frac {\left (e^3 x^3+x^4\right ) \log \left (-\frac {1-e^4}{12 x}\right )}{\log (4)}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 45, normalized size = 1.73 \begin {gather*} \frac {e^3 x^3 \log \left (-\frac {1-e^4}{12 x}\right )+x^4 \log \left (\frac {-1+e^4}{12 x}\right )}{\log (4)} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(416\) vs. \(2(23)=46\).
time = 0.98, size = 417, normalized size = 16.04 Too large to display

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2/ln(2)*(1/20736*exp(4)^4/(1/12*exp(4)-1/12)^4*x^4*ln((1/12*exp(4)-1/12)/x)+1/5184*exp(4)^3*exp(3)/(1/12*exp
(4)-1/12)^3*x^3-1/1728*exp(3)/(1/12*exp(4)-1/12)^3*x^3*ln((1/12*exp(4)-1/12)/x)+1/1728*exp(3)*exp(4)/(1/12*exp
(4)-1/12)^3*x^3-1/5184*exp(4)/(1/12*exp(4)-1/12)^4*x^4*ln((1/12*exp(4)-1/12)/x)-1/5184*exp(4)^3/(1/12*exp(4)-1
/12)^4*x^4*ln((1/12*exp(4)-1/12)/x)+1/3456*exp(4)^2/(1/12*exp(4)-1/12)^4*x^4*ln((1/12*exp(4)-1/12)/x)-1/1728*e
xp(3)*exp(4)^2/(1/12*exp(4)-1/12)^3*x^3+1/20736/(1/12*exp(4)-1/12)^4*x^4*ln((1/12*exp(4)-1/12)/x)-1/20736*exp(
4)^3/(1/12*exp(4)-1/12)^4*x^4+1/13824*exp(4)^2/(1/12*exp(4)-1/12)^4*x^4-1/576*exp(4)^2*exp(3)/(1/12*exp(4)-1/1
2)^3*x^3*ln((1/12*exp(4)-1/12)/x)+1/576*exp(4)*exp(3)/(1/12*exp(4)-1/12)^3*x^3*ln((1/12*exp(4)-1/12)/x)+1/1728
*exp(4)^3*exp(3)/(1/12*exp(4)-1/12)^3*x^3*ln((1/12*exp(4)-1/12)/x)-1/20736*exp(4)/(1/12*exp(4)-1/12)^4*x^4-1/5
184*exp(3)/(1/12*exp(4)-1/12)^3*x^3+1/82944/(1/12*exp(4)-1/12)^4*x^4+1/82944*exp(4)^4/(1/12*exp(4)-1/12)^4*x^4
-1/4*x^4-1/3*x^3*exp(3))

________________________________________________________________________________________

Maxima [A]
time = 0.36, size = 26, normalized size = 1.00 \begin {gather*} \frac {{\left (x^{4} + x^{3} e^{3}\right )} \log \left (\frac {e^{4} - 1}{12 \, x}\right )}{2 \, \log \left (2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*(x^4 + x^3*e^3)*log(1/12*(e^4 - 1)/x)/log(2)

________________________________________________________________________________________

Fricas [A]
time = 0.37, size = 26, normalized size = 1.00 \begin {gather*} \frac {{\left (x^{4} + x^{3} e^{3}\right )} \log \left (\frac {e^{4} - 1}{12 \, x}\right )}{2 \, \log \left (2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*(x^4 + x^3*e^3)*log(1/12*(e^4 - 1)/x)/log(2)

________________________________________________________________________________________

Sympy [A]
time = 0.07, size = 26, normalized size = 1.00 \begin {gather*} \frac {\left (x^{4} + x^{3} e^{3}\right ) \log {\left (\frac {- \frac {1}{12} + \frac {e^{4}}{12}}{x} \right )}}{2 \log {\left (2 \right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/2*((3*x**2*exp(3)+4*x**3)*ln(1/12*(exp(4)-1)/x)-x**2*exp(3)-x**3)/ln(2),x)

[Out]

(x**4 + x**3*exp(3))*log((-1/12 + exp(4)/12)/x)/(2*log(2))

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 209 vs. \(2 (23) = 46\).
time = 0.40, size = 209, normalized size = 8.04 \begin {gather*} -\frac {3 \, x^{4} + 4 \, x^{3} e^{3} - \frac {\frac {12 \, x^{4} {\left (\frac {{\left (e^{4} - 1\right )} e^{19}}{x} - \frac {4 \, {\left (e^{4} - 1\right )} e^{15}}{x} + \frac {6 \, {\left (e^{4} - 1\right )} e^{11}}{x} - \frac {4 \, {\left (e^{4} - 1\right )} e^{7}}{x} + \frac {{\left (e^{4} - 1\right )} e^{3}}{x} + e^{20} - 5 \, e^{16} + 10 \, e^{12} - 10 \, e^{8} + 5 \, e^{4} - 1\right )} \log \left (\frac {e^{4} - 1}{12 \, x}\right )}{{\left (e^{4} - 1\right )}^{4}} + \frac {x^{4} {\left (\frac {4 \, {\left (e^{4} - 1\right )} e^{19}}{x} - \frac {16 \, {\left (e^{4} - 1\right )} e^{15}}{x} + \frac {24 \, {\left (e^{4} - 1\right )} e^{11}}{x} - \frac {16 \, {\left (e^{4} - 1\right )} e^{7}}{x} + \frac {4 \, {\left (e^{4} - 1\right )} e^{3}}{x} + 3 \, e^{20} - 15 \, e^{16} + 30 \, e^{12} - 30 \, e^{8} + 15 \, e^{4} - 3\right )}}{{\left (e^{4} - 1\right )}^{4}}}{e^{4} - 1}}{24 \, \log \left (2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/24*(3*x^4 + 4*x^3*e^3 - (12*x^4*((e^4 - 1)*e^19/x - 4*(e^4 - 1)*e^15/x + 6*(e^4 - 1)*e^11/x - 4*(e^4 - 1)*e
^7/x + (e^4 - 1)*e^3/x + e^20 - 5*e^16 + 10*e^12 - 10*e^8 + 5*e^4 - 1)*log(1/12*(e^4 - 1)/x)/(e^4 - 1)^4 + x^4
*(4*(e^4 - 1)*e^19/x - 16*(e^4 - 1)*e^15/x + 24*(e^4 - 1)*e^11/x - 16*(e^4 - 1)*e^7/x + 4*(e^4 - 1)*e^3/x + 3*
e^20 - 15*e^16 + 30*e^12 - 30*e^8 + 15*e^4 - 3)/(e^4 - 1)^4)/(e^4 - 1))/log(2)

________________________________________________________________________________________

Mupad [B]
time = 3.65, size = 25, normalized size = 0.96 \begin {gather*} \frac {x^3\,\left (\ln \left (\frac {1}{x}\right )+\ln \left (\frac {{\mathrm {e}}^4}{12}-\frac {1}{12}\right )\right )\,\left (x+{\mathrm {e}}^3\right )}{2\,\ln \left (2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-((x^2*exp(3))/2 - (log((exp(4)/12 - 1/12)/x)*(3*x^2*exp(3) + 4*x^3))/2 + x^3/2)/log(2),x)

[Out]

(x^3*(log(1/x) + log(exp(4)/12 - 1/12))*(x + exp(3)))/(2*log(2))

________________________________________________________________________________________