Integrand size = 81, antiderivative size = 31 \[ \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{5 e^4+10 e^8 x^2+5 e^{12} x^4} \, dx=-\frac {x}{5 e^4}+\frac {-1+e^{2+x}-x}{1+e^4 x^2} \]
[Out]
Time = 0.21 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.35, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {28, 6874, 2326, 1828, 21, 8} \[ \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{5 e^4+10 e^8 x^2+5 e^{12} x^4} \, dx=\frac {e^{x+2}}{e^4 x^2+1}-\frac {x+1}{e^4 x^2+1}-\frac {x}{5 e^4} \]
[In]
[Out]
Rule 8
Rule 21
Rule 28
Rule 1828
Rule 2326
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \left (5 e^{12}\right ) \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{\left (5 e^8+5 e^{12} x^2\right )^2} \, dx \\ & = \left (5 e^{12}\right ) \int \left (\frac {e^{-10+x} \left (1-2 e^4 x+e^4 x^2\right )}{5 \left (1+e^4 x^2\right )^2}+\frac {-1-5 e^4+10 e^8 x-e^4 \left (2-5 e^4\right ) x^2-e^8 x^4}{25 e^{16} \left (1+e^4 x^2\right )^2}\right ) \, dx \\ & = \frac {\int \frac {-1-5 e^4+10 e^8 x-e^4 \left (2-5 e^4\right ) x^2-e^8 x^4}{\left (1+e^4 x^2\right )^2} \, dx}{5 e^4}+e^{12} \int \frac {e^{-10+x} \left (1-2 e^4 x+e^4 x^2\right )}{\left (1+e^4 x^2\right )^2} \, dx \\ & = \frac {e^{2+x}}{1+e^4 x^2}-\frac {1+x}{1+e^4 x^2}-\frac {\int \frac {2+2 e^4 x^2}{1+e^4 x^2} \, dx}{10 e^4} \\ & = \frac {e^{2+x}}{1+e^4 x^2}-\frac {1+x}{1+e^4 x^2}-\frac {\int 1 \, dx}{5 e^4} \\ & = -\frac {x}{5 e^4}+\frac {e^{2+x}}{1+e^4 x^2}-\frac {1+x}{1+e^4 x^2} \\ \end{align*}
Time = 1.88 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.26 \[ \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{5 e^4+10 e^8 x^2+5 e^{12} x^4} \, dx=-\frac {-5 e^{6+x}+x+e^4 \left (5+5 x+x^3\right )}{5 e^4 \left (1+e^4 x^2\right )} \]
[In]
[Out]
Time = 0.62 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.00
method | result | size |
risch | \(-\frac {x^{3}+5 x +x \,{\mathrm e}^{-4}+5-5 \,{\mathrm e}^{2+x}}{5 \left (1+x^{2} {\mathrm e}^{4}\right )}\) | \(31\) |
norman | \(\frac {x^{2} {\mathrm e}^{4}-\frac {x^{3}}{5}-\frac {{\mathrm e}^{-4} \left (5 \,{\mathrm e}^{4}+1\right ) x}{5}+{\mathrm e}^{2+x}}{1+x^{2} {\mathrm e}^{4}}\) | \(41\) |
parallelrisch | \(\frac {\left (5 x^{2} {\mathrm e}^{8}-x^{3} {\mathrm e}^{4}-5 x \,{\mathrm e}^{4}+5 \,{\mathrm e}^{4} {\mathrm e}^{2+x}-x \right ) {\mathrm e}^{-4}}{5+5 x^{2} {\mathrm e}^{4}}\) | \(50\) |
default | \(\text {Expression too large to display}\) | \(712\) |
parts | \(\text {Expression too large to display}\) | \(1342\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.03 \[ \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{5 e^4+10 e^8 x^2+5 e^{12} x^4} \, dx=-\frac {{\left (x^{3} + 5 \, x + 5\right )} e^{4} + x - 5 \, e^{\left (x + 6\right )}}{5 \, {\left (x^{2} e^{8} + e^{4}\right )}} \]
[In]
[Out]
Time = 0.23 (sec) , antiderivative size = 31, normalized size of antiderivative = 1.00 \[ \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{5 e^4+10 e^8 x^2+5 e^{12} x^4} \, dx=- \frac {x}{5 e^{4}} - \frac {x + 1}{x^{2} e^{4} + 1} + \frac {e^{x + 2}}{x^{2} e^{4} + 1} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 166 vs. \(2 (27) = 54\).
Time = 0.32 (sec) , antiderivative size = 166, normalized size of antiderivative = 5.35 \[ \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{5 e^4+10 e^8 x^2+5 e^{12} x^4} \, dx=\frac {1}{2} \, {\left (\arctan \left (x e^{2}\right ) e^{\left (-10\right )} - \frac {x}{x^{2} e^{12} + e^{8}}\right )} e^{8} - \frac {1}{10} \, {\left (2 \, x e^{\left (-12\right )} - 3 \, \arctan \left (x e^{2}\right ) e^{\left (-14\right )} + \frac {x}{x^{2} e^{16} + e^{12}}\right )} e^{8} - \frac {1}{2} \, {\left (\arctan \left (x e^{2}\right ) e^{\left (-6\right )} + \frac {x}{x^{2} e^{8} + e^{4}}\right )} e^{4} - \frac {1}{5} \, {\left (\arctan \left (x e^{2}\right ) e^{\left (-10\right )} - \frac {x}{x^{2} e^{12} + e^{8}}\right )} e^{4} - \frac {1}{10} \, \arctan \left (x e^{2}\right ) e^{\left (-6\right )} - \frac {x}{10 \, {\left (x^{2} e^{8} + e^{4}\right )}} - \frac {e^{8}}{x^{2} e^{12} + e^{8}} + \frac {e^{\left (x + 2\right )}}{x^{2} e^{4} + 1} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.16 \[ \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{5 e^4+10 e^8 x^2+5 e^{12} x^4} \, dx=-\frac {x^{3} e^{4} + 10 \, x e^{4} + x + 10 \, e^{4} - 5 \, e^{\left (x + 6\right )}}{5 \, {\left (x^{2} e^{8} + e^{4}\right )}} \]
[In]
[Out]
Time = 14.66 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.10 \[ \int \frac {-1+e^4 \left (-5-2 x^2\right )+e^8 \left (10 x+5 x^2-x^4\right )+e^{2+x} \left (5 e^4+e^8 \left (-10 x+5 x^2\right )\right )}{5 e^4+10 e^8 x^2+5 e^{12} x^4} \, dx=\frac {{\mathrm {e}}^{x-2}}{x^2+{\mathrm {e}}^{-4}}-\frac {x+1}{{\mathrm {e}}^4\,x^2+1}-\frac {x\,{\mathrm {e}}^{-4}}{5} \]
[In]
[Out]