Integrand size = 44, antiderivative size = 21 \[ \int \frac {21 x+4 x^2+e^{1+e^4+2 x} \left (10+22 x+4 x^2\right )+(5+x) \log (5+x)}{5+x} \, dx=x \left (2 \left (e^{1+e^4+2 x}+x\right )+\log (5+x)\right ) \]
[Out]
Leaf count is larger than twice the leaf count of optimal. \(48\) vs. \(2(21)=42\).
Time = 0.16 (sec) , antiderivative size = 48, normalized size of antiderivative = 2.29, number of steps used = 10, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.159, Rules used = {6874, 2207, 2225, 6820, 78, 2436, 2332} \[ \int \frac {21 x+4 x^2+e^{1+e^4+2 x} \left (10+22 x+4 x^2\right )+(5+x) \log (5+x)}{5+x} \, dx=2 x^2-e^{2 x+e^4+1}+e^{2 x+e^4+1} (2 x+1)+(x+5) \log (x+5)-5 \log (x+5) \]
[In]
[Out]
Rule 78
Rule 2207
Rule 2225
Rule 2332
Rule 2436
Rule 6820
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \left (2 e^{1+e^4+2 x} (1+2 x)+\frac {21 x+4 x^2+5 \log (5+x)+x \log (5+x)}{5+x}\right ) \, dx \\ & = 2 \int e^{1+e^4+2 x} (1+2 x) \, dx+\int \frac {21 x+4 x^2+5 \log (5+x)+x \log (5+x)}{5+x} \, dx \\ & = e^{1+e^4+2 x} (1+2 x)-2 \int e^{1+e^4+2 x} \, dx+\int \left (\frac {x (21+4 x)}{5+x}+\log (5+x)\right ) \, dx \\ & = -e^{1+e^4+2 x}+e^{1+e^4+2 x} (1+2 x)+\int \frac {x (21+4 x)}{5+x} \, dx+\int \log (5+x) \, dx \\ & = -e^{1+e^4+2 x}+e^{1+e^4+2 x} (1+2 x)+\int \left (1+4 x-\frac {5}{5+x}\right ) \, dx+\text {Subst}(\int \log (x) \, dx,x,5+x) \\ & = -e^{1+e^4+2 x}+2 x^2+e^{1+e^4+2 x} (1+2 x)-5 \log (5+x)+(5+x) \log (5+x) \\ \end{align*}
Time = 0.11 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.00 \[ \int \frac {21 x+4 x^2+e^{1+e^4+2 x} \left (10+22 x+4 x^2\right )+(5+x) \log (5+x)}{5+x} \, dx=x \left (2 \left (e^{1+e^4+2 x}+x\right )+\log (5+x)\right ) \]
[In]
[Out]
Time = 0.39 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.14
method | result | size |
risch | \(x \ln \left (5+x \right )+2 x^{2}+2 \,{\mathrm e}^{1+2 x +{\mathrm e}^{4}} x\) | \(24\) |
norman | \(x \ln \left (5+x \right )+2 x^{2}+2 \,{\mathrm e}^{1+2 x +{\mathrm e}^{4}} x\) | \(26\) |
parallelrisch | \(2 x^{2}+x \ln \left (5+x \right )+2 \,{\mathrm e}^{1+2 x +{\mathrm e}^{4}} x -50\) | \(27\) |
default | \({\mathrm e}^{1+2 x +{\mathrm e}^{4}} \left (1+2 x +{\mathrm e}^{4}\right )-{\mathrm e}^{1+2 x +{\mathrm e}^{4}}-{\mathrm e}^{1+2 x +{\mathrm e}^{4}} {\mathrm e}^{4}+2 x^{2}-5 \ln \left (5+x \right )+\left (5+x \right ) \ln \left (5+x \right )-5\) | \(70\) |
parts | \({\mathrm e}^{1+2 x +{\mathrm e}^{4}} \left (1+2 x +{\mathrm e}^{4}\right )-{\mathrm e}^{1+2 x +{\mathrm e}^{4}}-{\mathrm e}^{1+2 x +{\mathrm e}^{4}} {\mathrm e}^{4}+2 x^{2}-5 \ln \left (5+x \right )+\left (5+x \right ) \ln \left (5+x \right )-5\) | \(70\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.10 \[ \int \frac {21 x+4 x^2+e^{1+e^4+2 x} \left (10+22 x+4 x^2\right )+(5+x) \log (5+x)}{5+x} \, dx=2 \, x^{2} + 2 \, x e^{\left (2 \, x + e^{4} + 1\right )} + x \log \left (x + 5\right ) \]
[In]
[Out]
Time = 0.12 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.14 \[ \int \frac {21 x+4 x^2+e^{1+e^4+2 x} \left (10+22 x+4 x^2\right )+(5+x) \log (5+x)}{5+x} \, dx=2 x^{2} + 2 x e^{2 x + 1 + e^{4}} + x \log {\left (x + 5 \right )} \]
[In]
[Out]
\[ \int \frac {21 x+4 x^2+e^{1+e^4+2 x} \left (10+22 x+4 x^2\right )+(5+x) \log (5+x)}{5+x} \, dx=\int { \frac {4 \, x^{2} + 2 \, {\left (2 \, x^{2} + 11 \, x + 5\right )} e^{\left (2 \, x + e^{4} + 1\right )} + {\left (x + 5\right )} \log \left (x + 5\right ) + 21 \, x}{x + 5} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 49 vs. \(2 (20) = 40\).
Time = 0.26 (sec) , antiderivative size = 49, normalized size of antiderivative = 2.33 \[ \int \frac {21 x+4 x^2+e^{1+e^4+2 x} \left (10+22 x+4 x^2\right )+(5+x) \log (5+x)}{5+x} \, dx=2 \, {\left (x + 5\right )}^{2} + 2 \, {\left (x + 5\right )} e^{\left (2 \, x + e^{4} + 1\right )} + {\left (x + 5\right )} \log \left (x + 5\right ) - 20 \, x - 10 \, e^{\left (2 \, x + e^{4} + 1\right )} - 5 \, \log \left (x + 5\right ) - 100 \]
[In]
[Out]
Time = 12.77 (sec) , antiderivative size = 24, normalized size of antiderivative = 1.14 \[ \int \frac {21 x+4 x^2+e^{1+e^4+2 x} \left (10+22 x+4 x^2\right )+(5+x) \log (5+x)}{5+x} \, dx=x\,\ln \left (x+5\right )+2\,x^2+2\,x\,{\mathrm {e}}^{2\,x}\,\mathrm {e}\,{\mathrm {e}}^{{\mathrm {e}}^4} \]
[In]
[Out]