3.430 \(\int (d x+c (a+b x)) \, dx\)

Optimal. Leaf size=24 \[ \frac {c (a+b x)^2}{2 b}+\frac {d x^2}{2} \]

[Out]

1/2*d*x^2+1/2*c*(b*x+a)^2/b

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 0, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \frac {c (a+b x)^2}{2 b}+\frac {d x^2}{2} \]

Antiderivative was successfully verified.

[In]

Int[d*x + c*(a + b*x),x]

[Out]

(d*x^2)/2 + (c*(a + b*x)^2)/(2*b)

Rubi steps

\begin {align*} \int (d x+c (a+b x)) \, dx &=\frac {d x^2}{2}+\frac {c (a+b x)^2}{2 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 22, normalized size = 0.92 \[ a c x+\frac {1}{2} b c x^2+\frac {d x^2}{2} \]

Antiderivative was successfully verified.

[In]

Integrate[d*x + c*(a + b*x),x]

[Out]

a*c*x + (b*c*x^2)/2 + (d*x^2)/2

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 18, normalized size = 0.75 \[ \frac {1}{2} x^{2} c b + \frac {1}{2} x^{2} d + x c a \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c*(b*x+a),x, algorithm="fricas")

[Out]

1/2*x^2*c*b + 1/2*x^2*d + x*c*a

________________________________________________________________________________________

giac [A]  time = 0.37, size = 20, normalized size = 0.83 \[ \frac {1}{2} \, d x^{2} + \frac {1}{2} \, {\left (b x^{2} + 2 \, a x\right )} c \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c*(b*x+a),x, algorithm="giac")

[Out]

1/2*d*x^2 + 1/2*(b*x^2 + 2*a*x)*c

________________________________________________________________________________________

maple [A]  time = 0.00, size = 20, normalized size = 0.83 \[ \frac {d \,x^{2}}{2}+\left (\frac {1}{2} b \,x^{2}+a x \right ) c \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(d*x+c*(b*x+a),x)

[Out]

1/2*d*x^2+c*(1/2*b*x^2+a*x)

________________________________________________________________________________________

maxima [A]  time = 0.57, size = 20, normalized size = 0.83 \[ \frac {1}{2} \, d x^{2} + \frac {1}{2} \, {\left (b x^{2} + 2 \, a x\right )} c \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c*(b*x+a),x, algorithm="maxima")

[Out]

1/2*d*x^2 + 1/2*(b*x^2 + 2*a*x)*c

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 17, normalized size = 0.71 \[ \left (\frac {d}{2}+\frac {b\,c}{2}\right )\,x^2+a\,c\,x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(d*x + c*(a + b*x),x)

[Out]

x^2*(d/2 + (b*c)/2) + a*c*x

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 15, normalized size = 0.62 \[ a c x + x^{2} \left (\frac {b c}{2} + \frac {d}{2}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c*(b*x+a),x)

[Out]

a*c*x + x**2*(b*c/2 + d/2)

________________________________________________________________________________________