Optimal. Leaf size=26 \[ \frac {5}{4} \left (4+4 \left (2+e^x\right ) x\right )+\frac {x}{7-x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, 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, 6874, 2207,
2225, 1171, 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 1171
Rule 2207
Rule 2225
Rule 6874
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.62, 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]
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 26, normalized size = 1.00
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.55, 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]
________________________________________________________________________________________
Fricas [A]
time = 0.30, 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]
________________________________________________________________________________________
Sympy [A]
time = 0.06, 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]
________________________________________________________________________________________
Giac [A]
time = 0.40, 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]
________________________________________________________________________________________
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]
________________________________________________________________________________________