\(\int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} (e+f x^2)^2} \, dx\) [146]

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

Optimal result

Integrand size = 32, antiderivative size = 440 \[ \int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx=\frac {b x \sqrt {c+d x^2}}{2 e (d e-c f) \sqrt {a+b x^2}}-\frac {f x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e (d e-c f) \left (e+f x^2\right )}-\frac {\sqrt {a} \sqrt {b} \sqrt {c+d x^2} E\left (\arctan \left (\frac {\sqrt {b} x}{\sqrt {a}}\right )|1-\frac {a d}{b c}\right )}{2 e (d e-c f) \sqrt {a+b x^2} \sqrt {\frac {a \left (c+d x^2\right )}{c \left (a+b x^2\right )}}}+\frac {a^{3/2} \sqrt {b} \sqrt {c+d x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {b} x}{\sqrt {a}}\right ),1-\frac {a d}{b c}\right )}{2 c e (b e-a f) \sqrt {a+b x^2} \sqrt {\frac {a \left (c+d x^2\right )}{c \left (a+b x^2\right )}}}+\frac {a^{3/2} \left (b d e^2-a f (2 d e-c f)\right ) \sqrt {c+d x^2} \operatorname {EllipticPi}\left (1-\frac {a f}{b e},\arctan \left (\frac {\sqrt {b} x}{\sqrt {a}}\right ),1-\frac {a d}{b c}\right )}{2 \sqrt {b} c e^2 (b e-a f) (d e-c f) \sqrt {a+b x^2} \sqrt {\frac {a \left (c+d x^2\right )}{c \left (a+b x^2\right )}}} \] Output:

1/2*b*x*(d*x^2+c)^(1/2)/e/(-c*f+d*e)/(b*x^2+a)^(1/2)-1/2*f*x*(b*x^2+a)^(1/ 
2)*(d*x^2+c)^(1/2)/e/(-c*f+d*e)/(f*x^2+e)-1/2*a^(1/2)*b^(1/2)*(d*x^2+c)^(1 
/2)*EllipticE(b^(1/2)*x/a^(1/2)/(1+b*x^2/a)^(1/2),(1-a*d/b/c)^(1/2))/e/(-c 
*f+d*e)/(b*x^2+a)^(1/2)/(a*(d*x^2+c)/c/(b*x^2+a))^(1/2)+1/2*a^(3/2)*b^(1/2 
)*(d*x^2+c)^(1/2)*InverseJacobiAM(arctan(b^(1/2)*x/a^(1/2)),(1-a*d/b/c)^(1 
/2))/c/e/(-a*f+b*e)/(b*x^2+a)^(1/2)/(a*(d*x^2+c)/c/(b*x^2+a))^(1/2)+1/2*a^ 
(3/2)*(b*d*e^2-a*f*(-c*f+2*d*e))*(d*x^2+c)^(1/2)*EllipticPi(b^(1/2)*x/a^(1 
/2)/(1+b*x^2/a)^(1/2),1-a*f/b/e,(1-a*d/b/c)^(1/2))/b^(1/2)/c/e^2/(-a*f+b*e 
)/(-c*f+d*e)/(b*x^2+a)^(1/2)/(a*(d*x^2+c)/c/(b*x^2+a))^(1/2)
 

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 4.93 (sec) , antiderivative size = 496, normalized size of antiderivative = 1.13 \[ \int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx=\frac {-\frac {a c f x}{e+f x^2}-\frac {b c f x^3}{e+f x^2}-\frac {a d f x^3}{e+f x^2}-\frac {b d f x^5}{e+f x^2}-i a \sqrt {\frac {b}{a}} c \sqrt {1+\frac {b x^2}{a}} \sqrt {1+\frac {d x^2}{c}} E\left (i \text {arcsinh}\left (\sqrt {\frac {b}{a}} x\right )|\frac {a d}{b c}\right )+\frac {i a \sqrt {\frac {b}{a}} (-d e+c f) \sqrt {1+\frac {b x^2}{a}} \sqrt {1+\frac {d x^2}{c}} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {\frac {b}{a}} x\right ),\frac {a d}{b c}\right )}{f}-\frac {2 i a d \sqrt {1+\frac {b x^2}{a}} \sqrt {1+\frac {d x^2}{c}} \operatorname {EllipticPi}\left (\frac {a f}{b e},i \text {arcsinh}\left (\sqrt {\frac {b}{a}} x\right ),\frac {a d}{b c}\right )}{\sqrt {\frac {b}{a}}}+\frac {i a \sqrt {\frac {b}{a}} d e \sqrt {1+\frac {b x^2}{a}} \sqrt {1+\frac {d x^2}{c}} \operatorname {EllipticPi}\left (\frac {a f}{b e},i \text {arcsinh}\left (\sqrt {\frac {b}{a}} x\right ),\frac {a d}{b c}\right )}{f}+\frac {i a c f \sqrt {1+\frac {b x^2}{a}} \sqrt {1+\frac {d x^2}{c}} \operatorname {EllipticPi}\left (\frac {a f}{b e},i \text {arcsinh}\left (\sqrt {\frac {b}{a}} x\right ),\frac {a d}{b c}\right )}{\sqrt {\frac {b}{a}} e}}{2 e (d e-c f) \sqrt {a+b x^2} \sqrt {c+d x^2}} \] Input:

