\(\int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx\) [190]

Optimal result
Mathematica [C] (verified)
Rubi [A] (verified)
Maple [A] (verified)
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 35, antiderivative size = 429 \[ \int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx=-\frac {A \sqrt {c+d x} \sqrt {a-b x^2}}{a c x}+\frac {A \sqrt {b} \sqrt {c+d x} \sqrt {\frac {a-b x^2}{a}} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 \sqrt {a} d}{\sqrt {b} c+\sqrt {a} d}\right )}{\sqrt {a} c \sqrt {\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {a-b x^2}}-\frac {(A b+2 a C) \sqrt {\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {\frac {a-b x^2}{a}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 \sqrt {a} d}{\sqrt {b} c+\sqrt {a} d}\right )}{\sqrt {a} \sqrt {b} \sqrt {c+d x} \sqrt {a-b x^2}}-\frac {(2 B c-A d) \sqrt {\frac {c+d x}{c+\frac {\sqrt {a} d}{\sqrt {b}}}} \sqrt {\frac {a-b x^2}{a}} \operatorname {EllipticPi}\left (2,\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 \sqrt {a} d}{\sqrt {b} c+\sqrt {a} d}\right )}{c \sqrt {c+d x} \sqrt {a-b x^2}} \] Output:

-A*(d*x+c)^(1/2)*(-b*x^2+a)^(1/2)/a/c/x+A*b^(1/2)*(d*x+c)^(1/2)*((-b*x^2+a 
)/a)^(1/2)*EllipticE(1/2*(1-b^(1/2)*x/a^(1/2))^(1/2)*2^(1/2),2^(1/2)*(a^(1 
/2)*d/(b^(1/2)*c+a^(1/2)*d))^(1/2))/a^(1/2)/c/((d*x+c)/(c+a^(1/2)*d/b^(1/2 
)))^(1/2)/(-b*x^2+a)^(1/2)-(A*b+2*C*a)*((d*x+c)/(c+a^(1/2)*d/b^(1/2)))^(1/ 
2)*((-b*x^2+a)/a)^(1/2)*EllipticF(1/2*(1-b^(1/2)*x/a^(1/2))^(1/2)*2^(1/2), 
2^(1/2)*(a^(1/2)*d/(b^(1/2)*c+a^(1/2)*d))^(1/2))/a^(1/2)/b^(1/2)/(d*x+c)^( 
1/2)/(-b*x^2+a)^(1/2)-(-A*d+2*B*c)*((d*x+c)/(c+a^(1/2)*d/b^(1/2)))^(1/2)*( 
(-b*x^2+a)/a)^(1/2)*EllipticPi(1/2*(1-b^(1/2)*x/a^(1/2))^(1/2)*2^(1/2),2,2 
^(1/2)*(a^(1/2)*d/(b^(1/2)*c+a^(1/2)*d))^(1/2))/c/(d*x+c)^(1/2)/(-b*x^2+a) 
^(1/2)
 

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 25.76 (sec) , antiderivative size = 870, normalized size of antiderivative = 2.03 \[ \int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx=\frac {\sqrt {a-b x^2} \left (-\frac {A c (c+d x)}{x}+\frac {A b c^3 \sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}}-a A c d^2 \sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}}-2 A b c^2 \sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}} (c+d x)+A b c \sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}} (c+d x)^2-i A \sqrt {b} c \left (\sqrt {b} c-\sqrt {a} d\right ) \sqrt {\frac {d \left (\frac {\sqrt {a}}{\sqrt {b}}+x\right )}{c+d x}} \sqrt {-\frac {\frac {\sqrt {a} d}{\sqrt {b}}-d x}{c+d x}} (c+d x)^{3/2} E\left (i \text {arcsinh}\left (\frac {\sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}}}{\sqrt {c+d x}}\right )|\frac {\sqrt {b} c+\sqrt {a} d}{\sqrt {b} c-\sqrt {a} d}\right )-i \sqrt {a} \left (A \sqrt {b} c d+\sqrt {a} \left (2 c^2 C-2 B c d+A d^2\right )\right ) \sqrt {\frac {d \left (\frac {\sqrt {a}}{\sqrt {b}}+x\right )}{c+d x}} \sqrt {-\frac {\frac {\sqrt {a} d}{\sqrt {b}}-d x}{c+d x}} (c+d x)^{3/2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}}}{\sqrt {c+d x}}\right ),\frac {\sqrt {b} c+\sqrt {a} d}{\sqrt {b} c-\sqrt {a} d}\right )-2 i a B c d \sqrt {\frac {d \left (\frac {\sqrt {a}}{\sqrt {b}}+x\right )}{c+d x}} \sqrt {-\frac {\frac {\sqrt {a} d}{\sqrt {b}}-d x}{c+d x}} (c+d x)^{3/2} \operatorname {EllipticPi}\left (\frac {\sqrt {b} c}{\sqrt {b} c-\sqrt {a} d},i \text {arcsinh}\left (\frac {\sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}}}{\sqrt {c+d x}}\right ),\frac {\sqrt {b} c+\sqrt {a} d}{\sqrt {b} c-\sqrt {a} d}\right )+i a A d^2 \sqrt {\frac {d \left (\frac {\sqrt {a}}{\sqrt {b}}+x\right )}{c+d x}} \sqrt {-\frac {\frac {\sqrt {a} d}{\sqrt {b}}-d x}{c+d x}} (c+d x)^{3/2} \operatorname {EllipticPi}\left (\frac {\sqrt {b} c}{\sqrt {b} c-\sqrt {a} d},i \text {arcsinh}\left (\frac {\sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}}}{\sqrt {c+d x}}\right ),\frac {\sqrt {b} c+\sqrt {a} d}{\sqrt {b} c-\sqrt {a} d}\right )}{d \sqrt {-c+\frac {\sqrt {a} d}{\sqrt {b}}} \left (-a+b x^2\right )}\right )}{a c^2 \sqrt {c+d x}} \] Input:

