Optimal. Leaf size=17 \[ -1-x+x \left (x+\log \left (\frac {9}{4 x^2}\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {2295} \begin {gather*} x^2+x \log \left (\frac {9}{4 x^2}\right )-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2295
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-3 x+x^2+\int \log \left (\frac {9}{4 x^2}\right ) \, dx\\ &=-x+x^2+x \log \left (\frac {9}{4 x^2}\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 17, normalized size = 1.00 \begin {gather*} -x+x^2+x \log \left (\frac {9}{4 x^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.50, size = 15, normalized size = 0.88 \begin {gather*} x^{2} + x \log \left (\frac {9}{4 \, x^{2}}\right ) - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 2.99, size = 15, normalized size = 0.88 \begin {gather*} x^{2} + x \log \left (\frac {9}{4 \, x^{2}}\right ) - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 16, normalized size = 0.94
method | result | size |
norman | \(x^{2}+x \ln \left (\frac {9}{4 x^{2}}\right )-x\) | \(16\) |
risch | \(x^{2}+x \ln \left (\frac {9}{4 x^{2}}\right )-x\) | \(16\) |
derivativedivides | \(x \ln \left (\frac {1}{x^{2}}\right )-x -2 x \ln \relax (2)+2 x \ln \relax (3)+x^{2}\) | \(24\) |
default | \(x \ln \left (\frac {1}{x^{2}}\right )-x -2 x \ln \relax (2)+2 x \ln \relax (3)+x^{2}\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 15, normalized size = 0.88 \begin {gather*} x^{2} + x \log \left (\frac {9}{4 \, x^{2}}\right ) - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.98, size = 14, normalized size = 0.82 \begin {gather*} x^2+x\,\left (\ln \left (\frac {9}{4\,x^2}\right )-1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 14, normalized size = 0.82 \begin {gather*} x^{2} + x \log {\left (\frac {9}{4 x^{2}} \right )} - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________