Optimal. Leaf size=18 \[ -1-x^2+\frac {5 x^2}{e+\log (25)} \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 19, normalized size of antiderivative = 1.06, number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {6, 12, 30} \begin {gather*} \frac {x^2 (5-e-\log (25))}{e+\log (25)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rule 12
Rule 30
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {(10-2 e) x-2 x \log (25)}{e+\log (25)} \, dx\\ &=\int \frac {x (10-2 e-2 \log (25))}{e+\log (25)} \, dx\\ &=\frac {(2 (5-e-\log (25))) \int x \, dx}{e+\log (25)}\\ &=\frac {x^2 (5-e-\log (25))}{e+\log (25)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 16, normalized size = 0.89 \begin {gather*} -\frac {x^2 (-5+e+\log (25))}{e+\log (25)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.65, size = 30, normalized size = 1.67 \begin {gather*} -\frac {x^{2} e + 2 \, x^{2} \log \relax (5) - 5 \, x^{2}}{e + 2 \, \log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.26, size = 30, normalized size = 1.67 \begin {gather*} -\frac {x^{2} e + 2 \, x^{2} \log \relax (5) - 5 \, x^{2}}{e + 2 \, \log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 23, normalized size = 1.28
method | result | size |
gosper | \(-\frac {x^{2} \left (2 \ln \relax (5)+{\mathrm e}-5\right )}{2 \ln \relax (5)+{\mathrm e}}\) | \(23\) |
norman | \(-\frac {x^{2} \left (2 \ln \relax (5)+{\mathrm e}-5\right )}{2 \ln \relax (5)+{\mathrm e}}\) | \(23\) |
default | \(\frac {-2 x^{2} \ln \relax (5)-x^{2} {\mathrm e}+5 x^{2}}{2 \ln \relax (5)+{\mathrm e}}\) | \(31\) |
risch | \(-\frac {2 x^{2} \ln \relax (5)}{2 \ln \relax (5)+{\mathrm e}}-\frac {x^{2} {\mathrm e}}{2 \ln \relax (5)+{\mathrm e}}+\frac {5 x^{2}}{2 \ln \relax (5)+{\mathrm e}}\) | \(48\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 30, normalized size = 1.67 \begin {gather*} -\frac {x^{2} e + 2 \, x^{2} \log \relax (5) - 5 \, x^{2}}{e + 2 \, \log \relax (5)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 18, normalized size = 1.00 \begin {gather*} -\frac {x^2\,\left (\mathrm {e}+\ln \left (25\right )-5\right )}{\mathrm {e}+\ln \left (25\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.06, size = 20, normalized size = 1.11 \begin {gather*} \frac {x^{2} \left (- 2 \log {\relax (5 )} - e + 5\right )}{e + 2 \log {\relax (5 )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________