3.65.46 \(\int \frac {192+3 e^{2 x}-112 x+12 x^2+4 x \log (5)+e^x (-48-6 x+2 x^2+2 x \log (5))}{64 x+e^{2 x} x-32 x^2+4 x^3+e^x (-16 x+4 x^2)} \, dx\)

Optimal. Leaf size=25 \[ \frac {-8+x+\log (5)}{4-\frac {e^x}{2}-x}+3 \log (x) \]

________________________________________________________________________________________

Rubi [F]  time = 1.03, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {192+3 e^{2 x}-112 x+12 x^2+4 x \log (5)+e^x \left (-48-6 x+2 x^2+2 x \log (5)\right )}{64 x+e^{2 x} x-32 x^2+4 x^3+e^x \left (-16 x+4 x^2\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(192 + 3*E^(2*x) - 112*x + 12*x^2 + 4*x*Log[5] + E^x*(-48 - 6*x + 2*x^2 + 2*x*Log[5]))/(64*x + E^(2*x)*x -
 32*x^2 + 4*x^3 + E^x*(-16*x + 4*x^2)),x]

[Out]

3*Log[x] - 20*(8 - Log[5])*Defer[Int][(-8 + E^x + 2*x)^(-2), x] + 4*(13 - Log[5])*Defer[Int][x/(-8 + E^x + 2*x
)^2, x] - 4*Defer[Int][x^2/(-8 + E^x + 2*x)^2, x] - 2*(9 - Log[5])*Defer[Int][(-8 + E^x + 2*x)^(-1), x] + 2*De
fer[Int][x/(-8 + E^x + 2*x), x]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {192+3 e^{2 x}+12 x^2+x (-112+4 \log (5))+e^x \left (-48-6 x+2 x^2+2 x \log (5)\right )}{64 x+e^{2 x} x-32 x^2+4 x^3+e^x \left (-16 x+4 x^2\right )} \, dx\\ &=\int \frac {3 e^{2 x}+4 \left (48+3 x^2+x (-28+\log (5))\right )+2 e^x \left (-24+x^2+x (-3+\log (5))\right )}{\left (8-e^x-2 x\right )^2 x} \, dx\\ &=\int \left (\frac {3}{x}+\frac {2 (-9+x+\log (5))}{-8+e^x+2 x}-\frac {4 (-5+x) (-8+x+\log (5))}{\left (-8+e^x+2 x\right )^2}\right ) \, dx\\ &=3 \log (x)+2 \int \frac {-9+x+\log (5)}{-8+e^x+2 x} \, dx-4 \int \frac {(-5+x) (-8+x+\log (5))}{\left (-8+e^x+2 x\right )^2} \, dx\\ &=3 \log (x)+2 \int \left (\frac {x}{-8+e^x+2 x}-\frac {9 \left (1-\frac {\log (5)}{9}\right )}{-8+e^x+2 x}\right ) \, dx-4 \int \left (\frac {x^2}{\left (-8+e^x+2 x\right )^2}+\frac {x (-13+\log (5))}{\left (-8+e^x+2 x\right )^2}-\frac {5 (-8+\log (5))}{\left (-8+e^x+2 x\right )^2}\right ) \, dx\\ &=3 \log (x)+2 \int \frac {x}{-8+e^x+2 x} \, dx-4 \int \frac {x^2}{\left (-8+e^x+2 x\right )^2} \, dx-(20 (8-\log (5))) \int \frac {1}{\left (-8+e^x+2 x\right )^2} \, dx-(2 (9-\log (5))) \int \frac {1}{-8+e^x+2 x} \, dx-(4 (-13+\log (5))) \int \frac {x}{\left (-8+e^x+2 x\right )^2} \, dx\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.26, size = 22, normalized size = 0.88 \begin {gather*} -\frac {2 (-8+x+\log (5))}{-8+e^x+2 x}+3 \log (x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(192 + 3*E^(2*x) - 112*x + 12*x^2 + 4*x*Log[5] + E^x*(-48 - 6*x + 2*x^2 + 2*x*Log[5]))/(64*x + E^(2*
x)*x - 32*x^2 + 4*x^3 + E^x*(-16*x + 4*x^2)),x]

[Out]

(-2*(-8 + x + Log[5]))/(-8 + E^x + 2*x) + 3*Log[x]

________________________________________________________________________________________

fricas [A]  time = 0.71, size = 30, normalized size = 1.20 \begin {gather*} \frac {3 \, {\left (2 \, x + e^{x} - 8\right )} \log \relax (x) - 2 \, x - 2 \, \log \relax (5) + 16}{2 \, x + e^{x} - 8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*exp(x)^2+(2*x*log(5)+2*x^2-6*x-48)*exp(x)+4*x*log(5)+12*x^2-112*x+192)/(x*exp(x)^2+(4*x^2-16*x)*e
xp(x)+4*x^3-32*x^2+64*x),x, algorithm="fricas")

