Optimal. Leaf size=26 \[ \frac {5}{4} \left (4+4 \left (2+e^x\right ) x\right )+\frac {x}{7-x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 28, normalized size of antiderivative = 1.08, number of steps used = 8, number of rules used = 7, integrand size = 54, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {28, 6742, 2176, 2194, 1157, 21, 8} \begin {gather*} \frac {x}{7-x^2}+10 x-5 e^x+5 e^x (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 21
Rule 28
Rule 1157
Rule 2176
Rule 2194
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {497-139 x^2+10 x^4+e^x \left (245+245 x-70 x^2-70 x^3+5 x^4+5 x^5\right )}{\left (-7+x^2\right )^2} \, dx\\ &=\int \left (5 e^x (1+x)+\frac {497-139 x^2+10 x^4}{\left (-7+x^2\right )^2}\right ) \, dx\\ &=5 \int e^x (1+x) \, dx+\int \frac {497-139 x^2+10 x^4}{\left (-7+x^2\right )^2} \, dx\\ &=5 e^x (1+x)+\frac {x}{7-x^2}+\frac {1}{14} \int \frac {-980+140 x^2}{-7+x^2} \, dx-5 \int e^x \, dx\\ &=-5 e^x+5 e^x (1+x)+\frac {x}{7-x^2}+10 \int 1 \, dx\\ &=-5 e^x+10 x+5 e^x (1+x)+\frac {x}{7-x^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 18, normalized size = 0.69 \begin {gather*} x \left (10+5 e^x+\frac {1}{7-x^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.12, size = 28, normalized size = 1.08 \begin {gather*} \frac {10 \, x^{3} + 5 \, {\left (x^{3} - 7 \, x\right )} e^{x} - 71 \, x}{x^{2} - 7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.34, size = 29, normalized size = 1.12 \begin {gather*} \frac {5 \, x^{3} e^{x} + 10 \, x^{3} - 35 \, x e^{x} - 71 \, x}{x^{2} - 7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 20, normalized size = 0.77
method | result | size |
risch | \(-\frac {x}{x^{2}-7}+10 x +5 \,{\mathrm e}^{x} x\) | \(20\) |
default | \(-\frac {x}{x^{2}-7}+10 x +5 \left (x -1\right ) {\mathrm e}^{x}+5 \,{\mathrm e}^{x}\) | \(26\) |
norman | \(\frac {-71 x +10 x^{3}-35 \,{\mathrm e}^{x} x +5 \,{\mathrm e}^{x} x^{3}}{x^{2}-7}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.66, size = 19, normalized size = 0.73 \begin {gather*} 5 \, x e^{x} + 10 \, x - \frac {x}{x^{2} - 7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.36, size = 19, normalized size = 0.73 \begin {gather*} 10\,x-\frac {x}{x^2-7}+5\,x\,{\mathrm {e}}^x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 15, normalized size = 0.58 \begin {gather*} 5 x e^{x} + 10 x - \frac {x}{x^{2} - 7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________