Integrate[Sqrt[a + b*x^2]/(Sqrt[c + d*x^2]*(e + f*x^2)^2),x]
 

Output:

(-((a*c*f*x)/(e + f*x^2)) - (b*c*f*x^3)/(e + f*x^2) - (a*d*f*x^3)/(e + f*x 
^2) - (b*d*f*x^5)/(e + f*x^2) - I*a*Sqrt[b/a]*c*Sqrt[1 + (b*x^2)/a]*Sqrt[1 
 + (d*x^2)/c]*EllipticE[I*ArcSinh[Sqrt[b/a]*x], (a*d)/(b*c)] + (I*a*Sqrt[b 
/a]*(-(d*e) + c*f)*Sqrt[1 + (b*x^2)/a]*Sqrt[1 + (d*x^2)/c]*EllipticF[I*Arc 
Sinh[Sqrt[b/a]*x], (a*d)/(b*c)])/f - ((2*I)*a*d*Sqrt[1 + (b*x^2)/a]*Sqrt[1 
 + (d*x^2)/c]*EllipticPi[(a*f)/(b*e), I*ArcSinh[Sqrt[b/a]*x], (a*d)/(b*c)] 
)/Sqrt[b/a] + (I*a*Sqrt[b/a]*d*e*Sqrt[1 + (b*x^2)/a]*Sqrt[1 + (d*x^2)/c]*E 
llipticPi[(a*f)/(b*e), I*ArcSinh[Sqrt[b/a]*x], (a*d)/(b*c)])/f + (I*a*c*f* 
Sqrt[1 + (b*x^2)/a]*Sqrt[1 + (d*x^2)/c]*EllipticPi[(a*f)/(b*e), I*ArcSinh[ 
Sqrt[b/a]*x], (a*d)/(b*c)])/(Sqrt[b/a]*e))/(2*e*(d*e - c*f)*Sqrt[a + b*x^2 
]*Sqrt[c + d*x^2])
 

Rubi [A] (verified)

Time = 0.78 (sec) , antiderivative size = 565, normalized size of antiderivative = 1.28, number of steps used = 12, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {425, 413, 413, 412, 424, 406, 320, 388, 313, 413, 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 {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx\)

\(\Big \downarrow \) 425

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

\(\Big \downarrow \) 413

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

\(\Big \downarrow \) 413

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

\(\Big \downarrow \) 412

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \int \frac {1}{\sqrt {b x^2+a} \sqrt {d x^2+c} \left (f x^2+e\right )^2}dx}{f}\)

\(\Big \downarrow \) 424

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \left (\frac {(b e (3 d e-2 c f)-a f (2 d e-c f)) \int \frac {1}{\sqrt {b x^2+a} \sqrt {d x^2+c} \left (f x^2+e\right )}dx}{2 e (b e-a f) (d e-c f)}-\frac {b d \int \frac {f x^2+e}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx}{2 e (b e-a f) (d e-c f)}+\frac {f^2 x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e \left (e+f x^2\right ) (b e-a f) (d e-c f)}\right )}{f}\)

\(\Big \downarrow \) 406

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \left (-\frac {b d \left (e \int \frac {1}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx+f \int \frac {x^2}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx\right )}{2 e (b e-a f) (d e-c f)}+\frac {(b e (3 d e-2 c f)-a f (2 d e-c f)) \int \frac {1}{\sqrt {b x^2+a} \sqrt {d x^2+c} \left (f x^2+e\right )}dx}{2 e (b e-a f) (d e-c f)}+\frac {f^2 x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e \left (e+f x^2\right ) (b e-a f) (d e-c f)}\right )}{f}\)

