3.14.2 \(\int \frac {12+e^{1-x} (-12-4 x)+4 x+(-12-4 e^{1-x}-4 x+4 \log (2)) \log (3+e^{1-x}+x-\log (2))}{27+27 x+9 x^2+x^3+e^{1-x} (9+6 x+x^2)+(-9-6 x-x^2) \log (2)+(-72+e^{1-x} (-24-8 x)-48 x-8 x^2+(24+8 x) \log (2)) \log (3+e^{1-x}+x-\log (2))+(48+16 e^{1-x}+16 x-16 \log (2)) \log ^2(3+e^{1-x}+x-\log (2))} \, dx\) [1302]

3.14.2.1 Optimal result
3.14.2.2 Mathematica [A] (verified)
3.14.2.3 Rubi [F]
3.14.2.4 Maple [A] (verified)
3.14.2.5 Fricas [A] (verification not implemented)
3.14.2.6 Sympy [A] (verification not implemented)
3.14.2.7 Maxima [A] (verification not implemented)
3.14.2.8 Giac [A] (verification not implemented)
3.14.2.9 Mupad [F(-1)]

3.14.2.1 Optimal result

Integrand size = 180, antiderivative size = 30 \begin {dmath*} \int \frac {12+e^{1-x} (-12-4 x)+4 x+\left (-12-4 e^{1-x}-4 x+4 \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )}{27+27 x+9 x^2+x^3+e^{1-x} \left (9+6 x+x^2\right )+\left (-9-6 x-x^2\right ) \log (2)+\left (-72+e^{1-x} (-24-8 x)-48 x-8 x^2+(24+8 x) \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )+\left (48+16 e^{1-x}+16 x-16 \log (2)\right ) \log ^2\left (3+e^{1-x}+x-\log (2)\right )} \, dx=\frac {2}{-2+\frac {3+x}{2 \log \left (3+e^{1-x}+x-\log (2)\right )}} \end {dmath*}

output
2/(1/2*(3+x)/ln(exp(1-x)-ln(2)+3+x)-2)
 
3.14.2.2 Mathematica [A] (verified)

Time = 0.11 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.87 \begin {dmath*} \int \frac {12+e^{1-x} (-12-4 x)+4 x+\left (-12-4 e^{1-x}-4 x+4 \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )}{27+27 x+9 x^2+x^3+e^{1-x} \left (9+6 x+x^2\right )+\left (-9-6 x-x^2\right ) \log (2)+\left (-72+e^{1-x} (-24-8 x)-48 x-8 x^2+(24+8 x) \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )+\left (48+16 e^{1-x}+16 x-16 \log (2)\right ) \log ^2\left (3+e^{1-x}+x-\log (2)\right )} \, dx=\frac {3+x}{3+x-4 \log \left (3+e^{1-x}+x-\log (2)\right )} \end {dmath*}

input
Integrate[(12 + E^(1 - x)*(-12 - 4*x) + 4*x + (-12 - 4*E^(1 - x) - 4*x + 4 
*Log[2])*Log[3 + E^(1 - x) + x - Log[2]])/(27 + 27*x + 9*x^2 + x^3 + E^(1 
- x)*(9 + 6*x + x^2) + (-9 - 6*x - x^2)*Log[2] + (-72 + E^(1 - x)*(-24 - 8 
*x) - 48*x - 8*x^2 + (24 + 8*x)*Log[2])*Log[3 + E^(1 - x) + x - Log[2]] + 
(48 + 16*E^(1 - x) + 16*x - 16*Log[2])*Log[3 + E^(1 - x) + x - Log[2]]^2), 
x]
 
output
(3 + x)/(3 + x - 4*Log[3 + E^(1 - x) + x - Log[2]])
 
3.14.2.3 Rubi [F]

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {e^{1-x} (-4 x-12)+4 x+\left (-4 x-4 e^{1-x}-12+4 \log (2)\right ) \log \left (x+e^{1-x}+3-\log (2)\right )+12}{x^3+9 x^2+e^{1-x} \left (x^2+6 x+9\right )+\left (-8 x^2-48 x+e^{1-x} (-8 x-24)+(8 x+24) \log (2)-72\right ) \log \left (x+e^{1-x}+3-\log (2)\right )+\left (-x^2-6 x-9\right ) \log (2)+27 x+\left (16 x+16 e^{1-x}+48-16 \log (2)\right ) \log ^2\left (x+e^{1-x}+3-\log (2)\right )+27} \, dx\)

