\(\int \frac {e^{\frac {1}{4} (15-4 e^x+20 x-5 \log (3))} (-e^x x \log (4)+(-1+5 x) \log (4))}{x^2} \, dx\) [1392]

   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 [F(-2)]
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 41, antiderivative size = 29 \[ \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x-5 \log (3)\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx=\frac {e^{-e^x+5 \left (1+x+\frac {1}{4} (-1-\log (3))\right )} \log (4)}{x} \]

[Out]

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

Rubi [A] (verified)

Time = 0.40 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.69, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.098, Rules used = {2306, 12, 6873, 2326} \[ \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x-5 \log (3)\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx=\frac {e^{\frac {1}{4} \left (20 x-4 e^x+15\right )} \left (5 x-e^x x\right ) \log (4)}{3 \sqrt [4]{3} \left (5-e^x\right ) x^2} \]

[In]

Int[(E^((15 - 4*E^x + 20*x - 5*Log[3])/4)*(-(E^x*x*Log[4]) + (-1 + 5*x)*Log[4]))/x^2,x]

[Out]

(E^((15 - 4*E^x + 20*x)/4)*(5*x - E^x*x)*Log[4])/(3*3^(1/4)*(5 - E^x)*x^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 2306

Int[(u_.)*(F_)^((a_.)*(Log[z_]*(b_.) + (v_.))), x_Symbol] :> Int[u*F^(a*v)*z^(a*b*Log[F]), x] /; FreeQ[{F, a,
b}, x]

Rule 2326

Int[(y_.)*(F_)^(u_)*((v_) + (w_)), x_Symbol] :> With[{z = v*(y/(Log[F]*D[u, x]))}, Simp[F^u*z, x] /; EqQ[D[z,
x], w*y]] /; FreeQ[F, x]

Rule 6873

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

Rubi steps \begin{align*} \text {integral}& = \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{3 \sqrt [4]{3} x^2} \, dx \\ & = \frac {\int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx}{3 \sqrt [4]{3}} \\ & = \frac {\int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x\right )} \left (-1+5 x-e^x x\right ) \log (4)}{x^2} \, dx}{3 \sqrt [4]{3}} \\ & = \frac {\log (4) \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x\right )} \left (-1+5 x-e^x x\right )}{x^2} \, dx}{3 \sqrt [4]{3}} \\ & = \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x\right )} \left (5 x-e^x x\right ) \log (4)}{3 \sqrt [4]{3} \left (5-e^x\right ) x^2} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.04 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.97 \[ \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x-5 \log (3)\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx=\frac {e^{\frac {15}{4}-e^x+5 x} \log (4)}{3 \sqrt [4]{3} x} \]

[In]

Integrate[(E^((15 - 4*E^x + 20*x - 5*Log[3])/4)*(-(E^x*x*Log[4]) + (-1 + 5*x)*Log[4]))/x^2,x]

[Out]

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

Maple [A] (verified)

Time = 0.13 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.72

method result size
risch \(\frac {2 \ln \left (2\right ) 3^{\frac {3}{4}} {\mathrm e}^{-{\mathrm e}^{x}+\frac {15}{4}+5 x}}{9 x}\) \(21\)
norman \(\frac {2 \ln \left (2\right ) {\mathrm e}^{-{\mathrm e}^{x}-\frac {5 \ln \left (3\right )}{4}+5 x +\frac {15}{4}}}{x}\) \(22\)
parallelrisch \(\frac {2 \ln \left (2\right ) {\mathrm e}^{-{\mathrm e}^{x}-\frac {5 \ln \left (3\right )}{4}+5 x +\frac {15}{4}}}{x}\) \(22\)

[In]

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

[Out]

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

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.72 \[ \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x-5 \log (3)\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx=\frac {2 \, e^{\left (5 \, x - e^{x} - \frac {5}{4} \, \log \left (3\right ) + \frac {15}{4}\right )} \log \left (2\right )}{x} \]

[In]

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

[Out]

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

Sympy [A] (verification not implemented)

Time = 0.14 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.83 \[ \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x-5 \log (3)\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx=\frac {2 \cdot 3^{\frac {3}{4}} e^{5 x - e^{x} + \frac {15}{4}} \log {\left (2 \right )}}{9 x} \]

[In]

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

[Out]

2*3**(3/4)*exp(5*x - exp(x) + 15/4)*log(2)/(9*x)

Maxima [A] (verification not implemented)

none

Time = 0.38 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.69 \[ \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x-5 \log (3)\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx=\frac {2 \cdot 3^{\frac {3}{4}} e^{\left (5 \, x - e^{x} + \frac {15}{4}\right )} \log \left (2\right )}{9 \, x} \]

[In]

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

[Out]

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

Giac [F(-2)]

Exception generated. \[ \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x-5 \log (3)\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx=\text {Exception raised: TypeError} \]

[In]

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

[Out]

Exception raised: TypeError >> an error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:Polynomial exponent overflow. Error: Bad Argument Value

Mupad [B] (verification not implemented)

Time = 0.13 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.72 \[ \int \frac {e^{\frac {1}{4} \left (15-4 e^x+20 x-5 \log (3)\right )} \left (-e^x x \log (4)+(-1+5 x) \log (4)\right )}{x^2} \, dx=\frac {2\,3^{3/4}\,{\mathrm {e}}^{5\,x}\,{\mathrm {e}}^{15/4}\,{\mathrm {e}}^{-{\mathrm {e}}^x}\,\ln \left (2\right )}{9\,x} \]

[In]

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

[Out]

(2*3^(3/4)*exp(5*x)*exp(15/4)*exp(-exp(x))*log(2))/(9*x)