Optimal. Leaf size=72 \[ \frac {1}{2} \text {Ei}\left (c x^2+b x+a\right )-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )}-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.097, Rules used = {6707, 2177, 2178} \[ \frac {1}{2} \text {Ei}\left (c x^2+b x+a\right )-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )}-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2177
Rule 2178
Rule 6707
Rubi steps
\begin {align*} \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\left (a+b x+c x^2\right )^3} \, dx &=\operatorname {Subst}\left (\int \frac {e^x}{x^3} \, dx,x,a+b x+c x^2\right )\\ &=-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )^2}+\frac {1}{2} \operatorname {Subst}\left (\int \frac {e^x}{x^2} \, dx,x,a+b x+c x^2\right )\\ &=-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )^2}-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )}+\frac {1}{2} \operatorname {Subst}\left (\int \frac {e^x}{x} \, dx,x,a+b x+c x^2\right )\\ &=-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )^2}-\frac {e^{a+b x+c x^2}}{2 \left (a+b x+c x^2\right )}+\frac {1}{2} \text {Ei}\left (a+b x+c x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 50, normalized size = 0.69 \[ \frac {1}{2} \left (\text {Ei}(a+x (b+c x))-\frac {e^{a+x (b+c x)} \left (a+b x+c x^2+1\right )}{(a+x (b+c x))^2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 111, normalized size = 1.54 \[ \frac {{\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )} {\rm Ei}\left (c x^{2} + b x + a\right ) - {\left (c x^{2} + b x + a + 1\right )} e^{\left (c x^{2} + b x + a\right )}}{2 \, {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (2 \, c x + b\right )} e^{\left (c x^{2} + b x + a\right )}}{{\left (c x^{2} + b x + a\right )}^{3}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 70, normalized size = 0.97 \[ -\frac {\Ei \left (1, -c \,x^{2}-b x -a \right )}{2}-\frac {{\mathrm e}^{c \,x^{2}+b x +a}}{2 \left (c \,x^{2}+b x +a \right )^{2}}-\frac {{\mathrm e}^{c \,x^{2}+b x +a}}{2 \left (c \,x^{2}+b x +a \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (2 \, c x + b\right )} e^{\left (c x^{2} + b x + a\right )}}{{\left (c x^{2} + b x + a\right )}^{3}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.04, size = 62, normalized size = 0.86 \[ -\frac {\mathrm {expint}\left (-c\,x^2-b\,x-a\right )}{2}-{\mathrm {e}}^{c\,x^2+b\,x+a}\,\left (\frac {1}{2\,\left (c\,x^2+b\,x+a\right )}+\frac {1}{2\,{\left (c\,x^2+b\,x+a\right )}^2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________