Optimal. Leaf size=141 \[ \frac{2 \sqrt{a+b x} \sqrt{b x+c}}{x (a-c)^2}+\frac{2 b \log (x)}{(a-c)^2}+\frac{2 b (a+c) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+b x}}{\sqrt{a} \sqrt{b x+c}}\right )}{\sqrt{a} \sqrt{c} (a-c)^2}-\frac{4 b \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{b x+c}}\right )}{(a-c)^2}-\frac{a+c}{x (a-c)^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.533415, antiderivative size = 141, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.32 \[ \frac{2 \sqrt{a+b x} \sqrt{b x+c}}{x (a-c)^2}+\frac{2 b \log (x)}{(a-c)^2}+\frac{2 b (a+c) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+b x}}{\sqrt{a} \sqrt{b x+c}}\right )}{\sqrt{a} \sqrt{c} (a-c)^2}-\frac{4 b \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{b x+c}}\right )}{(a-c)^2}-\frac{a+c}{x (a-c)^2} \]
Antiderivative was successfully verified.
[In] Int[1/(x^2*(Sqrt[a + b*x] + Sqrt[c + b*x])^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 44.2423, size = 124, normalized size = 0.88 \[ \frac{2 b \log{\left (x \right )}}{\left (a - c\right )^{2}} - \frac{4 b \operatorname{atanh}{\left (\frac{\sqrt{b x + c}}{\sqrt{a + b x}} \right )}}{\left (a - c\right )^{2}} - \frac{a + c}{x \left (a - c\right )^{2}} + \frac{2 \sqrt{a + b x} \sqrt{b x + c}}{x \left (a - c\right )^{2}} + \frac{2 b \left (a + c\right ) \operatorname{atanh}{\left (\frac{\sqrt{c} \sqrt{a + b x}}{\sqrt{a} \sqrt{b x + c}} \right )}}{\sqrt{a} \sqrt{c} \left (a - c\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x**2/((b*x+a)**(1/2)+(b*x+c)**(1/2))**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.314713, size = 153, normalized size = 1.09 \[ \frac{\frac{2 \sqrt{a+b x} \sqrt{b x+c}}{x}-\frac{b (a+c) \log (x)}{\sqrt{a} \sqrt{c}}+\frac{b (a+c) \log \left (2 \sqrt{a} \sqrt{c} \sqrt{a+b x} \sqrt{b x+c}+a b x+2 a c+b c x\right )}{\sqrt{a} \sqrt{c}}-2 b \log \left (2 \sqrt{a+b x} \sqrt{b x+c}+a+2 b x+c\right )-\frac{a+c}{x}+2 b \log (x)}{(a-c)^2} \]
Antiderivative was successfully verified.
[In] Integrate[1/(x^2*(Sqrt[a + b*x] + Sqrt[c + b*x])^2),x]
[Out]
_______________________________________________________________________________________
Maple [C] time = 0.017, size = 274, normalized size = 1.9 \[ -{\frac{a}{x \left ( a-c \right ) ^{2}}}-{\frac{c}{x \left ( a-c \right ) ^{2}}}+2\,{\frac{b\ln \left ( x \right ) }{ \left ( a-c \right ) ^{2}}}+{\frac{{\it csgn} \left ( b \right ) }{x \left ( a-c \right ) ^{2}}\sqrt{bx+a}\sqrt{bx+c} \left ({\it csgn} \left ( b \right ) \ln \left ({\frac{1}{x} \left ( abx+bcx+2\,\sqrt{ac}\sqrt{{b}^{2}{x}^{2}+abx+bcx+ac}+2\,ac \right ) } \right ) xab+{\it csgn} \left ( b \right ) \ln \left ({\frac{1}{x} \left ( abx+bcx+2\,\sqrt{ac}\sqrt{{b}^{2}{x}^{2}+abx+bcx+ac}+2\,ac \right ) } \right ) xbc-2\,\ln \left ( 1/2\, \left ( 2\,{\it csgn} \left ( b \right ) \sqrt{{b}^{2}{x}^{2}+abx+bcx+ac}+2\,bx+a+c \right ){\it csgn} \left ( b \right ) \right ) xb\sqrt{ac}+2\,{\it csgn} \left ( b \right ) \sqrt{ac}\sqrt{{b}^{2}{x}^{2}+abx+bcx+ac} \right ){\frac{1}{\sqrt{ac}}}{\frac{1}{\sqrt{{b}^{2}{x}^{2}+abx+bcx+ac}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x^2/((b*x+a)^(1/2)+(b*x+c)^(1/2))^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x^{2}{\left (\sqrt{b x + a} + \sqrt{b x + c}\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(x^2*(sqrt(b*x + a) + sqrt(b*x + c))^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.30657, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(x^2*(sqrt(b*x + a) + sqrt(b*x + c))^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x^{2} \left (\sqrt{a + b x} + \sqrt{b x + c}\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x**2/((b*x+a)**(1/2)+(b*x+c)**(1/2))**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(x^2*(sqrt(b*x + a) + sqrt(b*x + c))^2),x, algorithm="giac")
[Out]