Optimal. Leaf size=38 \[ \text{Ei}\left (c x^2+b x+a\right )-\frac{e^{a+b x+c x^2}}{a+b x+c x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19702, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097, Rules used = {6707, 2177, 2178} \[ \text{Ei}\left (c x^2+b x+a\right )-\frac{e^{a+b x+c x^2}}{a+b x+c x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6707
Rule 2177
Rule 2178
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 )^2} \, dx &=\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}}{a+b x+c x^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}}{a+b x+c x^2}+\text{Ei}\left (a+b x+c x^2\right )\\ \end{align*}
Mathematica [A] time = 0.050047, size = 35, normalized size = 0.92 \[ \text{Ei}(a+x (b+c x))-\frac{e^{a+x (b+c x)}}{a+x (b+c x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.037, size = 45, normalized size = 1.2 \begin{align*} -{\frac{{{\rm e}^{c{x}^{2}+bx+a}}}{c{x}^{2}+bx+a}}-{\it Ei} \left ( 1,-c{x}^{2}-bx-a \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \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 )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.809427, size = 109, normalized size = 2.87 \begin{align*} \frac{{\left (c x^{2} + b x + a\right )}{\rm Ei}\left (c x^{2} + b x + a\right ) - e^{\left (c x^{2} + b x + a\right )}}{c x^{2} + b x + a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \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 )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]