\(\int \frac {2-6 x+e^{18} (-100 x-20 e x-e^2 x)}{-6 x^2+e^{18} (-100 x^2-20 e x^2-e^2 x^2)+2 x \log (x)} \, dx\) [4359]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 61, antiderivative size = 22 \[ \int \frac {2-6 x+e^{18} \left (-100 x-20 e x-e^2 x\right )}{-6 x^2+e^{18} \left (-100 x^2-20 e x^2-e^2 x^2\right )+2 x \log (x)} \, dx=\log \left (3 x+\frac {1}{2} e^{18} (10+e)^2 x-\log (x)\right ) \]

[Out]

ln(3*x-ln(x)+1/2*exp(9)^2*(10+exp(1))^2*x)

Rubi [A] (verified)

Time = 0.15 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.86, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.049, Rules used = {6873, 2641, 6816} \[ \int \frac {2-6 x+e^{18} \left (-100 x-20 e x-e^2 x\right )}{-6 x^2+e^{18} \left (-100 x^2-20 e x^2-e^2 x^2\right )+2 x \log (x)} \, dx=\log \left (\left (6+e^{18} (10+e)^2\right ) x-2 \log (x)\right ) \]

[In]

Int[(2 - 6*x + E^18*(-100*x - 20*E*x - E^2*x))/(-6*x^2 + E^18*(-100*x^2 - 20*E*x^2 - E^2*x^2) + 2*x*Log[x]),x]

[Out]

Log[(6 + E^18*(10 + E)^2)*x - 2*Log[x]]

Rule 2641

Int[(u_.)*((a_.)*(x_)^(m_.) + Log[(c_.)*(x_)^(n_.)]^(q_.)*(b_.)*(x_)^(r_.))^(p_.), x_Symbol] :> Int[u*x^(p*r)*
(a*x^(m - r) + b*Log[c*x^n]^q)^p, x] /; FreeQ[{a, b, c, m, n, p, q, r}, x] && IntegerQ[p]

Rule 6816

Int[(u_)/(y_), x_Symbol] :> With[{q = DerivativeDivides[y, u, x]}, Simp[q*Log[RemoveContent[y, x]], x] /;  !Fa
lseQ[q]]

Rule 6873

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