\(\Big \downarrow \) 320

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \left (-\frac {b d \left (f \int \frac {x^2}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx+\frac {\sqrt {c} e \sqrt {a+b x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),1-\frac {b c}{a d}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}\right )}{2 e (b e-a f) (d e-c f)}+\frac {(b e (3 d e-2 c f)-a f (2 d e-c f)) \int \frac {1}{\sqrt {b x^2+a} \sqrt {d x^2+c} \left (f x^2+e\right )}dx}{2 e (b e-a f) (d e-c f)}+\frac {f^2 x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e \left (e+f x^2\right ) (b e-a f) (d e-c f)}\right )}{f}\)

\(\Big \downarrow \) 388

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \left (-\frac {b d \left (f \left (\frac {x \sqrt {a+b x^2}}{b \sqrt {c+d x^2}}-\frac {c \int \frac {\sqrt {b x^2+a}}{\left (d x^2+c\right )^{3/2}}dx}{b}\right )+\frac {\sqrt {c} e \sqrt {a+b x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),1-\frac {b c}{a d}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}\right )}{2 e (b e-a f) (d e-c f)}+\frac {(b e (3 d e-2 c f)-a f (2 d e-c f)) \int \frac {1}{\sqrt {b x^2+a} \sqrt {d x^2+c} \left (f x^2+e\right )}dx}{2 e (b e-a f) (d e-c f)}+\frac {f^2 x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e \left (e+f x^2\right ) (b e-a f) (d e-c f)}\right )}{f}\)

\(\Big \downarrow \) 313

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \left (\frac {(b e (3 d e-2 c f)-a f (2 d e-c f)) \int \frac {1}{\sqrt {b x^2+a} \sqrt {d x^2+c} \left (f x^2+e\right )}dx}{2 e (b e-a f) (d e-c f)}-\frac {b d \left (\frac {\sqrt {c} e \sqrt {a+b x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),1-\frac {b c}{a d}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}+f \left (\frac {x \sqrt {a+b x^2}}{b \sqrt {c+d x^2}}-\frac {\sqrt {c} \sqrt {a+b x^2} E\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {b c}{a d}\right )}{b \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}\right )\right )}{2 e (b e-a f) (d e-c f)}+\frac {f^2 x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e \left (e+f x^2\right ) (b e-a f) (d e-c f)}\right )}{f}\)

\(\Big \downarrow \) 413

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \left (\frac {\sqrt {\frac {b x^2}{a}+1} (b e (3 d e-2 c f)-a f (2 d e-c f)) \int \frac {1}{\sqrt {\frac {b x^2}{a}+1} \sqrt {d x^2+c} \left (f x^2+e\right )}dx}{2 e \sqrt {a+b x^2} (b e-a f) (d e-c f)}-\frac {b d \left (\frac {\sqrt {c} e \sqrt {a+b x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),1-\frac {b c}{a d}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}+f \left (\frac {x \sqrt {a+b x^2}}{b \sqrt {c+d x^2}}-\frac {\sqrt {c} \sqrt {a+b x^2} E\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {b c}{a d}\right )}{b \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}\right )\right )}{2 e (b e-a f) (d e-c f)}+\frac {f^2 x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e \left (e+f x^2\right ) (b e-a f) (d e-c f)}\right )}{f}\)

\(\Big \downarrow \) 413

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \left (\frac {\sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} (b e (3 d e-2 c f)-a f (2 d e-c f)) \int \frac {1}{\sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \left (f x^2+e\right )}dx}{2 e \sqrt {a+b x^2} \sqrt {c+d x^2} (b e-a f) (d e-c f)}-\frac {b d \left (\frac {\sqrt {c} e \sqrt {a+b x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),1-\frac {b c}{a d}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}+f \left (\frac {x \sqrt {a+b x^2}}{b \sqrt {c+d x^2}}-\frac {\sqrt {c} \sqrt {a+b x^2} E\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {b c}{a d}\right )}{b \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}\right )\right )}{2 e (b e-a f) (d e-c f)}+\frac {f^2 x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e \left (e+f x^2\right ) (b e-a f) (d e-c f)}\right )}{f}\)

\(\Big \downarrow \) 412