[Out]

(3*(2*x + e^x - 8)*log(x) - 2*x - 2*log(5) + 16)/(2*x + e^x - 8)

________________________________________________________________________________________

giac [A]  time = 0.15, size = 34, normalized size = 1.36 \begin {gather*} \frac {6 \, x \log \relax (x) + 3 \, e^{x} \log \relax (x) - 2 \, x - 2 \, \log \relax (5) - 24 \, \log \relax (x) + 16}{2 \, x + e^{x} - 8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*exp(x)^2+(2*x*log(5)+2*x^2-6*x-48)*exp(x)+4*x*log(5)+12*x^2-112*x+192)/(x*exp(x)^2+(4*x^2-16*x)*e
xp(x)+4*x^3-32*x^2+64*x),x, algorithm="giac")

[Out]

(6*x*log(x) + 3*e^x*log(x) - 2*x - 2*log(5) - 24*log(x) + 16)/(2*x + e^x - 8)

________________________________________________________________________________________

maple [A]  time = 0.09, size = 22, normalized size = 0.88




method result size



risch \(3 \ln \relax (x )-\frac {2 \left (x +\ln \relax (5)-8\right )}{-8+{\mathrm e}^{x}+2 x}\) \(22\)
norman \(\frac {{\mathrm e}^{x}+8-2 \ln \relax (5)}{-8+{\mathrm e}^{x}+2 x}+3 \ln \relax (x )\) \(24\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3*exp(x)^2+(2*x*ln(5)+2*x^2-6*x-48)*exp(x)+4*x*ln(5)+12*x^2-112*x+192)/(x*exp(x)^2+(4*x^2-16*x)*exp(x)+4*
x^3-32*x^2+64*x),x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.51, size = 21, normalized size = 0.84 \begin {gather*} -\frac {2 \, {\left (x + \log \relax (5) - 8\right )}}{2 \, x + e^{x} - 8} + 3 \, \log \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*exp(x)^2+(2*x*log(5)+2*x^2-6*x-48)*exp(x)+4*x*log(5)+12*x^2-112*x+192)/(x*exp(x)^2+(4*x^2-16*x)*e
xp(x)+4*x^3-32*x^2+64*x),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.15, size = 34, normalized size = 1.36 \begin {gather*} 3\,\ln \relax (x)-\frac {x\,\left (\frac {\ln \relax (5)}{2}-2\right )+{\mathrm {e}}^x\,\left (\frac {\ln \relax (5)}{4}-2\right )}{2\,x+{\mathrm {e}}^x-8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3*exp(2*x) - 112*x + 4*x*log(5) + 12*x^2 - exp(x)*(6*x - 2*x*log(5) - 2*x^2 + 48) + 192)/(64*x + x*exp(2*
x) - exp(x)*(16*x - 4*x^2) - 32*x^2 + 4*x^3),x)

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.13, size = 22, normalized size = 0.88 \begin {gather*} \frac {- 2 x - 2 \log {\relax (5 )} + 16}{2 x + e^{x} - 8} + 3 \log {\relax (x )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3*exp(x)**2+(2*x*ln(5)+2*x**2-6*x-48)*exp(x)+4*x*ln(5)+12*x**2-112*x+192)/(x*exp(x)**2+(4*x**2-16*x
)*exp(x)+4*x**3-32*x**2+64*x),x)

[Out]

(-2*x - 2*log(5) + 16)/(2*x + exp(x) - 8) + 3*log(x)

________________________________________________________________________________________