Integrand size = 56, antiderivative size = 31 \[ \int \frac {-5+e^x (-5-2 x)+3 x-5 x^2-2 x^3+\left (-10 x-4 x^2\right ) \log \left (e^x \left (5 x+2 x^2\right )\right )}{5+2 x} \, dx=-e^x-x+x^2 \left (1-\log \left (e^x (x+x (4+2 x))\right )\right ) \]
[Out]
Time = 0.19 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.90, number of steps used = 10, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.089, Rules used = {6874, 2225, 1864, 2631, 785} \[ \int \frac {-5+e^x (-5-2 x)+3 x-5 x^2-2 x^3+\left (-10 x-4 x^2\right ) \log \left (e^x \left (5 x+2 x^2\right )\right )}{5+2 x} \, dx=x^2+x^2 \left (-\log \left (e^x x (2 x+5)\right )\right )-x-e^x \]
[In]
[Out]
Rule 785
Rule 1864
Rule 2225
Rule 2631
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \left (-e^x+\frac {-5+3 x-5 x^2-2 x^3-10 x \log \left (e^x x (5+2 x)\right )-4 x^2 \log \left (e^x x (5+2 x)\right )}{5+2 x}\right ) \, dx \\ & = -\int e^x \, dx+\int \frac {-5+3 x-5 x^2-2 x^3-10 x \log \left (e^x x (5+2 x)\right )-4 x^2 \log \left (e^x x (5+2 x)\right )}{5+2 x} \, dx \\ & = -e^x+\int \left (\frac {-5+3 x-5 x^2-2 x^3}{5+2 x}-2 x \log \left (e^x x (5+2 x)\right )\right ) \, dx \\ & = -e^x-2 \int x \log \left (e^x x (5+2 x)\right ) \, dx+\int \frac {-5+3 x-5 x^2-2 x^3}{5+2 x} \, dx \\ & = -e^x-x^2 \log \left (e^x x (5+2 x)\right )+\int \frac {x \left (5+9 x+2 x^2\right )}{5+2 x} \, dx+\int \left (\frac {3}{2}-x^2-\frac {25}{2 (5+2 x)}\right ) \, dx \\ & = -e^x+\frac {3 x}{2}-\frac {x^3}{3}-\frac {25}{4} \log (5+2 x)-x^2 \log \left (e^x x (5+2 x)\right )+\int \left (-\frac {5}{2}+2 x+x^2+\frac {25}{2 (5+2 x)}\right ) \, dx \\ & = -e^x-x+x^2-x^2 \log \left (e^x x (5+2 x)\right ) \\ \end{align*}
Time = 0.12 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.90 \[ \int \frac {-5+e^x (-5-2 x)+3 x-5 x^2-2 x^3+\left (-10 x-4 x^2\right ) \log \left (e^x \left (5 x+2 x^2\right )\right )}{5+2 x} \, dx=-e^x-x+x^2-x^2 \log \left (e^x x (5+2 x)\right ) \]
[In]
[Out]
Time = 0.69 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.90
method | result | size |
parallelrisch | \(-\ln \left (x \left (5+2 x \right ) {\mathrm e}^{x}\right ) x^{2}-\frac {5}{4}+x^{2}-x -{\mathrm e}^{x}\) | \(28\) |
default | \(-\ln \left (\left (2 x^{2}+5 x \right ) {\mathrm e}^{x}\right ) x^{2}-x +x^{2}-{\mathrm e}^{x}\) | \(30\) |
norman | \(-\ln \left (\left (2 x^{2}+5 x \right ) {\mathrm e}^{x}\right ) x^{2}-x +x^{2}-{\mathrm e}^{x}\) | \(30\) |
parts | \(-\ln \left (\left (2 x^{2}+5 x \right ) {\mathrm e}^{x}\right ) x^{2}-x +x^{2}-{\mathrm e}^{x}\) | \(30\) |
risch | \(-x^{2} \ln \left ({\mathrm e}^{x}\right )-x^{2} \ln \left (\frac {5}{2}+x \right )-x^{2} \ln \left (x \right )+\frac {i \pi \,x^{2} \operatorname {csgn}\left (i x \left (\frac {5}{2}+x \right ) {\mathrm e}^{x}\right )^{3}}{2}+\frac {i \pi \,x^{2} \operatorname {csgn}\left (i \left (\frac {5}{2}+x \right )\right ) \operatorname {csgn}\left (i {\mathrm e}^{x} \left (\frac {5}{2}+x \right )\right ) \operatorname {csgn}\left (i {\mathrm e}^{x}\right )}{2}-\frac {i \pi \,x^{2} \operatorname {csgn}\left (i \left (\frac {5}{2}+x \right )\right ) \operatorname {csgn}\left (i {\mathrm e}^{x} \left (\frac {5}{2}+x \right )\right )^{2}}{2}+\frac {i \pi \,x^{2} \operatorname {csgn}\left (i {\mathrm e}^{x} \left (\frac {5}{2}+x \right )\right ) \operatorname {csgn}\left (i x \left (\frac {5}{2}+x \right ) {\mathrm e}^{x}\right ) \operatorname {csgn}\left (i x \right )}{2}-\frac {i \pi \,x^{2} \operatorname {csgn}\left (i x \left (\frac {5}{2}+x \right ) {\mathrm e}^{x}\right )^{2} \operatorname {csgn}\left (i x \right )}{2}-\frac {i \pi \,x^{2} \operatorname {csgn}\left (i {\mathrm e}^{x} \left (\frac {5}{2}+x \right )\right ) \operatorname {csgn}\left (i x \left (\frac {5}{2}+x \right ) {\mathrm e}^{x}\right )^{2}}{2}-\frac {i \pi \,x^{2} \operatorname {csgn}\left (i {\mathrm e}^{x} \left (\frac {5}{2}+x \right )\right )^{2} \operatorname {csgn}\left (i {\mathrm e}^{x}\right )}{2}+\frac {i \pi \,x^{2} \operatorname {csgn}\left (i {\mathrm e}^{x} \left (\frac {5}{2}+x \right )\right )^{3}}{2}-x^{2} \ln \left (2\right )+x^{2}-x -{\mathrm e}^{x}\) | \(241\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.94 \[ \int \frac {-5+e^x (-5-2 x)+3 x-5 x^2-2 x^3+\left (-10 x-4 x^2\right ) \log \left (e^x \left (5 x+2 x^2\right )\right )}{5+2 x} \, dx=-x^{2} \log \left ({\left (2 \, x^{2} + 5 \, x\right )} e^{x}\right ) + x^{2} - x - e^{x} \]
[In]
[Out]
Time = 0.27 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.42 \[ \int \frac {-5+e^x (-5-2 x)+3 x-5 x^2-2 x^3+\left (-10 x-4 x^2\right ) \log \left (e^x \left (5 x+2 x^2\right )\right )}{5+2 x} \, dx=x^{2} - \frac {49 x}{24} + \left (\frac {25}{24} - x^{2}\right ) \log {\left (\left (2 x^{2} + 5 x\right ) e^{x} \right )} - e^{x} - \frac {25 \log {\left (2 x^{2} + 5 x \right )}}{24} \]
[In]
[Out]
\[ \int \frac {-5+e^x (-5-2 x)+3 x-5 x^2-2 x^3+\left (-10 x-4 x^2\right ) \log \left (e^x \left (5 x+2 x^2\right )\right )}{5+2 x} \, dx=\int { -\frac {2 \, x^{3} + 5 \, x^{2} + {\left (2 \, x + 5\right )} e^{x} + 2 \, {\left (2 \, x^{2} + 5 \, x\right )} \log \left ({\left (2 \, x^{2} + 5 \, x\right )} e^{x}\right ) - 3 \, x + 5}{2 \, x + 5} \,d x } \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.00 \[ \int \frac {-5+e^x (-5-2 x)+3 x-5 x^2-2 x^3+\left (-10 x-4 x^2\right ) \log \left (e^x \left (5 x+2 x^2\right )\right )}{5+2 x} \, dx=-x^{3} - x^{2} \log \left (2 \, x^{2} + 5 \, x\right ) + x^{2} - x - e^{x} \]
[In]
[Out]
Time = 11.30 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.94 \[ \int \frac {-5+e^x (-5-2 x)+3 x-5 x^2-2 x^3+\left (-10 x-4 x^2\right ) \log \left (e^x \left (5 x+2 x^2\right )\right )}{5+2 x} \, dx=x^2-{\mathrm {e}}^x-x^2\,\ln \left ({\mathrm {e}}^x\,\left (2\,x^2+5\,x\right )\right )-x \]
[In]
[Out]