3.6.29 \(\int (a+b e^{n x})^{r/s} \, dx\) [529]

Optimal. Leaf size=59 \[ -\frac {\left (a+b e^{n x}\right )^{\frac {r+s}{s}} s \, _2F_1\left (1,\frac {r+s}{s};2+\frac {r}{s};1+\frac {b e^{n x}}{a}\right )}{a n (r+s)} \]

[Out]

-(a+b*exp(n*x))^((r+s)/s)*s*hypergeom([1, (r+s)/s],[2+r/s],1+b*exp(n*x)/a)/a/n/(r+s)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2320, 67} \begin {gather*} -\frac {s \left (a+b e^{n x}\right )^{\frac {r+s}{s}} \text {Hypergeometric2F1}\left (1,\frac {r+s}{s},\frac {r}{s}+2,\frac {b e^{n x}}{a}+1\right )}{a n (r+s)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*E^(n*x))^(r/s),x]

[Out]

-(((a + b*E^(n*x))^((r + s)/s)*s*Hypergeometric2F1[1, (r + s)/s, 2 + r/s, 1 + (b*E^(n*x))/a])/(a*n*(r + s)))

Rule 67

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((c + d*x)^(n + 1)/(d*(n + 1)*(-d/(b*c))^m))
*Hypergeometric2F1[-m, n + 1, n + 2, 1 + d*(x/c)], x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[n] && (Intege
rQ[m] || GtQ[-d/(b*c), 0])

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rubi steps

\begin {align*} \int \left (a+b e^{n x}\right )^{r/s} \, dx &=\frac {\text {Subst}\left (\int \frac {(a+b x)^{r/s}}{x} \, dx,x,e^{n x}\right )}{n}\\ &=-\frac {\left (a+b e^{n x}\right )^{\frac {r+s}{s}} s \, _2F_1\left (1,\frac {r+s}{s};2+\frac {r}{s};1+\frac {b e^{n x}}{a}\right )}{a n (r+s)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.04, size = 59, normalized size = 1.00 \begin {gather*} -\frac {\left (a+b e^{n x}\right )^{\frac {r+s}{s}} s \, _2F_1\left (1,\frac {r+s}{s};2+\frac {r}{s};1+\frac {b e^{n x}}{a}\right )}{a n (r+s)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*E^(n*x))^(r/s),x]

[Out]

-(((a + b*E^(n*x))^((r + s)/s)*s*Hypergeometric2F1[1, (r + s)/s, 2 + r/s, 1 + (b*E^(n*x))/a])/(a*n*(r + s)))

________________________________________________________________________________________

Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \left (a +b \,{\mathrm e}^{n x}\right )^{\frac {r}{s}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*exp(n*x))^(r/s),x)

[Out]

int((a+b*exp(n*x))^(r/s),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*exp(n*x))^(r/s),x, algorithm="maxima")

[Out]

integrate((b*e^(n*x) + a)^(r/s), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*exp(n*x))^(r/s),x, algorithm="fricas")

[Out]

integral((b*e^(n*x) + a)^(r/s), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b e^{n x}\right )^{\frac {r}{s}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*exp(n*x))**(r/s),x)

[Out]

Integral((a + b*exp(n*x))**(r/s), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*exp(n*x))^(r/s),x, algorithm="giac")

[Out]

integrate((b*e^(n*x) + a)^(r/s), x)

________________________________________________________________________________________

Mupad [B]
time = 0.40, size = 75, normalized size = 1.27 \begin {gather*} \frac {s\,{\left (a+b\,{\mathrm {e}}^{n\,x}\right )}^{r/s}\,{{}}_2{\mathrm {F}}_1\left (-\frac {r}{s},-\frac {r}{s};\ 1-\frac {r}{s};\ -\frac {a\,{\mathrm {e}}^{-n\,x}}{b}\right )}{n\,r\,{\left (\frac {a\,{\mathrm {e}}^{-n\,x}}{b}+1\right )}^{r/s}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*exp(n*x))^(r/s),x)

[Out]

(s*(a + b*exp(n*x))^(r/s)*hypergeom([-r/s, -r/s], 1 - r/s, -(a*exp(-n*x))/b))/(n*r*((a*exp(-n*x))/b + 1)^(r/s)
)

________________________________________________________________________________________