Optimal. Leaf size=27 \[ 5-e^x-\frac {e^x-x^2}{\left (5-\frac {3 x}{2}\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 30, normalized size of antiderivative = 1.11, number of steps
used = 11, number of rules used = 6, integrand size = 41, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.146, Rules used = {6874, 37,
2230, 2225, 2208, 2209} \begin {gather*} \frac {4 x^2}{(10-3 x)^2}-e^x-\frac {4 e^x}{(10-3 x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 2208
Rule 2209
Rule 2225
Rule 2230
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {80 x}{(-10+3 x)^3}-\frac {e^x \left (-1064+912 x-270 x^2+27 x^3\right )}{(-10+3 x)^3}\right ) \, dx\\ &=-\left (80 \int \frac {x}{(-10+3 x)^3} \, dx\right )-\int \frac {e^x \left (-1064+912 x-270 x^2+27 x^3\right )}{(-10+3 x)^3} \, dx\\ &=\frac {4 x^2}{(10-3 x)^2}-\int \left (e^x-\frac {24 e^x}{(-10+3 x)^3}+\frac {4 e^x}{(-10+3 x)^2}\right ) \, dx\\ &=\frac {4 x^2}{(10-3 x)^2}-4 \int \frac {e^x}{(-10+3 x)^2} \, dx+24 \int \frac {e^x}{(-10+3 x)^3} \, dx-\int e^x \, dx\\ &=-e^x-\frac {4 e^x}{(10-3 x)^2}-\frac {4 e^x}{3 (10-3 x)}+\frac {4 x^2}{(10-3 x)^2}-\frac {4}{3} \int \frac {e^x}{-10+3 x} \, dx+4 \int \frac {e^x}{(-10+3 x)^2} \, dx\\ &=-e^x-\frac {4 e^x}{(10-3 x)^2}+\frac {4 x^2}{(10-3 x)^2}-\frac {4}{9} e^{10/3} \text {Ei}\left (\frac {1}{3} (-10+3 x)\right )+\frac {4}{3} \int \frac {e^x}{-10+3 x} \, dx\\ &=-e^x-\frac {4 e^x}{(10-3 x)^2}+\frac {4 x^2}{(10-3 x)^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.39, size = 34, normalized size = 1.26 \begin {gather*} \frac {80 (-5+3 x)-9 e^x \left (104-60 x+9 x^2\right )}{9 (10-3 x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 33, normalized size = 1.22
method | result | size |
norman | \(\frac {\frac {80 x}{3}+60 \,{\mathrm e}^{x} x -9 \,{\mathrm e}^{x} x^{2}-104 \,{\mathrm e}^{x}-\frac {400}{9}}{\left (3 x -10\right )^{2}}\) | \(30\) |
default | \(\frac {400}{9 \left (3 x -10\right )^{2}}+\frac {80}{9 \left (3 x -10\right )}-\frac {4 \,{\mathrm e}^{x}}{9 \left (x -\frac {10}{3}\right )^{2}}-{\mathrm e}^{x}\) | \(33\) |
risch | \(\frac {\frac {80 x}{27}-\frac {400}{81}}{x^{2}-\frac {20}{3} x +\frac {100}{9}}-\frac {\left (9 x^{2}-60 x +104\right ) {\mathrm e}^{x}}{\left (3 x -10\right )^{2}}\) | \(39\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 33, normalized size = 1.22 \begin {gather*} -\frac {9 \, {\left (9 \, x^{2} - 60 \, x + 104\right )} e^{x} - 240 \, x + 400}{9 \, {\left (9 \, x^{2} - 60 \, x + 100\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.07, size = 37, normalized size = 1.37 \begin {gather*} - \frac {80 \cdot \left (5 - 3 x\right )}{81 x^{2} - 540 x + 900} + \frac {\left (- 9 x^{2} + 60 x - 104\right ) e^{x}}{9 x^{2} - 60 x + 100} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 35, normalized size = 1.30 \begin {gather*} -\frac {81 \, x^{2} e^{x} - 540 \, x e^{x} - 240 \, x + 936 \, e^{x} + 400}{9 \, {\left (9 \, x^{2} - 60 \, x + 100\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.09, size = 23, normalized size = 0.85 \begin {gather*} -{\mathrm {e}}^x-\frac {4\,{\mathrm {e}}^x-\frac {80\,x}{3}+\frac {400}{9}}{{\left (3\,x-10\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________