Optimal. Leaf size=20 \[ 2 x^2 \left (\frac {47}{16}+x+4 e^{5-x} x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 25, normalized size of antiderivative = 1.25, number of steps
used = 12, number of rules used = 5, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.156, Rules used = {12, 1607,
2227, 2207, 2225} \begin {gather*} 8 e^{5-x} x^3+2 x^3+\frac {47 x^2}{8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 1607
Rule 2207
Rule 2225
Rule 2227
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{4} \int \left (47 x+24 x^2+e^{5-x} \left (96 x^2-32 x^3\right )\right ) \, dx\\ &=\frac {47 x^2}{8}+2 x^3+\frac {1}{4} \int e^{5-x} \left (96 x^2-32 x^3\right ) \, dx\\ &=\frac {47 x^2}{8}+2 x^3+\frac {1}{4} \int e^{5-x} (96-32 x) x^2 \, dx\\ &=\frac {47 x^2}{8}+2 x^3+\frac {1}{4} \int \left (96 e^{5-x} x^2-32 e^{5-x} x^3\right ) \, dx\\ &=\frac {47 x^2}{8}+2 x^3-8 \int e^{5-x} x^3 \, dx+24 \int e^{5-x} x^2 \, dx\\ &=\frac {47 x^2}{8}-24 e^{5-x} x^2+2 x^3+8 e^{5-x} x^3-24 \int e^{5-x} x^2 \, dx+48 \int e^{5-x} x \, dx\\ &=-48 e^{5-x} x+\frac {47 x^2}{8}+2 x^3+8 e^{5-x} x^3+48 \int e^{5-x} \, dx-48 \int e^{5-x} x \, dx\\ &=-48 e^{5-x}+\frac {47 x^2}{8}+2 x^3+8 e^{5-x} x^3-48 \int e^{5-x} \, dx\\ &=\frac {47 x^2}{8}+2 x^3+8 e^{5-x} x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 22, normalized size = 1.10 \begin {gather*} \frac {1}{8} x^2 \left (47+\left (16+64 e^{5-x}\right ) x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(62\) vs.
\(2(18)=36\).
time = 0.11, size = 63, normalized size = 3.15
method | result | size |
norman | \(\frac {47 x^{2}}{8}+2 x^{3}+8 \,{\mathrm e}^{5-x} x^{3}\) | \(23\) |
risch | \(\frac {47 x^{2}}{8}+2 x^{3}+8 \,{\mathrm e}^{5-x} x^{3}\) | \(23\) |
default | \(\frac {47 x^{2}}{8}+2 x^{3}-8 \,{\mathrm e}^{5-x} \left (5-x \right )^{3}+120 \,{\mathrm e}^{5-x} \left (5-x \right )^{2}-600 \,{\mathrm e}^{5-x} \left (5-x \right )+1000 \,{\mathrm e}^{5-x}\) | \(63\) |
derivativedivides | \(-\frac {1175}{4}+\frac {235 x}{4}+\frac {47 \left (5-x \right )^{2}}{8}+2 x^{3}-8 \,{\mathrm e}^{5-x} \left (5-x \right )^{3}+120 \,{\mathrm e}^{5-x} \left (5-x \right )^{2}-600 \,{\mathrm e}^{5-x} \left (5-x \right )+1000 \,{\mathrm e}^{5-x}\) | \(71\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 22, normalized size = 1.10 \begin {gather*} 8 \, x^{3} e^{\left (-x + 5\right )} + 2 \, x^{3} + \frac {47}{8} \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 22, normalized size = 1.10 \begin {gather*} 8 \, x^{3} e^{\left (-x + 5\right )} + 2 \, x^{3} + \frac {47}{8} \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 20, normalized size = 1.00 \begin {gather*} 8 x^{3} e^{5 - x} + 2 x^{3} + \frac {47 x^{2}}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 36, normalized size = 1.80 \begin {gather*} 2 \, x^{3} + \frac {47}{8} \, x^{2} + 8 \, {\left ({\left (x - 5\right )}^{3} + 15 \, {\left (x - 5\right )}^{2} + 75 \, x - 250\right )} e^{\left (-x + 5\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.47, size = 18, normalized size = 0.90 \begin {gather*} x^2\,\left (2\,x+8\,x\,{\mathrm {e}}^{5-x}+\frac {47}{8}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________