Optimal. Leaf size=33 \[ \frac {x}{b^2}-\frac {a^2}{b^3 (a+b x)}-\frac {2 a \log (a+b x)}{b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 33, normalized size of antiderivative = 1.00, 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 = {45}
\begin {gather*} -\frac {a^2}{b^3 (a+b x)}-\frac {2 a \log (a+b x)}{b^3}+\frac {x}{b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=\int \left (\frac {1}{b^2}+\frac {a^2}{b^2 (a+b x)^2}-\frac {2 a}{b^2 (a+b x)}\right ) \, dx\\ &=\frac {x}{b^2}-\frac {a^2}{b^3 (a+b x)}-\frac {2 a \log (a+b x)}{b^3}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 0.88 \begin {gather*} \frac {b x-\frac {a^2}{a+b x}-2 a \log (a+b x)}{b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 34, normalized size = 1.03
method | result | size |
default | \(\frac {x}{b^{2}}-\frac {a^{2}}{b^{3} \left (b x +a \right )}-\frac {2 a \ln \left (b x +a \right )}{b^{3}}\) | \(34\) |
risch | \(\frac {x}{b^{2}}-\frac {a^{2}}{b^{3} \left (b x +a \right )}-\frac {2 a \ln \left (b x +a \right )}{b^{3}}\) | \(34\) |
norman | \(\frac {\frac {x^{2}}{b}-\frac {2 a^{2}}{b^{3}}}{b x +a}-\frac {2 a \ln \left (b x +a \right )}{b^{3}}\) | \(38\) |
parallelrisch | \(-\frac {2 \ln \left (b x +a \right ) x a b -b^{2} x^{2}+2 a^{2} \ln \left (b x +a \right )+2 a^{2}}{b^{3} \left (b x +a \right )}\) | \(49\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.32, size = 36, normalized size = 1.09 \begin {gather*} -\frac {a^{2}}{b^{4} x + a b^{3}} + \frac {x}{b^{2}} - \frac {2 \, a \log \left (b x + a\right )}{b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.57, size = 47, normalized size = 1.42 \begin {gather*} \frac {b^{2} x^{2} + a b x - a^{2} - 2 \, {\left (a b x + a^{2}\right )} \log \left (b x + a\right )}{b^{4} x + a b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 31, normalized size = 0.94 \begin {gather*} - \frac {a^{2}}{a b^{3} + b^{4} x} - \frac {2 a \log {\left (a + b x \right )}}{b^{3}} + \frac {x}{b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 50, normalized size = 1.52 \begin {gather*} \frac {2 \, a \log \left (\frac {{\left | b x + a \right |}}{{\left (b x + a\right )}^{2} {\left | b \right |}}\right )}{b^{3}} + \frac {b x + a}{b^{3}} - \frac {a^{2}}{{\left (b x + a\right )} b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 36, normalized size = 1.09 \begin {gather*} \frac {x}{b^2}-\frac {a^2}{x\,b^4+a\,b^3}-\frac {2\,a\,\ln \left (a+b\,x\right )}{b^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________