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\) [6914]

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

[Out]

ln(x)^2/exp(2)/x-x^2-6*ln(x*exp(5*x))

________________________________________________________________________________________

Rubi [A]
time = 0.03, 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, 2341, 2342} \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 2341

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 2342

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)

________________________________________________________________________________________

Maple [A]
time = 0.33, size = 33, normalized size = 1.22

method result size
risch \(-x^{2}-30 x -6 \ln \left (x \right )+\frac {\ln \left (x \right )^{2} {\mathrm e}^{-2}}{x}\) \(24\)
norman \(\frac {\ln \left (x \right )^{2} {\mathrm e}^{-2}-6 x \ln \left (x \right )-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 \left (x \right )+\frac {\ln \left (x \right )^{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]

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

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 49, normalized size = 1.81 \begin {gather*} -{\left (x^{2} e^{2} + 30 \, x e^{2} + 6 \, e^{2} \log \left (x\right ) - \frac {\log \left (x\right )^{2} + 2 \, \log \left (x\right ) + 2}{x} + \frac {2 \, \log \left (x\right )}{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)

________________________________________________________________________________________

Fricas [A]
time = 0.38, size = 33, normalized size = 1.22 \begin {gather*} -\frac {{\left (6 \, x e^{2} \log \left (x\right ) + {\left (x^{3} + 30 \, x^{2}\right )} e^{2} - \log \left (x\right )^{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

________________________________________________________________________________________

Sympy [A]
time = 0.06, size = 20, normalized size = 0.74 \begin {gather*} - x^{2} - 30 x - 6 \log {\left (x \right )} + \frac {\log {\left (x \right )}^{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

________________________________________________________________________________________

Giac [A]
time = 0.44, size = 34, normalized size = 1.26 \begin {gather*} -\frac {{\left (x^{3} e^{2} + 30 \, x^{2} e^{2} + 6 \, x e^{2} \log \left (x\right ) - \log \left (x\right )^{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

________________________________________________________________________________________

Mupad [B]
time = 4.18, size = 23, normalized size = 0.85 \begin {gather*} \frac {{\mathrm {e}}^{-2}\,{\ln \left (x\right )}^2}{x}-6\,\ln \left (x\right )-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

________________________________________________________________________________________