3.103.25 \(\int \frac {71+e^{18+12 x+2 x^2}+e^{9+6 x+x^2} (17-6 x-2 x^2)+(17+2 e^{9+6 x+x^2}) \log (x)+\log ^2(x)}{64+16 e^{9+6 x+x^2}+e^{18+12 x+2 x^2}+(16+2 e^{9+6 x+x^2}) \log (x)+\log ^2(x)} \, dx\)

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

________________________________________________________________________________________

Rubi [F]  time = 1.52, 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 {71+e^{18+12 x+2 x^2}+e^{9+6 x+x^2} \left (17-6 x-2 x^2\right )+\left (17+2 e^{9+6 x+x^2}\right ) \log (x)+\log ^2(x)}{64+16 e^{9+6 x+x^2}+e^{18+12 x+2 x^2}+\left (16+2 e^{9+6 x+x^2}\right ) \log (x)+\log ^2(x)} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(71 + E^(18 + 12*x + 2*x^2) + E^(9 + 6*x + x^2)*(17 - 6*x - 2*x^2) + (17 + 2*E^(9 + 6*x + x^2))*Log[x] + L
og[x]^2)/(64 + 16*E^(9 + 6*x + x^2) + E^(18 + 12*x + 2*x^2) + (16 + 2*E^(9 + 6*x + x^2))*Log[x] + Log[x]^2),x]

[Out]

x - Defer[Int][(8 + E^(3 + x)^2 + Log[x])^(-2), x] + 48*Defer[Int][x/(8 + E^(3 + x)^2 + Log[x])^2, x] + 16*Def
er[Int][x^2/(8 + E^(3 + x)^2 + Log[x])^2, x] + 6*Defer[Int][(x*Log[x])/(8 + E^(3 + x)^2 + Log[x])^2, x] + 2*De
fer[Int][(x^2*Log[x])/(8 + E^(3 + x)^2 + Log[x])^2, x] + Defer[Int][(8 + E^(3 + x)^2 + Log[x])^(-1), x] - 6*De
fer[Int][x/(8 + E^(3 + x)^2 + Log[x]), x] - 2*Defer[Int][x^2/(8 + E^(3 + x)^2 + Log[x]), x]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {71+e^{2 (3+x)^2}+e^{(3+x)^2} \left (17-6 x-2 x^2\right )+\left (17+2 e^{(3+x)^2}\right ) \log (x)+\log ^2(x)}{\left (8+e^{(3+x)^2}+\log (x)\right )^2} \, dx\\ &=\int \left (1-\frac {-1+6 x+2 x^2}{8+e^{(3+x)^2}+\log (x)}+\frac {-1+48 x+16 x^2+6 x \log (x)+2 x^2 \log (x)}{\left (8+e^{(3+x)^2}+\log (x)\right )^2}\right ) \, dx\\ &=x-\int \frac {-1+6 x+2 x^2}{8+e^{(3+x)^2}+\log (x)} \, dx+\int \frac {-1+48 x+16 x^2+6 x \log (x)+2 x^2 \log (x)}{\left (8+e^{(3+x)^2}+\log (x)\right )^2} \, dx\\ &=x+\int \left (-\frac {1}{\left (8+e^{(3+x)^2}+\log (x)\right )^2}+\frac {48 x}{\left (8+e^{(3+x)^2}+\log (x)\right )^2}+\frac {16 x^2}{\left (8+e^{(3+x)^2}+\log (x)\right )^2}+\frac {6 x \log (x)}{\left (8+e^{(3+x)^2}+\log (x)\right )^2}+\frac {2 x^2 \log (x)}{\left (8+e^{(3+x)^2}+\log (x)\right )^2}\right ) \, dx-\int \left (-\frac {1}{8+e^{(3+x)^2}+\log (x)}+\frac {6 x}{8+e^{(3+x)^2}+\log (x)}+\frac {2 x^2}{8+e^{(3+x)^2}+\log (x)}\right ) \, dx\\ &=x+2 \int \frac {x^2 \log (x)}{\left (8+e^{(3+x)^2}+\log (x)\right )^2} \, dx-2 \int \frac {x^2}{8+e^{(3+x)^2}+\log (x)} \, dx+6 \int \frac {x \log (x)}{\left (8+e^{(3+x)^2}+\log (x)\right )^2} \, dx-6 \int \frac {x}{8+e^{(3+x)^2}+\log (x)} \, dx+16 \int \frac {x^2}{\left (8+e^{(3+x)^2}+\log (x)\right )^2} \, dx+48 \int \frac {x}{\left (8+e^{(3+x)^2}+\log (x)\right )^2} \, dx-\int \frac {1}{\left (8+e^{(3+x)^2}+\log (x)\right )^2} \, dx+\int \frac {1}{8+e^{(3+x)^2}+\log (x)} \, dx\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.48, size = 17, normalized size = 1.00 \begin {gather*} x \left (1+\frac {1}{8+e^{(3+x)^2}+\log (x)}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(71 + E^(18 + 12*x + 2*x^2) + E^(9 + 6*x + x^2)*(17 - 6*x - 2*x^2) + (17 + 2*E^(9 + 6*x + x^2))*Log[
x] + Log[x]^2)/(64 + 16*E^(9 + 6*x + x^2) + E^(18 + 12*x + 2*x^2) + (16 + 2*E^(9 + 6*x + x^2))*Log[x] + Log[x]
^2),x]