\(\Big \downarrow \) 7239

\(\displaystyle \int \frac {4 \left (e^x-e\right ) (x+3)-4 \left (e^x (x+3-\log (2))+e\right ) \log \left (x+e^{1-x}+3-\log (2)\right )}{\left (e^x (x+3-\log (2))+e\right ) \left (x-4 \log \left (x+e^{1-x}+3-\log (2)\right )+3\right )^2}dx\)

\(\Big \downarrow \) 7293

\(\displaystyle \int \left (\frac {4 e (x+3) (-x-4+\log (2))}{\left (e^x x+3 e^x \left (1-\frac {\log (2)}{3}\right )+e\right ) (x+3-\log (2)) \left (x-4 \log \left (x+e^{1-x}+3-\log (2)\right )+3\right )^2}+\frac {4 \left (x+x \left (-\log \left (x+e^{1-x}+3-\log (2)\right )\right )-3 \left (1-\frac {\log (2)}{3}\right ) \log \left (x+e^{1-x}+3-\log (2)\right )+3\right )}{(x+3-\log (2)) \left (x-4 \log \left (x+e^{1-x}+3-\log (2)\right )+3\right )^2}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle \int \frac {1}{\left (x-4 \log \left (x+e^{1-x}-\log (2)+3\right )+3\right )^2}dx-\int \frac {x}{\left (x-4 \log \left (x+e^{1-x}-\log (2)+3\right )+3\right )^2}dx+16 e \int \frac {1}{\left (-e^x x-3 e^x \left (1-\frac {\log (2)}{3}\right )-e\right ) \left (x-4 \log \left (x+e^{1-x}-\log (2)+3\right )+3\right )^2}dx+4 e \int \frac {x}{\left (-e^x x-3 e^x \left (1-\frac {\log (2)}{3}\right )-e\right ) \left (x-4 \log \left (x+e^{1-x}-\log (2)+3\right )+3\right )^2}dx+4 \log (2) \int \frac {1}{(x-\log (2)+3) \left (x-4 \log \left (x+e^{1-x}-\log (2)+3\right )+3\right )^2}dx+4 e \log (2) \int \frac {1}{\left (-e^x x-3 e^x \left (1-\frac {\log (2)}{3}\right )-e\right ) (x-\log (2)+3) \left (x-4 \log \left (x+e^{1-x}-\log (2)+3\right )+3\right )^2}dx+\int \frac {1}{x-4 \log \left (x+e^{1-x}-\log (2)+3\right )+3}dx\)

input
Int[(12 + E^(1 - x)*(-12 - 4*x) + 4*x + (-12 - 4*E^(1 - x) - 4*x + 4*Log[2 
])*Log[3 + E^(1 - x) + x - Log[2]])/(27 + 27*x + 9*x^2 + x^3 + E^(1 - x)*( 
9 + 6*x + x^2) + (-9 - 6*x - x^2)*Log[2] + (-72 + E^(1 - x)*(-24 - 8*x) - 
48*x - 8*x^2 + (24 + 8*x)*Log[2])*Log[3 + E^(1 - x) + x - Log[2]] + (48 + 
16*E^(1 - x) + 16*x - 16*Log[2])*Log[3 + E^(1 - x) + x - Log[2]]^2),x]
 
output
$Aborted
 

3.14.2.3.1 Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 7239
Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; Simpl 
erIntegrandQ[v, u, x]]
 

rule 7293
Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v] 
]
 
3.14.2.4 Maple [A] (verified)

Time = 0.23 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.87

method result size
risch \(\frac {3+x}{x -4 \ln \left ({\mathrm e}^{1-x}-\ln \left (2\right )+3+x \right )+3}\) \(26\)
parallelrisch \(\frac {4 x +12}{4 x -16 \ln \left ({\mathrm e}^{1-x}-\ln \left (2\right )+3+x \right )+12}\) \(29\)

