Optimal. Leaf size=64 \[ e^{a+b x+c x^2} \left (a+b x+c x^2\right )^2-2 e^{a+b x+c x^2} \left (a+b x+c x^2\right )+2 e^{a+b x+c x^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.244845, antiderivative size = 64, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097 \[ e^{a+b x+c x^2} \left (a+b x+c x^2\right )^2-2 e^{a+b x+c x^2} \left (a+b x+c x^2\right )+2 e^{a+b x+c x^2} \]
Antiderivative was successfully verified.
[In] Int[E^(a + b*x + c*x^2)*(b + 2*c*x)*(a + b*x + c*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 78.5493, size = 60, normalized size = 0.94 \[ \left (a + b x + c x^{2}\right )^{2} e^{a + b x + c x^{2}} - 2 \left (a + b x + c x^{2}\right ) e^{a + b x + c x^{2}} + 2 e^{a + b x + c x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(exp(c*x**2+b*x+a)*(2*c*x+b)*(c*x**2+b*x+a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0166974, size = 36, normalized size = 0.56 \[ e^{a+x (b+c x)} \left ((a+x (b+c x))^2-2 (a+x (b+c x))+2\right ) \]
Antiderivative was successfully verified.
[In] Integrate[E^(a + b*x + c*x^2)*(b + 2*c*x)*(a + b*x + c*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.007, size = 64, normalized size = 1. \[ \left ({c}^{2}{x}^{4}+2\,cb{x}^{3}+2\,ac{x}^{2}+{b}^{2}{x}^{2}+2\,abx-2\,c{x}^{2}+{a}^{2}-2\,bx-2\,a+2 \right ){{\rm e}^{c{x}^{2}+bx+a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(exp(c*x^2+b*x+a)*(2*c*x+b)*(c*x^2+b*x+a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.07892, size = 1651, normalized size = 25.8 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2*(2*c*x + b)*e^(c*x^2 + b*x + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.264676, size = 74, normalized size = 1.16 \[{\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \,{\left (a - 1\right )} b x +{\left (b^{2} + 2 \,{\left (a - 1\right )} c\right )} x^{2} + a^{2} - 2 \, a + 2\right )} e^{\left (c x^{2} + b x + a\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2*(2*c*x + b)*e^(c*x^2 + b*x + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.22048, size = 68, normalized size = 1.06 \[ \left (a^{2} + 2 a b x + 2 a c x^{2} - 2 a + b^{2} x^{2} + 2 b c x^{3} - 2 b x + c^{2} x^{4} - 2 c x^{2} + 2\right ) e^{a + b x + c x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(exp(c*x**2+b*x+a)*(2*c*x+b)*(c*x**2+b*x+a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.290573, size = 161, normalized size = 2.52 \[ \frac{{\left (c^{4}{\left (2 \, x + \frac{b}{c}\right )}^{4} - 2 \, b^{2} c^{2}{\left (2 \, x + \frac{b}{c}\right )}^{2} + 8 \, a c^{3}{\left (2 \, x + \frac{b}{c}\right )}^{2} - 8 \, c^{3}{\left (2 \, x + \frac{b}{c}\right )}^{2} + b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2} + 8 \, b^{2} c - 32 \, a c^{2} + 32 \, c^{2}\right )} e^{\left (c x^{2} + b x + a\right )}}{16 \, c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2*(2*c*x + b)*e^(c*x^2 + b*x + a),x, algorithm="giac")
[Out]