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

Optimal. Leaf size=17 \[ \frac {\log ^2\left (e^{a+b x}\right )}{2 b} \]

[Out]

1/2*ln(exp(b*x+a))^2/b

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2188, 30} \begin {gather*} \frac {\log ^2\left (e^{a+b x}\right )}{2 b} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2188

Int[(u_)^(m_.), x_Symbol] :> With[{c = Simplify[D[u, x]]}, Dist[1/c, Subst[Int[x^m, x], x, u], x]] /; FreeQ[m,
 x] && PiecewiseLinearQ[u, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 17, normalized size = 1.00 \begin {gather*} \frac {\log ^2\left (e^{a+b x}\right )}{2 b} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [A]
time = 0.03, size = 15, normalized size = 0.88

method result size
derivativedivides \(\frac {\ln \left ({\mathrm e}^{b x +a}\right )^{2}}{2 b}\) \(15\)
default \(\frac {\ln \left ({\mathrm e}^{b x +a}\right )^{2}}{2 b}\) \(15\)
norman \(\frac {\ln \left ({\mathrm e}^{b x +a}\right )^{2}}{2 b}\) \(15\)
risch \(x \ln \left ({\mathrm e}^{b x +a}\right )-\frac {b \,x^{2}}{2}\) \(17\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*ln(exp(b*x+a))^2/b

________________________________________________________________________________________

Maxima [A]
time = 0.31, size = 10, normalized size = 0.59 \begin {gather*} \frac {1}{2} \, b x^{2} + a x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Fricas [A]
time = 0.41, size = 10, normalized size = 0.59 \begin {gather*} \frac {1}{2} \, b x^{2} + a x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 8, normalized size = 0.47 \begin {gather*} a x + \frac {b x^{2}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

a*x + b*x**2/2

________________________________________________________________________________________

Giac [A]
time = 3.15, size = 10, normalized size = 0.59 \begin {gather*} \frac {1}{2} \, b x^{2} + a x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Mupad [B]
time = 0.07, size = 17, normalized size = 1.00 \begin {gather*} x\,\ln \left ({\mathrm {e}}^{b\,x}\,{\mathrm {e}}^a\right )-\frac {b\,x^2}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x*log(exp(b*x)*exp(a)) - (b*x^2)/2

________________________________________________________________________________________