Integrate[(A + B*x + C*x^2)/(x^2*Sqrt[c + d*x]*Sqrt[a - b*x^2]),x]
 

Output:

(Sqrt[a - b*x^2]*(-((A*c*(c + d*x))/x) + (A*b*c^3*Sqrt[-c + (Sqrt[a]*d)/Sq 
rt[b]] - a*A*c*d^2*Sqrt[-c + (Sqrt[a]*d)/Sqrt[b]] - 2*A*b*c^2*Sqrt[-c + (S 
qrt[a]*d)/Sqrt[b]]*(c + d*x) + A*b*c*Sqrt[-c + (Sqrt[a]*d)/Sqrt[b]]*(c + d 
*x)^2 - I*A*Sqrt[b]*c*(Sqrt[b]*c - Sqrt[a]*d)*Sqrt[(d*(Sqrt[a]/Sqrt[b] + x 
))/(c + d*x)]*Sqrt[-(((Sqrt[a]*d)/Sqrt[b] - d*x)/(c + d*x))]*(c + d*x)^(3/ 
2)*EllipticE[I*ArcSinh[Sqrt[-c + (Sqrt[a]*d)/Sqrt[b]]/Sqrt[c + d*x]], (Sqr 
t[b]*c + Sqrt[a]*d)/(Sqrt[b]*c - Sqrt[a]*d)] - I*Sqrt[a]*(A*Sqrt[b]*c*d + 
Sqrt[a]*(2*c^2*C - 2*B*c*d + A*d^2))*Sqrt[(d*(Sqrt[a]/Sqrt[b] + x))/(c + d 
*x)]*Sqrt[-(((Sqrt[a]*d)/Sqrt[b] - d*x)/(c + d*x))]*(c + d*x)^(3/2)*Ellipt 
icF[I*ArcSinh[Sqrt[-c + (Sqrt[a]*d)/Sqrt[b]]/Sqrt[c + d*x]], (Sqrt[b]*c + 
Sqrt[a]*d)/(Sqrt[b]*c - Sqrt[a]*d)] - (2*I)*a*B*c*d*Sqrt[(d*(Sqrt[a]/Sqrt[ 
b] + x))/(c + d*x)]*Sqrt[-(((Sqrt[a]*d)/Sqrt[b] - d*x)/(c + d*x))]*(c + d* 
x)^(3/2)*EllipticPi[(Sqrt[b]*c)/(Sqrt[b]*c - Sqrt[a]*d), I*ArcSinh[Sqrt[-c 
 + (Sqrt[a]*d)/Sqrt[b]]/Sqrt[c + d*x]], (Sqrt[b]*c + Sqrt[a]*d)/(Sqrt[b]*c 
 - Sqrt[a]*d)] + I*a*A*d^2*Sqrt[(d*(Sqrt[a]/Sqrt[b] + x))/(c + d*x)]*Sqrt[ 
-(((Sqrt[a]*d)/Sqrt[b] - d*x)/(c + d*x))]*(c + d*x)^(3/2)*EllipticPi[(Sqrt 
[b]*c)/(Sqrt[b]*c - Sqrt[a]*d), I*ArcSinh[Sqrt[-c + (Sqrt[a]*d)/Sqrt[b]]/S 
qrt[c + d*x]], (Sqrt[b]*c + Sqrt[a]*d)/(Sqrt[b]*c - Sqrt[a]*d)])/(d*Sqrt[- 
c + (Sqrt[a]*d)/Sqrt[b]]*(-a + b*x^2))))/(a*c^2*Sqrt[c + d*x])
 

