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.148823, 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 \[ \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] Int[(a + b/x)^m*(c + d*x)^n,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.3662, size = 61, normalized size = 0.76 \[ \frac{x^{m} x^{- m + 1} \left (1 + \frac{d x}{c}\right )^{- n} \left (a + \frac{b}{x}\right )^{m} \left (c + d x\right )^{n} \left (\frac{a x}{b} + 1\right )^{- m} \operatorname{appellf_{1}}{\left (- m + 1,- m,- n,- m + 2,- \frac{a x}{b},- \frac{d x}{c} \right )}}{- m + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b/x)**m*(d*x+c)**n,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0849088, 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] Integrate[(a + b/x)^m*(c + d*x)^n,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.132, size = 0, normalized size = 0. \[ \int \left ( a+{\frac{b}{x}} \right ) ^{m} \left ( dx+c \right ) ^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b/x)^m*(d*x+c)^n,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (d x + c\right )}^{n}{\left (a + \frac{b}{x}\right )}^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)^n*(a + b/x)^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (d x + c\right )}^{n} \left (\frac{a x + b}{x}\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)^n*(a + b/x)^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \left (a + \frac{b}{x}\right )^{m} \left (c + d x\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b/x)**m*(d*x+c)**n,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (d x + c\right )}^{n}{\left (a + \frac{b}{x}\right )}^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)^n*(a + b/x)^m,x, algorithm="giac")
[Out]