3.189 \(\int (\text{b1}+\text{c1} x) \left (a+2 b x+c x^2\right ) \, dx\)

Optimal. Leaf size=44 \[ \frac{1}{2} x^2 (a \text{c1}+2 b \text{b1})+a \text{b1} x+\frac{1}{3} x^3 (2 b \text{c1}+\text{b1} c)+\frac{1}{4} c \text{c1} x^4 \]

[Out]

a*b1*x + ((2*b*b1 + a*c1)*x^2)/2 + ((b1*c + 2*b*c1)*x^3)/3 + (c*c1*x^4)/4

_______________________________________________________________________________________

Rubi [A]  time = 0.0747276, antiderivative size = 44, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059 \[ \frac{1}{2} x^2 (a \text{c1}+2 b \text{b1})+a \text{b1} x+\frac{1}{3} x^3 (2 b \text{c1}+\text{b1} c)+\frac{1}{4} c \text{c1} x^4 \]

Antiderivative was successfully verified.

[In]  Int[(b1 + c1*x)*(a + 2*b*x + c*x^2),x]

[Out]

a*b1*x + ((2*b*b1 + a*c1)*x^2)/2 + ((b1*c + 2*b*c1)*x^3)/3 + (c*c1*x^4)/4

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ b_{1} \int a\, dx + \frac{c c_{1} x^{4}}{4} + x^{3} \left (\frac{2 b c_{1}}{3} + \frac{b_{1} c}{3}\right ) + \left (a c_{1} + 2 b b_{1}\right ) \int x\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((c1*x+b1)*(c*x**2+2*b*x+a),x)

[Out]

b1*Integral(a, x) + c*c1*x**4/4 + x**3*(2*b*c1/3 + b1*c/3) + (a*c1 + 2*b*b1)*Int
egral(x, x)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0196038, size = 41, normalized size = 0.93 \[ \frac{1}{12} x (6 a (2 \text{b1}+\text{c1} x)+x (4 b (3 \text{b1}+2 \text{c1} x)+c x (4 \text{b1}+3 \text{c1} x))) \]

Antiderivative was successfully verified.

[In]  Integrate[(b1 + c1*x)*(a + 2*b*x + c*x^2),x]

[Out]

(x*(6*a*(2*b1 + c1*x) + x*(4*b*(3*b1 + 2*c1*x) + c*x*(4*b1 + 3*c1*x))))/12

_______________________________________________________________________________________

Maple [A]  time = 0.003, size = 39, normalized size = 0.9 \[ a{\it b1}\,x+{\frac{ \left ( a{\it c1}+2\,b{\it b1} \right ){x}^{2}}{2}}+{\frac{ \left ( 2\,b{\it c1}+{\it b1}\,c \right ){x}^{3}}{3}}+{\frac{c{\it c1}\,{x}^{4}}{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((c1*x+b1)*(c*x^2+2*b*x+a),x)

[Out]

a*b1*x+1/2*(a*c1+2*b*b1)*x^2+1/3*(2*b*c1+b1*c)*x^3+1/4*c*c1*x^4

_______________________________________________________________________________________

Maxima [A]  time = 1.41228, size = 51, normalized size = 1.16 \[ \frac{1}{4} \, c c_{1} x^{4} + \frac{1}{3} \,{\left (b_{1} c + 2 \, b c_{1}\right )} x^{3} + a b_{1} x + \frac{1}{2} \,{\left (2 \, b b_{1} + a c_{1}\right )} x^{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + 2*b*x + a)*(c1*x + b1),x, algorithm="maxima")

[Out]

1/4*c*c1*x^4 + 1/3*(b1*c + 2*b*c1)*x^3 + a*b1*x + 1/2*(2*b*b1 + a*c1)*x^2

_______________________________________________________________________________________

Fricas [A]  time = 0.17669, size = 1, normalized size = 0.02 \[ \frac{1}{4} x^{4} c_{1} c + \frac{1}{3} x^{3} c b_{1} + \frac{2}{3} x^{3} c_{1} b + x^{2} b_{1} b + \frac{1}{2} x^{2} c_{1} a + x b_{1} a \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + 2*b*x + a)*(c1*x + b1),x, algorithm="fricas")

[Out]

1/4*x^4*c1*c + 1/3*x^3*c*b1 + 2/3*x^3*c1*b + x^2*b1*b + 1/2*x^2*c1*a + x*b1*a

_______________________________________________________________________________________

Sympy [A]  time = 0.044589, size = 39, normalized size = 0.89 \[ a b_{1} x + \frac{c c_{1} x^{4}}{4} + x^{3} \left (\frac{2 b c_{1}}{3} + \frac{b_{1} c}{3}\right ) + x^{2} \left (\frac{a c_{1}}{2} + b b_{1}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c1*x+b1)*(c*x**2+2*b*x+a),x)

[Out]

a*b1*x + c*c1*x**4/4 + x**3*(2*b*c1/3 + b1*c/3) + x**2*(a*c1/2 + b*b1)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.210533, size = 53, normalized size = 1.2 \[ \frac{1}{4} \, c c_{1} x^{4} + \frac{1}{3} \, b_{1} c x^{3} + \frac{2}{3} \, b c_{1} x^{3} + b b_{1} x^{2} + \frac{1}{2} \, a c_{1} x^{2} + a b_{1} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + 2*b*x + a)*(c1*x + b1),x, algorithm="giac")

[Out]

1/4*c*c1*x^4 + 1/3*b1*c*x^3 + 2/3*b*c1*x^3 + b*b1*x^2 + 1/2*a*c1*x^2 + a*b1*x