Optimal. Leaf size=14 \[ 3-\frac {5 e^{-4+x}}{2 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 12, normalized size of antiderivative = 0.86, number of steps
used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {12, 2228}
\begin {gather*} -\frac {5 e^{x-4}}{2 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2228
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \frac {e^{-4+x} (15-5 x)}{x^4} \, dx\\ &=-\frac {5 e^{-4+x}}{2 x^3}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 12, normalized size = 0.86 \begin {gather*} -\frac {5 e^{-4+x}}{2 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(43\) vs.
\(2(15)=30\).
time = 0.67, size = 44, normalized size = 3.14
method | result | size |
risch | \(-\frac {5 \,{\mathrm e}^{x -4}}{2 x^{3}}\) | \(10\) |
gosper | \(-\frac {5 \,{\mathrm e}^{x -4}}{2 x^{3}}\) | \(14\) |
norman | \(-\frac {5 \,{\mathrm e}^{x -4}}{2 x^{3}}\) | \(14\) |
derivativedivides | \(-\frac {5 \,{\mathrm e}^{x -4} \left (\left (-x +4\right )^{2}+9 x -8\right )}{12 x^{3}}+\frac {5 \,{\mathrm e}^{x -4} \left (\left (-x +4\right )^{2}+9 x -14\right )}{12 x^{3}}\) | \(44\) |
default | \(-\frac {5 \,{\mathrm e}^{x -4} \left (\left (-x +4\right )^{2}+9 x -8\right )}{12 x^{3}}+\frac {5 \,{\mathrm e}^{x -4} \left (\left (-x +4\right )^{2}+9 x -14\right )}{12 x^{3}}\) | \(44\) |
meijerg | \(-\frac {15 \,{\mathrm e}^{x -16-x \,{\mathrm e}^{-4}} \left (-\frac {{\mathrm e}^{12} \left (22 x^{3} {\mathrm e}^{-12}+36 x^{2} {\mathrm e}^{-8}+36 x \,{\mathrm e}^{-4}+24\right )}{72 x^{3}}+\frac {{\mathrm e}^{12+x \,{\mathrm e}^{-4}} \left (4 x^{2} {\mathrm e}^{-8}+4 x \,{\mathrm e}^{-4}+8\right )}{24 x^{3}}+\frac {\ln \left (-x \,{\mathrm e}^{-4}\right )}{6}+\frac {\expIntegral \left (1, -x \,{\mathrm e}^{-4}\right )}{6}+\frac {35}{36}-\frac {\ln \left (x \right )}{6}-\frac {i \pi }{6}+\frac {{\mathrm e}^{12}}{3 x^{3}}+\frac {{\mathrm e}^{8}}{2 x^{2}}+\frac {{\mathrm e}^{4}}{2 x}\right )}{2}-\frac {5 \,{\mathrm e}^{x -12-x \,{\mathrm e}^{-4}} \left (\frac {{\mathrm e}^{8} \left (9 x^{2} {\mathrm e}^{-8}+12 x \,{\mathrm e}^{-4}+6\right )}{12 x^{2}}-\frac {{\mathrm e}^{8+x \,{\mathrm e}^{-4}} \left (3+3 x \,{\mathrm e}^{-4}\right )}{6 x^{2}}-\frac {\ln \left (-x \,{\mathrm e}^{-4}\right )}{2}-\frac {\expIntegral \left (1, -x \,{\mathrm e}^{-4}\right )}{2}-\frac {11}{4}+\frac {\ln \left (x \right )}{2}+\frac {i \pi }{2}-\frac {{\mathrm e}^{8}}{2 x^{2}}-\frac {{\mathrm e}^{4}}{x}\right )}{2}\) | \(207\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains higher order function than in optimal. Order 4 vs. order
3.
time = 0.33, size = 19, normalized size = 1.36 \begin {gather*} \frac {5}{2} \, e^{\left (-4\right )} \Gamma \left (-2, -x\right ) + \frac {15}{2} \, e^{\left (-4\right )} \Gamma \left (-3, -x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 9, normalized size = 0.64 \begin {gather*} -\frac {5 \, e^{\left (x - 4\right )}}{2 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 12, normalized size = 0.86 \begin {gather*} - \frac {5 e^{x - 4}}{2 x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.39, size = 9, normalized size = 0.64 \begin {gather*} -\frac {5 \, e^{\left (x - 4\right )}}{2 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 9, normalized size = 0.64 \begin {gather*} -\frac {5\,{\mathrm {e}}^{-4}\,{\mathrm {e}}^x}{2\,x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________