input
int(((-4*exp(1-x)+4*ln(2)-4*x-12)*ln(exp(1-x)-ln(2)+3+x)+(-4*x-12)*exp(1-x 
)+4*x+12)/((16*exp(1-x)-16*ln(2)+16*x+48)*ln(exp(1-x)-ln(2)+3+x)^2+((-8*x- 
24)*exp(1-x)+(8*x+24)*ln(2)-8*x^2-48*x-72)*ln(exp(1-x)-ln(2)+3+x)+(x^2+6*x 
+9)*exp(1-x)+(-x^2-6*x-9)*ln(2)+x^3+9*x^2+27*x+27),x,method=_RETURNVERBOSE 
)
 
output
(3+x)/(x-4*ln(exp(1-x)-ln(2)+3+x)+3)
 
3.14.2.5 Fricas [A] (verification not implemented)

Time = 0.25 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.83 \begin {dmath*} \int \frac {12+e^{1-x} (-12-4 x)+4 x+\left (-12-4 e^{1-x}-4 x+4 \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )}{27+27 x+9 x^2+x^3+e^{1-x} \left (9+6 x+x^2\right )+\left (-9-6 x-x^2\right ) \log (2)+\left (-72+e^{1-x} (-24-8 x)-48 x-8 x^2+(24+8 x) \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )+\left (48+16 e^{1-x}+16 x-16 \log (2)\right ) \log ^2\left (3+e^{1-x}+x-\log (2)\right )} \, dx=\frac {x + 3}{x - 4 \, \log \left (x + e^{\left (-x + 1\right )} - \log \left (2\right ) + 3\right ) + 3} \end {dmath*}

