Optimal. Leaf size=14 \[ \frac {26 x-5 (3+x)}{\log (x)} \]
________________________________________________________________________________________
Rubi [A] time = 0.22, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 8, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.444, Rules used = {6741, 12, 6742, 2353, 2297, 2298, 2302, 30} \begin {gather*} \frac {21 x}{\log (x)}-\frac {15}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 30
Rule 2297
Rule 2298
Rule 2302
Rule 2353
Rule 6741
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {3 (5-7 x+7 x \log (x))}{x \log ^2(x)} \, dx\\ &=3 \int \frac {5-7 x+7 x \log (x)}{x \log ^2(x)} \, dx\\ &=3 \int \left (\frac {5-7 x}{x \log ^2(x)}+\frac {7}{\log (x)}\right ) \, dx\\ &=3 \int \frac {5-7 x}{x \log ^2(x)} \, dx+21 \int \frac {1}{\log (x)} \, dx\\ &=21 \text {li}(x)+3 \int \left (-\frac {7}{\log ^2(x)}+\frac {5}{x \log ^2(x)}\right ) \, dx\\ &=21 \text {li}(x)+15 \int \frac {1}{x \log ^2(x)} \, dx-21 \int \frac {1}{\log ^2(x)} \, dx\\ &=\frac {21 x}{\log (x)}+21 \text {li}(x)+15 \operatorname {Subst}\left (\int \frac {1}{x^2} \, dx,x,\log (x)\right )-21 \int \frac {1}{\log (x)} \, dx\\ &=-\frac {15}{\log (x)}+\frac {21 x}{\log (x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 14, normalized size = 1.00 \begin {gather*} -\frac {15}{\log (x)}+\frac {21 x}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 11, normalized size = 0.79 \begin {gather*} \frac {3 \, {\left (7 \, x - 5\right )}}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.97, size = 11, normalized size = 0.79 \begin {gather*} \frac {3 \, {\left (7 \, x - 5\right )}}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 11, normalized size = 0.79
method | result | size |
norman | \(\frac {-15+21 x}{\ln \relax (x )}\) | \(11\) |
risch | \(\frac {-15+21 x}{\ln \relax (x )}\) | \(12\) |
default | \(\frac {21 x}{\ln \relax (x )}-\frac {15}{\ln \relax (x )}\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.46, size = 20, normalized size = 1.43 \begin {gather*} -\frac {15}{\log \relax (x)} + 21 \, {\rm Ei}\left (\log \relax (x)\right ) - 21 \, \Gamma \left (-1, -\log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.14, size = 11, normalized size = 0.79 \begin {gather*} \frac {3\,\left (7\,x-5\right )}{\ln \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 7, normalized size = 0.50 \begin {gather*} \frac {21 x - 15}{\log {\relax (x )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________