Optimal. Leaf size=35 \[ \frac {(a+b x)^3 \log (a+b x)}{3 b}-\frac {(a+b x)^3}{9 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2390, 2304} \[ \frac {(a+b x)^3 \log (a+b x)}{3 b}-\frac {(a+b x)^3}{9 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2304
Rule 2390
Rubi steps
\begin {align*} \int (a+b x)^2 \log (a+b x) \, dx &=\frac {\operatorname {Subst}\left (\int x^2 \log (x) \, dx,x,a+b x\right )}{b}\\ &=-\frac {(a+b x)^3}{9 b}+\frac {(a+b x)^3 \log (a+b x)}{3 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 44, normalized size = 1.26 \[ \frac {(a+b x)^3 \log (a+b x)}{3 b}-\frac {1}{9} x \left (3 a^2+3 a b x+b^2 x^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.46, size = 64, normalized size = 1.83 \[ -\frac {b^{3} x^{3} + 3 \, a b^{2} x^{2} + 3 \, a^{2} b x - 3 \, {\left (b^{3} x^{3} + 3 \, a b^{2} x^{2} + 3 \, a^{2} b x + a^{3}\right )} \log \left (b x + a\right )}{9 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 31, normalized size = 0.89 \[ \frac {{\left (b x + a\right )}^{3} \log \left (b x + a\right )}{3 \, b} - \frac {{\left (b x + a\right )}^{3}}{9 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.07, size = 82, normalized size = 2.34 \[ \frac {b^{2} x^{3} \ln \left (b x +a \right )}{3}+a b \,x^{2} \ln \left (b x +a \right )-\frac {b^{2} x^{3}}{9}+a^{2} x \ln \left (b x +a \right )-\frac {a b \,x^{2}}{3}+\frac {a^{3} \ln \left (b x +a \right )}{3 b}-\frac {a^{2} x}{3}-\frac {a^{3}}{9 b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.60, size = 74, normalized size = 2.11 \[ \frac {1}{9} \, {\left (\frac {3 \, a^{3} \log \left (b x + a\right )}{b^{2}} - \frac {b^{2} x^{3} + 3 \, a b x^{2} + 3 \, a^{2} x}{b}\right )} b + \frac {1}{3} \, {\left (b^{2} x^{3} + 3 \, a b x^{2} + 3 \, a^{2} x\right )} \log \left (b x + a\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.46, size = 73, normalized size = 2.09 \[ \frac {a^3\,\ln \left (a+b\,x\right )}{3\,b}-\frac {b^2\,x^3}{9}-\frac {a^2\,x}{3}+\frac {b^2\,x^3\,\ln \left (a+b\,x\right )}{3}-\frac {a\,b\,x^2}{3}+a^2\,x\,\ln \left (a+b\,x\right )+a\,b\,x^2\,\ln \left (a+b\,x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.23, size = 63, normalized size = 1.80 \[ \frac {a^{3} \log {\left (a + b x \right )}}{3 b} - \frac {a^{2} x}{3} - \frac {a b x^{2}}{3} - \frac {b^{2} x^{3}}{9} + \left (a^{2} x + a b x^{2} + \frac {b^{2} x^{3}}{3}\right ) \log {\left (a + b x \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________