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.0101131, antiderivative size = 40, normalized size of antiderivative = 1., 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 242
Rule 65
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.0173851, 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]
________________________________________________________________________________________
Maple [F] time = 0.012, size = 0, normalized size = 0. \begin{align*} \int \left ( a+{\frac{b}{x}} \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a + \frac{b}{x}\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (\frac{a x + b}{x}\right )^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 1.36163, size = 34, normalized size = 0.85 \begin{align*} \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 )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a + \frac{b}{x}\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]