Optimal. Leaf size=29 \[ \frac {e^x}{5+\frac {1}{16} x^2 \left (3-e^{10}+x\right )^2-\log (2)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 2.33, antiderivative size = 44, normalized size of antiderivative = 1.52, number of steps
used = 4, number of rules used = 4, integrand size = 222, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.018, Rules used = {6, 6820, 12,
2327} \begin {gather*} \frac {16 e^x}{x^4+2 \left (3-e^{10}\right ) x^3+\left (3-e^{10}\right )^2 x^2+16 (5-\log (2))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rule 12
Rule 2327
Rule 6820
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {e^x \left (1280-288 x-144 x^2+32 x^3+16 x^4+e^{20} \left (-32 x+16 x^2\right )+e^{10} \left (192 x-32 x^3\right )-256 \log (2)\right )}{6400+1440 x^2+960 x^3+\left (241+e^{40}\right ) x^4+108 x^5+54 x^6+12 x^7+x^8+e^{30} \left (-12 x^4-4 x^5\right )+e^{20} \left (160 x^2+54 x^4+36 x^5+6 x^6\right )+e^{10} \left (-960 x^2-320 x^3-108 x^4-108 x^5-36 x^6-4 x^7\right )+\left (-2560-288 x^2-32 e^{20} x^2-192 x^3-32 x^4+e^{10} \left (192 x^2+64 x^3\right )\right ) \log (2)+256 \log ^2(2)} \, dx\\ &=\int \frac {16 e^x \left (-2 \left (3-e^{10}\right )^2 x-\left (9-e^{20}\right ) x^2+2 \left (1-e^{10}\right ) x^3+x^4+16 (5-\log (2))\right )}{\left (\left (3-e^{10}\right )^2 x^2+2 \left (3-e^{10}\right ) x^3+x^4+16 (5-\log (2))\right )^2} \, dx\\ &=16 \int \frac {e^x \left (-2 \left (3-e^{10}\right )^2 x-\left (9-e^{20}\right ) x^2+2 \left (1-e^{10}\right ) x^3+x^4+16 (5-\log (2))\right )}{\left (\left (3-e^{10}\right )^2 x^2+2 \left (3-e^{10}\right ) x^3+x^4+16 (5-\log (2))\right )^2} \, dx\\ &=\frac {16 e^x}{\left (3-e^{10}\right )^2 x^2+2 \left (3-e^{10}\right ) x^3+x^4+16 (5-\log (2))}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.30, size = 38, normalized size = 1.31 \begin {gather*} \frac {16 e^x}{\left (-3+e^{10}\right )^2 x^2-2 \left (-3+e^{10}\right ) x^3+x^4-16 (-5+\log (2))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.77, size = 10159, normalized size = 350.31
method | result | size |
gosper | \(-\frac {16 \,{\mathrm e}^{x}}{-x^{2} {\mathrm e}^{20}+2 x^{3} {\mathrm e}^{10}-x^{4}+6 \,{\mathrm e}^{10} x^{2}-6 x^{3}-9 x^{2}+16 \ln \left (2\right )-80}\) | \(51\) |
norman | \(-\frac {16 \,{\mathrm e}^{x}}{-x^{2} {\mathrm e}^{20}+2 x^{3} {\mathrm e}^{10}-x^{4}+6 \,{\mathrm e}^{10} x^{2}-6 x^{3}-9 x^{2}+16 \ln \left (2\right )-80}\) | \(51\) |
default | \(\text {Expression too large to display}\) | \(10159\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.58, size = 36, normalized size = 1.24 \begin {gather*} \frac {16 \, e^{x}}{x^{4} - 2 \, x^{3} {\left (e^{10} - 3\right )} + x^{2} {\left (e^{20} - 6 \, e^{10} + 9\right )} - 16 \, \log \left (2\right ) + 80} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.43, size = 44, normalized size = 1.52 \begin {gather*} \frac {16 \, e^{x}}{x^{4} + 6 \, x^{3} + x^{2} e^{20} + 9 \, x^{2} - 2 \, {\left (x^{3} + 3 \, x^{2}\right )} e^{10} - 16 \, \log \left (2\right ) + 80} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 48 vs.
\(2 (20) = 40\).
time = 0.20, size = 48, normalized size = 1.66 \begin {gather*} \frac {16 e^{x}}{x^{4} - 2 x^{3} e^{10} + 6 x^{3} - 6 x^{2} e^{10} + 9 x^{2} + x^{2} e^{20} - 16 \log {\left (2 \right )} + 80} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.23, size = 45, normalized size = 1.55 \begin {gather*} \frac {32 \, e^{x}}{x^{4} - 2 \, x^{3} e^{10} + 6 \, x^{3} + x^{2} e^{20} - 6 \, x^{2} e^{10} + 9 \, x^{2} - 16 \, \log \left (2\right ) + 80} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 6.32, size = 36, normalized size = 1.24 \begin {gather*} \frac {16\,{\mathrm {e}}^x}{x^4+\left (6-2\,{\mathrm {e}}^{10}\right )\,x^3+{\left ({\mathrm {e}}^{10}-3\right )}^2\,x^2-16\,\ln \left (2\right )+80} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________