Optimal. Leaf size=21 \[ 9 x^3+\frac {e \left (4\ 3^x+x\right )}{9 x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 17, normalized size of antiderivative = 0.81, number of steps
used = 4, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {12, 14, 2228}
\begin {gather*} 9 x^3+\frac {4 e 3^{x-2}}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2228
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{9} \int \frac {243 x^4+3^x (-4 e+4 e x \log (3))}{x^2} \, dx\\ &=\frac {1}{9} \int \left (243 x^2+\frac {4\ 3^x e (-1+x \log (3))}{x^2}\right ) \, dx\\ &=9 x^3+\frac {1}{9} (4 e) \int \frac {3^x (-1+x \log (3))}{x^2} \, dx\\ &=\frac {4\ 3^{-2+x} e}{x}+9 x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 17, normalized size = 0.81 \begin {gather*} \frac {4\ 3^{-2+x} e}{x}+9 x^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 4 vs. order
3.
time = 1.96, size = 54, normalized size = 2.57
method | result | size |
risch | \(9 x^{3}+\frac {4 \,{\mathrm e} 3^{x}}{9 x}\) | \(17\) |
norman | \(\frac {9 x^{4}+\frac {4 \,{\mathrm e} \,{\mathrm e}^{x \ln \left (3\right )}}{9}}{x}\) | \(20\) |
derivativedivides | \(\frac {\ln \left (3\right ) \left (\frac {81 x^{3}}{\ln \left (3\right )}-4 \,{\mathrm e} \left (-\frac {{\mathrm e}^{x \ln \left (3\right )}}{x \ln \left (3\right )}-\expIntegral \left (1, -x \ln \left (3\right )\right )\right )-4 \,{\mathrm e} \expIntegral \left (1, -x \ln \left (3\right )\right )\right )}{9}\) | \(54\) |
default | \(\frac {\ln \left (3\right ) \left (\frac {81 x^{3}}{\ln \left (3\right )}-4 \,{\mathrm e} \left (-\frac {{\mathrm e}^{x \ln \left (3\right )}}{x \ln \left (3\right )}-\expIntegral \left (1, -x \ln \left (3\right )\right )\right )-4 \,{\mathrm e} \expIntegral \left (1, -x \ln \left (3\right )\right )\right )}{9}\) | \(54\) |
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.48, size = 30, normalized size = 1.43 \begin {gather*} 9 \, x^{3} + \frac {4}{9} \, {\rm Ei}\left (x \log \left (3\right )\right ) e \log \left (3\right ) - \frac {4}{9} \, e \Gamma \left (-1, -x \log \left (3\right )\right ) \log \left (3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 18, normalized size = 0.86 \begin {gather*} \frac {81 \, x^{4} + 4 \cdot 3^{x} e}{9 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.09, size = 19, normalized size = 0.90 \begin {gather*} 9 x^{3} + \frac {4 e e^{x \log {\left (3 \right )}}}{9 x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.45, size = 16, normalized size = 0.76 \begin {gather*} 9\,x^3+\frac {4\,3^x\,\mathrm {e}}{9\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________