Optimal. Leaf size=142 \[ \frac{a^2 \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+b x}}{\sqrt{b} \sqrt{a+c x}}\right )}{2 b^{3/2} c^{3/2}}+\frac{2 a x}{(b-c)^2}-\frac{a \sqrt{a+b x} \sqrt{a+c x}}{2 b c (b-c)}-\frac{(a+b x)^{3/2} \sqrt{a+c x}}{b (b-c)^2}+\frac{x^2 (b+c)}{2 (b-c)^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.447945, antiderivative size = 142, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.16 \[ \frac{a^2 \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{a+b x}}{\sqrt{b} \sqrt{a+c x}}\right )}{2 b^{3/2} c^{3/2}}+\frac{2 a x}{(b-c)^2}-\frac{a \sqrt{a+b x} \sqrt{a+c x}}{2 b c (b-c)}-\frac{(a+b x)^{3/2} \sqrt{a+c x}}{b (b-c)^2}+\frac{x^2 (b+c)}{2 (b-c)^2} \]
Antiderivative was successfully verified.
[In] Int[x^2/(Sqrt[a + b*x] + Sqrt[a + c*x])^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{a^{2} \operatorname{atanh}{\left (\frac{\sqrt{b} \sqrt{a + c x}}{\sqrt{c} \sqrt{a + b x}} \right )}}{2 b^{\frac{3}{2}} c^{\frac{3}{2}}} + \frac{2 a x}{\left (b - c\right )^{2}} - \frac{a \sqrt{a + b x} \sqrt{a + c x}}{2 b c \left (b - c\right )} + \frac{\left (b + c\right ) \int x\, dx}{\left (b - c\right )^{2}} - \frac{\left (a + b x\right )^{\frac{3}{2}} \sqrt{a + c x}}{b \left (b - c\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2/((b*x+a)**(1/2)+(c*x+a)**(1/2))**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.275629, size = 132, normalized size = 0.93 \[ \frac{1}{4} \left (\frac{a^2 \log \left (2 \sqrt{b} \sqrt{c} \sqrt{a+b x} \sqrt{a+c x}+a b+a c+2 b c x\right )}{b^{3/2} c^{3/2}}+\frac{8 a x}{(b-c)^2}-\frac{2 \sqrt{a+b x} \sqrt{a+c x} (a (b+c)+2 b c x)}{b c (b-c)^2}+\frac{2 x^2 (b+c)}{(b-c)^2}\right ) \]
Antiderivative was successfully verified.
[In] Integrate[x^2/(Sqrt[a + b*x] + Sqrt[a + c*x])^2,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.009, size = 385, normalized size = 2.7 \[{\frac{b{x}^{2}}{2\, \left ( b-c \right ) ^{2}}}+{\frac{c{x}^{2}}{2\, \left ( b-c \right ) ^{2}}}+2\,{\frac{ax}{ \left ( b-c \right ) ^{2}}}-{\frac{1}{ \left ( b-c \right ) ^{2}c}\sqrt{bx+a} \left ( cx+a \right ) ^{{\frac{3}{2}}}}+{\frac{a}{2\, \left ( b-c \right ) ^{2}c}\sqrt{cx+a}\sqrt{bx+a}}-{\frac{a}{2\, \left ( b-c \right ) ^{2}b}\sqrt{cx+a}\sqrt{bx+a}}+{\frac{{a}^{2}b}{4\, \left ( b-c \right ) ^{2}c}\sqrt{ \left ( cx+a \right ) \left ( bx+a \right ) }\ln \left ({1 \left ({\frac{ab}{2}}+{\frac{ac}{2}}+bcx \right ){\frac{1}{\sqrt{bc}}}}+\sqrt{bc{x}^{2}+ \left ( ab+ac \right ) x+{a}^{2}} \right ){\frac{1}{\sqrt{cx+a}}}{\frac{1}{\sqrt{bx+a}}}{\frac{1}{\sqrt{bc}}}}-{\frac{{a}^{2}}{2\, \left ( b-c \right ) ^{2}}\sqrt{ \left ( cx+a \right ) \left ( bx+a \right ) }\ln \left ({1 \left ({\frac{ab}{2}}+{\frac{ac}{2}}+bcx \right ){\frac{1}{\sqrt{bc}}}}+\sqrt{bc{x}^{2}+ \left ( ab+ac \right ) x+{a}^{2}} \right ){\frac{1}{\sqrt{cx+a}}}{\frac{1}{\sqrt{bx+a}}}{\frac{1}{\sqrt{bc}}}}+{\frac{{a}^{2}c}{4\, \left ( b-c \right ) ^{2}b}\sqrt{ \left ( cx+a \right ) \left ( bx+a \right ) }\ln \left ({1 \left ({\frac{ab}{2}}+{\frac{ac}{2}}+bcx \right ){\frac{1}{\sqrt{bc}}}}+\sqrt{bc{x}^{2}+ \left ( ab+ac \right ) x+{a}^{2}} \right ){\frac{1}{\sqrt{cx+a}}}{\frac{1}{\sqrt{bx+a}}}{\frac{1}{\sqrt{bc}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2/((b*x+a)^(1/2)+(c*x+a)^(1/2))^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{{\left (\sqrt{b x + a} + \sqrt{c x + a}\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(sqrt(b*x + a) + sqrt(c*x + a))^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.294556, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(sqrt(b*x + a) + sqrt(c*x + a))^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\left (\sqrt{a + b x} + \sqrt{a + c x}\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2/((b*x+a)**(1/2)+(c*x+a)**(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(x^2/(sqrt(b*x + a) + sqrt(c*x + a))^2,x, algorithm="giac")
[Out]