3.7 \(\int e^{c+d x} (a+b e^{c+d x})^n \, dx\)

Optimal. Leaf size=27 \[ \frac {\left (a+b e^{c+d x}\right )^{n+1}}{b d (n+1)} \]

[Out]

(a+b*exp(d*x+c))^(1+n)/b/d/(1+n)

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2246, 32} \[ \frac {\left (a+b e^{c+d x}\right )^{n+1}}{b d (n+1)} \]

Antiderivative was successfully verified.

[In]

Int[E^(c + d*x)*(a + b*E^(c + d*x))^n,x]

[Out]

(a + b*E^(c + d*x))^(1 + n)/(b*d*(1 + n))

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rule 2246

Int[((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)*((a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.))^(p_.),
x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int[(a + b*x)^p, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b,
c, d, e, n, p}, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 26, normalized size = 0.96 \[ \frac {\left (a+b e^{c+d x}\right )^{n+1}}{b d n+b d} \]

Antiderivative was successfully verified.

[In]

Integrate[E^(c + d*x)*(a + b*E^(c + d*x))^n,x]

[Out]

(a + b*E^(c + d*x))^(1 + n)/(b*d + b*d*n)

________________________________________________________________________________________

fricas [A]  time = 0.43, size = 33, normalized size = 1.22 \[ \frac {{\left (b e^{\left (d x + c\right )} + a\right )} {\left (b e^{\left (d x + c\right )} + a\right )}^{n}}{b d n + b d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(d*x+c)*(a+b*exp(d*x+c))^n,x, algorithm="fricas")

[Out]

(b*e^(d*x + c) + a)*(b*e^(d*x + c) + a)^n/(b*d*n + b*d)

________________________________________________________________________________________

giac [A]  time = 0.34, size = 26, normalized size = 0.96 \[ \frac {{\left (b e^{\left (d x + c\right )} + a\right )}^{n + 1}}{b d {\left (n + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(d*x+c)*(a+b*exp(d*x+c))^n,x, algorithm="giac")

[Out]

(b*e^(d*x + c) + a)^(n + 1)/(b*d*(n + 1))

________________________________________________________________________________________

maple [A]  time = 0.00, size = 27, normalized size = 1.00 \[ \frac {\left (b \,{\mathrm e}^{d x +c}+a \right )^{n +1}}{\left (n +1\right ) b d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(d*x+c)*(b*exp(d*x+c)+a)^n,x)

[Out]

(b*exp(d*x+c)+a)^(n+1)/b/d/(n+1)

________________________________________________________________________________________

maxima [A]  time = 0.43, size = 26, normalized size = 0.96 \[ \frac {{\left (b e^{\left (d x + c\right )} + a\right )}^{n + 1}}{b d {\left (n + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(d*x+c)*(a+b*exp(d*x+c))^n,x, algorithm="maxima")

[Out]

(b*e^(d*x + c) + a)^(n + 1)/(b*d*(n + 1))

________________________________________________________________________________________

mupad [B]  time = 3.48, size = 26, normalized size = 0.96 \[ \frac {{\left (a+b\,{\mathrm {e}}^{c+d\,x}\right )}^{n+1}}{b\,d\,\left (n+1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(c + d*x)*(a + b*exp(c + d*x))^n,x)

[Out]

(a + b*exp(c + d*x))^(n + 1)/(b*d*(n + 1))

________________________________________________________________________________________

sympy [A]  time = 18.74, size = 107, normalized size = 3.96 \[ \begin {cases} \frac {x e^{c}}{a} & \text {for}\: b = 0 \wedge d = 0 \wedge n = -1 \\\frac {a^{n} e^{c} e^{d x}}{d} & \text {for}\: b = 0 \\x \left (a + b e^{c}\right )^{n} e^{c} & \text {for}\: d = 0 \\\frac {\log {\left (\frac {a e^{- c}}{b} + e^{d x} \right )}}{b d} & \text {for}\: n = -1 \\\frac {a \left (a + b e^{c} e^{d x}\right )^{n}}{b d n + b d} + \frac {b \left (a + b e^{c} e^{d x}\right )^{n} e^{c} e^{d x}}{b d n + b d} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(d*x+c)*(a+b*exp(d*x+c))**n,x)

[Out]

Piecewise((x*exp(c)/a, Eq(b, 0) & Eq(d, 0) & Eq(n, -1)), (a**n*exp(c)*exp(d*x)/d, Eq(b, 0)), (x*(a + b*exp(c))
**n*exp(c), Eq(d, 0)), (log(a*exp(-c)/b + exp(d*x))/(b*d), Eq(n, -1)), (a*(a + b*exp(c)*exp(d*x))**n/(b*d*n +
b*d) + b*(a + b*exp(c)*exp(d*x))**n*exp(c)*exp(d*x)/(b*d*n + b*d), True))

________________________________________________________________________________________