Optimal. Leaf size=16 \[ \frac {x \left (253+2 x+625 x^2\right )}{\log (x)} \]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 26, normalized size of antiderivative = 1.62, number of steps used = 19, number of rules used = 7, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6742, 2356, 2297, 2298, 2306, 2309, 2178} \begin {gather*} \frac {625 x^3}{\log (x)}+\frac {2 x^2}{\log (x)}+\frac {253 x}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2178
Rule 2297
Rule 2298
Rule 2306
Rule 2309
Rule 2356
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-253-2 x-625 x^2}{\log ^2(x)}+\frac {253+4 x+1875 x^2}{\log (x)}\right ) \, dx\\ &=\int \frac {-253-2 x-625 x^2}{\log ^2(x)} \, dx+\int \frac {253+4 x+1875 x^2}{\log (x)} \, dx\\ &=\int \left (-\frac {253}{\log ^2(x)}-\frac {2 x}{\log ^2(x)}-\frac {625 x^2}{\log ^2(x)}\right ) \, dx+\int \left (\frac {253}{\log (x)}+\frac {4 x}{\log (x)}+\frac {1875 x^2}{\log (x)}\right ) \, dx\\ &=-\left (2 \int \frac {x}{\log ^2(x)} \, dx\right )+4 \int \frac {x}{\log (x)} \, dx-253 \int \frac {1}{\log ^2(x)} \, dx+253 \int \frac {1}{\log (x)} \, dx-625 \int \frac {x^2}{\log ^2(x)} \, dx+1875 \int \frac {x^2}{\log (x)} \, dx\\ &=\frac {253 x}{\log (x)}+\frac {2 x^2}{\log (x)}+\frac {625 x^3}{\log (x)}+253 \text {li}(x)-4 \int \frac {x}{\log (x)} \, dx+4 \operatorname {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (x)\right )-253 \int \frac {1}{\log (x)} \, dx-1875 \int \frac {x^2}{\log (x)} \, dx+1875 \operatorname {Subst}\left (\int \frac {e^{3 x}}{x} \, dx,x,\log (x)\right )\\ &=4 \text {Ei}(2 \log (x))+1875 \text {Ei}(3 \log (x))+\frac {253 x}{\log (x)}+\frac {2 x^2}{\log (x)}+\frac {625 x^3}{\log (x)}-4 \operatorname {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (x)\right )-1875 \operatorname {Subst}\left (\int \frac {e^{3 x}}{x} \, dx,x,\log (x)\right )\\ &=\frac {253 x}{\log (x)}+\frac {2 x^2}{\log (x)}+\frac {625 x^3}{\log (x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 16, normalized size = 1.00 \begin {gather*} \frac {x \left (253+2 x+625 x^2\right )}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.18, size = 19, normalized size = 1.19 \begin {gather*} \frac {625 \, x^{3} + 2 \, x^{2} + 253 \, x}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 26, normalized size = 1.62 \begin {gather*} \frac {625 \, x^{3}}{\log \relax (x)} + \frac {2 \, x^{2}}{\log \relax (x)} + \frac {253 \, x}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 17, normalized size = 1.06
method | result | size |
risch | \(\frac {x \left (625 x^{2}+2 x +253\right )}{\ln \relax (x )}\) | \(17\) |
norman | \(\frac {625 x^{3}+2 x^{2}+253 x}{\ln \relax (x )}\) | \(20\) |
default | \(\frac {625 x^{3}}{\ln \relax (x )}+\frac {2 x^{2}}{\ln \relax (x )}+\frac {253 x}{\ln \relax (x )}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.42, size = 44, normalized size = 2.75 \begin {gather*} 1875 \, {\rm Ei}\left (3 \, \log \relax (x)\right ) + 4 \, {\rm Ei}\left (2 \, \log \relax (x)\right ) + 253 \, {\rm Ei}\left (\log \relax (x)\right ) - 253 \, \Gamma \left (-1, -\log \relax (x)\right ) - 4 \, \Gamma \left (-1, -2 \, \log \relax (x)\right ) - 1875 \, \Gamma \left (-1, -3 \, \log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.75, size = 16, normalized size = 1.00 \begin {gather*} \frac {x\,\left (625\,x^2+2\,x+253\right )}{\ln \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 15, normalized size = 0.94 \begin {gather*} \frac {625 x^{3} + 2 x^{2} + 253 x}{\log {\relax (x )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________