Optimal. Leaf size=21 \[ \frac {5 \left (2-\frac {9 x}{5}\right ) \left (2+x-x^2\right )}{\log (x)} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.22, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {-20+8 x+19 x^2-9 x^3+\left (-8 x-38 x^2+27 x^3\right ) \log (x)}{x \log ^2(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-20+8 x+19 x^2-9 x^3}{x \log ^2(x)}+\frac {-8-38 x+27 x^2}{\log (x)}\right ) \, dx\\ &=\int \frac {-20+8 x+19 x^2-9 x^3}{x \log ^2(x)} \, dx+\int \frac {-8-38 x+27 x^2}{\log (x)} \, dx\\ &=\int \left (-\frac {8}{\log (x)}-\frac {38 x}{\log (x)}+\frac {27 x^2}{\log (x)}\right ) \, dx+\int \frac {-20+8 x+19 x^2-9 x^3}{x \log ^2(x)} \, dx\\ &=-\left (8 \int \frac {1}{\log (x)} \, dx\right )+27 \int \frac {x^2}{\log (x)} \, dx-38 \int \frac {x}{\log (x)} \, dx+\int \frac {-20+8 x+19 x^2-9 x^3}{x \log ^2(x)} \, dx\\ &=-8 \text {li}(x)+27 \text {Subst}\left (\int \frac {e^{3 x}}{x} \, dx,x,\log (x)\right )-38 \text {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (x)\right )+\int \frac {-20+8 x+19 x^2-9 x^3}{x \log ^2(x)} \, dx\\ &=-38 \text {Ei}(2 \log (x))+27 \text {Ei}(3 \log (x))-8 \text {li}(x)+\int \frac {-20+8 x+19 x^2-9 x^3}{x \log ^2(x)} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 32, normalized size = 1.52 \begin {gather*} \frac {20}{\log (x)}-\frac {8 x}{\log (x)}-\frac {19 x^2}{\log (x)}+\frac {9 x^3}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 33, normalized size = 1.57
method | result | size |
norman | \(\frac {9 x^{3}-19 x^{2}-8 x +20}{\ln \left (x \right )}\) | \(21\) |
risch | \(\frac {9 x^{3}-19 x^{2}-8 x +20}{\ln \left (x \right )}\) | \(21\) |
default | \(\frac {9 x^{3}}{\ln \left (x \right )}-\frac {19 x^{2}}{\ln \left (x \right )}-\frac {8 x}{\ln \left (x \right )}+\frac {20}{\ln \left (x \right )}\) | \(33\) |
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.34, size = 50, normalized size = 2.38 \begin {gather*} \frac {20}{\log \left (x\right )} + 27 \, {\rm Ei}\left (3 \, \log \left (x\right )\right ) - 38 \, {\rm Ei}\left (2 \, \log \left (x\right )\right ) - 8 \, {\rm Ei}\left (\log \left (x\right )\right ) + 8 \, \Gamma \left (-1, -\log \left (x\right )\right ) + 38 \, \Gamma \left (-1, -2 \, \log \left (x\right )\right ) - 27 \, \Gamma \left (-1, -3 \, \log \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 20, normalized size = 0.95 \begin {gather*} \frac {9 \, x^{3} - 19 \, x^{2} - 8 \, x + 20}{\log \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 17, normalized size = 0.81 \begin {gather*} \frac {9 x^{3} - 19 x^{2} - 8 x + 20}{\log {\left (x \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 20, normalized size = 0.95 \begin {gather*} \frac {9 \, x^{3} - 19 \, x^{2} - 8 \, x + 20}{\log \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.96, size = 16, normalized size = 0.76 \begin {gather*} \frac {\left (9\,x-10\right )\,\left (x+1\right )\,\left (x-2\right )}{\ln \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________