Optimal. Leaf size=65 \[ -\frac{\tan ^{-1}\left (\frac{-a d+b c-2 b d x}{2 \sqrt{b} \sqrt{d} \sqrt{x (b c-a d)+a c-b d x^2}}\right )}{\sqrt{b} \sqrt{d}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0585131, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188 \[ -\frac{\tan ^{-1}\left (\frac{-a d+b c-2 b d x}{2 \sqrt{b} \sqrt{d} \sqrt{x (b c-a d)+a c-b d x^2}}\right )}{\sqrt{b} \sqrt{d}} \]
Antiderivative was successfully verified.
[In] Int[1/Sqrt[(a + b*x)*(c - d*x)],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 2.49379, size = 60, normalized size = 0.92 \[ - \frac{\operatorname{atan}{\left (\frac{- a d + b c - 2 b d x}{2 \sqrt{b} \sqrt{d} \sqrt{a c - b d x^{2} + x \left (- a d + b c\right )}} \right )}}{\sqrt{b} \sqrt{d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/((b*x+a)*(-d*x+c))**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.12729, size = 99, normalized size = 1.52 \[ \frac{i \sqrt{a+b x} \sqrt{c-d x} \log \left (2 \sqrt{a+b x} \sqrt{c-d x}-\frac{i (a d-b c+2 b d x)}{\sqrt{b} \sqrt{d}}\right )}{\sqrt{b} \sqrt{d} \sqrt{(a+b x) (c-d x)}} \]
Antiderivative was successfully verified.
[In] Integrate[1/Sqrt[(a + b*x)*(c - d*x)],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.017, size = 55, normalized size = 0.9 \[{1\arctan \left ({1\sqrt{bd} \left ( x-{\frac{-ad+bc}{2\,bd}} \right ){\frac{1}{\sqrt{ac+ \left ( -ad+bc \right ) x-bd{x}^{2}}}}} \right ){\frac{1}{\sqrt{bd}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/((b*x+a)*(-d*x+c))^(1/2),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(1/sqrt(-(b*x + a)*(d*x - c)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.279448, size = 1, normalized size = 0.02 \[ \left [\frac{\log \left (4 \,{\left (2 \, b^{2} d^{2} x - b^{2} c d + a b d^{2}\right )} \sqrt{-b d x^{2} + a c +{\left (b c - a d\right )} x} +{\left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} - 6 \, a b c d + a^{2} d^{2} - 8 \,{\left (b^{2} c d - a b d^{2}\right )} x\right )} \sqrt{-b d}\right )}{2 \, \sqrt{-b d}}, \frac{\arctan \left (\frac{{\left (2 \, b d x - b c + a d\right )} \sqrt{b d}}{2 \, \sqrt{-b d x^{2} + a c +{\left (b c - a d\right )} x} b d}\right )}{\sqrt{b d}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/sqrt(-(b*x + a)*(d*x - c)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [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/((b*x+a)*(-d*x+c))**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.29075, size = 80, normalized size = 1.23 \[ -\frac{{\rm ln}\left ({\left | b c - a d + 2 \, \sqrt{-b d}{\left (\sqrt{-b d} x - \sqrt{-b d x^{2} + b c x - a d x + a c}\right )} \right |}\right )}{\sqrt{-b d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/sqrt(-(b*x + a)*(d*x - c)),x, algorithm="giac")
[Out]