3.88.63 \(\int \frac {1}{2} (e (-18+9 x)+3 \log (\frac {5}{4})+(e (-6+6 x)+\log (\frac {5}{4})) \log (x^3)) \, dx\) [8763]

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

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 32, normalized size of antiderivative = 1.60, number of steps used = 5, number of rules used = 3, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.086, Rules used = {12, 2369, 2350} \begin {gather*} \frac {3}{2} e x^2 \log \left (x^3\right )-\frac {1}{2} x \left (6 e-\log \left (\frac {5}{4}\right )\right ) \log \left (x^3\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(E*(-18 + 9*x) + 3*Log[5/4] + (E*(-6 + 6*x) + Log[5/4])*Log[x^3])/2,x]

[Out]

(3*E*x^2*Log[x^3])/2 - (x*(6*E - Log[5/4])*Log[x^3])/2

Rule 12

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

Rule 2350

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

Rule 2369

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*(u_)^(q_.), x_Symbol] :> Int[ExpandToSum[u, x]^q*(a + b*Log[c*
x^n])^p, x] /; FreeQ[{a, b, c, n, p, q}, x] && BinomialQ[u, x] &&  !BinomialMatchQ[u, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.02, size = 34, normalized size = 1.70 \begin {gather*} -3 e x \log \left (x^3\right )+\frac {3}{2} e x^2 \log \left (x^3\right )+\frac {1}{2} x \log \left (\frac {5}{4}\right ) \log \left (x^3\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(E*(-18 + 9*x) + 3*Log[5/4] + (E*(-6 + 6*x) + Log[5/4])*Log[x^3])/2,x]

[Out]

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

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(79\) vs. \(2(17)=34\).
time = 0.30, size = 80, normalized size = 4.00

method result size
norman \(\left (-3 \,{\mathrm e}+\frac {\ln \left (5\right )}{2}-\ln \left (2\right )\right ) x \ln \left (x^{3}\right )+\frac {3 \,{\mathrm e} \ln \left (x^{3}\right ) x^{2}}{2}\) \(32\)
risch \(\frac {3 \,{\mathrm e} \ln \left (x^{3}\right ) x^{2}}{2}-3 \,{\mathrm e} \ln \left (x^{3}\right ) x -\ln \left (2\right ) \ln \left (x^{3}\right ) x +\frac {\ln \left (5\right ) \ln \left (x^{3}\right ) x}{2}\) \(40\)
default \(\frac {{\mathrm e} \left (\frac {9}{2} x^{2}-18 x \right )}{2}+\frac {\ln \left (5\right ) \ln \left (x^{3}\right ) x}{2}-\frac {3 x \ln \left (5\right )}{2}-3 \,{\mathrm e} \ln \left (x^{3}\right ) x +9 x \,{\mathrm e}-\ln \left (2\right ) \ln \left (x^{3}\right ) x +3 x \ln \left (2\right )+\frac {3 \,{\mathrm e} \ln \left (x^{3}\right ) x^{2}}{2}-\frac {9 x^{2} {\mathrm e}}{4}+\frac {3 \ln \left (\frac {5}{4}\right ) x}{2}\) \(80\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/2*(ln(5/4)+(6*x-6)*exp(1))*ln(x^3)+3/2*ln(5/4)+1/2*(9*x-18)*exp(1),x,method=_RETURNVERBOSE)

[Out]

1/2*exp(1)*(9/2*x^2-18*x)+1/2*ln(5)*ln(x^3)*x-3/2*x*ln(5)-3*exp(1)*ln(x^3)*x+9*x*exp(1)-ln(2)*ln(x^3)*x+3*x*ln
(2)+3/2*exp(1)*ln(x^3)*x^2-9/4*x^2*exp(1)+3/2*ln(5/4)*x

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 58 vs. \(2 (17) = 34\).
time = 0.27, size = 58, normalized size = 2.90 \begin {gather*} -\frac {9}{4} \, x^{2} e + \frac {3}{2} \, x {\left (6 \, e - \log \left (\frac {5}{4}\right )\right )} + \frac {9}{4} \, {\left (x^{2} - 4 \, x\right )} e + \frac {3}{2} \, x \log \left (\frac {5}{4}\right ) + \frac {1}{2} \, {\left (3 \, {\left (x^{2} - 2 \, x\right )} e + x \log \left (\frac {5}{4}\right )\right )} \log \left (x^{3}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-9/4*x^2*e + 3/2*x*(6*e - log(5/4)) + 9/4*(x^2 - 4*x)*e + 3/2*x*log(5/4) + 1/2*(3*(x^2 - 2*x)*e + x*log(5/4))*
log(x^3)

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 22, normalized size = 1.10 \begin {gather*} \frac {1}{2} \, {\left (3 \, {\left (x^{2} - 2 \, x\right )} e + x \log \left (\frac {5}{4}\right )\right )} \log \left (x^{3}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [A]
time = 0.08, size = 32, normalized size = 1.60 \begin {gather*} \left (\frac {3 e x^{2}}{2} - 3 e x - x \log {\left (2 \right )} + \frac {x \log {\left (5 \right )}}{2}\right ) \log {\left (x^{3} \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/2*(ln(5/4)+(6*x-6)*exp(1))*ln(x**3)+3/2*ln(5/4)+1/2*(9*x-18)*exp(1),x)

[Out]

(3*E*x**2/2 - 3*E*x - x*log(2) + x*log(5)/2)*log(x**3)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 46 vs. \(2 (17) = 34\).
time = 0.41, size = 46, normalized size = 2.30 \begin {gather*} -\frac {9}{4} \, x^{2} e + \frac {9}{4} \, {\left (x^{2} - 4 \, x\right )} e + 9 \, x e + \frac {1}{2} \, {\left (3 \, {\left (x^{2} - 2 \, x\right )} e + x \log \left (\frac {5}{4}\right )\right )} \log \left (x^{3}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Mupad [B]
time = 5.59, size = 19, normalized size = 0.95 \begin {gather*} \frac {x\,\ln \left (x^3\right )\,\left (\ln \left (\frac {5}{4}\right )-6\,\mathrm {e}+3\,x\,\mathrm {e}\right )}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3*log(5/4))/2 + (log(x^3)*(log(5/4) + exp(1)*(6*x - 6)))/2 + (exp(1)*(9*x - 18))/2,x)

[Out]

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

________________________________________________________________________________________