3.529 \(\int (a+b e^{n x})^{r/s} \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.03, 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 = {2282, 65} \[ -\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)} \]

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 65

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

Rule 2282

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 {\operatorname {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.02, size = 59, normalized size = 1.00 \[ -\frac {s \left (a+b e^{n x}\right )^{\frac {r+s}{s}} \, _2F_1\left (1,\frac {r+s}{s};\frac {r}{s}+2;\frac {e^{n x} b}{a}+1\right )}{a n (r+s)} \]

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

________________________________________________________________________________________

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

Verification is Not applicable to the result.

[In]

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

[Out]

Could not integrate

________________________________________________________________________________________

fricas [F]  time = 1.11, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b e^{\left (n x\right )} + a\right )}^{\frac {r}{s}}, x\right ) \]

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)

________________________________________________________________________________________

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

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)

________________________________________________________________________________________

maple [F]  time = 0.02, 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 \[ \int {\left (b e^{\left (n x\right )} + a\right )}^{\frac {r}{s}}\,{d x} \]

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)

________________________________________________________________________________________

mupad [B]  time = 0.40, size = 75, normalized size = 1.27 \[ \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}} \]

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

________________________________________________________________________________________

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

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)

________________________________________________________________________________________