Integrand size = 43, antiderivative size = 20 \[ \int \frac {-2+e^{5 x} (-2-10 x)+\left (-2-2 e^{5 x}\right ) \log \left (x+e^{5 x} x\right )}{1+e^{5 x}} \, dx=5-\log \left (e^{2 x}\right ) \log \left (x+e^{5 x} x\right ) \]
[Out]
Time = 1.13 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.65, number of steps used = 18, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.140, Rules used = {6874, 2215, 2221, 2317, 2438, 2628} \[ \int \frac {-2+e^{5 x} (-2-10 x)+\left (-2-2 e^{5 x}\right ) \log \left (x+e^{5 x} x\right )}{1+e^{5 x}} \, dx=-2 x \log \left (\left (e^{5 x}+1\right ) x\right ) \]
[In]
[Out]
Rule 2215
Rule 2221
Rule 2317
Rule 2438
Rule 2628
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {2 x}{1+e^x}-\frac {2 \left (-4+3 e^x-2 e^{2 x}+e^{3 x}\right ) x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}-2 \left (1+5 x+\log \left (\left (1+e^{5 x}\right ) x\right )\right )\right ) \, dx \\ & = 2 \int \frac {x}{1+e^x} \, dx-2 \int \frac {\left (-4+3 e^x-2 e^{2 x}+e^{3 x}\right ) x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx-2 \int \left (1+5 x+\log \left (\left (1+e^{5 x}\right ) x\right )\right ) \, dx \\ & = -2 x-4 x^2-2 \int \frac {e^x x}{1+e^x} \, dx-2 \int \left (-\frac {4 x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}+\frac {3 e^x x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}-\frac {2 e^{2 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}+\frac {e^{3 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}\right ) \, dx-2 \int \log \left (\left (1+e^{5 x}\right ) x\right ) \, dx \\ & = -2 x-4 x^2-2 x \log \left (1+e^x\right )-2 x \log \left (\left (1+e^{5 x}\right ) x\right )-2 \int \frac {e^{3 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+2 \int \frac {1+e^{5 x} (1+5 x)}{1+e^{5 x}} \, dx+2 \int \log \left (1+e^x\right ) \, dx+4 \int \frac {e^{2 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx-6 \int \frac {e^x x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+8 \int \frac {x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx \\ & = -2 x-4 x^2-2 x \log \left (1+e^x\right )-2 x \log \left (\left (1+e^{5 x}\right ) x\right )-2 \int \frac {e^{3 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+2 \int \left (1+5 x-\frac {x}{1+e^x}+\frac {\left (-4+3 e^x-2 e^{2 x}+e^{3 x}\right ) x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}\right ) \, dx+2 \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^x\right )+4 \int \frac {e^{2 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx-6 \int \frac {e^x x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+8 \int \frac {x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx \\ & = x^2-2 x \log \left (1+e^x\right )-2 x \log \left (\left (1+e^{5 x}\right ) x\right )-2 \text {Li}_2\left (-e^x\right )-2 \int \frac {x}{1+e^x} \, dx-2 \int \frac {e^{3 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+2 \int \frac {\left (-4+3 e^x-2 e^{2 x}+e^{3 x}\right ) x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+4 \int \frac {e^{2 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx-6 \int \frac {e^x x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+8 \int \frac {x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx \\ & = -2 x \log \left (1+e^x\right )-2 x \log \left (\left (1+e^{5 x}\right ) x\right )-2 \text {Li}_2\left (-e^x\right )+2 \int \frac {e^x x}{1+e^x} \, dx-2 \int \frac {e^{3 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+2 \int \left (-\frac {4 x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}+\frac {3 e^x x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}-\frac {2 e^{2 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}+\frac {e^{3 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}}\right ) \, dx+4 \int \frac {e^{2 x} x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx-6 \int \frac {e^x x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx+8 \int \frac {x}{1-e^x+e^{2 x}-e^{3 x}+e^{4 x}} \, dx \\ & = -2 x \log \left (\left (1+e^{5 x}\right ) x\right )-2 \text {Li}_2\left (-e^x\right )-2 \int \log \left (1+e^x\right ) \, dx \\ & = -2 x \log \left (\left (1+e^{5 x}\right ) x\right )-2 \text {Li}_2\left (-e^x\right )-2 \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^x\right ) \\ & = -2 x \log \left (\left (1+e^{5 x}\right ) x\right ) \\ \end{align*}
Time = 0.36 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.65 \[ \int \frac {-2+e^{5 x} (-2-10 x)+\left (-2-2 e^{5 x}\right ) \log \left (x+e^{5 x} x\right )}{1+e^{5 x}} \, dx=-2 x \log \left (\left (1+e^{5 x}\right ) x\right ) \]
[In]
[Out]
Time = 0.99 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.65
method | result | size |
norman | \(-2 x \ln \left (x \,{\mathrm e}^{5 x}+x \right )\) | \(13\) |
parallelrisch | \(-2 x \ln \left (x \left ({\mathrm e}^{5 x}+1\right )\right )\) | \(13\) |
risch | \(-2 x \ln \left ({\mathrm e}^{5 x}+1\right )+i \pi x \,\operatorname {csgn}\left (i x \right ) \operatorname {csgn}\left (i \left ({\mathrm e}^{5 x}+1\right )\right ) \operatorname {csgn}\left (i x \left ({\mathrm e}^{5 x}+1\right )\right )-i \pi x \,\operatorname {csgn}\left (i x \right ) {\operatorname {csgn}\left (i x \left ({\mathrm e}^{5 x}+1\right )\right )}^{2}-i \pi x \,\operatorname {csgn}\left (i \left ({\mathrm e}^{5 x}+1\right )\right ) {\operatorname {csgn}\left (i x \left ({\mathrm e}^{5 x}+1\right )\right )}^{2}+i \pi x {\operatorname {csgn}\left (i x \left ({\mathrm e}^{5 x}+1\right )\right )}^{3}-2 x \ln \left (x \right )\) | \(117\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.60 \[ \int \frac {-2+e^{5 x} (-2-10 x)+\left (-2-2 e^{5 x}\right ) \log \left (x+e^{5 x} x\right )}{1+e^{5 x}} \, dx=-2 \, x \log \left (x e^{\left (5 \, x\right )} + x\right ) \]
[In]
[Out]
Time = 0.13 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.70 \[ \int \frac {-2+e^{5 x} (-2-10 x)+\left (-2-2 e^{5 x}\right ) \log \left (x+e^{5 x} x\right )}{1+e^{5 x}} \, dx=- 2 x \log {\left (x e^{5 x} + x \right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 38 vs. \(2 (18) = 36\).
Time = 0.31 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.90 \[ \int \frac {-2+e^{5 x} (-2-10 x)+\left (-2-2 e^{5 x}\right ) \log \left (x+e^{5 x} x\right )}{1+e^{5 x}} \, dx=-2 \, x \log \left (x\right ) - 2 \, x \log \left (e^{\left (4 \, x\right )} - e^{\left (3 \, x\right )} + e^{\left (2 \, x\right )} - e^{x} + 1\right ) - 2 \, x \log \left (e^{x} + 1\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.60 \[ \int \frac {-2+e^{5 x} (-2-10 x)+\left (-2-2 e^{5 x}\right ) \log \left (x+e^{5 x} x\right )}{1+e^{5 x}} \, dx=-2 \, x \log \left (x e^{\left (5 \, x\right )} + x\right ) \]
[In]
[Out]
Time = 9.26 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.60 \[ \int \frac {-2+e^{5 x} (-2-10 x)+\left (-2-2 e^{5 x}\right ) \log \left (x+e^{5 x} x\right )}{1+e^{5 x}} \, dx=-2\,x\,\ln \left (x\,\left ({\mathrm {e}}^{5\,x}+1\right )\right ) \]
[In]
[Out]