Optimal. Leaf size=35 \[ x \left (a+b x+c x^2\right )^{1+m} \left (d+e x+f x^2+g x^3\right )^{1+n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 174, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.006, Rules used = {1604}
\begin {gather*} x \left (a+b x+c x^2\right )^{m+1} \left (d+e x+f x^2+g x^3\right )^{n+1} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1604
Rubi steps
\begin {align*} \int \left (a+b x+c x^2\right )^m \left (d+e x+f x^2+g x^3\right )^n \left (a d+(2 b d+2 a e+b d m+a e n) x+(3 c d+3 b e+3 a f+2 c d m+b e m+b e n+2 a f n) x^2+(4 c e+4 b f+4 a g+2 c e m+b f m+c e n+2 b f n+3 a g n) x^3+(5 c f+5 b g+2 c f m+b g m+2 c f n+3 b g n) x^4+c g (6+2 m+3 n) x^5\right ) \, dx &=x \left (a+b x+c x^2\right )^{1+m} \left (d+e x+f x^2+g x^3\right )^{1+n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 10.25, size = 32, normalized size = 0.91 \begin {gather*} x (a+x (b+c x))^{1+m} (d+x (e+x (f+g x)))^{1+n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.43, size = 36, normalized size = 1.03
method | result | size |
gosper | \(x \left (c \,x^{2}+b x +a \right )^{1+m} \left (g \,x^{3}+f \,x^{2}+e x +d \right )^{1+n}\) | \(36\) |
risch | \(x \left (c g \,x^{5}+b g \,x^{4}+c f \,x^{4}+a g \,x^{3}+b f \,x^{3}+c e \,x^{3}+a f \,x^{2}+b e \,x^{2}+c d \,x^{2}+a e x +b d x +a d \right ) \left (c \,x^{2}+b x +a \right )^{m} \left (g \,x^{3}+f \,x^{2}+e x +d \right )^{n}\) | \(98\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 99 vs.
\(2 (36) = 72\).
time = 0.38, size = 99, normalized size = 2.83 \begin {gather*} {\left (c g x^{6} + {\left (c f + b g\right )} x^{5} + {\left (b f + a g + c e\right )} x^{4} + {\left (c d + a f + b e\right )} x^{3} + a d x + {\left (b d + a e\right )} x^{2}\right )} e^{\left (n \log \left (g x^{3} + f x^{2} + x e + d\right ) + m \log \left (c x^{2} + b x + a\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F(-1)]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \text {Hanged} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________