3.70.14 \(\int \frac {e^2 (-6 x-30 x^2-2 x^3)+2 \log (x)-\log ^2(x)}{e^2 x^2} \, dx\)

Optimal. Leaf size=27 \[ -x^2+\frac {\log ^2(x)}{e^2 x}-6 \log \left (e^{5 x} x\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 24, normalized size of antiderivative = 0.89, number of steps used = 8, number of rules used = 4, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {12, 14, 2304, 2305} \begin {gather*} -x^2-30 x+\frac {\log ^2(x)}{e^2 x}-6 \log (x) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(E^2*(-6*x - 30*x^2 - 2*x^3) + 2*Log[x] - Log[x]^2)/(E^2*x^2),x]

[Out]

-30*x - x^2 - 6*Log[x] + Log[x]^2/(E^2*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 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 2304

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

Rule 2305

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Lo
g[c*x^n])^p)/(d*(m + 1)), x] - Dist[(b*n*p)/(m + 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] && GtQ[p, 0]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 35, normalized size = 1.30 \begin {gather*} -\frac {30 e^2 x+e^2 x^2+6 e^2 \log (x)-\frac {\log ^2(x)}{x}}{e^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(E^2*(-6*x - 30*x^2 - 2*x^3) + 2*Log[x] - Log[x]^2)/(E^2*x^2),x]

[Out]

-((30*E^2*x + E^2*x^2 + 6*E^2*Log[x] - Log[x]^2/x)/E^2)

________________________________________________________________________________________

fricas [A]  time = 0.65, size = 33, normalized size = 1.22 \begin {gather*} -\frac {{\left (6 \, x e^{2} \log \relax (x) + {\left (x^{3} + 30 \, x^{2}\right )} e^{2} - \log \relax (x)^{2}\right )} e^{\left (-2\right )}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-log(x)^2+2*log(x)+(-2*x^3-30*x^2-6*x)*exp(2))/x^2/exp(2),x, algorithm="fricas")

[Out]

-(6*x*e^2*log(x) + (x^3 + 30*x^2)*e^2 - log(x)^2)*e^(-2)/x

________________________________________________________________________________________

giac [A]  time = 0.23, size = 34, normalized size = 1.26 \begin {gather*} -\frac {{\left (x^{3} e^{2} + 30 \, x^{2} e^{2} + 6 \, x e^{2} \log \relax (x) - \log \relax (x)^{2}\right )} e^{\left (-2\right )}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-log(x)^2+2*log(x)+(-2*x^3-30*x^2-6*x)*exp(2))/x^2/exp(2),x, algorithm="giac")

[Out]

-(x^3*e^2 + 30*x^2*e^2 + 6*x*e^2*log(x) - log(x)^2)*e^(-2)/x

________________________________________________________________________________________

maple [A]  time = 0.04, size = 24, normalized size = 0.89




method result size



risch \(-x^{2}-30 x -6 \ln \relax (x )+\frac {\ln \relax (x )^{2} {\mathrm e}^{-2}}{x}\) \(24\)
norman \(\frac {\ln \relax (x )^{2} {\mathrm e}^{-2}-6 x \ln \relax (x )-30 x^{2}-x^{3}}{x}\) \(30\)
default \({\mathrm e}^{-2} \left (-x^{2} {\mathrm e}^{2}-30 \,{\mathrm e}^{2} x -6 \,{\mathrm e}^{2} \ln \relax (x )+\frac {\ln \relax (x )^{2}}{x}\right )\) \(33\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-ln(x)^2+2*ln(x)+(-2*x^3-30*x^2-6*x)*exp(2))/x^2/exp(2),x,method=_RETURNVERBOSE)

[Out]

-x^2-30*x-6*ln(x)+ln(x)^2*exp(-2)/x

________________________________________________________________________________________

maxima [A]  time = 0.39, size = 49, normalized size = 1.81 \begin {gather*} -{\left (x^{2} e^{2} + 30 \, x e^{2} + 6 \, e^{2} \log \relax (x) - \frac {\log \relax (x)^{2} + 2 \, \log \relax (x) + 2}{x} + \frac {2 \, \log \relax (x)}{x} + \frac {2}{x}\right )} e^{\left (-2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-log(x)^2+2*log(x)+(-2*x^3-30*x^2-6*x)*exp(2))/x^2/exp(2),x, algorithm="maxima")

[Out]

-(x^2*e^2 + 30*x*e^2 + 6*e^2*log(x) - (log(x)^2 + 2*log(x) + 2)/x + 2*log(x)/x + 2/x)*e^(-2)

________________________________________________________________________________________

mupad [B]  time = 4.18, size = 23, normalized size = 0.85 \begin {gather*} \frac {{\mathrm {e}}^{-2}\,{\ln \relax (x)}^2}{x}-6\,\ln \relax (x)-x^2-30\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(exp(-2)*(log(x)^2 - 2*log(x) + exp(2)*(6*x + 30*x^2 + 2*x^3)))/x^2,x)

[Out]

(exp(-2)*log(x)^2)/x - 6*log(x) - x^2 - 30*x

________________________________________________________________________________________

sympy [A]  time = 0.14, size = 20, normalized size = 0.74 \begin {gather*} - x^{2} - 30 x - 6 \log {\relax (x )} + \frac {\log {\relax (x )}^{2}}{x e^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-ln(x)**2+2*ln(x)+(-2*x**3-30*x**2-6*x)*exp(2))/x**2/exp(2),x)

[Out]

-x**2 - 30*x - 6*log(x) + exp(-2)*log(x)**2/x

________________________________________________________________________________________