Optimal. Leaf size=44 \[ -\frac {\left (1-a^{m x}\right )^{1+n} \, _2F_1\left (1,1+n;2+n;1-a^{m x}\right )}{m (1+n) \log (a)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2320, 67}
\begin {gather*} -\frac {\left (1-a^{m x}\right )^{n+1} \text {Hypergeometric2F1}\left (1,n+1,n+2,1-a^{m x}\right )}{m (n+1) \log (a)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 67
Rule 2320
Rubi steps
\begin {align*} \int \left (1-a^{m x}\right )^n \, dx &=\frac {\text {Subst}\left (\int \frac {(1-x)^n}{x} \, dx,x,a^{m x}\right )}{m \log (a)}\\ &=-\frac {\left (1-a^{m x}\right )^{1+n} \, _2F_1\left (1,1+n;2+n;1-a^{m x}\right )}{m (1+n) \log (a)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 44, normalized size = 1.00 \begin {gather*} -\frac {\left (1-a^{m x}\right )^{1+n} \, _2F_1\left (1,1+n;2+n;1-a^{m x}\right )}{m (1+n) \log (a)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \left (1-a^{m x}\right )^{n}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (1 - a^{m x}\right )^{n}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.32, size = 57, normalized size = 1.30 \begin {gather*} \frac {{\left (1-a^{m\,x}\right )}^n\,{{}}_2{\mathrm {F}}_1\left (-n,-n;\ 1-n;\ \frac {1}{a^{m\,x}}\right )}{m\,n\,\ln \left (a\right )\,{\left (1-\frac {1}{a^{m\,x}}\right )}^n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________