\(\displaystyle \frac {\sqrt {-a} \sqrt {b} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{e f \sqrt {a+b x^2} \sqrt {c+d x^2}}-\frac {(b e-a f) \left (\frac {\sqrt {-a} \sqrt {\frac {b x^2}{a}+1} \sqrt {\frac {d x^2}{c}+1} (b e (3 d e-2 c f)-a f (2 d e-c f)) \operatorname {EllipticPi}\left (\frac {a f}{b e},\arcsin \left (\frac {\sqrt {b} x}{\sqrt {-a}}\right ),\frac {a d}{b c}\right )}{2 \sqrt {b} e^2 \sqrt {a+b x^2} \sqrt {c+d x^2} (b e-a f) (d e-c f)}-\frac {b d \left (\frac {\sqrt {c} e \sqrt {a+b x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),1-\frac {b c}{a d}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}+f \left (\frac {x \sqrt {a+b x^2}}{b \sqrt {c+d x^2}}-\frac {\sqrt {c} \sqrt {a+b x^2} E\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|1-\frac {b c}{a d}\right )}{b \sqrt {d} \sqrt {c+d x^2} \sqrt {\frac {c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}\right )\right )}{2 e (b e-a f) (d e-c f)}+\frac {f^2 x \sqrt {a+b x^2} \sqrt {c+d x^2}}{2 e \left (e+f x^2\right ) (b e-a f) (d e-c f)}\right )}{f}\)

Input:

Int[Sqrt[a + b*x^2]/(Sqrt[c + d*x^2]*(e + f*x^2)^2),x]
 

Output:

(Sqrt[-a]*Sqrt[b]*Sqrt[1 + (b*x^2)/a]*Sqrt[1 + (d*x^2)/c]*EllipticPi[(a*f) 
/(b*e), ArcSin[(Sqrt[b]*x)/Sqrt[-a]], (a*d)/(b*c)])/(e*f*Sqrt[a + b*x^2]*S 
qrt[c + d*x^2]) - ((b*e - a*f)*((f^2*x*Sqrt[a + b*x^2]*Sqrt[c + d*x^2])/(2 
*e*(b*e - a*f)*(d*e - c*f)*(e + f*x^2)) - (b*d*(f*((x*Sqrt[a + b*x^2])/(b* 
Sqrt[c + d*x^2]) - (Sqrt[c]*Sqrt[a + b*x^2]*EllipticE[ArcTan[(Sqrt[d]*x)/S 
qrt[c]], 1 - (b*c)/(a*d)])/(b*Sqrt[d]*Sqrt[(c*(a + b*x^2))/(a*(c + d*x^2)) 
]*Sqrt[c + d*x^2])) + (Sqrt[c]*e*Sqrt[a + b*x^2]*EllipticF[ArcTan[(Sqrt[d] 
*x)/Sqrt[c]], 1 - (b*c)/(a*d)])/(a*Sqrt[d]*Sqrt[(c*(a + b*x^2))/(a*(c + d* 
x^2))]*Sqrt[c + d*x^2])))/(2*e*(b*e - a*f)*(d*e - c*f)) + (Sqrt[-a]*(b*e*( 
3*d*e - 2*c*f) - a*f*(2*d*e - c*f))*Sqrt[1 + (b*x^2)/a]*Sqrt[1 + (d*x^2)/c 
]*EllipticPi[(a*f)/(b*e), ArcSin[(Sqrt[b]*x)/Sqrt[-a]], (a*d)/(b*c)])/(2*S 
qrt[b]*e^2*(b*e - a*f)*(d*e - c*f)*Sqrt[a + b*x^2]*Sqrt[c + d*x^2])))/f
 

Defintions of rubi rules used

rule 313
Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Sim 
p[(Sqrt[a + b*x^2]/(c*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*(c 
+ d*x^2)))]))*EllipticE[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; FreeQ 
[{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]
 

rule 320
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S 
imp[(Sqrt[a + b*x^2]/(a*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*( 
c + d*x^2)))]))*EllipticF[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; Fre 
eQ[{a, b, c, d}, x] && PosQ[d/c] && PosQ[b/a] &&  !SimplerSqrtQ[b/a, d/c]
 

rule 388
Int[(x_)^2/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] 
 :> Simp[x*(Sqrt[a + b*x^2]/(b*Sqrt[c + d*x^2])), x] - Simp[c/b   Int[Sqrt[ 
a + b*x^2]/(c + d*x^2)^(3/2), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - 
 a*d, 0] && PosQ[b/a] && PosQ[d/c] &&  !SimplerSqrtQ[b/a, d/c]
 

rule 406
Int[((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.)*((e_) + (f_.)*( 
x_)^2), x_Symbol] :> Simp[e   Int[(a + b*x^2)^p*(c + d*x^2)^q, x], x] + Sim 
p[f   Int[x^2*(a + b*x^2)^p*(c + d*x^2)^q, x], x] /; FreeQ[{a, b, c, d, e, 
f, p, q}, x]
 

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 424
Int[1/(((a_) + (b_.)*(x_)^2)^2*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)* 
(x_)^2]), x_Symbol] :> Simp[b^2*x*Sqrt[c + d*x^2]*(Sqrt[e + f*x^2]/(2*a*(b* 
c - a*d)*(b*e - a*f)*(a + b*x^2))), x] + (Simp[(b^2*c*e + 3*a^2*d*f - 2*a*b 
*(d*e + c*f))/(2*a*(b*c - a*d)*(b*e - a*f))   Int[1/((a + b*x^2)*Sqrt[c + d 
*x^2]*Sqrt[e + f*x^2]), x], x] - Simp[d*(f/(2*a*(b*c - a*d)*(b*e - a*f))) 
 Int[(a + b*x^2)/(Sqrt[c + d*x^2]*Sqrt[e + f*x^2]), x], x]) /; FreeQ[{a, b, 
 c, d, e, f}, x]
 

rule 425
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_)*((e_) + (f_.)*(x_ 
)^2)^(r_), x_Symbol] :> Simp[d/b   Int[(a + b*x^2)^(p + 1)*(c + d*x^2)^(q - 
 1)*(e + f*x^2)^r, x], x] + Simp[(b*c - a*d)/b   Int[(a + b*x^2)^p*(c + d*x 
^2)^(q - 1)*(e + f*x^2)^r, x], x] /; FreeQ[{a, b, c, d, e, f, r}, x] && ILt 
Q[p, 0] && GtQ[q, 0]
 
