Optimal. Leaf size=22 \[ \frac {x^{2 (n+1)} (c+d x)^{n+1}}{n+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {845} \[ \frac {x^{2 (n+1)} (c+d x)^{n+1}}{n+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 845
Rubi steps
\begin {align*} \int x^{2 n} (c+d x)^n \left (2 c x+3 d x^2\right ) \, dx &=\frac {x^{2 (1+n)} (c+d x)^{1+n}}{1+n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 22, normalized size = 1.00 \[ \frac {x^{2 n+2} (c+d x)^{n+1}}{n+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.98, size = 29, normalized size = 1.32 \[ \frac {{\left (d x^{3} + c x^{2}\right )} {\left (d x + c\right )}^{n} x^{2 \, n}}{n + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.31, size = 41, normalized size = 1.86 \[ \frac {{\left (d x + c\right )}^{n} d x^{3} x^{2 \, n} + {\left (d x + c\right )}^{n} c x^{2} x^{2 \, n}}{n + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 23, normalized size = 1.05 \[ \frac {x^{2 n +2} \left (d x +c \right )^{n +1}}{n +1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.90, size = 32, normalized size = 1.45 \[ \frac {{\left (d x^{3} + c x^{2}\right )} e^{\left (n \log \left (d x + c\right ) + 2 \, n \log \relax (x)\right )}}{n + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.19, size = 26, normalized size = 1.18 \[ \frac {x^{2\,n}\,x^2\,{\left (c+d\,x\right )}^n\,\left (c+d\,x\right )}{n+1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 6.15, size = 53, normalized size = 2.41 \[ \begin {cases} \frac {c x^{2} x^{2 n} \left (c + d x\right )^{n}}{n + 1} + \frac {d x^{3} x^{2 n} \left (c + d x\right )^{n}}{n + 1} & \text {for}\: n \neq -1 \\2 \log {\relax (x )} + \log {\left (\frac {c}{d} + x \right )} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________