Optimal. Leaf size=80 \[ \frac{x \left (a+\frac{b}{x}\right )^m \left (\frac{a x}{b}+1\right )^{-m} (c+d x)^n \left (\frac{d x}{c}+1\right )^{-n} F_1\left (1-m;-m,-n;2-m;-\frac{a x}{b},-\frac{d x}{c}\right )}{1-m} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0591799, antiderivative size = 80, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.176, Rules used = {435, 135, 133} \[ \frac{x \left (a+\frac{b}{x}\right )^m \left (\frac{a x}{b}+1\right )^{-m} (c+d x)^n \left (\frac{d x}{c}+1\right )^{-n} F_1\left (1-m;-m,-n;2-m;-\frac{a x}{b},-\frac{d x}{c}\right )}{1-m} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 435
Rule 135
Rule 133
Rubi steps
\begin{align*} \int \left (a+\frac{b}{x}\right )^m (c+d x)^n \, dx &=\left (\left (a+\frac{b}{x}\right )^m x^m (b+a x)^{-m}\right ) \int x^{-m} (b+a x)^m (c+d x)^n \, dx\\ &=\left (\left (a+\frac{b}{x}\right )^m x^m \left (1+\frac{a x}{b}\right )^{-m}\right ) \int x^{-m} \left (1+\frac{a x}{b}\right )^m (c+d x)^n \, dx\\ &=\left (\left (a+\frac{b}{x}\right )^m x^m \left (1+\frac{a x}{b}\right )^{-m} (c+d x)^n \left (1+\frac{d x}{c}\right )^{-n}\right ) \int x^{-m} \left (1+\frac{a x}{b}\right )^m \left (1+\frac{d x}{c}\right )^n \, dx\\ &=\frac{\left (a+\frac{b}{x}\right )^m x \left (1+\frac{a x}{b}\right )^{-m} (c+d x)^n \left (1+\frac{d x}{c}\right )^{-n} F_1\left (1-m;-m,-n;2-m;-\frac{a x}{b},-\frac{d x}{c}\right )}{1-m}\\ \end{align*}
Mathematica [F] time = 0.0647359, size = 0, normalized size = 0. \[ \int \left (a+\frac{b}{x}\right )^m (c+d x)^n \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.091, size = 0, normalized size = 0. \begin{align*} \int \left ( a+{\frac{b}{x}} \right ) ^{m} \left ( dx+c \right ) ^{n}\, 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 (d x + c\right )}^{n}{\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 (d x + c\right )}^{n} \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 [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + \frac{b}{x}\right )^{m} \left (c + d x\right )^{n}\, dx \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 (d x + c\right )}^{n}{\left (a + \frac{b}{x}\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]