Optimal. Leaf size=40 \[ -\frac {b \left (a+\frac {b}{x}\right )^{m+1} \, _2F_1\left (2,m+1;m+2;\frac {b}{a x}+1\right )}{a^2 (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {242, 65} \[ -\frac {b \left (a+\frac {b}{x}\right )^{m+1} \, _2F_1\left (2,m+1;m+2;\frac {b}{a x}+1\right )}{a^2 (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 242
Rubi steps
\begin {align*} \int \left (a+\frac {b}{x}\right )^m \, dx &=-\operatorname {Subst}\left (\int \frac {(a+b x)^m}{x^2} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {b \left (a+\frac {b}{x}\right )^{1+m} \, _2F_1\left (2,1+m;2+m;1+\frac {b}{a x}\right )}{a^2 (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 50, normalized size = 1.25 \[ -\frac {x \left (a+\frac {b}{x}\right )^m \left (\frac {a x}{b}+1\right )^{-m} \, _2F_1\left (1-m,-m;2-m;-\frac {a x}{b}\right )}{m-1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.41, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (\frac {a x + b}{x}\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a + \frac {b}{x}\right )}^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.02, size = 0, normalized size = 0.00 \[ \int \left (a +\frac {b}{x}\right )^{m}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (a + \frac {b}{x}\right )}^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.13, size = 51, normalized size = 1.28 \[ -\frac {x\,{\left (a+\frac {b}{x}\right )}^m\,{{}}_2{\mathrm {F}}_1\left (1-m,-m;\ 2-m;\ -\frac {a\,x}{b}\right )}{{\left (\frac {a\,x}{b}+1\right )}^m\,\left (m-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 1.47, size = 34, normalized size = 0.85 \[ \frac {b^{m} x x^{- m} \Gamma \left (1 - m\right ) {{}_{2}F_{1}\left (\begin {matrix} - m, 1 - m \\ 2 - m \end {matrix}\middle | {\frac {a x e^{i \pi }}{b}} \right )}}{\Gamma \left (2 - m\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________