Optimal. Leaf size=61 \[ -\frac {2 f^{a+\frac {b}{x}}}{b^3 \log ^3(f)}+\frac {2 f^{a+\frac {b}{x}}}{b^2 x \log ^2(f)}-\frac {f^{a+\frac {b}{x}}}{b x^2 \log (f)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2243, 2240}
\begin {gather*} -\frac {2 f^{a+\frac {b}{x}}}{b^3 \log ^3(f)}+\frac {2 f^{a+\frac {b}{x}}}{b^2 x \log ^2(f)}-\frac {f^{a+\frac {b}{x}}}{b x^2 \log (f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2240
Rule 2243
Rubi steps
\begin {align*} \int \frac {f^{a+\frac {b}{x}}}{x^4} \, dx &=-\frac {f^{a+\frac {b}{x}}}{b x^2 \log (f)}-\frac {2 \int \frac {f^{a+\frac {b}{x}}}{x^3} \, dx}{b \log (f)}\\ &=\frac {2 f^{a+\frac {b}{x}}}{b^2 x \log ^2(f)}-\frac {f^{a+\frac {b}{x}}}{b x^2 \log (f)}+\frac {2 \int \frac {f^{a+\frac {b}{x}}}{x^2} \, dx}{b^2 \log ^2(f)}\\ &=-\frac {2 f^{a+\frac {b}{x}}}{b^3 \log ^3(f)}+\frac {2 f^{a+\frac {b}{x}}}{b^2 x \log ^2(f)}-\frac {f^{a+\frac {b}{x}}}{b x^2 \log (f)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 41, normalized size = 0.67 \begin {gather*} -\frac {f^{a+\frac {b}{x}} \left (2 x^2-2 b x \log (f)+b^2 \log ^2(f)\right )}{b^3 x^2 \log ^3(f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 44, normalized size = 0.72
method | result | size |
risch | \(-\frac {\left (\ln \left (f \right )^{2} b^{2}-2 \ln \left (f \right ) b x +2 x^{2}\right ) f^{\frac {a x +b}{x}}}{\ln \left (f \right )^{3} b^{3} x^{2}}\) | \(44\) |
meijerg | \(\frac {f^{a} \left (2-\frac {\left (\frac {3 b^{2} \ln \left (f \right )^{2}}{x^{2}}-\frac {6 b \ln \left (f \right )}{x}+6\right ) {\mathrm e}^{\frac {b \ln \left (f \right )}{x}}}{3}\right )}{\ln \left (f \right )^{3} b^{3}}\) | \(46\) |
norman | \(\frac {-\frac {x \,{\mathrm e}^{\left (a +\frac {b}{x}\right ) \ln \left (f \right )}}{\ln \left (f \right ) b}+\frac {2 x^{2} {\mathrm e}^{\left (a +\frac {b}{x}\right ) \ln \left (f \right )}}{b^{2} \ln \left (f \right )^{2}}-\frac {2 x^{3} {\mathrm e}^{\left (a +\frac {b}{x}\right ) \ln \left (f \right )}}{b^{3} \ln \left (f \right )^{3}}}{x^{3}}\) | \(73\) |
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.32, size = 22, normalized size = 0.36 \begin {gather*} -\frac {f^{a} \Gamma \left (3, -\frac {b \log \left (f\right )}{x}\right )}{b^{3} \log \left (f\right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.45, size = 43, normalized size = 0.70 \begin {gather*} -\frac {{\left (b^{2} \log \left (f\right )^{2} - 2 \, b x \log \left (f\right ) + 2 \, x^{2}\right )} f^{\frac {a x + b}{x}}}{b^{3} x^{2} \log \left (f\right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 39, normalized size = 0.64 \begin {gather*} \frac {f^{a + \frac {b}{x}} \left (- b^{2} \log {\left (f \right )}^{2} + 2 b x \log {\left (f \right )} - 2 x^{2}\right )}{b^{3} x^{2} \log {\left (f \right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.55, size = 45, normalized size = 0.74 \begin {gather*} -\frac {f^{a+\frac {b}{x}}\,\left (\frac {1}{b\,\ln \left (f\right )}+\frac {2\,x^2}{b^3\,{\ln \left (f\right )}^3}-\frac {2\,x}{b^2\,{\ln \left (f\right )}^2}\right )}{x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________