Maple [A] (verified)

Time = 6.68 (sec) , antiderivative size = 725, normalized size of antiderivative = 1.65

method result size
elliptic \(\frac {\sqrt {\left (b \,x^{2}+a \right ) \left (x^{2} d +c \right )}\, \left (\frac {f x \sqrt {b d \,x^{4}+a d \,x^{2}+x^{2} b c +a c}}{2 \left (c f -d e \right ) e \left (f \,x^{2}+e \right )}-\frac {b d \sqrt {1+\frac {b \,x^{2}}{a}}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \operatorname {EllipticF}\left (x \sqrt {-\frac {b}{a}}, \sqrt {-1+\frac {a d +b c}{c b}}\right )}{2 \left (c f -d e \right ) f \sqrt {-\frac {b}{a}}\, \sqrt {b d \,x^{4}+a d \,x^{2}+x^{2} b c +a c}}+\frac {b c \sqrt {1+\frac {b \,x^{2}}{a}}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \operatorname {EllipticF}\left (x \sqrt {-\frac {b}{a}}, \sqrt {-1+\frac {a d +b c}{c b}}\right )}{2 e \left (c f -d e \right ) \sqrt {-\frac {b}{a}}\, \sqrt {b d \,x^{4}+a d \,x^{2}+x^{2} b c +a c}}-\frac {b c \sqrt {1+\frac {b \,x^{2}}{a}}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \operatorname {EllipticE}\left (x \sqrt {-\frac {b}{a}}, \sqrt {-1+\frac {a d +b c}{c b}}\right )}{2 e \left (c f -d e \right ) \sqrt {-\frac {b}{a}}\, \sqrt {b d \,x^{4}+a d \,x^{2}+x^{2} b c +a c}}+\frac {f \sqrt {1+\frac {b \,x^{2}}{a}}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) a c}{2 e^{2} \left (c f -d e \right ) \sqrt {-\frac {b}{a}}\, \sqrt {b d \,x^{4}+a d \,x^{2}+x^{2} b c +a c}}-\frac {\sqrt {1+\frac {b \,x^{2}}{a}}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) a d}{\left (c f -d e \right ) e \sqrt {-\frac {b}{a}}\, \sqrt {b d \,x^{4}+a d \,x^{2}+x^{2} b c +a c}}+\frac {\sqrt {1+\frac {b \,x^{2}}{a}}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) b d}{2 \left (c f -d e \right ) f \sqrt {-\frac {b}{a}}\, \sqrt {b d \,x^{4}+a d \,x^{2}+x^{2} b c +a c}}\right )}{\sqrt {b \,x^{2}+a}\, \sqrt {x^{2} d +c}}\) \(725\)
default \(\frac {\left (\sqrt {-\frac {b}{a}}\, b d e \,f^{2} x^{5}+\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticF}\left (x \sqrt {-\frac {b}{a}}, \sqrt {\frac {a d}{b c}}\right ) b c e \,f^{2} x^{2}-\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticF}\left (x \sqrt {-\frac {b}{a}}, \sqrt {\frac {a d}{b c}}\right ) b d \,e^{2} f \,x^{2}-\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticE}\left (x \sqrt {-\frac {b}{a}}, \sqrt {\frac {a d}{b c}}\right ) b c e \,f^{2} x^{2}+\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) a c \,f^{3} x^{2}-2 \sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) a d e \,f^{2} x^{2}+\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) b d \,e^{2} f \,x^{2}+\sqrt {-\frac {b}{a}}\, a d e \,f^{2} x^{3}+\sqrt {-\frac {b}{a}}\, b c e \,f^{2} x^{3}+\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticF}\left (x \sqrt {-\frac {b}{a}}, \sqrt {\frac {a d}{b c}}\right ) b c \,e^{2} f -\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticF}\left (x \sqrt {-\frac {b}{a}}, \sqrt {\frac {a d}{b c}}\right ) b d \,e^{3}-\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticE}\left (x \sqrt {-\frac {b}{a}}, \sqrt {\frac {a d}{b c}}\right ) b c \,e^{2} f +\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) a c e \,f^{2}-2 \sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) a d \,e^{2} f +\sqrt {\frac {b \,x^{2}+a}{a}}\, \sqrt {\frac {x^{2} d +c}{c}}\, \operatorname {EllipticPi}\left (x \sqrt {-\frac {b}{a}}, \frac {a f}{b e}, \frac {\sqrt {-\frac {d}{c}}}{\sqrt {-\frac {b}{a}}}\right ) b d \,e^{3}+\sqrt {-\frac {b}{a}}\, a c e \,f^{2} x \right ) \sqrt {x^{2} d +c}\, \sqrt {b \,x^{2}+a}}{2 f \left (f \,x^{2}+e \right ) e^{2} \sqrt {-\frac {b}{a}}\, \left (c f -d e \right ) \left (b d \,x^{4}+a d \,x^{2}+x^{2} b c +a c \right )}\) \(920\)

