Optimal. Leaf size=44 \[ \frac {2 a^{3 x}}{27 \log ^3(a)}-\frac {2 a^{3 x} x}{9 \log ^2(a)}+\frac {a^{3 x} x^2}{3 \log (a)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2207, 2225}
\begin {gather*} \frac {x^2 a^{3 x}}{3 \log (a)}+\frac {2 a^{3 x}}{27 \log ^3(a)}-\frac {2 x a^{3 x}}{9 \log ^2(a)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2207
Rule 2225
Rubi steps
\begin {align*} \int a^{3 x} x^2 \, dx &=\frac {a^{3 x} x^2}{3 \log (a)}-\frac {2 \int a^{3 x} x \, dx}{3 \log (a)}\\ &=-\frac {2 a^{3 x} x}{9 \log ^2(a)}+\frac {a^{3 x} x^2}{3 \log (a)}+\frac {2 \int a^{3 x} \, dx}{9 \log ^2(a)}\\ &=\frac {2 a^{3 x}}{27 \log ^3(a)}-\frac {2 a^{3 x} x}{9 \log ^2(a)}+\frac {a^{3 x} x^2}{3 \log (a)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 29, normalized size = 0.66 \begin {gather*} \frac {a^{3 x} \left (2-6 x \log (a)+9 x^2 \log ^2(a)\right )}{27 \log ^3(a)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 28, normalized size = 0.64
method | result | size |
gosper | \(\frac {\left (9 x^{2} \ln \left (a \right )^{2}-6 x \ln \left (a \right )+2\right ) a^{3 x}}{27 \ln \left (a \right )^{3}}\) | \(28\) |
risch | \(\frac {\left (9 x^{2} \ln \left (a \right )^{2}-6 x \ln \left (a \right )+2\right ) a^{3 x}}{27 \ln \left (a \right )^{3}}\) | \(28\) |
meijerg | \(-\frac {2-\frac {\left (27 x^{2} \ln \left (a \right )^{2}-18 x \ln \left (a \right )+6\right ) {\mathrm e}^{3 x \ln \left (a \right )}}{3}}{27 \ln \left (a \right )^{3}}\) | \(33\) |
norman | \(\frac {2 \,{\mathrm e}^{3 x \ln \left (a \right )}}{27 \ln \left (a \right )^{3}}-\frac {2 x \,{\mathrm e}^{3 x \ln \left (a \right )}}{9 \ln \left (a \right )^{2}}+\frac {x^{2} {\mathrm e}^{3 x \ln \left (a \right )}}{3 \ln \left (a \right )}\) | \(42\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.36, size = 27, normalized size = 0.61 \begin {gather*} \frac {{\left (9 \, x^{2} \log \left (a\right )^{2} - 6 \, x \log \left (a\right ) + 2\right )} a^{3 \, x}}{27 \, \log \left (a\right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.87, size = 27, normalized size = 0.61 \begin {gather*} \frac {{\left (9 \, x^{2} \log \left (a\right )^{2} - 6 \, x \log \left (a\right ) + 2\right )} a^{3 \, x}}{27 \, \log \left (a\right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 37, normalized size = 0.84 \begin {gather*} \begin {cases} \frac {a^{3 x} \left (9 x^{2} \log {\left (a \right )}^{2} - 6 x \log {\left (a \right )} + 2\right )}{27 \log {\left (a \right )}^{3}} & \text {for}\: \log {\left (a \right )}^{3} \neq 0 \\\frac {x^{3}}{3} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] Result contains complex when optimal does not.
time = 0.72, size = 826, normalized size = 18.77 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 27, normalized size = 0.61 \begin {gather*} \frac {a^{3\,x}\,\left (9\,x^2\,{\ln \left (a\right )}^2-6\,x\,\ln \left (a\right )+2\right )}{27\,{\ln \left (a\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________