Rubi [A] (verified)

Time = 2.08 (sec) , antiderivative size = 491, normalized size of antiderivative = 1.14, number of steps used = 16, number of rules used = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {2352, 25, 2351, 600, 509, 508, 327, 512, 511, 321, 633, 632, 186, 413, 412}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {A+B x+C x^2}{x^2 \sqrt {a-b x^2} \sqrt {c+d x}} \, dx\)

\(\Big \downarrow \) 2352

\(\displaystyle -\frac {\int -\frac {-A b d x^2+2 a c C x+a (2 B c-A d)}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 25

\(\displaystyle \frac {\int \frac {-A b d x^2+2 a c C x+a (2 B c-A d)}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 2351

\(\displaystyle \frac {a (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx+\int \frac {2 a c C-A b d x}{\sqrt {c+d x} \sqrt {a-b x^2}}dx}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 600

\(\displaystyle \frac {a (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx+c (2 a C+A b) \int \frac {1}{\sqrt {c+d x} \sqrt {a-b x^2}}dx-A b \int \frac {\sqrt {c+d x}}{\sqrt {a-b x^2}}dx}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 509

\(\displaystyle \frac {a (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx+c (2 a C+A b) \int \frac {1}{\sqrt {c+d x} \sqrt {a-b x^2}}dx-\frac {A b \sqrt {1-\frac {b x^2}{a}} \int \frac {\sqrt {c+d x}}{\sqrt {1-\frac {b x^2}{a}}}dx}{\sqrt {a-b x^2}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 508

\(\displaystyle \frac {a (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx+c (2 a C+A b) \int \frac {1}{\sqrt {c+d x} \sqrt {a-b x^2}}dx+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} \int \frac {\sqrt {1-\frac {d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\frac {\sqrt {b} c}{\sqrt {a}}+d}}}{\sqrt {\frac {1}{2} \left (\frac {\sqrt {b} x}{\sqrt {a}}-1\right )+1}}d\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 327

\(\displaystyle \frac {a (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx+c (2 a C+A b) \int \frac {1}{\sqrt {c+d x} \sqrt {a-b x^2}}dx+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 512

\(\displaystyle \frac {a (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx+\frac {c \sqrt {1-\frac {b x^2}{a}} (2 a C+A b) \int \frac {1}{\sqrt {c+d x} \sqrt {1-\frac {b x^2}{a}}}dx}{\sqrt {a-b x^2}}+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 511

\(\displaystyle \frac {a (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx-\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} (2 a C+A b) \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \int \frac {1}{\sqrt {1-\frac {d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\frac {\sqrt {b} c}{\sqrt {a}}+d}} \sqrt {\frac {1}{2} \left (\frac {\sqrt {b} x}{\sqrt {a}}-1\right )+1}}d\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 321

\(\displaystyle \frac {a (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {a-b x^2}}dx-\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} (2 a C+A b) \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 633

\(\displaystyle \frac {\frac {a \sqrt {1-\frac {b x^2}{a}} (2 B c-A d) \int \frac {1}{x \sqrt {c+d x} \sqrt {1-\frac {b x^2}{a}}}dx}{\sqrt {a-b x^2}}-\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} (2 a C+A b) \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 632

\(\displaystyle \frac {\frac {a \sqrt {1-\frac {b x^2}{a}} (2 B c-A d) \int \frac {1}{x \sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}} \sqrt {\frac {\sqrt {b} x}{\sqrt {a}}+1} \sqrt {c+d x}}dx}{\sqrt {a-b x^2}}-\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} (2 a C+A b) \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 186

\(\displaystyle \frac {-\frac {2 a \sqrt {1-\frac {b x^2}{a}} (2 B c-A d) \int \frac {\sqrt {a}}{\sqrt {b} x \sqrt {\frac {\sqrt {b} x}{\sqrt {a}}+1} \sqrt {c+\frac {\sqrt {a} d}{\sqrt {b}}-\frac {\sqrt {a} d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {b}}}}d\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {a-b x^2}}-\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} (2 a C+A b) \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 413

\(\displaystyle \frac {-\frac {2 a \sqrt {1-\frac {b x^2}{a}} (2 B c-A d) \sqrt {1-\frac {\sqrt {a} d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {a} d+\sqrt {b} c}} \int \frac {\sqrt {a}}{\sqrt {b} x \sqrt {\frac {\sqrt {b} x}{\sqrt {a}}+1} \sqrt {1-\frac {\sqrt {a} d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {b} c+\sqrt {a} d}}}d\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {a-b x^2} \sqrt {-\frac {\sqrt {a} d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {b}}+\frac {\sqrt {a} d}{\sqrt {b}}+c}}-\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} (2 a C+A b) \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

\(\Big \downarrow \) 412

\(\displaystyle \frac {-\frac {2 a \sqrt {1-\frac {b x^2}{a}} (2 B c-A d) \sqrt {1-\frac {\sqrt {a} d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {a} d+\sqrt {b} c}} \operatorname {EllipticPi}\left (2,\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 \sqrt {a} d}{\sqrt {b} c+\sqrt {a} d}\right )}{\sqrt {a-b x^2} \sqrt {-\frac {\sqrt {a} d \left (1-\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {b}}+\frac {\sqrt {a} d}{\sqrt {b}}+c}}-\frac {2 \sqrt {a} c \sqrt {1-\frac {b x^2}{a}} (2 a C+A b) \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right ),\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {b} \sqrt {a-b x^2} \sqrt {c+d x}}+\frac {2 \sqrt {a} A \sqrt {b} \sqrt {1-\frac {b x^2}{a}} \sqrt {c+d x} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {b} x}{\sqrt {a}}}}{\sqrt {2}}\right )|\frac {2 d}{\frac {\sqrt {b} c}{\sqrt {a}}+d}\right )}{\sqrt {a-b x^2} \sqrt {\frac {\sqrt {b} (c+d x)}{\sqrt {a} d+\sqrt {b} c}}}}{2 a c}-\frac {A \sqrt {a-b x^2} \sqrt {c+d x}}{a c x}\)

Input:

Int[(A + B*x + C*x^2)/(x^2*Sqrt[c + d*x]*Sqrt[a - b*x^2]),x]
 

Output:

-((A*Sqrt[c + d*x]*Sqrt[a - b*x^2])/(a*c*x)) + ((2*Sqrt[a]*A*Sqrt[b]*Sqrt[ 
c + d*x]*Sqrt[1 - (b*x^2)/a]*EllipticE[ArcSin[Sqrt[1 - (Sqrt[b]*x)/Sqrt[a] 
]/Sqrt[2]], (2*d)/((Sqrt[b]*c)/Sqrt[a] + d)])/(Sqrt[(Sqrt[b]*(c + d*x))/(S 
qrt[b]*c + Sqrt[a]*d)]*Sqrt[a - b*x^2]) - (2*Sqrt[a]*c*(A*b + 2*a*C)*Sqrt[ 
(Sqrt[b]*(c + d*x))/(Sqrt[b]*c + Sqrt[a]*d)]*Sqrt[1 - (b*x^2)/a]*EllipticF 
[ArcSin[Sqrt[1 - (Sqrt[b]*x)/Sqrt[a]]/Sqrt[2]], (2*d)/((Sqrt[b]*c)/Sqrt[a] 
 + d)])/(Sqrt[b]*Sqrt[c + d*x]*Sqrt[a - b*x^2]) - (2*a*(2*B*c - A*d)*Sqrt[ 
1 - (b*x^2)/a]*Sqrt[1 - (Sqrt[a]*d*(1 - (Sqrt[b]*x)/Sqrt[a]))/(Sqrt[b]*c + 
 Sqrt[a]*d)]*EllipticPi[2, ArcSin[Sqrt[1 - (Sqrt[b]*x)/Sqrt[a]]/Sqrt[2]], 
(2*Sqrt[a]*d)/(Sqrt[b]*c + Sqrt[a]*d)])/(Sqrt[a - b*x^2]*Sqrt[c + (Sqrt[a] 
*d)/Sqrt[b] - (Sqrt[a]*d*(1 - (Sqrt[b]*x)/Sqrt[a]))/Sqrt[b]]))/(2*a*c)
 

Defintions of rubi rules used

rule 25
Int[-(Fx_), x_Symbol] :> Simp[Identity[-1]   Int[Fx, x], x]
 

rule 186
Int[1/(((a_.) + (b_.)*(x_))*Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*(x_ 
)]*Sqrt[(g_.) + (h_.)*(x_)]), x_] :> Simp[-2   Subst[Int[1/(Simp[b*c - a*d 
- b*x^2, x]*Sqrt[Simp[(d*e - c*f)/d + f*(x^2/d), x]]*Sqrt[Simp[(d*g - c*h)/ 
d + h*(x^2/d), x]]), x], x, Sqrt[c + d*x]], x] /; FreeQ[{a, b, c, d, e, f, 
g, h}, x] && GtQ[(d*e - c*f)/d, 0]
 

rule 321
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S 
imp[(1/(Sqrt[a]*Sqrt[c]*Rt[-d/c, 2]))*EllipticF[ArcSin[Rt[-d/c, 2]*x], b*(c 
/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 
0] &&  !(NegQ[b/a] && SimplerSqrtQ[-b/a, -d/c])
 

rule 327
Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[ 
(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*EllipticE[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d) 
)], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 0]
 

rule 412
Int[1/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x 
_)^2]), x_Symbol] :> Simp[(1/(a*Sqrt[c]*Sqrt[e]*Rt[-d/c, 2]))*EllipticPi[b* 
(c/(a*d)), ArcSin[Rt[-d/c, 2]*x], c*(f/(d*e))], x] /; FreeQ[{a, b, c, d, e, 
 f}, x] &&  !GtQ[d/c, 0] && GtQ[c, 0] && GtQ[e, 0] &&  !( !GtQ[f/e, 0] && S 
implerSqrtQ[-f/e, -d/c])
 

rule 413
Int[1/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x 
_)^2]), x_Symbol] :> Simp[Sqrt[1 + (d/c)*x^2]/Sqrt[c + d*x^2]   Int[1/((a + 
 b*x^2)*Sqrt[1 + (d/c)*x^2]*Sqrt[e + f*x^2]), x], x] /; FreeQ[{a, b, c, d, 
e, f}, x] &&  !GtQ[c, 0]
 

rule 508
Int[Sqrt[(c_) + (d_.)*(x_)]/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> With[{q 
 = Rt[-b/a, 2]}, Simp[-2*(Sqrt[c + d*x]/(Sqrt[a]*q*Sqrt[q*((c + d*x)/(d + c 
*q))]))   Subst[Int[Sqrt[1 - 2*d*(x^2/(d + c*q))]/Sqrt[1 - x^2], x], x, Sqr 
t[(1 - q*x)/2]], x]] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] && GtQ[a, 0]
 

rule 509
Int[Sqrt[(c_) + (d_.)*(x_)]/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[Sq 
rt[1 + b*(x^2/a)]/Sqrt[a + b*x^2]   Int[Sqrt[c + d*x]/Sqrt[1 + b*(x^2/a)], 
x], x] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] &&  !GtQ[a, 0]
 

rule 511
Int[1/(Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] :> Wit 
h[{q = Rt[-b/a, 2]}, Simp[-2*(Sqrt[q*((c + d*x)/(d + c*q))]/(Sqrt[a]*q*Sqrt 
[c + d*x]))   Subst[Int[1/(Sqrt[1 - 2*d*(x^2/(d + c*q))]*Sqrt[1 - x^2]), x] 
, x, Sqrt[(1 - q*x)/2]], x]] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] && GtQ[ 
a, 0]
 

rule 512
Int[1/(Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] :> Sim 
p[Sqrt[1 + b*(x^2/a)]/Sqrt[a + b*x^2]   Int[1/(Sqrt[c + d*x]*Sqrt[1 + b*(x^ 
2/a)]), x], x] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] &&  !GtQ[a, 0]
 

rule 600
Int[((A_.) + (B_.)*(x_))/(Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x_)^2] 
), x_Symbol] :> Simp[B/d   Int[Sqrt[c + d*x]/Sqrt[a + b*x^2], x], x] - Simp 
[(B*c - A*d)/d   Int[1/(Sqrt[c + d*x]*Sqrt[a + b*x^2]), x], x] /; FreeQ[{a, 
 b, c, d, A, B}, x] && NegQ[b/a]
 

rule 632
Int[1/((x_)*Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] : 
> With[{q = Rt[-b/a, 2]}, Simp[1/Sqrt[a]   Int[1/(x*Sqrt[c + d*x]*Sqrt[1 - 
q*x]*Sqrt[1 + q*x]), x], x]] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] && GtQ[ 
a, 0]
 

rule 633
Int[1/((x_)*Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] : 
> Simp[Sqrt[1 + b*(x^2/a)]/Sqrt[a + b*x^2]   Int[1/(x*Sqrt[c + d*x]*Sqrt[1 
+ b*(x^2/a)]), x], x] /; FreeQ[{a, b, c, d}, x] && NegQ[b/a] &&  !GtQ[a, 0]
 

rule 2351
Int[((Px_)*((c_) + (d_.)*(x_))^(n_.)*((a_) + (b_.)*(x_)^2)^(p_.))/(x_), x_S 
ymbol] :> Int[PolynomialQuotient[Px, x, x]*(c + d*x)^n*(a + b*x^2)^p, x] + 
Simp[PolynomialRemainder[Px, x, x]   Int[(c + d*x)^n*((a + b*x^2)^p/x), x], 
 x] /; FreeQ[{a, b, c, d, n, p}, x] && PolynomialQ[Px, x]
 

rule 2352
Int[((Px_)*((e_.)*(x_))^(m_))/(Sqrt[(c_) + (d_.)*(x_)]*Sqrt[(a_) + (b_.)*(x 
_)^2]), x_Symbol] :> With[{Px0 = Coefficient[Px, x, 0]}, Simp[Px0*(e*x)^(m 
+ 1)*Sqrt[c + d*x]*(Sqrt[a + b*x^2]/(a*c*e*(m + 1))), x] + Simp[1/(2*a*c*e* 
(m + 1))   Int[((e*x)^(m + 1)/(Sqrt[c + d*x]*Sqrt[a + b*x^2]))*ExpandToSum[ 
2*a*c*(m + 1)*((Px - Px0)/x) - Px0*(a*d*(2*m + 3) + 2*b*c*(m + 2)*x + b*d*( 
2*m + 5)*x^2), x], x], x]] /; FreeQ[{a, b, c, d, e}, x] && PolynomialQ[Px, 
x] && LtQ[m, -1]
 
Maple [A] (verified)

Time = 4.03 (sec) , antiderivative size = 645, normalized size of antiderivative = 1.50

method result size
risch \(-\frac {A \sqrt {d x +c}\, \sqrt {-b \,x^{2}+a}}{a c x}-\frac {\left (-\frac {a \left (A d -2 B c \right ) \sqrt {2}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}\, \sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}\, \operatorname {EllipticPi}\left (\frac {\sqrt {2}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}}{2}, 2, \sqrt {-\frac {2 \sqrt {a b}}{b \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right )}}\right )}{\sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}+\frac {A d \sqrt {a b}\, \sqrt {2}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}\, \sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}\, \left (\left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right ) \operatorname {EllipticE}\left (\frac {\sqrt {2}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}}{2}, \sqrt {-\frac {2 \sqrt {a b}}{b \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right )}}\right )-\frac {c \operatorname {EllipticF}\left (\frac {\sqrt {2}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}}{2}, \sqrt {-\frac {2 \sqrt {a b}}{b \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right )}}\right )}{d}\right )}{\sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}-\frac {2 C a c \sqrt {a b}\, \sqrt {2}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}\, \sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}\, \operatorname {EllipticF}\left (\frac {\sqrt {2}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{b}\right ) b}{\sqrt {a b}}}}{2}, \sqrt {-\frac {2 \sqrt {a b}}{b \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right )}}\right )}{b \sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}\right ) \sqrt {\left (-b \,x^{2}+a \right ) \left (d x +c \right )}}{2 c a \sqrt {-b \,x^{2}+a}\, \sqrt {d x +c}}\) \(645\)
elliptic \(\frac {\sqrt {\left (-b \,x^{2}+a \right ) \left (d x +c \right )}\, \left (-\frac {A \sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}{a c x}+\frac {2 C \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right ) \sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x -\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x +\frac {\sqrt {a b}}{b}}{-\frac {c}{d}+\frac {\sqrt {a b}}{b}}}\, \operatorname {EllipticF}\left (\sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}, \sqrt {\frac {-\frac {c}{d}+\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\right )}{\sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}-\frac {b d A \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right ) \sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x -\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x +\frac {\sqrt {a b}}{b}}{-\frac {c}{d}+\frac {\sqrt {a b}}{b}}}\, \left (\left (-\frac {c}{d}-\frac {\sqrt {a b}}{b}\right ) \operatorname {EllipticE}\left (\sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}, \sqrt {\frac {-\frac {c}{d}+\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\right )+\frac {\sqrt {a b}\, \operatorname {EllipticF}\left (\sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}, \sqrt {\frac {-\frac {c}{d}+\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\right )}{b}\right )}{a c \sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}+\frac {\left (A d -2 B c \right ) \left (\frac {c}{d}-\frac {\sqrt {a b}}{b}\right ) \sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x -\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\, \sqrt {\frac {x +\frac {\sqrt {a b}}{b}}{-\frac {c}{d}+\frac {\sqrt {a b}}{b}}}\, d \operatorname {EllipticPi}\left (\sqrt {\frac {x +\frac {c}{d}}{\frac {c}{d}-\frac {\sqrt {a b}}{b}}}, -\frac {\left (-\frac {c}{d}+\frac {\sqrt {a b}}{b}\right ) d}{c}, \sqrt {\frac {-\frac {c}{d}+\frac {\sqrt {a b}}{b}}{-\frac {c}{d}-\frac {\sqrt {a b}}{b}}}\right )}{c^{2} \sqrt {-b d \,x^{3}-b c \,x^{2}+a d x +a c}}\right )}{\sqrt {-b \,x^{2}+a}\, \sqrt {d x +c}}\) \(819\)
default \(\text {Expression too large to display}\) \(1609\)

