Optimal. Leaf size=24 \[ \frac {9 x^2}{4}+\frac {5+x}{x^4}+\log ^2(x) (x+\log (x)) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 26, normalized size of antiderivative = 1.08, number of steps used = 11, number of rules used = 7, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.175, Rules used = {12, 14, 2295, 2346, 2302, 30, 2296} \begin {gather*} \frac {5}{x^4}+\frac {1}{x^3}+\frac {9 x^2}{4}+\log ^3(x)+x \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 30
Rule 2295
Rule 2296
Rule 2302
Rule 2346
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \frac {-40-6 x+9 x^6+4 x^5 \log (x)+\left (6 x^4+2 x^5\right ) \log ^2(x)}{x^5} \, dx\\ &=\frac {1}{2} \int \left (\frac {-40-6 x+9 x^6}{x^5}+4 \log (x)+\frac {2 (3+x) \log ^2(x)}{x}\right ) \, dx\\ &=\frac {1}{2} \int \frac {-40-6 x+9 x^6}{x^5} \, dx+2 \int \log (x) \, dx+\int \frac {(3+x) \log ^2(x)}{x} \, dx\\ &=-2 x+2 x \log (x)+\frac {1}{2} \int \left (-\frac {40}{x^5}-\frac {6}{x^4}+9 x\right ) \, dx+3 \int \frac {\log ^2(x)}{x} \, dx+\int \log ^2(x) \, dx\\ &=\frac {5}{x^4}+\frac {1}{x^3}-2 x+\frac {9 x^2}{4}+2 x \log (x)+x \log ^2(x)-2 \int \log (x) \, dx+3 \operatorname {Subst}\left (\int x^2 \, dx,x,\log (x)\right )\\ &=\frac {5}{x^4}+\frac {1}{x^3}+\frac {9 x^2}{4}+x \log ^2(x)+\log ^3(x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 26, normalized size = 1.08 \begin {gather*} \frac {5}{x^4}+\frac {1}{x^3}+\frac {9 x^2}{4}+x \log ^2(x)+\log ^3(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.75, size = 33, normalized size = 1.38 \begin {gather*} \frac {4 \, x^{5} \log \relax (x)^{2} + 4 \, x^{4} \log \relax (x)^{3} + 9 \, x^{6} + 4 \, x + 20}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 23, normalized size = 0.96 \begin {gather*} x \log \relax (x)^{2} + \log \relax (x)^{3} + \frac {9}{4} \, x^{2} + \frac {x + 5}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 25, normalized size = 1.04
method | result | size |
default | \(x \ln \relax (x )^{2}+\ln \relax (x )^{3}+\frac {9 x^{2}}{4}+\frac {1}{x^{3}}+\frac {5}{x^{4}}\) | \(25\) |
risch | \(\ln \relax (x )^{3}+x \ln \relax (x )^{2}+\frac {9 x^{6}+4 x +20}{4 x^{4}}\) | \(27\) |
norman | \(\frac {5+x +x^{4} \ln \relax (x )^{3}+x^{5} \ln \relax (x )^{2}+\frac {9 x^{6}}{4}}{x^{4}}\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 38, normalized size = 1.58 \begin {gather*} \log \relax (x)^{3} + {\left (\log \relax (x)^{2} - 2 \, \log \relax (x) + 2\right )} x + \frac {9}{4} \, x^{2} + 2 \, x \log \relax (x) - 2 \, x + \frac {1}{x^{3}} + \frac {5}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.07, size = 23, normalized size = 0.96 \begin {gather*} \frac {x+5}{x^4}+x\,{\ln \relax (x)}^2+{\ln \relax (x)}^3+\frac {9\,x^2}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 27, normalized size = 1.12 \begin {gather*} \frac {9 x^{2}}{4} + x \log {\relax (x )}^{2} + \log {\relax (x )}^{3} + \frac {2 x + 10}{2 x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________