Optimal. Leaf size=121 \[ -\frac{\sqrt{a d^2+c e^2} \tanh ^{-1}\left (\frac{a d-\frac{c e}{x}}{\sqrt{a+\frac{c}{x^2}} \sqrt{a d^2+c e^2}}\right )}{d e}-\frac{\sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c}}{x \sqrt{a+\frac{c}{x^2}}}\right )}{d}+\frac{\sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+\frac{c}{x^2}}}{\sqrt{a}}\right )}{e} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.466512, antiderivative size = 121, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 10, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.526 \[ -\frac{\sqrt{a d^2+c e^2} \tanh ^{-1}\left (\frac{a d-\frac{c e}{x}}{\sqrt{a+\frac{c}{x^2}} \sqrt{a d^2+c e^2}}\right )}{d e}-\frac{\sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c}}{x \sqrt{a+\frac{c}{x^2}}}\right )}{d}+\frac{\sqrt{a} \tanh ^{-1}\left (\frac{\sqrt{a+\frac{c}{x^2}}}{\sqrt{a}}\right )}{e} \]
Antiderivative was successfully verified.
[In] Int[Sqrt[a + c/x^2]/(d + e*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 19.9262, size = 99, normalized size = 0.82 \[ \frac{\sqrt{a} \operatorname{atanh}{\left (\frac{\sqrt{a + \frac{c}{x^{2}}}}{\sqrt{a}} \right )}}{e} - \frac{\sqrt{c} \operatorname{atanh}{\left (\frac{\sqrt{c}}{x \sqrt{a + \frac{c}{x^{2}}}} \right )}}{d} - \frac{\sqrt{a d^{2} + c e^{2}} \operatorname{atanh}{\left (\frac{a d - \frac{c e}{x}}{\sqrt{a + \frac{c}{x^{2}}} \sqrt{a d^{2} + c e^{2}}} \right )}}{d e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+c/x**2)**(1/2)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.163435, size = 173, normalized size = 1.43 \[ \frac{x \sqrt{a+\frac{c}{x^2}} \left (\sqrt{a d^2+c e^2} \log \left (\sqrt{a x^2+c} \sqrt{a d^2+c e^2}-a d x+c e\right )-\sqrt{a d^2+c e^2} \log (d+e x)+\sqrt{a} d \log \left (\sqrt{a} \sqrt{a x^2+c}+a x\right )-\sqrt{c} e \log \left (\sqrt{c} \sqrt{a x^2+c}+c\right )+\sqrt{c} e \log (x)\right )}{d e \sqrt{a x^2+c}} \]
Antiderivative was successfully verified.
[In] Integrate[Sqrt[a + c/x^2]/(d + e*x),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.042, size = 247, normalized size = 2. \[ -{\frac{x}{{e}^{2}d}\sqrt{{\frac{a{x}^{2}+c}{{x}^{2}}}} \left ( \sqrt{c}\ln \left ( 2\,{\frac{\sqrt{c}\sqrt{a{x}^{2}+c}+c}{x}} \right ){e}^{2}\sqrt{{\frac{a{d}^{2}+{e}^{2}c}{{e}^{2}}}}-\sqrt{a}\ln \left ({1 \left ( \sqrt{a{x}^{2}+c}\sqrt{a}+ax \right ){\frac{1}{\sqrt{a}}}} \right ) de\sqrt{{\frac{a{d}^{2}+{e}^{2}c}{{e}^{2}}}}-{d}^{2}\ln \left ( 2\,{\frac{1}{ex+d} \left ( \sqrt{a{x}^{2}+c}\sqrt{{\frac{a{d}^{2}+{e}^{2}c}{{e}^{2}}}}e-adx+ce \right ) } \right ) a-\ln \left ( 2\,{\frac{1}{ex+d} \left ( \sqrt{a{x}^{2}+c}\sqrt{{\frac{a{d}^{2}+{e}^{2}c}{{e}^{2}}}}e-adx+ce \right ) } \right ) c{e}^{2} \right ){\frac{1}{\sqrt{a{x}^{2}+c}}}{\frac{1}{\sqrt{{\frac{a{d}^{2}+{e}^{2}c}{{e}^{2}}}}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+c/x^2)^(1/2)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(a + c/x^2)/(e*x + d),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 1.03245, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(a + c/x^2)/(e*x + d),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{a + \frac{c}{x^{2}}}}{d + e x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+c/x**2)**(1/2)/(e*x+d),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(a + c/x^2)/(e*x + d),x, algorithm="giac")
[Out]