3.21.21 \(\int \frac {60+60 x+e^x (-16+24 x-9 x^2)+e^{x+e^x x} (16-8 x-15 x^2+9 x^3+e^x (16+8 x-23 x^2-6 x^3+9 x^4))+e^x (-16+8 x+15 x^2-9 x^3) \log (1+x)}{16-8 x-15 x^2+9 x^3} \, dx\)

Optimal. Leaf size=35 \[ 4+e^{x+e^x x}+\frac {5}{-x+\frac {4+x}{4}}-e^x \log (1+x) \]

________________________________________________________________________________________

Rubi [F]  time = 0.51, 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 {60+60 x+e^x \left (-16+24 x-9 x^2\right )+e^{x+e^x x} \left (16-8 x-15 x^2+9 x^3+e^x \left (16+8 x-23 x^2-6 x^3+9 x^4\right )\right )+e^x \left (-16+8 x+15 x^2-9 x^3\right ) \log (1+x)}{16-8 x-15 x^2+9 x^3} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(60 + 60*x + E^x*(-16 + 24*x - 9*x^2) + E^(x + E^x*x)*(16 - 8*x - 15*x^2 + 9*x^3 + E^x*(16 + 8*x - 23*x^2
- 6*x^3 + 9*x^4)) + E^x*(-16 + 8*x + 15*x^2 - 9*x^3)*Log[1 + x])/(16 - 8*x - 15*x^2 + 9*x^3),x]