Input:

int((C*x^2+B*x+A)/x^2/(d*x+c)^(1/2)/(-b*x^2+a)^(1/2),x,method=_RETURNVERBO 
SE)
 

Output:

-A*(d*x+c)^(1/2)*(-b*x^2+a)^(1/2)/a/c/x-1/2/c/a*(-a*(A*d-2*B*c)*2^(1/2)*(( 
x+1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2)*((x+c/d)/(c/d-1/b*(a*b)^(1/2)))^(1 
/2)*(-2*(x-1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2)/(-b*d*x^3-b*c*x^2+a*d*x+a 
*c)^(1/2)*EllipticPi(1/2*2^(1/2)*((x+1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2) 
,2,(-2/b*(a*b)^(1/2)/(c/d-1/b*(a*b)^(1/2)))^(1/2))+A*d*(a*b)^(1/2)*2^(1/2) 
*((x+1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2)*((x+c/d)/(c/d-1/b*(a*b)^(1/2))) 
^(1/2)*(-2*(x-1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2)/(-b*d*x^3-b*c*x^2+a*d* 
x+a*c)^(1/2)*((c/d-1/b*(a*b)^(1/2))*EllipticE(1/2*2^(1/2)*((x+1/b*(a*b)^(1 
/2))*b/(a*b)^(1/2))^(1/2),(-2/b*(a*b)^(1/2)/(c/d-1/b*(a*b)^(1/2)))^(1/2))- 
c/d*EllipticF(1/2*2^(1/2)*((x+1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2),(-2/b* 
(a*b)^(1/2)/(c/d-1/b*(a*b)^(1/2)))^(1/2)))-2*C*a*c/b*(a*b)^(1/2)*2^(1/2)*( 
(x+1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2)*((x+c/d)/(c/d-1/b*(a*b)^(1/2)))^( 
1/2)*(-2*(x-1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2)/(-b*d*x^3-b*c*x^2+a*d*x+ 
a*c)^(1/2)*EllipticF(1/2*2^(1/2)*((x+1/b*(a*b)^(1/2))*b/(a*b)^(1/2))^(1/2) 
,(-2/b*(a*b)^(1/2)/(c/d-1/b*(a*b)^(1/2)))^(1/2)))*((-b*x^2+a)*(d*x+c))^(1/ 
2)/(-b*x^2+a)^(1/2)/(d*x+c)^(1/2)
 

Fricas [F]

\[ \int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx=\int { \frac {C x^{2} + B x + A}{\sqrt {-b x^{2} + a} \sqrt {d x + c} x^{2}} \,d x } \] Input:

integrate((C*x^2+B*x+A)/x^2/(d*x+c)^(1/2)/(-b*x^2+a)^(1/2),x, algorithm="f 
ricas")
                                                                                    
                                                                                    
 

Output:

integral(-(C*x^2 + B*x + A)*sqrt(-b*x^2 + a)*sqrt(d*x + c)/(b*d*x^5 + b*c* 
x^4 - a*d*x^3 - a*c*x^2), x)
 

Sympy [F]

\[ \int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx=\int \frac {A + B x + C x^{2}}{x^{2} \sqrt {a - b x^{2}} \sqrt {c + d x}}\, dx \] Input:

integrate((C*x**2+B*x+A)/x**2/(d*x+c)**(1/2)/(-b*x**2+a)**(1/2),x)
 

Output:

Integral((A + B*x + C*x**2)/(x**2*sqrt(a - b*x**2)*sqrt(c + d*x)), x)
 

Maxima [F]

\[ \int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx=\int { \frac {C x^{2} + B x + A}{\sqrt {-b x^{2} + a} \sqrt {d x + c} x^{2}} \,d x } \] Input:

integrate((C*x^2+B*x+A)/x^2/(d*x+c)^(1/2)/(-b*x^2+a)^(1/2),x, algorithm="m 
axima")
 

Output:

integrate((C*x^2 + B*x + A)/(sqrt(-b*x^2 + a)*sqrt(d*x + c)*x^2), x)
 

Giac [F]

\[ \int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx=\int { \frac {C x^{2} + B x + A}{\sqrt {-b x^{2} + a} \sqrt {d x + c} x^{2}} \,d x } \] Input:

integrate((C*x^2+B*x+A)/x^2/(d*x+c)^(1/2)/(-b*x^2+a)^(1/2),x, algorithm="g 
iac")
 

Output:

integrate((C*x^2 + B*x + A)/(sqrt(-b*x^2 + a)*sqrt(d*x + c)*x^2), x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx=\int \frac {C\,x^2+B\,x+A}{x^2\,\sqrt {a-b\,x^2}\,\sqrt {c+d\,x}} \,d x \] Input:

int((A + B*x + C*x^2)/(x^2*(a - b*x^2)^(1/2)*(c + d*x)^(1/2)),x)
 

Output:

int((A + B*x + C*x^2)/(x^2*(a - b*x^2)^(1/2)*(c + d*x)^(1/2)), x)
 

Reduce [F]

\[ \int \frac {A+B x+C x^2}{x^2 \sqrt {c+d x} \sqrt {a-b x^2}} \, dx=\int \frac {C \,x^{2}+B x +A}{x^{2} \sqrt {d x +c}\, \sqrt {-b \,x^{2}+a}}d x \] Input:

int((C*x^2+B*x+A)/x^2/(d*x+c)^(1/2)/(-b*x^2+a)^(1/2),x)
 

Output:

int((C*x^2+B*x+A)/x^2/(d*x+c)^(1/2)/(-b*x^2+a)^(1/2),x)