Optimal. Leaf size=26 \[ \frac {x \left (a x^m\right )^r \left (b x^n\right )^s}{1+m r+n s} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {15, 30}
\begin {gather*} \frac {x \left (a x^m\right )^r \left (b x^n\right )^s}{m r+n s+1} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 30
Rubi steps
\begin {align*} \int \left (a x^m\right )^r \left (b x^n\right )^s \, dx &=\left (x^{-m r} \left (a x^m\right )^r\right ) \int x^{m r} \left (b x^n\right )^s \, dx\\ &=\left (x^{-m r-n s} \left (a x^m\right )^r \left (b x^n\right )^s\right ) \int x^{m r+n s} \, dx\\ &=\frac {x \left (a x^m\right )^r \left (b x^n\right )^s}{1+m r+n s}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 26, normalized size = 1.00 \begin {gather*} \frac {x \left (a x^m\right )^r \left (b x^n\right )^s}{1+m r+n s} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.31, size = 27, normalized size = 1.04
method | result | size |
gosper | \(\frac {x \left (a \,x^{m}\right )^{r} \left (b \,x^{n}\right )^{s}}{m r +n s +1}\) | \(27\) |
risch | \(\frac {x \,{\mathrm e}^{-\frac {i \pi \mathrm {csgn}\left (i a \,x^{m}\right )^{3} r}{2}+\frac {i \pi \mathrm {csgn}\left (i a \,x^{m}\right )^{2} \mathrm {csgn}\left (i a \right ) r}{2}+\frac {i \pi \mathrm {csgn}\left (i a \,x^{m}\right )^{2} \mathrm {csgn}\left (i x^{m}\right ) r}{2}-\frac {i \pi \,\mathrm {csgn}\left (i a \,x^{m}\right ) \mathrm {csgn}\left (i a \right ) \mathrm {csgn}\left (i x^{m}\right ) r}{2}+r \ln \left (a \right )+\ln \left (x^{m}\right ) r -\frac {i \pi \mathrm {csgn}\left (i b \,x^{n}\right )^{3} s}{2}+\frac {i \pi \mathrm {csgn}\left (i b \,x^{n}\right )^{2} \mathrm {csgn}\left (i b \right ) s}{2}+\frac {i \pi \mathrm {csgn}\left (i b \,x^{n}\right )^{2} \mathrm {csgn}\left (i x^{n}\right ) s}{2}-\frac {i \pi \,\mathrm {csgn}\left (i b \,x^{n}\right ) \mathrm {csgn}\left (i b \right ) \mathrm {csgn}\left (i x^{n}\right ) s}{2}+s \ln \left (b \right )+\ln \left (x^{n}\right ) s}}{m r +n s +1}\) | \(199\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 32, normalized size = 1.23 \begin {gather*} \frac {a^{r} b^{s} x e^{\left (r \log \left (x^{m}\right ) + s \log \left (x^{n}\right )\right )}}{m r + n s + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 32, normalized size = 1.23 \begin {gather*} \frac {x e^{\left (m r \log \left (x\right ) + n s \log \left (x\right ) + r \log \left (a\right ) + s \log \left (b\right )\right )}}{m r + n s + 1} \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*} \begin {cases} \frac {x \left (a x^{m}\right )^{r} \left (b x^{n}\right )^{s}}{m r + n s + 1} & \text {for}\: m \neq \frac {- n s - 1}{r} \\\int \left (b x^{n}\right )^{s} \left (a x^{- \frac {1}{r}} x^{- \frac {n s}{r}}\right )^{r}\, dx & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.37, size = 32, normalized size = 1.23 \begin {gather*} \frac {x e^{\left (m r \log \left (x\right ) + n s \log \left (x\right ) + r \log \left (a\right ) + s \log \left (b\right )\right )}}{m r + n s + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.92, size = 26, normalized size = 1.00 \begin {gather*} \frac {x\,{\left (a\,x^m\right )}^r\,{\left (b\,x^n\right )}^s}{m\,r+n\,s+1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________