[Out]

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

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \left (e^{x+e^x x}+\frac {60}{(4-3 x)^2}-\frac {e^x}{1+x}+e^{2 x+e^x x} (1+x)-e^x \log (1+x)\right ) \, dx\\ &=\frac {20}{4-3 x}+\int e^{x+e^x x} \, dx-\int \frac {e^x}{1+x} \, dx+\int e^{2 x+e^x x} (1+x) \, dx-\int e^x \log (1+x) \, dx\\ &=\frac {20}{4-3 x}-\frac {\text {Ei}(1+x)}{e}-e^x \log (1+x)+\int e^{x+e^x x} \, dx+\int \frac {e^x}{1+x} \, dx+\int \left (e^{2 x+e^x x}+e^{2 x+e^x x} x\right ) \, dx\\ &=\frac {20}{4-3 x}-e^x \log (1+x)+\int e^{x+e^x x} \, dx+\int e^{2 x+e^x x} \, dx+\int e^{2 x+e^x x} x \, dx\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.22, size = 28, normalized size = 0.80 \begin {gather*} e^{x+e^x x}-\frac {20}{-4+3 x}-e^x \log (1+x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(60 + 60*x + E^x*(-16 + 24*x - 9*x^2) + E^(x + E^x*x)*(16 - 8*x - 15*x^2 + 9*x^3 + E^x*(16 + 8*x - 2
3*x^2 - 6*x^3 + 9*x^4)) + E^x*(-16 + 8*x + 15*x^2 - 9*x^3)*Log[1 + x])/(16 - 8*x - 15*x^2 + 9*x^3),x]

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.85, size = 37, normalized size = 1.06 \begin {gather*} -\frac {{\left (3 \, x - 4\right )} e^{x} \log \left (x + 1\right ) - {\left (3 \, x - 4\right )} e^{\left (x e^{x} + x\right )} + 20}{3 \, x - 4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((((9*x^4-6*x^3-23*x^2+8*x+16)*exp(x)+9*x^3-15*x^2-8*x+16)*exp(exp(x)*x+x)+(-9*x^3+15*x^2+8*x-16)*exp
(x)*log(x+1)+(-9*x^2+24*x-16)*exp(x)+60*x+60)/(9*x^3-15*x^2-8*x+16),x, algorithm="fricas")

[Out]

-((3*x - 4)*e^x*log(x + 1) - (3*x - 4)*e^(x*e^x + x) + 20)/(3*x - 4)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int -\frac {{\left (9 \, x^{3} - 15 \, x^{2} - 8 \, x + 16\right )} e^{x} \log \left (x + 1\right ) - {\left (9 \, x^{3} - 15 \, x^{2} + {\left (9 \, x^{4} - 6 \, x^{3} - 23 \, x^{2} + 8 \, x + 16\right )} e^{x} - 8 \, x + 16\right )} e^{\left (x e^{x} + x\right )} + {\left (9 \, x^{2} - 24 \, x + 16\right )} e^{x} - 60 \, x - 60}{9 \, x^{3} - 15 \, x^{2} - 8 \, x + 16}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((((9*x^4-6*x^3-23*x^2+8*x+16)*exp(x)+9*x^3-15*x^2-8*x+16)*exp(exp(x)*x+x)+(-9*x^3+15*x^2+8*x-16)*exp
(x)*log(x+1)+(-9*x^2+24*x-16)*exp(x)+60*x+60)/(9*x^3-15*x^2-8*x+16),x, algorithm="giac")

[Out]

integrate(-((9*x^3 - 15*x^2 - 8*x + 16)*e^x*log(x + 1) - (9*x^3 - 15*x^2 + (9*x^4 - 6*x^3 - 23*x^2 + 8*x + 16)
*e^x - 8*x + 16)*e^(x*e^x + x) + (9*x^2 - 24*x + 16)*e^x - 60*x - 60)/(9*x^3 - 15*x^2 - 8*x + 16), x)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 26, normalized size = 0.74




method result size



risch \(-\ln \left (x +1\right ) {\mathrm e}^{x}-\frac {20}{3 x -4}+{\mathrm e}^{x \left ({\mathrm e}^{x}+1\right )}\) \(26\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((((9*x^4-6*x^3-23*x^2+8*x+16)*exp(x)+9*x^3-15*x^2-8*x+16)*exp(exp(x)*x+x)+(-9*x^3+15*x^2+8*x-16)*exp(x)*ln
(x+1)+(-9*x^2+24*x-16)*exp(x)+60*x+60)/(9*x^3-15*x^2-8*x+16),x,method=_RETURNVERBOSE)

[Out]

-ln(x+1)*exp(x)-20/(3*x-4)+exp(x*(exp(x)+1))

________________________________________________________________________________________

maxima [A]  time = 0.48, size = 25, normalized size = 0.71 \begin {gather*} -e^{x} \log \left (x + 1\right ) - \frac {20}{3 \, x - 4} + e^{\left (x e^{x} + x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((((9*x^4-6*x^3-23*x^2+8*x+16)*exp(x)+9*x^3-15*x^2-8*x+16)*exp(exp(x)*x+x)+(-9*x^3+15*x^2+8*x-16)*exp
(x)*log(x+1)+(-9*x^2+24*x-16)*exp(x)+60*x+60)/(9*x^3-15*x^2-8*x+16),x, algorithm="maxima")

[Out]

-e^x*log(x + 1) - 20/(3*x - 4) + e^(x*e^x + x)

________________________________________________________________________________________

mupad [B]  time = 1.36, size = 26, normalized size = 0.74 \begin {gather*} {\mathrm {e}}^{x\,{\mathrm {e}}^x}\,{\mathrm {e}}^x-\frac {20}{3\,\left (x-\frac {4}{3}\right )}-\ln \left (x+1\right )\,{\mathrm {e}}^x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(60*x + exp(x + x*exp(x))*(exp(x)*(8*x - 23*x^2 - 6*x^3 + 9*x^4 + 16) - 8*x - 15*x^2 + 9*x^3 + 16) - exp(
x)*(9*x^2 - 24*x + 16) + log(x + 1)*exp(x)*(8*x + 15*x^2 - 9*x^3 - 16) + 60)/(8*x + 15*x^2 - 9*x^3 - 16),x)

[Out]

exp(x*exp(x))*exp(x) - 20/(3*(x - 4/3)) - log(x + 1)*exp(x)

________________________________________________________________________________________

sympy [A]  time = 0.64, size = 22, normalized size = 0.63 \begin {gather*} - e^{x} \log {\left (x + 1 \right )} + e^{x e^{x} + x} - \frac {60}{9 x - 12} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((((9*x**4-6*x**3-23*x**2+8*x+16)*exp(x)+9*x**3-15*x**2-8*x+16)*exp(exp(x)*x+x)+(-9*x**3+15*x**2+8*x-
16)*exp(x)*ln(x+1)+(-9*x**2+24*x-16)*exp(x)+60*x+60)/(9*x**3-15*x**2-8*x+16),x)

[Out]

-exp(x)*log(x + 1) + exp(x*exp(x) + x) - 60/(9*x - 12)

________________________________________________________________________________________