Rubi steps \begin{align*} \text {integral}& = \int \frac {-2+\left (6+100 e^{18}+20 e^{19}+e^{20}\right ) x}{6 \left (1+\frac {1}{6} e^{18} (10+e)^2\right ) x^2-2 x \log (x)} \, dx \\ & = \int \frac {-2+\left (6+100 e^{18}+20 e^{19}+e^{20}\right ) x}{x \left (6 \left (1+\frac {1}{6} e^{18} (10+e)^2\right ) x-2 \log (x)\right )} \, dx \\ & = \log \left (\left (6+e^{18} (10+e)^2\right ) x-2 \log (x)\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.19 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.18 \[ \int \frac {2-6 x+e^{18} \left (-100 x-20 e x-e^2 x\right )}{-6 x^2+e^{18} \left (-100 x^2-20 e x^2-e^2 x^2\right )+2 x \log (x)} \, dx=\log \left (6 x+100 e^{18} x+20 e^{19} x+e^{20} x-2 \log (x)\right ) \]

[In]

Integrate[(2 - 6*x + E^18*(-100*x - 20*E*x - E^2*x))/(-6*x^2 + E^18*(-100*x^2 - 20*E*x^2 - E^2*x^2) + 2*x*Log[
x]),x]

[Out]

Log[6*x + 100*E^18*x + 20*E^19*x + E^20*x - 2*Log[x]]

Maple [A] (verified)

Time = 0.08 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.05

method result size
risch \(\ln \left (-\frac {x \,{\mathrm e}^{20}}{2}-10 \,{\mathrm e}^{19} x -50 \,{\mathrm e}^{18} x -3 x +\ln \left (x \right )\right )\) \(23\)
default \(\ln \left ({\mathrm e}^{18} {\mathrm e}^{2} x +20 \,{\mathrm e}^{18} {\mathrm e} x +100 \,{\mathrm e}^{18} x -2 \ln \left (x \right )+6 x \right )\) \(36\)
norman \(\ln \left ({\mathrm e}^{18} {\mathrm e}^{2} x +20 \,{\mathrm e}^{18} {\mathrm e} x +100 \,{\mathrm e}^{18} x -2 \ln \left (x \right )+6 x \right )\) \(36\)
parallelrisch \(\ln \left (\frac {{\mathrm e}^{18} {\mathrm e}^{2} x +20 \,{\mathrm e}^{18} {\mathrm e} x +100 \,{\mathrm e}^{18} x -2 \ln \left (x \right )+6 x}{{\mathrm e}^{18} {\mathrm e}^{2}+20 \,{\mathrm e}^{18} {\mathrm e}+100 \,{\mathrm e}^{18}+6}\right )\) \(64\)

[In]

int(((-x*exp(1)^2-20*x*exp(1)-100*x)*exp(9)^2-6*x+2)/(2*x*ln(x)+(-x^2*exp(1)^2-20*x^2*exp(1)-100*x^2)*exp(9)^2
-6*x^2),x,method=_RETURNVERBOSE)

[Out]

ln(-1/2*x*exp(20)-10*exp(19)*x-50*exp(18)*x-3*x+ln(x))

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.09 \[ \int \frac {2-6 x+e^{18} \left (-100 x-20 e x-e^2 x\right )}{-6 x^2+e^{18} \left (-100 x^2-20 e x^2-e^2 x^2\right )+2 x \log (x)} \, dx=\log \left (-x e^{20} - 20 \, x e^{19} - 100 \, x e^{18} - 6 \, x + 2 \, \log \left (x\right )\right ) \]

[In]

integrate(((-x*exp(1)^2-20*x*exp(1)-100*x)*exp(9)^2-6*x+2)/(2*x*log(x)+(-x^2*exp(1)^2-20*x^2*exp(1)-100*x^2)*e
xp(9)^2-6*x^2),x, algorithm="fricas")

[Out]

log(-x*e^20 - 20*x*e^19 - 100*x*e^18 - 6*x + 2*log(x))

Sympy [A] (verification not implemented)

Time = 0.10 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.23 \[ \int \frac {2-6 x+e^{18} \left (-100 x-20 e x-e^2 x\right )}{-6 x^2+e^{18} \left (-100 x^2-20 e x^2-e^2 x^2\right )+2 x \log (x)} \, dx=\log {\left (- 50 x e^{18} - 10 x e^{19} - \frac {x e^{20}}{2} - 3 x + \log {\left (x \right )} \right )} \]

[In]

integrate(((-x*exp(1)**2-20*x*exp(1)-100*x)*exp(9)**2-6*x+2)/(2*x*ln(x)+(-x**2*exp(1)**2-20*x**2*exp(1)-100*x*
*2)*exp(9)**2-6*x**2),x)

[Out]

log(-50*x*exp(18) - 10*x*exp(19) - x*exp(20)/2 - 3*x + log(x))

Maxima [A] (verification not implemented)

none

Time = 0.22 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.86 \[ \int \frac {2-6 x+e^{18} \left (-100 x-20 e x-e^2 x\right )}{-6 x^2+e^{18} \left (-100 x^2-20 e x^2-e^2 x^2\right )+2 x \log (x)} \, dx=\log \left (-\frac {1}{2} \, x {\left (e^{20} + 20 \, e^{19} + 100 \, e^{18} + 6\right )} + \log \left (x\right )\right ) \]

[In]

integrate(((-x*exp(1)^2-20*x*exp(1)-100*x)*exp(9)^2-6*x+2)/(2*x*log(x)+(-x^2*exp(1)^2-20*x^2*exp(1)-100*x^2)*e
xp(9)^2-6*x^2),x, algorithm="maxima")

[Out]

log(-1/2*x*(e^20 + 20*e^19 + 100*e^18 + 6) + log(x))

Giac [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.09 \[ \int \frac {2-6 x+e^{18} \left (-100 x-20 e x-e^2 x\right )}{-6 x^2+e^{18} \left (-100 x^2-20 e x^2-e^2 x^2\right )+2 x \log (x)} \, dx=\log \left (-x e^{20} - 20 \, x e^{19} - 100 \, x e^{18} - 6 \, x + 2 \, \log \left (x\right )\right ) \]

[In]

integrate(((-x*exp(1)^2-20*x*exp(1)-100*x)*exp(9)^2-6*x+2)/(2*x*log(x)+(-x^2*exp(1)^2-20*x^2*exp(1)-100*x^2)*e
xp(9)^2-6*x^2),x, algorithm="giac")

[Out]

log(-x*e^20 - 20*x*e^19 - 100*x*e^18 - 6*x + 2*log(x))

Mupad [B] (verification not implemented)

Time = 11.89 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.05 \[ \int \frac {2-6 x+e^{18} \left (-100 x-20 e x-e^2 x\right )}{-6 x^2+e^{18} \left (-100 x^2-20 e x^2-e^2 x^2\right )+2 x \log (x)} \, dx=\ln \left (6\,x-2\,\ln \left (x\right )+100\,x\,{\mathrm {e}}^{18}+20\,x\,{\mathrm {e}}^{19}+x\,{\mathrm {e}}^{20}\right ) \]

[In]

int((6*x + exp(18)*(100*x + 20*x*exp(1) + x*exp(2)) - 2)/(exp(18)*(20*x^2*exp(1) + x^2*exp(2) + 100*x^2) - 2*x
*log(x) + 6*x^2),x)

[Out]

log(6*x - 2*log(x) + 100*x*exp(18) + 20*x*exp(19) + x*exp(20))