3.624 \(\int \frac {e^{a+b x+c x^2} (b+2 c x)}{a+b x+c x^2} \, dx\)

Optimal. Leaf size=11 \[ \text {Ei}\left (a+b x+c x^2\right ) \]

[Out]

Ei(c*x^2+b*x+a)

________________________________________________________________________________________

Rubi [A]  time = 0.18, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {6707, 2178} \[ \text {Ei}\left (a+b x+c x^2\right ) \]

Antiderivative was successfully verified.

[In]

Int[(E^(a + b*x + c*x^2)*(b + 2*c*x))/(a + b*x + c*x^2),x]

[Out]

ExpIntegralEi[a + b*x + c*x^2]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 6707

Int[(F_)^(v_)*(u_)*(w_)^(m_.), x_Symbol] :> With[{q = DerivativeDivides[v, u, x]}, Dist[q, Subst[Int[x^m*F^x,
x], x, v], x] /;  !FalseQ[q]] /; FreeQ[{F, m}, x] && EqQ[w, v]

Rubi steps

\begin {align*} \int \frac {e^{a+b x+c x^2} (b+2 c x)}{a+b x+c x^2} \, dx &=\operatorname {Subst}\left (\int \frac {e^x}{x} \, dx,x,a+b x+c x^2\right )\\ &=\text {Ei}\left (a+b x+c x^2\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 10, normalized size = 0.91 \[ \text {Ei}(a+x (b+c x)) \]

Antiderivative was successfully verified.

[In]

Integrate[(E^(a + b*x + c*x^2)*(b + 2*c*x))/(a + b*x + c*x^2),x]

[Out]

ExpIntegralEi[a + x*(b + c*x)]

________________________________________________________________________________________

fricas [A]  time = 0.40, size = 11, normalized size = 1.00 \[ {\rm Ei}\left (c x^{2} + b x + a\right ) \]

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),x, algorithm="fricas")

[Out]

Ei(c*x^2 + b*x + a)

________________________________________________________________________________________

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 )}}{c x^{2} + b x + a}\,{d x} \]

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),x, algorithm="giac")

[Out]

integrate((2*c*x + b)*e^(c*x^2 + b*x + a)/(c*x^2 + b*x + a), x)

________________________________________________________________________________________

maple [A]  time = 0.03, size = 19, normalized size = 1.73 \[ -\Ei \left (1, -c \,x^{2}-b x -a \right ) \]

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),x)

[Out]

-Ei(1,-c*x^2-b*x-a)

________________________________________________________________________________________

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 )}}{c x^{2} + b x + a}\,{d x} \]

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),x, algorithm="maxima")

[Out]

integrate((2*c*x + b)*e^(c*x^2 + b*x + a)/(c*x^2 + b*x + a), x)

________________________________________________________________________________________

mupad [B]  time = 3.79, size = 11, normalized size = 1.00 \[ \mathrm {ei}\left (c\,x^2+b\,x+a\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp(a + b*x + c*x^2)*(b + 2*c*x))/(a + b*x + c*x^2),x)

[Out]

ei(a + b*x + c*x^2)

________________________________________________________________________________________

sympy [A]  time = 21.02, size = 10, normalized size = 0.91 \[ \operatorname {Ei}{\left (a + b x + c x^{2} \right )} \]

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),x)

[Out]

Ei(a + b*x + c*x**2)

________________________________________________________________________________________