Optimal. Leaf size=21 \[ \frac {\left (c x^2+d x^3\right )^{1+n}}{1+n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.040, Rules used = {1602}
\begin {gather*} \frac {\left (c x^2+d x^3\right )^{n+1}}{n+1} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1602
Rubi steps
\begin {align*} \int \left (2 c x+3 d x^2\right ) \left (c x^2+d x^3\right )^n \, dx &=\frac {\left (c x^2+d x^3\right )^{1+n}}{1+n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 19, normalized size = 0.90 \begin {gather*} \frac {\left (x^2 (c+d x)\right )^{1+n}}{1+n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.21, size = 22, normalized size = 1.05
method | result | size |
derivativedivides | \(\frac {\left (d \,x^{3}+c \,x^{2}\right )^{1+n}}{1+n}\) | \(22\) |
default | \(\frac {\left (d \,x^{3}+c \,x^{2}\right )^{1+n}}{1+n}\) | \(22\) |
risch | \(\frac {x^{2} \left (d x +c \right ) \left (x^{2} \left (d x +c \right )\right )^{n}}{1+n}\) | \(26\) |
gosper | \(\frac {\left (d \,x^{3}+c \,x^{2}\right )^{n} x^{2} \left (d x +c \right )}{1+n}\) | \(28\) |
norman | \(\frac {c \,x^{2} {\mathrm e}^{n \ln \left (d \,x^{3}+c \,x^{2}\right )}}{1+n}+\frac {d \,x^{3} {\mathrm e}^{n \ln \left (d \,x^{3}+c \,x^{2}\right )}}{1+n}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 21, normalized size = 1.00 \begin {gather*} \frac {{\left (d x^{3} + c x^{2}\right )}^{n + 1}}{n + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 30, normalized size = 1.43 \begin {gather*} \frac {{\left (d x^{3} + c x^{2}\right )} {\left (d x^{3} + c x^{2}\right )}^{n}}{n + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 53 vs.
\(2 (15) = 30\).
time = 0.41, size = 53, normalized size = 2.52 \begin {gather*} \begin {cases} \frac {c x^{2} \left (c x^{2} + d x^{3}\right )^{n}}{n + 1} + \frac {d x^{3} \left (c x^{2} + d x^{3}\right )^{n}}{n + 1} & \text {for}\: n \neq -1 \\2 \log {\left (x \right )} + \log {\left (\frac {c}{d} + x \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.35, size = 21, normalized size = 1.00 \begin {gather*} \frac {{\left (d x^{3} + c x^{2}\right )}^{n + 1}}{n + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.16, size = 27, normalized size = 1.29 \begin {gather*} \frac {x^2\,{\left (d\,x^3+c\,x^2\right )}^n\,\left (c+d\,x\right )}{n+1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________