3.6.72 \(\int \frac {-3 x^3+12 x^3 \log (x)+220 \log ^2(x)}{4 \log ^2(x)} \, dx\) [572]

Optimal. Leaf size=19 \[ x+3 \left (18 x+\frac {x^4}{4 \log (x)}\right ) \]

[Out]

55*x+3/4*x^4/ln(x)

________________________________________________________________________________________

Rubi [A]
time = 0.08, antiderivative size = 15, normalized size of antiderivative = 0.79, number of steps used = 8, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {12, 6874, 2343, 2346, 2209} \begin {gather*} \frac {3 x^4}{4 \log (x)}+55 x \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

55*x + (3*x^4)/(4*Log[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 2209

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - c*(f/d)))/d)*ExpInteg
ralEi[f*g*(c + d*x)*(Log[F]/d)], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2343

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

Rule 2346

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rule 6874

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.04, size = 15, normalized size = 0.79 \begin {gather*} 55 x+\frac {3 x^4}{4 \log (x)} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

55*x + (3*x^4)/(4*Log[x])

________________________________________________________________________________________

Maple [A]
time = 0.04, size = 14, normalized size = 0.74

method result size
default \(55 x +\frac {3 x^{4}}{4 \ln \left (x \right )}\) \(14\)
risch \(55 x +\frac {3 x^{4}}{4 \ln \left (x \right )}\) \(14\)
norman \(\frac {\frac {3 x^{4}}{4}+55 x \ln \left (x \right )}{\ln \left (x \right )}\) \(17\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

55*x+3/4*x^4/ln(x)

________________________________________________________________________________________

Maxima [C] Result contains higher order function than in optimal. Order 4 vs. order 3.
time = 0.29, size = 19, normalized size = 1.00 \begin {gather*} 55 \, x + 3 \, {\rm Ei}\left (4 \, \log \left (x\right )\right ) - 3 \, \Gamma \left (-1, -4 \, \log \left (x\right )\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

55*x + 3*Ei(4*log(x)) - 3*gamma(-1, -4*log(x))

________________________________________________________________________________________

Fricas [A]
time = 0.32, size = 17, normalized size = 0.89 \begin {gather*} \frac {3 \, x^{4} + 220 \, x \log \left (x\right )}{4 \, \log \left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*(3*x^4 + 220*x*log(x))/log(x)

________________________________________________________________________________________

Sympy [A]
time = 0.03, size = 12, normalized size = 0.63 \begin {gather*} \frac {3 x^{4}}{4 \log {\left (x \right )}} + 55 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

3*x**4/(4*log(x)) + 55*x

________________________________________________________________________________________

Giac [A]
time = 0.40, size = 13, normalized size = 0.68 \begin {gather*} \frac {3 \, x^{4}}{4 \, \log \left (x\right )} + 55 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

3/4*x^4/log(x) + 55*x

________________________________________________________________________________________

Mupad [B]
time = 0.47, size = 13, normalized size = 0.68 \begin {gather*} 55\,x+\frac {3\,x^4}{4\,\ln \left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3*x^3*log(x) + 55*log(x)^2 - (3*x^3)/4)/log(x)^2,x)

[Out]

55*x + (3*x^4)/(4*log(x))

________________________________________________________________________________________