Optimal. Leaf size=21 \[ \frac {-9+\frac {16}{x^4 \log ^2(4)}+\frac {3}{\log (x)}}{x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.26, antiderivative size = 24, normalized size of antiderivative = 1.14, number of steps used = 10, number of rules used = 6, integrand size = 49, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.122, Rules used = {12, 6742, 14, 2306, 2309, 2178} \begin {gather*} \frac {16}{x^6 \log ^2(4)}-\frac {9}{x^2}+\frac {3}{x^2 \log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2178
Rule 2306
Rule 2309
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \frac {-3 x^4 \log ^2(4)-6 x^4 \log ^2(4) \log (x)+\left (-96+18 x^4 \log ^2(4)\right ) \log ^2(x)}{x^7 \log ^2(x)} \, dx}{\log ^2(4)}\\ &=\frac {\int \left (\frac {6 \left (-16+3 x^4 \log ^2(4)\right )}{x^7}-\frac {3 \log ^2(4)}{x^3 \log ^2(x)}-\frac {6 \log ^2(4)}{x^3 \log (x)}\right ) \, dx}{\log ^2(4)}\\ &=-\left (3 \int \frac {1}{x^3 \log ^2(x)} \, dx\right )-6 \int \frac {1}{x^3 \log (x)} \, dx+\frac {6 \int \frac {-16+3 x^4 \log ^2(4)}{x^7} \, dx}{\log ^2(4)}\\ &=\frac {3}{x^2 \log (x)}+6 \int \frac {1}{x^3 \log (x)} \, dx-6 \operatorname {Subst}\left (\int \frac {e^{-2 x}}{x} \, dx,x,\log (x)\right )+\frac {6 \int \left (-\frac {16}{x^7}+\frac {3 \log ^2(4)}{x^3}\right ) \, dx}{\log ^2(4)}\\ &=-\frac {9}{x^2}-6 \text {Ei}(-2 \log (x))+\frac {16}{x^6 \log ^2(4)}+\frac {3}{x^2 \log (x)}+6 \operatorname {Subst}\left (\int \frac {e^{-2 x}}{x} \, dx,x,\log (x)\right )\\ &=-\frac {9}{x^2}+\frac {16}{x^6 \log ^2(4)}+\frac {3}{x^2 \log (x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 27, normalized size = 1.29 \begin {gather*} 3 \left (-\frac {3}{x^2}+\frac {16}{3 x^6 \log ^2(4)}+\frac {1}{x^2 \log (x)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 37, normalized size = 1.76 \begin {gather*} \frac {3 \, x^{4} \log \relax (2)^{2} - {\left (9 \, x^{4} \log \relax (2)^{2} - 4\right )} \log \relax (x)}{x^{6} \log \relax (2)^{2} \log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 35, normalized size = 1.67 \begin {gather*} \frac {\frac {3 \, \log \relax (2)^{2}}{x^{2} \log \relax (x)} - \frac {9 \, x^{4} \log \relax (2)^{2} - 4}{x^{6}}}{\log \relax (2)^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 31, normalized size = 1.48
method | result | size |
risch | \(-\frac {9 x^{4} \ln \relax (2)^{2}-4}{\ln \relax (2)^{2} x^{6}}+\frac {3}{x^{2} \ln \relax (x )}\) | \(31\) |
norman | \(\frac {3 x^{4} \ln \relax (2)+\frac {4 \ln \relax (x )}{\ln \relax (2)}-9 x^{4} \ln \relax (2) \ln \relax (x )}{x^{6} \ln \relax (2) \ln \relax (x )}\) | \(38\) |
default | \(\frac {-\frac {36 \ln \relax (2)^{2}}{x^{2}}+24 \ln \relax (2)^{2} \expIntegralEi \left (1, 2 \ln \relax (x )\right )-12 \ln \relax (2)^{2} \left (-\frac {1}{x^{2} \ln \relax (x )}+2 \expIntegralEi \left (1, 2 \ln \relax (x )\right )\right )+\frac {16}{x^{6}}}{4 \ln \relax (2)^{2}}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.38, size = 44, normalized size = 2.10 \begin {gather*} -\frac {6 \, {\rm Ei}\left (-2 \, \log \relax (x)\right ) \log \relax (2)^{2} - 6 \, \Gamma \left (-1, 2 \, \log \relax (x)\right ) \log \relax (2)^{2} + \frac {9 \, \log \relax (2)^{2}}{x^{2}} - \frac {4}{x^{6}}}{\log \relax (2)^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.21, size = 30, normalized size = 1.43 \begin {gather*} \frac {3}{x^2\,\ln \relax (x)}-\frac {9\,x^4\,{\ln \relax (2)}^2-4}{x^6\,{\ln \relax (2)}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.17, size = 27, normalized size = 1.29 \begin {gather*} \frac {3}{x^{2} \log {\relax (x )}} + \frac {- 9 x^{4} \log {\relax (2 )}^{2} + 4}{x^{6} \log {\relax (2 )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________