input
integrate(((-4*exp(1-x)+4*log(2)-4*x-12)*log(exp(1-x)-log(2)+3+x)+(-4*x-12 
)*exp(1-x)+4*x+12)/((16*exp(1-x)-16*log(2)+16*x+48)*log(exp(1-x)-log(2)+3+ 
x)^2+((-8*x-24)*exp(1-x)+(8*x+24)*log(2)-8*x^2-48*x-72)*log(exp(1-x)-log(2 
)+3+x)+(x^2+6*x+9)*exp(1-x)+(-x^2-6*x-9)*log(2)+x^3+9*x^2+27*x+27),x, algo 
rithm=\
 
output
(x + 3)/(x - 4*log(x + e^(-x + 1) - log(2) + 3) + 3)
 
3.14.2.6 Sympy [A] (verification not implemented)

Time = 0.20 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.73 \begin {dmath*} \int \frac {12+e^{1-x} (-12-4 x)+4 x+\left (-12-4 e^{1-x}-4 x+4 \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )}{27+27 x+9 x^2+x^3+e^{1-x} \left (9+6 x+x^2\right )+\left (-9-6 x-x^2\right ) \log (2)+\left (-72+e^{1-x} (-24-8 x)-48 x-8 x^2+(24+8 x) \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )+\left (48+16 e^{1-x}+16 x-16 \log (2)\right ) \log ^2\left (3+e^{1-x}+x-\log (2)\right )} \, dx=\frac {- x - 3}{- x + 4 \log {\left (x + e^{1 - x} - \log {\left (2 \right )} + 3 \right )} - 3} \end {dmath*}

input
integrate(((-4*exp(1-x)+4*ln(2)-4*x-12)*ln(exp(1-x)-ln(2)+3+x)+(-4*x-12)*e 
xp(1-x)+4*x+12)/((16*exp(1-x)-16*ln(2)+16*x+48)*ln(exp(1-x)-ln(2)+3+x)**2+ 
((-8*x-24)*exp(1-x)+(8*x+24)*ln(2)-8*x**2-48*x-72)*ln(exp(1-x)-ln(2)+3+x)+ 
(x**2+6*x+9)*exp(1-x)+(-x**2-6*x-9)*ln(2)+x**3+9*x**2+27*x+27),x)
 
output
(-x - 3)/(-x + 4*log(x + exp(1 - x) - log(2) + 3) - 3)
 
3.14.2.7 Maxima [A] (verification not implemented)

Time = 0.46 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.90 \begin {dmath*} \int \frac {12+e^{1-x} (-12-4 x)+4 x+\left (-12-4 e^{1-x}-4 x+4 \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )}{27+27 x+9 x^2+x^3+e^{1-x} \left (9+6 x+x^2\right )+\left (-9-6 x-x^2\right ) \log (2)+\left (-72+e^{1-x} (-24-8 x)-48 x-8 x^2+(24+8 x) \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )+\left (48+16 e^{1-x}+16 x-16 \log (2)\right ) \log ^2\left (3+e^{1-x}+x-\log (2)\right )} \, dx=\frac {x + 3}{5 \, x - 4 \, \log \left ({\left (x - \log \left (2\right ) + 3\right )} e^{x} + e\right ) + 3} \end {dmath*}

input
integrate(((-4*exp(1-x)+4*log(2)-4*x-12)*log(exp(1-x)-log(2)+3+x)+(-4*x-12 
)*exp(1-x)+4*x+12)/((16*exp(1-x)-16*log(2)+16*x+48)*log(exp(1-x)-log(2)+3+ 
x)^2+((-8*x-24)*exp(1-x)+(8*x+24)*log(2)-8*x^2-48*x-72)*log(exp(1-x)-log(2 
)+3+x)+(x^2+6*x+9)*exp(1-x)+(-x^2-6*x-9)*log(2)+x^3+9*x^2+27*x+27),x, algo 
rithm=\
 
output
(x + 3)/(5*x - 4*log((x - log(2) + 3)*e^x + e) + 3)
 
3.14.2.8 Giac [A] (verification not implemented)

Time = 0.60 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.83 \begin {dmath*} \int \frac {12+e^{1-x} (-12-4 x)+4 x+\left (-12-4 e^{1-x}-4 x+4 \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )}{27+27 x+9 x^2+x^3+e^{1-x} \left (9+6 x+x^2\right )+\left (-9-6 x-x^2\right ) \log (2)+\left (-72+e^{1-x} (-24-8 x)-48 x-8 x^2+(24+8 x) \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )+\left (48+16 e^{1-x}+16 x-16 \log (2)\right ) \log ^2\left (3+e^{1-x}+x-\log (2)\right )} \, dx=\frac {x + 3}{x - 4 \, \log \left (x + e^{\left (-x + 1\right )} - \log \left (2\right ) + 3\right ) + 3} \end {dmath*}

input
integrate(((-4*exp(1-x)+4*log(2)-4*x-12)*log(exp(1-x)-log(2)+3+x)+(-4*x-12 
)*exp(1-x)+4*x+12)/((16*exp(1-x)-16*log(2)+16*x+48)*log(exp(1-x)-log(2)+3+ 
x)^2+((-8*x-24)*exp(1-x)+(8*x+24)*log(2)-8*x^2-48*x-72)*log(exp(1-x)-log(2 
)+3+x)+(x^2+6*x+9)*exp(1-x)+(-x^2-6*x-9)*log(2)+x^3+9*x^2+27*x+27),x, algo 
rithm=\
 
output
(x + 3)/(x - 4*log(x + e^(-x + 1) - log(2) + 3) + 3)
 
3.14.2.9 Mupad [F(-1)]

Timed out. \begin {dmath*} \int \frac {12+e^{1-x} (-12-4 x)+4 x+\left (-12-4 e^{1-x}-4 x+4 \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )}{27+27 x+9 x^2+x^3+e^{1-x} \left (9+6 x+x^2\right )+\left (-9-6 x-x^2\right ) \log (2)+\left (-72+e^{1-x} (-24-8 x)-48 x-8 x^2+(24+8 x) \log (2)\right ) \log \left (3+e^{1-x}+x-\log (2)\right )+\left (48+16 e^{1-x}+16 x-16 \log (2)\right ) \log ^2\left (3+e^{1-x}+x-\log (2)\right )} \, dx=\text {Hanged} \end {dmath*}

input
int((4*x - log(x - log(2) + exp(1 - x) + 3)*(4*x - 4*log(2) + 4*exp(1 - x) 
 + 12) - exp(1 - x)*(4*x + 12) + 12)/(27*x + exp(1 - x)*(6*x + x^2 + 9) + 
log(x - log(2) + exp(1 - x) + 3)^2*(16*x - 16*log(2) + 16*exp(1 - x) + 48) 
 - log(x - log(2) + exp(1 - x) + 3)*(48*x - log(2)*(8*x + 24) + exp(1 - x) 
*(8*x + 24) + 8*x^2 + 72) + 9*x^2 + x^3 - log(2)*(6*x + x^2 + 9) + 27),x)
 
output
\text{Hanged}