Optimal. Leaf size=30 \[ \frac {\left (a+b e^{n x}\right )^{\frac {r+s}{s}} s}{b n (r+s)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 30, 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 = {2278, 32}
\begin {gather*} \frac {s \left (a+b e^{n x}\right )^{\frac {r+s}{s}}}{b n (r+s)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 32
Rule 2278
Rubi steps
\begin {align*} \int e^{n x} \left (a+b e^{n x}\right )^{r/s} \, dx &=\frac {\text {Subst}\left (\int (a+b x)^{r/s} \, dx,x,e^{n x}\right )}{n}\\ &=\frac {\left (a+b e^{n x}\right )^{\frac {r+s}{s}} s}{b n (r+s)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 30, normalized size = 1.00 \begin {gather*} \frac {\left (a+b e^{n x}\right )^{1+\frac {r}{s}} s}{b n r+b n s} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 33, normalized size = 1.10
method | result | size |
derivativedivides | \(\frac {\left (a +b \,{\mathrm e}^{n x}\right )^{\frac {r}{s}+1}}{n b \left (\frac {r}{s}+1\right )}\) | \(33\) |
default | \(\frac {\left (a +b \,{\mathrm e}^{n x}\right )^{\frac {r}{s}+1}}{n b \left (\frac {r}{s}+1\right )}\) | \(33\) |
risch | \(\frac {s \left (a +b \,{\mathrm e}^{n x}\right ) \left (a +b \,{\mathrm e}^{n x}\right )^{\frac {r}{s}}}{b n \left (r +s \right )}\) | \(36\) |
norman | \(\frac {s \,{\mathrm e}^{n x} {\mathrm e}^{\frac {r \ln \left (a +b \,{\mathrm e}^{n x}\right )}{s}}}{n \left (r +s \right )}+\frac {a s \,{\mathrm e}^{\frac {r \ln \left (a +b \,{\mathrm e}^{n x}\right )}{s}}}{b n \left (r +s \right )}\) | \(60\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 32, normalized size = 1.07 \begin {gather*} \frac {{\left (b e^{\left (n x\right )} + a\right )}^{\frac {r}{s} + 1}}{b n {\left (\frac {r}{s} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.54, size = 37, normalized size = 1.23 \begin {gather*} \frac {{\left (b s e^{\left (n x\right )} + a s\right )} {\left (b e^{\left (n x\right )} + a\right )}^{\frac {r}{s}}}{b n r + b n s} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 94 vs.
\(2 (20) = 40\).
time = 0.43, size = 94, normalized size = 3.13 \begin {gather*} \begin {cases} \frac {x}{a} & \text {for}\: b = 0 \wedge n = 0 \wedge r = - s \\\frac {a^{\frac {r}{s}} e^{n x}}{n} & \text {for}\: b = 0 \\x \left (a + b\right )^{\frac {r}{s}} & \text {for}\: n = 0 \\\frac {\log {\left (\frac {a}{b} + e^{n x} \right )}}{b n} & \text {for}\: r = - s \\\frac {a s \left (a + b e^{n x}\right )^{\frac {r}{s}}}{b n r + b n s} + \frac {b s \left (a + b e^{n x}\right )^{\frac {r}{s}} e^{n x}}{b n r + b n s} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.92, size = 32, normalized size = 1.07 \begin {gather*} \frac {{\left (b e^{\left (n x\right )} + a\right )}^{\frac {r}{s} + 1}}{b n {\left (\frac {r}{s} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.35, size = 29, normalized size = 0.97 \begin {gather*} \frac {s\,{\left (a+b\,{\mathrm {e}}^{n\,x}\right )}^{\frac {r}{s}+1}}{b\,n\,\left (r+s\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________