Input:

int((b*x^2+a)^(1/2)/(d*x^2+c)^(1/2)/(f*x^2+e)^2,x,method=_RETURNVERBOSE)
 

Output:

((b*x^2+a)*(d*x^2+c))^(1/2)/(b*x^2+a)^(1/2)/(d*x^2+c)^(1/2)*(1/2*f/(c*f-d* 
e)/e*x*(b*d*x^4+a*d*x^2+b*c*x^2+a*c)^(1/2)/(f*x^2+e)-1/2*b*d/(c*f-d*e)/f/( 
-b/a)^(1/2)*(1+b*x^2/a)^(1/2)*(1+d*x^2/c)^(1/2)/(b*d*x^4+a*d*x^2+b*c*x^2+a 
*c)^(1/2)*EllipticF(x*(-b/a)^(1/2),(-1+(a*d+b*c)/c/b)^(1/2))+1/2*b/e/(c*f- 
d*e)*c/(-b/a)^(1/2)*(1+b*x^2/a)^(1/2)*(1+d*x^2/c)^(1/2)/(b*d*x^4+a*d*x^2+b 
*c*x^2+a*c)^(1/2)*EllipticF(x*(-b/a)^(1/2),(-1+(a*d+b*c)/c/b)^(1/2))-1/2*b 
/e/(c*f-d*e)*c/(-b/a)^(1/2)*(1+b*x^2/a)^(1/2)*(1+d*x^2/c)^(1/2)/(b*d*x^4+a 
*d*x^2+b*c*x^2+a*c)^(1/2)*EllipticE(x*(-b/a)^(1/2),(-1+(a*d+b*c)/c/b)^(1/2 
))+1/2/e^2*f/(c*f-d*e)/(-b/a)^(1/2)*(1+b*x^2/a)^(1/2)*(1+d*x^2/c)^(1/2)/(b 
*d*x^4+a*d*x^2+b*c*x^2+a*c)^(1/2)*EllipticPi(x*(-b/a)^(1/2),a*f/b/e,(-1/c* 
d)^(1/2)/(-b/a)^(1/2))*a*c-1/(c*f-d*e)/e/(-b/a)^(1/2)*(1+b*x^2/a)^(1/2)*(1 
+d*x^2/c)^(1/2)/(b*d*x^4+a*d*x^2+b*c*x^2+a*c)^(1/2)*EllipticPi(x*(-b/a)^(1 
/2),a*f/b/e,(-1/c*d)^(1/2)/(-b/a)^(1/2))*a*d+1/2/(c*f-d*e)/f/(-b/a)^(1/2)* 
(1+b*x^2/a)^(1/2)*(1+d*x^2/c)^(1/2)/(b*d*x^4+a*d*x^2+b*c*x^2+a*c)^(1/2)*El 
lipticPi(x*(-b/a)^(1/2),a*f/b/e,(-1/c*d)^(1/2)/(-b/a)^(1/2))*b*d)
 

