Optimal. Leaf size=64 \[ \frac {\frac {25}{12 a}+\frac {13 b x}{3 a^2}+\frac {7 b^2 x^2}{2 a^3}+\frac {b^3 x^3}{a^4}}{(a+b x)^4}-\frac {\log \left (\frac {a+b x}{x}\right )}{a^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 71, normalized size of antiderivative = 1.11, number of steps
used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {46}
\begin {gather*} -\frac {\log (a+b x)}{a^5}+\frac {\log (x)}{a^5}+\frac {1}{a^4 (a+b x)}+\frac {1}{2 a^3 (a+b x)^2}+\frac {1}{3 a^2 (a+b x)^3}+\frac {1}{4 a (a+b x)^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=\int \left (\frac {1}{a^5 x}-\frac {b}{a (a+b x)^5}-\frac {b}{a^2 (a+b x)^4}-\frac {b}{a^3 (a+b x)^3}-\frac {b}{a^4 (a+b x)^2}-\frac {b}{a^5 (a+b x)}\right ) \, dx\\ &=\frac {1}{4 a (a+b x)^4}+\frac {1}{3 a^2 (a+b x)^3}+\frac {1}{2 a^3 (a+b x)^2}+\frac {1}{a^4 (a+b x)}+\frac {\log (x)}{a^5}-\frac {\log (a+b x)}{a^5}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 59, normalized size = 0.92 \begin {gather*} \frac {\frac {a \left (25 a^3+52 a^2 b x+42 a b^2 x^2+12 b^3 x^3\right )}{(a+b x)^4}+12 \log (x)-12 \log (a+b x)}{12 a^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 66, normalized size = 1.03
method | result | size |
risch | \(\frac {\frac {25}{12 a}+\frac {13 b x}{3 a^{2}}+\frac {7 b^{2} x^{2}}{2 a^{3}}+\frac {b^{3} x^{3}}{a^{4}}}{\left (b x +a \right )^{4}}-\frac {\ln \left (b x +a \right )}{a^{5}}+\frac {\ln \left (-x \right )}{a^{5}}\) | \(63\) |
default | \(-\frac {\ln \left (b x +a \right )}{a^{5}}+\frac {1}{a^{4} \left (b x +a \right )}+\frac {1}{2 a^{3} \left (b x +a \right )^{2}}+\frac {1}{3 a^{2} \left (b x +a \right )^{3}}+\frac {1}{4 a \left (b x +a \right )^{4}}+\frac {\ln \left (x \right )}{a^{5}}\) | \(66\) |
norman | \(\frac {-\frac {4 b x}{a^{2}}-\frac {9 b^{2} x^{2}}{a^{3}}-\frac {22 b^{3} x^{3}}{3 a^{4}}-\frac {25 b^{4} x^{4}}{12 a^{5}}}{\left (b x +a \right )^{4}}+\frac {\ln \left (x \right )}{a^{5}}-\frac {\ln \left (b x +a \right )}{a^{5}}\) | \(68\) |
parallelrisch | \(\frac {12 \ln \left (x \right ) x^{4} b^{4}-12 \ln \left (b x +a \right ) x^{4} b^{4}+48 \ln \left (x \right ) x^{3} a \,b^{3}-48 \ln \left (b x +a \right ) x^{3} a \,b^{3}-25 b^{4} x^{4}+72 \ln \left (x \right ) x^{2} a^{2} b^{2}-72 \ln \left (b x +a \right ) x^{2} a^{2} b^{2}-88 a \,b^{3} x^{3}+48 \ln \left (x \right ) x \,a^{3} b -48 \ln \left (b x +a \right ) x \,a^{3} b -108 b^{2} a^{2} x^{2}+12 \ln \left (x \right ) a^{4}-12 \ln \left (b x +a \right ) a^{4}-48 b \,a^{3} x}{12 a^{5} \left (b x +a \right )^{4}}\) | \(169\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 95, normalized size = 1.48 \begin {gather*} \frac {12 \, b^{3} x^{3} + 42 \, a b^{2} x^{2} + 52 \, a^{2} b x + 25 \, a^{3}}{12 \, {\left (a^{4} b^{4} x^{4} + 4 \, a^{5} b^{3} x^{3} + 6 \, a^{6} b^{2} x^{2} + 4 \, a^{7} b x + a^{8}\right )}} - \frac {\log \left (b x + a\right )}{a^{5}} + \frac {\log \left (x\right )}{a^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 168 vs.
\(2 (60) = 120\).
time = 0.59, size = 168, normalized size = 2.62 \begin {gather*} \frac {12 \, a b^{3} x^{3} + 42 \, a^{2} b^{2} x^{2} + 52 \, a^{3} b x + 25 \, a^{4} - 12 \, {\left (b^{4} x^{4} + 4 \, a b^{3} x^{3} + 6 \, a^{2} b^{2} x^{2} + 4 \, a^{3} b x + a^{4}\right )} \log \left (b x + a\right ) + 12 \, {\left (b^{4} x^{4} + 4 \, a b^{3} x^{3} + 6 \, a^{2} b^{2} x^{2} + 4 \, a^{3} b x + a^{4}\right )} \log \left (x\right )}{12 \, {\left (a^{5} b^{4} x^{4} + 4 \, a^{6} b^{3} x^{3} + 6 \, a^{7} b^{2} x^{2} + 4 \, a^{8} b x + a^{9}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.21, size = 94, normalized size = 1.47 \begin {gather*} \frac {25 a^{3} + 52 a^{2} b x + 42 a b^{2} x^{2} + 12 b^{3} x^{3}}{12 a^{8} + 48 a^{7} b x + 72 a^{6} b^{2} x^{2} + 48 a^{5} b^{3} x^{3} + 12 a^{4} b^{4} x^{4}} + \frac {\log {\left (x \right )} - \log {\left (\frac {a}{b} + x \right )}}{a^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 89, normalized size = 1.39 \begin {gather*} \frac {1}{12} \, b {\left (\frac {12 \, \log \left ({\left | -\frac {a}{b x + a} + 1 \right |}\right )}{a^{5} b} + \frac {\frac {12 \, b^{3}}{b x + a} + \frac {6 \, a b^{3}}{{\left (b x + a\right )}^{2}} + \frac {4 \, a^{2} b^{3}}{{\left (b x + a\right )}^{3}} + \frac {3 \, a^{3} b^{3}}{{\left (b x + a\right )}^{4}}}{a^{4} b^{4}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 77, normalized size = 1.20 \begin {gather*} \frac {\frac {\frac {\frac {1}{a^2+b\,x\,a}-\frac {\ln \left (\frac {a+b\,x}{x}\right )}{a^2}}{a}+\frac {1}{2\,a\,{\left (a+b\,x\right )}^2}}{a}+\frac {1}{3\,a\,{\left (a+b\,x\right )}^3}}{a}+\frac {1}{4\,a\,{\left (a+b\,x\right )}^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________