3.3.85 \(\int e^{a+b x} \log (x) \, dx\) [285]

Optimal. Leaf size=26 \[ -\frac {e^a \text {Ei}(b x)}{b}+\frac {e^{a+b x} \log (x)}{b} \]

[Out]

-exp(a)*Ei(b*x)/b+exp(b*x+a)*ln(x)/b

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {2225, 2634, 12, 2209} \begin {gather*} \frac {\log (x) e^{a+b x}}{b}-\frac {e^a \text {Ei}(b x)}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[E^(a + b*x)*Log[x],x]

[Out]

-((E^a*ExpIntegralEi[b*x])/b) + (E^(a + b*x)*Log[x])/b

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 2209

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

Rule 2225

Int[((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.), x_Symbol] :> Simp[(F^(c*(a + b*x)))^n/(b*c*n*Log[F]), x] /; Fre
eQ[{F, a, b, c, n}, x]

Rule 2634

Int[Log[u_]*(v_), x_Symbol] :> With[{w = IntHide[v, x]}, Dist[Log[u], w, x] - Int[SimplifyIntegrand[w*(D[u, x]
/u), x], x] /; InverseFunctionFreeQ[w, x]] /; InverseFunctionFreeQ[u, x]

Rubi steps

\begin {align*} \int e^{a+b x} \log (x) \, dx &=\frac {e^{a+b x} \log (x)}{b}-\int \frac {e^{a+b x}}{b x} \, dx\\ &=\frac {e^{a+b x} \log (x)}{b}-\frac {\int \frac {e^{a+b x}}{x} \, dx}{b}\\ &=-\frac {e^a \text {Ei}(b x)}{b}+\frac {e^{a+b x} \log (x)}{b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 22, normalized size = 0.85 \begin {gather*} \frac {e^a \left (-\text {Ei}(b x)+e^{b x} \log (x)\right )}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[E^(a + b*x)*Log[x],x]

[Out]

(E^a*(-ExpIntegralEi[b*x] + E^(b*x)*Log[x]))/b

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 26, normalized size = 1.00

method result size
risch \(\frac {{\mathrm e}^{b x +a} \ln \left (x \right )}{b}+\frac {{\mathrm e}^{a} \expIntegral \left (1, -b x \right )}{b}\) \(26\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(b*x+a)*ln(x),x,method=_RETURNVERBOSE)

[Out]

exp(b*x+a)*ln(x)/b+1/b*exp(a)*Ei(1,-b*x)

________________________________________________________________________________________

Maxima [A]
time = 0.34, size = 24, normalized size = 0.92 \begin {gather*} -\frac {{\rm Ei}\left (b x\right ) e^{a}}{b} + \frac {e^{\left (b x + a\right )} \log \left (x\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b*x+a)*log(x),x, algorithm="maxima")

[Out]

-Ei(b*x)*e^a/b + e^(b*x + a)*log(x)/b

________________________________________________________________________________________

Fricas [A]
time = 0.38, size = 23, normalized size = 0.88 \begin {gather*} -\frac {{\rm Ei}\left (b x\right ) e^{a} - e^{\left (b x + a\right )} \log \left (x\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b*x+a)*log(x),x, algorithm="fricas")

[Out]

-(Ei(b*x)*e^a - e^(b*x + a)*log(x))/b

________________________________________________________________________________________

Sympy [A]
time = 3.46, size = 26, normalized size = 1.00 \begin {gather*} \left (\begin {cases} x & \text {for}\: b = 0 \\\frac {e^{b x}}{b} & \text {otherwise} \end {cases}\right ) e^{a} \log {\left (x \right )} - \left (\begin {cases} x & \text {for}\: b = 0 \\\frac {\operatorname {Ei}{\left (b x \right )}}{b} & \text {otherwise} \end {cases}\right ) e^{a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b*x+a)*ln(x),x)

[Out]

Piecewise((x, Eq(b, 0)), (exp(b*x)/b, True))*exp(a)*log(x) - Piecewise((x, Eq(b, 0)), (Ei(b*x)/b, True))*exp(a
)

________________________________________________________________________________________

Giac [A]
time = 4.31, size = 24, normalized size = 0.92 \begin {gather*} -\frac {{\rm Ei}\left (b x\right ) e^{a}}{b} + \frac {e^{\left (b x + a\right )} \log \left (x\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(b*x+a)*log(x),x, algorithm="giac")

[Out]

-Ei(b*x)*e^a/b + e^(b*x + a)*log(x)/b

________________________________________________________________________________________

Mupad [B]
time = 0.37, size = 20, normalized size = 0.77 \begin {gather*} -\frac {{\mathrm {e}}^a\,\left (\mathrm {ei}\left (b\,x\right )-{\mathrm {e}}^{b\,x}\,\ln \left (x\right )\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(a + b*x)*log(x),x)

[Out]

-(exp(a)*(ei(b*x) - exp(b*x)*log(x)))/b

________________________________________________________________________________________