Fricas [F(-1)]

Timed out. \[ \int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx=\text {Timed out} \] Input:

integrate((b*x^2+a)^(1/2)/(d*x^2+c)^(1/2)/(f*x^2+e)^2,x, algorithm="fricas 
")
 

Output:

Timed out
 

Sympy [F]

\[ \int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx=\int \frac {\sqrt {a + b x^{2}}}{\sqrt {c + d x^{2}} \left (e + f x^{2}\right )^{2}}\, dx \] Input:

integrate((b*x**2+a)**(1/2)/(d*x**2+c)**(1/2)/(f*x**2+e)**2,x)
 

Output:

Integral(sqrt(a + b*x**2)/(sqrt(c + d*x**2)*(e + f*x**2)**2), x)
 

Maxima [F]

\[ \int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx=\int { \frac {\sqrt {b x^{2} + a}}{\sqrt {d x^{2} + c} {\left (f x^{2} + e\right )}^{2}} \,d x } \] Input:

integrate((b*x^2+a)^(1/2)/(d*x^2+c)^(1/2)/(f*x^2+e)^2,x, algorithm="maxima 
")
 

Output:

integrate(sqrt(b*x^2 + a)/(sqrt(d*x^2 + c)*(f*x^2 + e)^2), x)
 

Giac [F]

\[ \int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx=\int { \frac {\sqrt {b x^{2} + a}}{\sqrt {d x^{2} + c} {\left (f x^{2} + e\right )}^{2}} \,d x } \] Input:

integrate((b*x^2+a)^(1/2)/(d*x^2+c)^(1/2)/(f*x^2+e)^2,x, algorithm="giac")
 

Output:

integrate(sqrt(b*x^2 + a)/(sqrt(d*x^2 + c)*(f*x^2 + e)^2), x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx=\int \frac {\sqrt {b\,x^2+a}}{\sqrt {d\,x^2+c}\,{\left (f\,x^2+e\right )}^2} \,d x \] Input:

int((a + b*x^2)^(1/2)/((c + d*x^2)^(1/2)*(e + f*x^2)^2),x)
                                                                                    
                                                                                    
 

Output:

int((a + b*x^2)^(1/2)/((c + d*x^2)^(1/2)*(e + f*x^2)^2), x)
 

Reduce [F]

\[ \int \frac {\sqrt {a+b x^2}}{\sqrt {c+d x^2} \left (e+f x^2\right )^2} \, dx=\int \frac {\sqrt {d \,x^{2}+c}\, \sqrt {b \,x^{2}+a}}{d \,f^{2} x^{6}+c \,f^{2} x^{4}+2 d e f \,x^{4}+2 c e f \,x^{2}+d \,e^{2} x^{2}+c \,e^{2}}d x \] Input:

int((b*x^2+a)^(1/2)/(d*x^2+c)^(1/2)/(f*x^2+e)^2,x)
 

Output:

int((sqrt(c + d*x**2)*sqrt(a + b*x**2))/(c*e**2 + 2*c*e*f*x**2 + c*f**2*x* 
*4 + d*e**2*x**2 + 2*d*e*f*x**4 + d*f**2*x**6),x)