Optimal. Leaf size=37 \[ \frac{\left (a+b x+c x^2\right )^{m+1} \left (d+e x+f x^2+g x^3\right )^{n+1}}{x} \]
[Out]
_______________________________________________________________________________________
Rubi [F] time = 8.29014, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0. \[ \text{Int}\left (\frac{\left (a+b x+c x^2\right )^m \left (d+e x+f x^2+g x^3\right )^n \left (-a d+(b d m+a e n) x+(c d+b e+a f+2 c d m+b e m+b e n+2 a f n) x^2+(2 c e+2 b f+2 a g+2 c e m+b f m+c e n+2 b f n+3 a g n) x^3+(3 c f+3 b g+2 c f m+b g m+2 c f n+3 b g n) x^4+c g (4+2 m+3 n) x^5\right )}{x^2},x\right ) \]
Verification is Not applicable to the result.
[In] Int[((a + b*x + c*x^2)^m*(d + e*x + f*x^2 + g*x^3)^n*(-(a*d) + (b*d*m + a*e*n)*x + (c*d + b*e + a*f + 2*c*d*m + b*e*m + b*e*n + 2*a*f*n)*x^2 + (2*c*e + 2*b*f + 2*a*g + 2*c*e*m + b*f*m + c*e*n + 2*b*f*n + 3*a*g*n)*x^3 + (3*c*f + 3*b*g + 2*c*f*m + b*g*m + 2*c*f*n + 3*b*g*n)*x^4 + c*g*(4 + 2*m + 3*n)*x^5))/x^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**2+b*x+a)**m*(g*x**3+f*x**2+e*x+d)**n*(-a*d+(a*e*n+b*d*m)*x+(2*a*f*n+b*e*m+b*e*n+2*c*d*m+a*f+b*e+c*d)*x**2+(3*a*g*n+b*f*m+2*b*f*n+2*c*e*m+c*e*n+2*a*g+2*b*f+2*c*e)*x**3+(b*g*m+3*b*g*n+2*c*f*m+2*c*f*n+3*b*g+3*c*f)*x**4+c*g*(4+2*m+3*n)*x**5)/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 1.52376, size = 34, normalized size = 0.92 \[ \frac{(a+x (b+c x))^{m+1} (d+x (e+x (f+g x)))^{n+1}}{x} \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x + c*x^2)^m*(d + e*x + f*x^2 + g*x^3)^n*(-(a*d) + (b*d*m + a*e*n)*x + (c*d + b*e + a*f + 2*c*d*m + b*e*m + b*e*n + 2*a*f*n)*x^2 + (2*c*e + 2*b*f + 2*a*g + 2*c*e*m + b*f*m + c*e*n + 2*b*f*n + 3*a*g*n)*x^3 + (3*c*f + 3*b*g + 2*c*f*m + b*g*m + 2*c*f*n + 3*b*g*n)*x^4 + c*g*(4 + 2*m + 3*n)*x^5))/x^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.035, size = 38, normalized size = 1. \[{\frac{ \left ( c{x}^{2}+bx+a \right ) ^{1+m} \left ( g{x}^{3}+f{x}^{2}+ex+d \right ) ^{1+n}}{x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^2+b*x+a)^m*(g*x^3+f*x^2+e*x+d)^n*(-a*d+(a*e*n+b*d*m)*x+(2*a*f*n+b*e*m+b*e*n+2*c*d*m+a*f+b*e+c*d)*x^2+(3*a*g*n+b*f*m+2*b*f*n+2*c*e*m+c*e*n+2*a*g+2*b*f+2*c*e)*x^3+(b*g*m+3*b*g*n+2*c*f*m+2*c*f*n+3*b*g+3*c*f)*x^4+c*g*(4+2*m+3*n)*x^5)/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.964169, size = 128, normalized size = 3.46 \[ \frac{{\left (c g x^{5} +{\left (c f + b g\right )} x^{4} +{\left (c e + b f + a g\right )} x^{3} +{\left (c d + b e + a f\right )} x^{2} + a d +{\left (b d + a e\right )} x\right )} e^{\left (n \log \left (g x^{3} + f x^{2} + e x + d\right ) + m \log \left (c x^{2} + b x + a\right )\right )}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*g*(2*m + 3*n + 4)*x^5 + (2*c*f*m + b*g*m + 2*c*f*n + 3*b*g*n + 3*c*f + 3*b*g)*x^4 + (2*c*e*m + b*f*m + c*e*n + 2*b*f*n + 3*a*g*n + 2*c*e + 2*b*f + 2*a*g)*x^3 + (2*c*d*m + b*e*m + b*e*n + 2*a*f*n + c*d + b*e + a*f)*x^2 - a*d + (b*d*m + a*e*n)*x)*(g*x^3 + f*x^2 + e*x + d)^n*(c*x^2 + b*x + a)^m/x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*g*(2*m + 3*n + 4)*x^5 + (2*c*f*m + b*g*m + 2*c*f*n + 3*b*g*n + 3*c*f + 3*b*g)*x^4 + (2*c*e*m + b*f*m + c*e*n + 2*b*f*n + 3*a*g*n + 2*c*e + 2*b*f + 2*a*g)*x^3 + (2*c*d*m + b*e*m + b*e*n + 2*a*f*n + c*d + b*e + a*f)*x^2 - a*d + (b*d*m + a*e*n)*x)*(g*x^3 + f*x^2 + e*x + d)^n*(c*x^2 + b*x + a)^m/x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**2+b*x+a)**m*(g*x**3+f*x**2+e*x+d)**n*(-a*d+(a*e*n+b*d*m)*x+(2*a*f*n+b*e*m+b*e*n+2*c*d*m+a*f+b*e+c*d)*x**2+(3*a*g*n+b*f*m+2*b*f*n+2*c*e*m+c*e*n+2*a*g+2*b*f+2*c*e)*x**3+(b*g*m+3*b*g*n+2*c*f*m+2*c*f*n+3*b*g+3*c*f)*x**4+c*g*(4+2*m+3*n)*x**5)/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (c g{\left (2 \, m + 3 \, n + 4\right )} x^{5} +{\left (2 \, c f m + b g m + 2 \, c f n + 3 \, b g n + 3 \, c f + 3 \, b g\right )} x^{4} +{\left (2 \, c e m + b f m + c e n + 2 \, b f n + 3 \, a g n + 2 \, c e + 2 \, b f + 2 \, a g\right )} x^{3} +{\left (2 \, c d m + b e m + b e n + 2 \, a f n + c d + b e + a f\right )} x^{2} - a d +{\left (b d m + a e n\right )} x\right )}{\left (g x^{3} + f x^{2} + e x + d\right )}^{n}{\left (c x^{2} + b x + a\right )}^{m}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*g*(2*m + 3*n + 4)*x^5 + (2*c*f*m + b*g*m + 2*c*f*n + 3*b*g*n + 3*c*f + 3*b*g)*x^4 + (2*c*e*m + b*f*m + c*e*n + 2*b*f*n + 3*a*g*n + 2*c*e + 2*b*f + 2*a*g)*x^3 + (2*c*d*m + b*e*m + b*e*n + 2*a*f*n + c*d + b*e + a*f)*x^2 - a*d + (b*d*m + a*e*n)*x)*(g*x^3 + f*x^2 + e*x + d)^n*(c*x^2 + b*x + a)^m/x^2,x, algorithm="giac")
[Out]