[Out]

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

________________________________________________________________________________________

fricas [B]  time = 1.07, size = 35, normalized size = 2.06 \begin {gather*} \frac {x e^{\left (x^{2} + 6 \, x + 9\right )} + x \log \relax (x) + 9 \, x}{e^{\left (x^{2} + 6 \, x + 9\right )} + \log \relax (x) + 8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((log(x)^2+(2*exp(x^2+6*x+9)+17)*log(x)+exp(x^2+6*x+9)^2+(-2*x^2-6*x+17)*exp(x^2+6*x+9)+71)/(log(x)^2
+(2*exp(x^2+6*x+9)+16)*log(x)+exp(x^2+6*x+9)^2+16*exp(x^2+6*x+9)+64),x, algorithm="fricas")

[Out]

(x*e^(x^2 + 6*x + 9) + x*log(x) + 9*x)/(e^(x^2 + 6*x + 9) + log(x) + 8)

________________________________________________________________________________________

giac [B]  time = 0.36, size = 35, normalized size = 2.06 \begin {gather*} \frac {x e^{\left (x^{2} + 6 \, x + 9\right )} + x \log \relax (x) + 9 \, x}{e^{\left (x^{2} + 6 \, x + 9\right )} + \log \relax (x) + 8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((log(x)^2+(2*exp(x^2+6*x+9)+17)*log(x)+exp(x^2+6*x+9)^2+(-2*x^2-6*x+17)*exp(x^2+6*x+9)+71)/(log(x)^2
+(2*exp(x^2+6*x+9)+16)*log(x)+exp(x^2+6*x+9)^2+16*exp(x^2+6*x+9)+64),x, algorithm="giac")

[Out]

(x*e^(x^2 + 6*x + 9) + x*log(x) + 9*x)/(e^(x^2 + 6*x + 9) + log(x) + 8)

________________________________________________________________________________________

maple [A]  time = 0.04, size = 17, normalized size = 1.00




method result size



risch \(x +\frac {x}{\ln \relax (x )+8+{\mathrm e}^{\left (3+x \right )^{2}}}\) \(17\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((ln(x)^2+(2*exp(x^2+6*x+9)+17)*ln(x)+exp(x^2+6*x+9)^2+(-2*x^2-6*x+17)*exp(x^2+6*x+9)+71)/(ln(x)^2+(2*exp(x
^2+6*x+9)+16)*ln(x)+exp(x^2+6*x+9)^2+16*exp(x^2+6*x+9)+64),x,method=_RETURNVERBOSE)

[Out]

x+x/(ln(x)+8+exp((3+x)^2))

________________________________________________________________________________________

maxima [B]  time = 0.50, size = 35, normalized size = 2.06 \begin {gather*} \frac {x e^{\left (x^{2} + 6 \, x + 9\right )} + x \log \relax (x) + 9 \, x}{e^{\left (x^{2} + 6 \, x + 9\right )} + \log \relax (x) + 8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((log(x)^2+(2*exp(x^2+6*x+9)+17)*log(x)+exp(x^2+6*x+9)^2+(-2*x^2-6*x+17)*exp(x^2+6*x+9)+71)/(log(x)^2
+(2*exp(x^2+6*x+9)+16)*log(x)+exp(x^2+6*x+9)^2+16*exp(x^2+6*x+9)+64),x, algorithm="maxima")

[Out]

(x*e^(x^2 + 6*x + 9) + x*log(x) + 9*x)/(e^(x^2 + 6*x + 9) + log(x) + 8)

________________________________________________________________________________________

mupad [B]  time = 6.97, size = 30, normalized size = 1.76 \begin {gather*} \frac {x\,\left ({\mathrm {e}}^{x^2+6\,x+9}+\ln \relax (x)+9\right )}{{\mathrm {e}}^{x^2+6\,x+9}+\ln \relax (x)+8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp(12*x + 2*x^2 + 18) - exp(6*x + x^2 + 9)*(6*x + 2*x^2 - 17) + log(x)^2 + log(x)*(2*exp(6*x + x^2 + 9)
+ 17) + 71)/(16*exp(6*x + x^2 + 9) + exp(12*x + 2*x^2 + 18) + log(x)^2 + log(x)*(2*exp(6*x + x^2 + 9) + 16) +
64),x)

[Out]

(x*(exp(6*x + x^2 + 9) + log(x) + 9))/(exp(6*x + x^2 + 9) + log(x) + 8)

________________________________________________________________________________________

sympy [A]  time = 0.31, size = 17, normalized size = 1.00 \begin {gather*} x + \frac {x}{e^{x^{2} + 6 x + 9} + \log {\relax (x )} + 8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((ln(x)**2+(2*exp(x**2+6*x+9)+17)*ln(x)+exp(x**2+6*x+9)**2+(-2*x**2-6*x+17)*exp(x**2+6*x+9)+71)/(ln(x
)**2+(2*exp(x**2+6*x+9)+16)*ln(x)+exp(x**2+6*x+9)**2+16*exp(x**2+6*x+9)+64),x)

[Out]

x + x/(exp(x**2 + 6*x + 9) + log(x) + 8)

________________________________________________________________________________________